/* Hide sidebar booking fields when addon flow is active. */
.tfl-addon-enabled .tfl-hide-on-addon,
.tfl-addon-enabled .tfl-hide-date-input {
	display: none !important;
}

body.single-tf_tours.tfl-addon-enabled
	.tf-single-tour-booking-form__style-1
	.tf-booking-form-inner
	> h3,
body.single-tf_tours.tfl-addon-enabled
	.tf-single-tour-booking-form__style-2
	.tf-search-date-wrapper
	> h2.tf-section-title,
body.single-tf_tours.tfl-addon-enabled
	.tf-single-tour-booking-form__style-2
	.tf-search-date-wrapper
	> h3.tf-section-title,
body.single-tf_tours.tfl-addon-enabled
	.tf-single-tour-booking-form__style-3
	.tf-tours-form-wrap
	> h2,
body.single-tf_tours.tfl-addon-enabled
	.tf-single-tour-booking-form__style-3
	.tf-tours-form-wrap
	> .tf-section-title {
	display: none !important;
}

/* Keep package cards as language labels only in popup. */
.tf-withoutpayment-booking.tfl-popup-mode .tf-booking-content-1
	> .tf-booking-content-package
	.tf-pacakge-persons,
.tf-withoutpayment-booking.tfl-popup-mode
	.tf-booking-content-1
	> .tf-booking-content-package
	.tf-pacakge-times,
.tf-withoutpayment-booking.tfl-popup-mode
	.tf-booking-content-1
	> .tf-booking-content-package
	.tf-select-persons {
	display: none !important;
}

.tf-withoutpayment-booking.tfl-popup-mode
	.tfl-people-options
	.tf-pacakge-persons {
	display: block !important;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-date-block,
.tf-withoutpayment-booking.tfl-popup-mode .tfl-people-block,
.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-block {
	margin-top: 20px;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-step-title {
	margin: 0 0 10px;
	font-size: inherit;
	font-weight: 600;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-date-field {
	cursor: pointer;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-date-field .tfl-date-selected {
	cursor: pointer;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-date-field.is-locked {
	opacity: 0.65;
}

.tf-withoutpayment-booking.tfl-popup-mode
	.tfl-date-field.is-locked
	.tfl-date-selected {
	pointer-events: none;
}

.tf-withoutpayment-booking.tfl-popup-mode .flatpickr-calendar {
	z-index: 999999 !important;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-package-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill {
	position: relative;
	margin: 0;
	width: 100%;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill .tfl-city-option {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill-label {
	margin-left: 10px;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 90%;
	padding: 12px 16px;
	border: 1px solid var(--tf-border-lite, #d7e3f1);
	border-radius: 999px;
	background: var(--tf-filling-foreground, #ffffff);
	cursor: pointer;
	color: var(--tf-text-heading, #333d46);
	font-weight: 500;
	line-height: 1.3;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill-name {
	font-size: 1rem;
	line-height: 1.4;
}

.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill-fee {
	color: var(--tf-text-paragraph, #566676);
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
}

.tf-withoutpayment-booking.tfl-popup-mode
	.tfl-city-pill.tfl-city-selected
	.tfl-city-pill-label {
	border-color: var(--tf-brand-dark, #003c79);
	background: var(--tf-brand-lite, #ebf5ff);
	box-shadow: 0 0 0 1px var(--tf-brand-dark, #003c79);
}

.tf-withoutpayment-booking.tfl-popup-mode
	.tfl-city-pill
	.tfl-city-option:focus-visible
	+ .tfl-city-pill-label {
	border-color: var(--tf-brand-dark, #003c79);
	box-shadow: 0 0 0 2px rgba(0, 60, 121, 0.14);
}

@media (max-width: 767px) {
	.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill-label {
		gap: 12px;
		padding: 12px 14px;
	}

	.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill-name,
	.tf-withoutpayment-booking.tfl-popup-mode .tfl-city-pill-fee {
		font-size: 0.95rem;
	}
}

.tf-control-pagination .tf_btn.tfl-disabled {
	opacity: 0.45;
	pointer-events: none;
}

.tf-booking-traveller-info .tfl-pickup-row td {
	font-weight: 600;
}

.tfl-empty-note {
	margin: 0;
}
