/* Kortez Tour Details widget - styles match Figma node 175:146 */

.ktd-tour-details {
	background-color: #f2f2f2;
	padding: 39px 0 50px;
	font-family: 'Inter', sans-serif;
}

.ktd-container {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 0 20px;
}

.ktd-card {
	background-color: #ffffff;
	border-radius: 20px;
	overflow: hidden;
}

.ktd-title-bar {
	background-color: #ffc750;
	color: #000000;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 14px;
	padding: 20px 32px;
}

/* ===== Overview card (left details + right gallery) ===== */

.ktd-overview-card {
	display: flex;
	align-items: stretch;
	border-radius: 30px;
}

.ktd-overview-details {
	width: 432px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}

.ktd-overview-list,
.ktd-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.ktd-overview-list {
	gap: 13px;
}

.ktd-check-list {
	gap: 8px;
}

/* Lists inside the overview card's details column need their own 32px padding
   because the column has no card-body wrapper. */
.ktd-overview-details > .ktd-overview-list,
.ktd-overview-details > .ktd-check-list {
	padding: 32px;
}

.ktd-overview-item {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.ktd-icon {
	color: #55a1ac;
	font-size: 15px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ktd-icon-overview {
	font-size: 24px;
	width: 30px;
	text-align: center;
}

.ktd-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.ktd-overview-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 16px;
	line-height: 22.5px;
}

.ktd-overview-label {
	color: #b2b2b2;
}

.ktd-overview-value {
	color: #000000;
}

.ktd-check-item {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	font-size: 16px;
	line-height: 22.5px;
	color: #000000;
}

.ktd-check-text {
	flex: 1;
}

/* ===== Gallery ===== */

.ktd-gallery {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	border-left: 1px solid #ebebeb;
}

.ktd-gallery-main {
	width: 100%;
	aspect-ratio: 1000 / 771;
	overflow: hidden;
	border-radius: 8px;
}

.ktd-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ktd-gallery-thumbs {
	position: relative;
	width: 100%;
}

/* Pre-slick fallback: simple flex row while slick is loading. */
.ktd-gallery-thumbs:not(.slick-initialized) {
	display: flex;
	gap: 14px;
	overflow: hidden;
}

.ktd-gallery-thumbs:not(.slick-initialized) .ktd-gallery-thumb {
	flex: 0 0 calc((100% - 28px) / 3);
}

.ktd-gallery-thumb {
	display: block;
	width: 100%;
	height: 127px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	overflow: hidden;
	border-radius: 6px;
}

.ktd-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ktd-gallery-thumb.is-active {
	outline: 2px solid #55a1ac;
	outline-offset: -2px;
}

/* Slick slider tweaks */
.ktd-gallery-thumbs.slick-initialized .slick-list {
	margin: 0 -7px;
}

.ktd-gallery-thumbs.slick-initialized .slick-slide {
	padding: 0 7px;
}

.ktd-gallery-thumbs.slick-initialized .slick-slide > div {
	line-height: 0;
}

.ktd-tour-details .ktd-slick-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 0;
	background: #ffffff;
	color: #55a1ac;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-size: 0; /* defeats any inherited icon-font glyph */
	line-height: 0;
	text-indent: 0;
}

/* Kill the slick-theme.css pseudo-element glyph that conflicts with our SVG. */
.ktd-tour-details .ktd-slick-arrow::before,
.ktd-tour-details .ktd-slick-arrow::after {
	content: none !important;
	display: none !important;
}

.ktd-tour-details .ktd-slick-arrow svg {
	width: 14px;
	height: 14px;
	display: block;
	color: inherit;
}

.ktd-tour-details .ktd-slick-arrow:hover {
	background: #55a1ac;
	color: #ffffff;
}

.ktd-tour-details .ktd-slick-arrow.slick-prev {
	left: -8px;
}

.ktd-tour-details .ktd-slick-arrow.slick-next {
	right: -8px;
}

.ktd-tour-details .ktd-slick-arrow.slick-disabled {
	opacity: 0.4;
	cursor: default;
}

.ktd-tour-details .ktd-slick-arrow.slick-disabled:hover {
	background: #ffffff;
	color: #55a1ac;
}

/* ===== Two-column row (Activity + Additional info) ===== */

.ktd-row-two {
	display: flex;
	gap: 32px;
	align-items: stretch;
}

.ktd-row-two > .ktd-card {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.ktd-card-body {
	padding: 32px;
	color: #000000;
}

.ktd-card-body--stacked {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* ===== Activity card ===== */

.ktd-activity-heading {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 10px;
	color: #000000;
}

.ktd-activity-content {
	font-size: 16px;
	line-height: 22.5px;
	color: #000000;
}

.ktd-activity-content p {
	margin: 0 0 1em;
}

.ktd-activity-content p:last-child {
	margin-bottom: 0;
}

/* ===== Additional info card ===== */

.ktd-subheading {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	margin: 0 0 32px;
	color: #000000;
}

.ktd-subcontent {
	font-size: 16px;
	line-height: 22.5px;
	color: #000000;
}

.ktd-subcontent p {
	margin: 0;
}

/* ===== Cancellation card ===== */

.ktd-cancellation-content {
	font-size: 16px;
	line-height: 22.5px;
	color: #000000;
}

.ktd-cancellation-content p {
	margin: 0 0 1em;
}

.ktd-cancellation-content p:last-child {
	margin-bottom: 0;
}

/* ===== Sticky booking bar ===== */

.ktd-booking-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background-color: #ffffff;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
	font-family: 'Poppins', sans-serif;
	color: #000000;
}

.ktd-booking-bar__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 20px 24px;
}

.ktd-booking-bar__info {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.ktd-booking-bar__text {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: 20px;
	line-height: 1.2;
	color: inherit;
}

.ktd-booking-bar__title {
	font-weight: 700;
}

.ktd-booking-bar__subtitle {
	font-weight: 400;
}

.ktd-booking-bar__price {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: inherit;
}

.ktd-booking-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffc750;
	color: #313e64;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	padding: 20px 32px;
	border-radius: 100px;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.15s ease;
}

.ktd-booking-bar__btn:hover,
.ktd-booking-bar__btn:focus {
	filter: brightness(0.95);
	text-decoration: none;
	color: #313e64;
}

/* Keep page content clear of the fixed bar. */
.ktd-has-bar {
	padding-bottom: 120px;
}

/* ===== Responsive ===== */

@media (max-width: 991px) {
	.ktd-overview-card {
		flex-direction: column;
	}

	.ktd-overview-details {
		width: 100%;
	}

	.ktd-gallery {
		border-left: 0;
		border-top: 1px solid #ebebeb;
	}

	.ktd-row-two {
		flex-direction: column;
	}

	.ktd-gallery-thumb {
		height: auto;
		aspect-ratio: 165 / 127;
	}
}

@media (max-width: 575px) {
	.ktd-tour-details {
		padding: 24px 0 32px;
	}

	.ktd-container {
		gap: 20px;
	}

	.ktd-card-body,
	.ktd-gallery {
		padding: 20px;
	}

	.ktd-overview-details > .ktd-overview-list,
	.ktd-overview-details > .ktd-check-list {
		padding: 20px;
	}

	.ktd-title-bar {
		padding: 16px 20px;
	}

	.ktd-activity-heading {
		font-size: 24px;
	}

	.ktd-subheading {
		font-size: 20px;
		margin-bottom: 16px;
	}

	.ktd-overview-item,
	.ktd-check-item {
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.ktd-booking-bar__inner {
		padding: 16px 24px;
		gap: 12px;
		align-items: center;
	}

	.ktd-booking-bar__info {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.ktd-booking-bar__text {
		font-size: 14px;
		line-height: 1.2;
	}

	.ktd-booking-bar__title,
	.ktd-booking-bar__subtitle {
		display: inline;
	}

	.ktd-booking-bar__price {
		font-size: 14px;
	}

	.ktd-booking-bar__btn {
		font-size: 16px;
		padding: 16px 24px;
	}

	.ktd-has-bar {
		padding-bottom: 110px;
	}

	/* Lift the CookieYes revisit badge above the booking bar on mobile. */
	body:has(.ktd-has-bar) .cky-revisit-bottom-left {
		bottom: 100px;
	}
}

@media (max-width: 360px) {
	.ktd-booking-bar__inner {
		padding: 12px 16px;
	}

	.ktd-booking-bar__btn {
		padding: 14px 18px;
		font-size: 14px;
	}
}
