/* Tour Search Form — [tour_search] */

.tour-search-form {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	background: #fff;
	border-radius: 0px;
	box-shadow: 0 6px 24px rgba(32, 49, 92, 0.12);
	padding: 0px;
	gap: 0;
}
.tour-search-gp-counter button{
	margin-bottom: 0px;
	    margin-right: 0px;
}
.tour-search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 0;
	min-width: 200px;
	padding: 10px 16px;
	position: relative;
}

.tour-search-ico {
	flex: 0 0 auto;
	color: var(--primary-color);
	display: flex;
}

.tour-search-field-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.tour-search-label {
	font-size: .75rem;
	font-weight: 700;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: 2px;
}

.tour-search-dest-input,
.tour-search-date-input {
	border: none;
	padding: 0;
	font-size: .9375rem;
	color: var(--primary-color);
	width: 100%;
	background: transparent;
}
.tour-search-dest-input:focus,
.tour-search-date-input:focus {
	outline: none;
	box-shadow: none;
}
.tour-search-dest-input::placeholder,
.tour-search-date-input::placeholder {
	color: #9aa5b8;
}

.tour-search-sep {
	width: 1px;
	align-self: center;
	height: 36px;
	background: #e5e5e5;
}

/* Destination dropdown */
.tour-search-dest-wrap {
	position: relative;
}
.tour-search-dest-list {
	display: none;
	position: absolute;
	top: calc(100% + 14px);
	left: -16px;
	width: max(280px, 100%);
	max-height: 320px;
	overflow-y: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(32, 49, 92, 0.18);
	padding: 8px;
	z-index: 50;
}
.tour-search-dest-list.is-open {
	display: block;
}
.tour-search-dest-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 6px;
	cursor: pointer;
	color: var(--primary-color);
	font-size: .9375rem;
}
.tour-search-dest-item:hover,
.tour-search-dest-item.is-highlighted {
	background: #f4f7fc;
}
.tour-search-dest-pin {
	flex: 0 0 auto;
	color: #4a7dbc;
}
.tour-search-dest-empty {
	padding: 14px 12px;
	color: #9aa5b8;
	font-size: .875rem;
}

/* Guests trigger + popup */
.tour-search-guests-trigger {
	background: none;
	border: none;
	padding: 0;
	text-align: left;
	font-size: .9375rem;
	color: #333;
	cursor: pointer;
	    font-weight: normal;
    text-transform: inherit;
}
.tour-search-guests-popup {
	display: none;
	position: absolute;
	top: calc(100% + 14px);
	right: -16px;
	width: 280px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(32, 49, 92, 0.18);
	padding: 16px;
	z-index: 50;
}
.tour-search-guests-popup.is-open {
	display: block;
}
.tour-search-gp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}
.tour-search-gp-row:last-of-type {
	border-bottom: none;
}
.tour-search-gp-info strong {
	display: block;
	color: var(--primary-color);
	font-size: .9375rem;
}
.tour-search-gp-info small {
	color: #9aa5b8;
	font-size: .8125rem;
}
.tour-search-gp-counter {
	display: flex;
	align-items: center;
	gap: 12px;
}
.tour-search-gp-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #4a7dbc;
	background: #fff;
	color: #4a7dbc;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, color .2s ease;
}
.tour-search-gp-btn:hover:not(:disabled) {
	background: #4a7dbc;
	color: #fff;
}
.tour-search-gp-btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}
.tour-search-gp-val {
	min-width: 16px;
	text-align: center;
	color: var(--primary-color);
	font-weight: 700;
}
.tour-search-gp-done {
	margin-top: 12px;
	width: 100%;
	border: none;
	border-radius: 6px;
	background: #4a7dbc;
	color: #fff;
	padding: 10px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s ease;
}
.tour-search-gp-done:hover {
	background: var(--primary-color);
}

/* Search button */
.tour-search-btn {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 6px;
	padding: 0 26px;
	border: none;
	border-radius: 0px;
	background: var(--primary-color);
	color: #fff;
	font-weight: 700;
	font-size: .9375rem;
	cursor: pointer;
	transition: background-color .2s ease;
}
.tour-search-btn:hover {
	background: var(--primary-color);
}

@media only screen and (max-width: 48em) {
	.tour-search-form {
		flex-direction: column;
		padding: 12px;
	}
	.tour-search-sep {
		display: none;
	}
	.tour-search-field {
		padding: 12px 4px;
		border-bottom: 1px solid #eee;
	}
	.tour-search-dest-list,
	.tour-search-guests-popup {
		left: 0;
		right: 0;
		width: auto;
	}
	.tour-search-btn {
		margin: 10px 0 0;
		padding: 14px;
		width: 100%;
	}
}
