/* Seach box */
:root {
	--primary-hex: #1a8a7a;
	--primary: var(--primary-hex);
	--primary-dark: color-mix(in srgb, var(--primary-hex) 80%, black);
	--primary-light: color-mix(in srgb, var(--primary-hex) 10%, white);
	--border: #dde3e8;
	--text: #1c2b35;
	--muted: #7a8d96;
	--white: #ffffff;
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	--radius: 12px;
	--radius-sm: 8px;
}

/* Each widget wrapper carries --primary-hex as an inline style attribute, so the
   derived tokens must be recomputed there — a custom property declared on :root
   resolves against :root's own --primary-hex, not the wrapper's override. */
.ht-search-wrapper,
.ht-dest-wrapper,
.ta-res-wrapper,
.ta-form-wrapper {
	--primary: var(--primary-hex);
	--primary-dark: color-mix(in srgb, var(--primary-hex) 80%, black);
	--primary-light: color-mix(in srgb, var(--primary-hex) 10%, white);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:where(.is-layout-constrained) > .ht-search-wrapper,
.ht-search-wrapper {
	max-width: 1100px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0;
	margin-bottom: 0;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding: 32px 16px;
	font-family: "DM Sans", sans-serif;
	color: var(--text);
}

:where(.is-layout-constrained) > .ht-dest-wrapper,
.ht-dest-wrapper {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

:where(.is-layout-constrained) > .ta-res-wrapper,
.ta-res-wrapper {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.ht-search-wrapper button,
.ht-search-wrapper select {
	all: revert;
	box-sizing: border-box;
}

.ht-search-box {
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: flex;
	align-items: stretch;
	overflow: visible;
	position: relative;
}

.ht-search-field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-right: 1.5px solid var(--border);
	cursor: pointer;
	position: relative;
	transition: background 0.15s;
	min-width: 0;
}

.ht-search-field:hover {
	background: var(--primary-light);
}
.ht-search-field:last-of-type {
	border-right: none;
}

.ht-field-icon {
	color: var(--primary);
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

.ht-field-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 3px;
}

.ht-field-value {
	font-size: 14px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ht-field-value.active {
	color: var(--text);
	font-weight: 500;
}

.ht-search-wrapper .ht-field-clear,
.ht-dest-wrapper .ht-field-clear {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--muted);
	padding: 2px;
	display: none;
	margin-left: auto;
	flex-shrink: 0;
}
.ht-search-wrapper .ht-field-clear.visible,
.ht-dest-wrapper .ht-field-clear.visible {
	display: flex;
}
.ht-search-wrapper .ht-field-clear:hover,
.ht-dest-wrapper .ht-field-clear:hover {
	color: var(--text);
}

/* Service dropdown */
.ht-search-wrapper .ht-service-select,
.ht-dest-wrapper .ht-service-select {
	padding: 0;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	color: var(--text);
	font-weight: 500;
	cursor: pointer;
	padding-right: 20px;
	outline: none;
	width: 100%;
}

.ht-search-wrapper .ht-search-btn,
.ht-dest-wrapper .ht-search-btn {
	background: var(--primary);
	color: #fff;
	border: none;
	padding: 0 32px;
	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0 var(--radius) var(--radius) 0;
	transition: background 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
}
.ht-search-wrapper .ht-search-btn:hover,
.ht-dest-wrapper .ht-search-btn:hover {
	background: var(--primary-dark) !important;
	border-radius: 0 var(--radius) var(--radius) 0 !important;
	color: white !important;
}
.ht-search-wrapper .ht-search-btn:focus,
.ht-dest-wrapper .ht-search-btn:focus {
	background: var(--primary-dark) !important;
	border-radius: 0 var(--radius) var(--radius) 0 !important;
	color: white !important;
}
.ht-search-wrapper .ht-search-btn:disabled,
.ht-dest-wrapper .ht-search-btn:disabled {
	background: #c5c9d1;
	cursor: not-allowed;
	opacity: 0.7;
	pointer-events: auto;
}

/* ===== DATE PICKER POPUP ===== */
.ht-datepicker-popup {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
	padding: 24px;
	z-index: 1000;
	width: 620px;
}
.ht-datepicker-popup.open {
	display: block;
}

.ht-cal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	min-width: 0;
}

/* Grid items default to min-width:auto, so a theme that pads <button> would push
   the 7-column day grid past the fixed-width popup instead of shrinking. */
.ht-cal-grid > * {
	min-width: 0;
}

.ht-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.ht-cal-title {
	font-family: "DM Sans", sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
}

.ht-search-wrapper .ht-cal-nav,
.ht-dest-wrapper .ht-cal-nav {
	background: none;
	border: 1.5px solid var(--border);
	border-radius: 6px;
	width: 30px;
	height: 30px;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	transition: background 0.15s;
}
.ht-search-wrapper .ht-cal-nav:hover,
.ht-dest-wrapper .ht-cal-nav:hover {
	background: var(--primary-light);
}
.ht-search-wrapper .ht-cal-nav.hidden,
.ht-dest-wrapper .ht-cal-nav.hidden {
	visibility: hidden;
}

.ht-search-wrapper .ht-cal-days-header,
.ht-dest-wrapper .ht-cal-days-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 6px;
}
.ht-search-wrapper .ht-cal-days-header span,
.ht-dest-wrapper .ht-cal-days-header span {
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
	padding: 4px 0;
}

.ht-cal-body {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	min-width: 0;
}

.ht-search-wrapper .ht-cal-day,
.ht-dest-wrapper .ht-cal-day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	padding: 0;
	min-width: 0;
	width: auto;
	border-radius: 6px;
	cursor: pointer;
	transition:
		background 0.12s,
		color 0.12s;
	border: none;
	background: none;
	font-family: inherit;
	color: var(--text);
	font-weight: 400;
}
.ht-search-wrapper .ht-cal-day:hover:not(.disabled):not(.empty),
.ht-dest-wrapper .ht-cal-day:hover:not(.disabled):not(.empty) {
	background: var(--primary-light);
	color: var(--primary-dark);
}
.ht-search-wrapper .ht-cal-day.empty,
.ht-dest-wrapper .ht-cal-day.empty {
	pointer-events: none;
}
.ht-search-wrapper .ht-cal-day.disabled,
.ht-dest-wrapper .ht-cal-day.disabled {
	color: #ccc;
	pointer-events: none;
}
.ht-search-wrapper .ht-cal-day.today,
.ht-dest-wrapper .ht-cal-day.today {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--primary);
}
.ht-search-wrapper .ht-cal-day.selected-start,
.ht-search-wrapper .ht-cal-day.selected-end,
.ht-dest-wrapper .ht-cal-day.selected-start,
.ht-dest-wrapper .ht-cal-day.selected-end {
	background: var(--primary);
	color: #fff;
	font-weight: 700;
}
.ht-search-wrapper .ht-cal-day.in-range,
.ht-dest-wrapper .ht-cal-day.in-range {
	background: var(--primary-light);
	border-radius: 0;
	color: var(--primary-dark);
}
.ht-search-wrapper .ht-cal-day.selected-start,
.ht-dest-wrapper .ht-cal-day.selected-start {
	border-radius: 6px 0 0 6px;
}
.ht-search-wrapper .ht-cal-day.selected-end,
.ht-dest-wrapper .ht-cal-day.selected-end {
	border-radius: 0 6px 6px 0;
}
.ht-search-wrapper .ht-cal-day.selected-start.selected-end,
.ht-dest-wrapper .ht-cal-day.selected-start.selected-end {
	border-radius: 6px;
}

.ht-shift-options {
	display: none;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--border);
}

.ht-shift-options.open {
	display: block;
}

.ht-shift-title {
	font-family: "DM Sans", sans-serif;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--text);
	margin-bottom: 10px;
}

.ht-shift-help {
	font-size: 14px;
	color: var(--muted);
}

.ht-shift-period-buttons {
	display: grid;
	gap: 10px;
}

.ht-search-wrapper .ht-shift-period-btn,
.ht-dest-wrapper .ht-shift-period-btn {
	background: #f7fbfd;
	border: 2px solid var(--primary);
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 700;
	font-size: 16px;
	color: var(--primary);
	text-align: left;
	cursor: pointer;
}

.ht-search-wrapper .ht-shift-period-btn.active,
.ht-dest-wrapper .ht-shift-period-btn.active {
	background: var(--primary);
	color: #fff;
}

/* ===== PASSENGERS POPUP ===== */
.ht-passengers-popup {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
	padding: 24px;
	z-index: 1000;
	width: 360px;
	box-sizing: border-box;
}
.ht-passengers-popup.open {
	display: block;
}

.ht-pax-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 20px;
}
.ht-pax-info {
	flex: 1;
}
.ht-pax-label {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}
.ht-pax-sub {
	font-size: 12px;
	color: var(--muted);
	margin-top: 2px;
}

.ht-counter {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ht-search-wrapper .ht-counter-btn,
.ht-dest-wrapper .ht-counter-btn {
	width: 32px;
	height: 32px;
	/* Theme <button> padding would otherwise inflate the box past 32px — and by a
	   different amount horizontally than vertically, so the circle stops being round. */
	padding: 0;
	margin: 0;
	min-width: 0;
	min-height: 0;
	flex: none;
	box-shadow: none;
	border-radius: 50% !important;
	border: 1.5px solid var(--primary) !important;
	background: none;
	color: var(--primary);
	background-color: white !important;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
	font-family: inherit;
	line-height: 1;
}
.ht-search-wrapper .ht-counter-btn:hover,
.ht-dest-wrapper .ht-counter-btn:hover {
	background: var(--primary-light) !important;
}
.ht-search-wrapper .ht-counter-btn:disabled,
.ht-dest-wrapper .ht-counter-btn:disabled {
	border-color: var(--border);
	color: var(--border);
	cursor: not-allowed;
}
.ht-counter-value {
	font-size: 16px;
	font-weight: 600;
	min-width: 20px;
	text-align: center;
}

.ht-children-ages {
	margin-top: 12px;
	border-top: 1.5px solid var(--border);
	padding-top: 16px;
	display: none;
}
.ht-children-ages.visible {
	display: block;
}
.ht-children-ages-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	margin-bottom: 10px;
}
.ht-children-ages-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ht-search-wrapper .ht-age-select,
.ht-dest-wrapper .ht-age-select {
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 8px 28px 8px 12px;
	font-family: inherit;
	font-size: 13px;
	color: var(--text);
	appearance: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8d96' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
		no-repeat right 10px center;
	background-color: #fff;
	cursor: pointer;
	min-width: 120px;
	max-width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	line-height: normal;
	box-shadow: none;
	outline: none;
	transition: border-color 0.15s;
}
.ht-search-wrapper .ht-age-select:focus,
.ht-dest-wrapper .ht-age-select:focus {
	border-color: var(--primary);
}
.ht-search-wrapper .ht-age-select.required,
.ht-dest-wrapper .ht-age-select.required {
	border-color: #e05050;
}

.ht-search-wrapper .ht-apply-btn,
.ht-dest-wrapper .ht-apply-btn {
	width: 100%;
	min-height: 0;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm) !important;
	padding: 13px;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	margin: 20px 0 0;
	transition: background 0.2s;
}
.ht-search-wrapper .ht-apply-btn:hover,
.ht-dest-wrapper .ht-apply-btn:hover {
	background: var(--primary-dark);
}

/* ===== RESULTS ===== */
.ht-results {
	margin-top: 24px;
}

/* ===== NO AVAILABILITY + CONTACT FORM ===== */
.ht-no-availability {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding: 18px 24px;
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	font-family: "DM Sans", sans-serif;
	flex-wrap: wrap;
}
.ht-no-availability-msg {
	font-size: 14px;
	color: var(--text);
}
.ht-search-wrapper .ht-contact-btn,
.ht-dest-wrapper .ht-contact-btn {
	background: var(--primary);
	color: #fff;
	border: none;
	padding: 10px 22px;
	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
}
.ht-search-wrapper .ht-contact-btn:hover,
.ht-dest-wrapper .ht-contact-btn:hover {
	background: var(--primary-dark);
}
.ht-contact-form {
	display: none;
	margin-top: 20px;
}
.ht-contact-form.open {
	display: block;
}
.ht-contact-form-inner {
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 28px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	font-family: "DM Sans", sans-serif;
}
.ht-contact-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.ht-contact-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ht-contact-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.ht-contact-input {
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	color: var(--text);
	outline: none;
	transition: border-color 0.15s;
}
.ht-contact-input:focus {
	border-color: var(--primary);
}
.ht-contact-error {
	margin-bottom: 12px;
	padding: 10px 14px;
	background: #fff0f0;
	border: 1px solid #f5c6cb;
	border-radius: var(--radius-sm);
	color: #721c24;
	font-size: 13px;
	font-family: "DM Sans", sans-serif;
}
.ht-contact-success {
	padding: 14px 20px;
	background: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: var(--radius-sm);
	color: #155724;
	font-size: 14px;
	font-family: "DM Sans", sans-serif;
	font-weight: 500;
}
.ht-search-wrapper .ht-contact-submit,
.ht-dest-wrapper .ht-contact-submit {
	background: var(--primary);
	color: #fff;
	border: none;
	padding: 12px 28px;
	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.2s;
}
.ht-search-wrapper .ht-contact-submit:hover:not(:disabled),
.ht-dest-wrapper .ht-contact-submit:hover:not(:disabled) {
	background: var(--primary-dark);
}
.ht-search-wrapper .ht-contact-submit:disabled,
.ht-dest-wrapper .ht-contact-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
@media (max-width: 600px) {
	.ht-contact-form-grid {
		grid-template-columns: 1fr;
	}
	.ht-no-availability {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
	.ht-search-box {
		flex-direction: column;
		border-radius: var(--radius);
	}
	.ht-search-field {
		border-right: none;
		border-bottom: 1.5px solid var(--border);
	}
	.ht-search-wrapper .ht-search-btn,
	.ht-dest-wrapper .ht-search-btn {
		border-radius: 0 0 var(--radius) var(--radius);
		padding: 16px;
	}
	.ht-datepicker-popup {
		width: 100%;
		left: 0;
		right: 0;
	}
	.ht-cal-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.ht-passengers-popup {
		width: 100%;
	}
}

/* ===== ROOM LIST (results) ===== */
.ht-room-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
}
.ht-room-card {
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	padding: 24px 28px;
	gap: 24px;
	transition:
		box-shadow 0.2s,
		border-color 0.2s;
	font-family: "DM Sans", sans-serif;
}
.ht-room-card:hover {
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.11);
	border-color: #c2d4d1;
}
.ht-room-info {
	min-width: 0;
}
.ht-room-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 6px;
	line-height: 1.3;
}
.ht-room-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--muted);
}
.ht-room-meta svg {
	color: var(--primary);
	flex-shrink: 0;
}
.ht-search-wrapper .ht-room-links {
	display: flex;
	gap: 20px;
}
.ht-search-wrapper .ht-room-link {
	font-size: 13px;
	font-weight: 500;
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	background: none;
	border: none;
	font-family: inherit;
	padding: 0;
	transition: color 0.15s;
}
.ht-search-wrapper .ht-room-link:hover {
	color: var(--primary-dark);
}
.ht-room-price {
	text-align: right;
	flex-shrink: 0;
}
.ht-price-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: 6px;
}
/* .ht-price-old {
	font-size: 16px;
	color: #aab5bc;
	text-decoration: line-through;
	margin-bottom: 2px;
} */
.ht-price-current {
	font-family: "Playfair Display", serif;
	font-size: 32px;
	font-weight: 600;
	color: var(--primary);
	line-height: 1;
}
.ht-price-currency {
	font-family: "DM Sans", sans-serif;
	font-size: 22px;
	font-weight: 500;
	vertical-align: super;
	margin-right: 2px;
}
.ht-price-unit {
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
	font-weight: 400;
}
.ht-room-notice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	max-width: 200px;
	flex-shrink: 0;
}
.ht-room-notice svg {
	color: var(--primary);
	flex-shrink: 0;
	margin-top: 1px;
}
.ht-room-card.has-price .ht-room-notice {
	display: none;
}
.ht-search-wrapper .ht-room-card.has-price .ht-book-btn {
	display: flex;
}
.ht-search-wrapper .ht-book-btn {
	display: none;
	align-items: center;
	gap: 8px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	padding: 12px 22px;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
	text-decoration: none;
}
.ht-search-wrapper .ht-book-btn:hover {
	background: var(--primary-dark);
}
.ht-search-wrapper .ht-book-btn.ht-disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: auto; /* important so click still fires */
}
@media (max-width: 760px) {
	.ht-room-card {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.ht-room-footer {
		flex-direction: column;
	}
	.ht-book-btn {
		width: 100%;
		display: flex;
		justify-content: center;
		margin-top: 10px;
	}
	.ht-room-footer-price {
		flex-direction: column;
	}
	.ht-room-price {
		text-align: left;
	}
	.ht-room-notice {
		max-width: 100%;
	}
}

.ht-room-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.ht-room-footer-price {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ht-price-current {
	font-size: 30px;
	font-weight: 700;
	color: var(--primary);
	font-family: "DM Sans", sans-serif;
}

.ht-price-old {
	font-size: 20px;
	color: #888;
	text-decoration: line-through;
	font-family: "DM Sans", sans-serif;
}

/* ================================================================
   RESERVATION PAGE  (ta-res-*)
   ================================================================ */

.ta-res-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	font-family: "DM Sans", sans-serif;
	color: var(--text);
}

.ta-res-summary-inner {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.ta-res-summary-meta {
	flex: 1;
	min-width: 0;
}
.ta-res-summary-image {
	flex-shrink: 0;
	width: 160px;
}
.ta-res-summary-image img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.ta-res-hotel-note {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 8px;
}
.ta-res-service-label {
	display: inline-block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-hex, #0d9488);
}
@media (max-width: 480px) {
	.ta-res-summary-image {
		width: 110px;
	}
	.ta-res-summary-image img {
		height: 85px;
	}
}

/* ── Header ── */
.ta-res-header {
	margin-bottom: 32px;
}
.ta-res-title {
	font-family: "DM Sans", sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 6px;
	line-height: 1.2;
}
.ta-res-subtitle {
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	margin: 0;
}

/* ── Full-width content column ── */
.ta-res-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ── Shared card base ── */
.ta-res-summary-card,
.ta-res-calc-card,
.ta-res-form-card {
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* ── Summary card ── */
.ta-res-summary-card {
	padding: 24px 28px;
}
.ta-res-summary-loading {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-size: 14px;
}
.ta-res-summary-inner {
	display: flex;
	gap: 20px;
}
.ta-res-summary-meta {
	flex: 1;
	min-width: 0;
}
.ta-res-room-name {
	font-size: 20px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 4px;
	line-height: 1.3;
}
.ta-res-hotel-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 14px;
}
.ta-res-dates,
.ta-res-pax {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 6px;
}
.ta-res-dates svg,
.ta-res-pax svg {
	color: var(--primary);
	flex-shrink: 0;
}
.ta-res-dates span,
.ta-res-pax span {
	color: var(--text);
	font-weight: 400;
}
.ta-res-dates strong,
.ta-res-pax strong {
	color: var(--primary);
	font-weight: 700;
}

/* ── Calculation card ── */
.ta-res-calc-card {
	overflow: hidden;
}
.ta-res-calc-loading {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-size: 14px;
	padding: 24px 28px;
}
.ta-res-calc-error {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #b42318;
	font-size: 14px;
	padding: 24px 28px;
}

.ta-res-calc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-block-end: 0;
}
.ta-res-calc-table thead tr {
	border-bottom: 2px solid var(--border);
}
.ta-res-calc-table thead th {
	padding: 14px 28px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--muted);
	text-align: left;
	border: none;
	border-block-start: none !important;
}
.ta-res-calc-table tbody tr {
	border-bottom: 1px solid var(--border);
}
.ta-res-calc-table tbody tr:last-child {
	border-bottom: none;
}
.ta-res-calc-table tbody td {
	padding: 14px 28px;
	color: var(--text);
	vertical-align: middle;
	border: none;
	background-color: transparent !important;
}
.ta-res-col-right {
	text-align: right !important;
	white-space: nowrap;
}

.ta-res-item-link {
	color: var(--primary);
	font-weight: 500;
	cursor: default;
}

.ta-res-row-optional td {
	color: var(--text);
}
.ta-res-optional-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
}
.ta-res-optional-check {
	width: 16px;
	height: 16px;
	accent-color: var(--primary);
	cursor: pointer;
	flex-shrink: 0;
}

.ta-res-calc-table .ta-res-optional-header td {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	padding-top: 18px;
	padding-bottom: 6px;
	background: #f8fafb;
}

.ta-res-row-discount td {
	color: #2e7d5e;
	font-weight: 500;
}

.ta-res-calc-table tfoot .ta-res-row-total {
	border-top: 2px solid var(--border);
	background: #f8fafb;
}
.ta-res-calc-table tfoot .ta-res-row-total td {
	padding: 18px 28px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text);
	border: none;
}
.ta-res-total-price {
	font-family: "DM Sans", sans-serif;
	font-size: 28px !important;
	font-weight: 700 !important;
	color: var(--text) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* ── Passenger section heading ── */
.ta-res-passengers-heading {
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	margin: 8px 0 0;
	margin-bottom: 24px;
}

/* ── Passengers 2-column grid ── */
.ta-res-passengers-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

/* Main passenger always spans full width */
.ta-res-form-card--full {
	grid-column: 1 / -1;
}

/* ── Form card ── */
.ta-res-form-card {
	padding: 28px 24px;
	/* No sticky/fixed positioning */
}
.ta-res-form-title {
	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin: 0 0 20px;
	text-transform: uppercase;
}

/* ── Per-card field grid ── */
.ta-res-pax-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
}

/* Main passenger card: up to 4 fields → keep 2-col */
.ta-res-form-card--full .ta-res-pax-grid {
	grid-template-columns: repeat(4, 1fr);
}

/* Child passenger card: name, surname, date of birth */
.ta-res-form-card--child .ta-res-pax-grid {
	grid-template-columns: repeat(3, 1fr);
}

.ta-res-discount-head,
.ta-res-additions-head {
	border-top: 1.5px solid var(--border);
}

.ta-res-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ta-res-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
}
.ta-res-input {
	border: 1.5px solid var(--border) !important;
	border-radius: var(--radius-sm) !important;
	padding: 10px 14px !important;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	color: var(--text);
	outline: none;
	transition: border-color 0.15s;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
}
.ta-res-input:focus {
	border-color: var(--primary);
}
.ta-res-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8d96' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}
.ta-res-textarea {
	resize: vertical;
	min-height: 96px;
	line-height: 1.5;
}

/* Optional compact note field on signup + reservation forms */
.ta-form-note-textarea {
	min-height: 52px;
	max-height: 140px;
	font-size: 13px;
	line-height: 1.45;
}

/* Child info banner */
.ta-res-child-info {
	grid-column: 1 / -1;
	font-size: 0.82rem;
	color: #6b7f8a;
	background: #f0f7ff;
	border-left: 3px solid var(--primary);
	padding: 6px 10px;
	border-radius: 4px;
	margin-bottom: 4px;
}

/* Error message */
.ta-res-form-error {
	padding: 12px 16px;
	background: #fff5f5;
	border: 1.5px solid #f5c6c6;
	border-radius: var(--radius-sm);
	color: #b42318;
	font-size: 13px;
	line-height: 1.5;
}

/* Discount value */
.ta-res-discount-val {
	color: #2e7d5e;
	font-weight: 500;
}

/* Submit button */
.ta-res-submit-btn {
	display: block;
	width: 100%;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	padding: 16px;
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition:
		background 0.2s,
		opacity 0.2s;
	text-transform: uppercase;
}
.ta-res-submit-btn:hover:not(:disabled) {
	background: var(--primary-dark);
}
.ta-res-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.ta-res-submit-btn:focus {
	background: var(--primary-dark) !important;
}

/* ── Spinner ── */
.ta-res-spinner {
	width: 18px;
	height: 18px;
	border: 2.5px solid var(--border);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: ta-spin 0.7s linear infinite;
	flex-shrink: 0;
}

@keyframes ta-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ── Responsive ── */

/* Tablet: collapse main passenger's 4-col inner grid to 2-col */
@media (max-width: 960px) {
	.ta-res-form-card--full .ta-res-pax-grid {
		grid-template-columns: 1fr 1fr;
	}
	.ta-res-form-card--child .ta-res-pax-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Mobile: everything goes 1-col */
@media (max-width: 640px) {
	.ta-res-title {
		font-size: 24px;
	}
	.ta-res-form-card--full {
		grid-column: 1;
	}
	.ta-res-pax-grid,
	.ta-res-form-card--full .ta-res-pax-grid {
		grid-template-columns: 1fr;
	}
	.ta-res-calc-table thead th,
	.ta-res-calc-table tbody td,
	.ta-res-calc-table tfoot td {
		padding: 12px 16px;
	}
	.ta-res-summary-card,
	.ta-res-form-card {
		padding: 20px 18px;
	}
}

/* Transfer tabs */
.ht-transfer-tabs {
	display: flex;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 12px;
	width: fit-content;
}

.ht-transfer-tab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	padding: 8px 16px;
	margin-bottom: -2px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

.ht-transfer-tab:hover {
	border-bottom-color: var(--primary);
	color: var(--primary-dark);
}

.ht-transfer-tab.active {
	background: none;
	border-bottom: 2px solid var(--primary);
	color: var(--primary-dark);
}

/* ================================================================
   SIMPLE RESERVATION FORMS  (ta-form-*)
   group-travel / transfer / plane-ticket / bus-ticket / tour /
   other-service shortcodes
   ================================================================ */

:where(.is-layout-constrained) > .ta-form-wrapper,
.ta-form-wrapper {
	max-width: 720px !important;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0;
	margin-bottom: 0;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding: 32px 16px 48px;
	font-family: "DM Sans", sans-serif;
	color: var(--text);
	box-sizing: border-box;
}

/* Header */
.ta-form-header {
	margin-top: 0 !important;
	margin-bottom: 28px !important;
}
.ta-form-title {
	font-family: "DM Sans", sans-serif;
	font-size: 26px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 6px !important;
	line-height: 1.25;
}
.ta-form-subtitle {
	font-size: 14px;
	color: var(--muted);
	margin: 0 !important;
}

/* Body stack */
.ta-form-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 2-column grid inside form cards */
.ta-form-grid-2col {
	grid-template-columns: 1fr 1fr !important;
}

/* Full-width field inside a 2-col grid */
.ta-form-col-full {
	grid-column: 1 / -1;
}

/* Extra-passenger card header */
.ta-form-pax-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.ta-form-pax-card-header .ta-res-form-title {
	margin: 0;
}

/* Remove-passenger button */
.ta-form-remove-pax-btn {
	all: unset;
	cursor: pointer !important;
	color: var(--muted) !important;
	display: flex !important;
	align-items: center;
	padding: 4px !important;
	border-radius: 4px !important;
	transition:
		color 0.15s,
		background 0.15s !important;
}
.ta-form-remove-pax-btn:hover {
	color: #b42318;
	background: #fff5f5;
}

/* "Dodaj" row */
.ta-form-add-pax-row {
	display: flex;
	align-items: center;
}
.ta-form-add-pax-wrapper {
	position: relative;
}
.ta-form-add-pax-btn {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
	border: 1.5px solid var(--primary);
	border-radius: var(--radius-sm);
	padding: 8px 16px;
	cursor: pointer;
	background: var(--primary-light);
	transition:
		background 0.15s,
		color 0.15s;
	box-sizing: border-box;
}
.ta-form-add-pax-btn:hover {
	background: var(--primary) !important;
	color: #fff !important;
}
.ta-form-add-pax-btn:focus {
	background: var(--primary) !important;
	color: #fff !important;
}

/* Dropdown */
.ta-form-pax-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 180px;
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	z-index: 200;
	overflow: hidden;
}
.ta-form-pax-dropdown.open {
	display: block;
}
.ta-form-pax-type-btn {
	all: unset;
	display: block !important;
	width: 100% !important;
	padding: 11px 16px !important;
	font-family: "DM Sans", sans-serif;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--text) !important;
	cursor: pointer !important;
	box-sizing: border-box;
	transition: background 0.12s !important;
	border: none !important;
}
.ta-form-pax-type-btn:hover {
	background: var(--primary-light);
	color: var(--primary-dark);
}
.ta-form-pax-type-btn + .ta-form-pax-type-btn {
	border-top: 1px solid var(--border);
}

/* Required asterisk */
.ta-req {
	color: #b42318;
	margin-left: 2px;
}

/* Success confirmation */
.ta-form-confirmation {
	margin-top: 8px;
}
.ta-form-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	padding: 40px 24px;
	background: #f0fbf6;
	border: 1.5px solid #a3d9be;
	border-radius: var(--radius);
}
.ta-form-success svg {
	color: #2e7d5e;
}
.ta-form-success h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--text);
	margin: 0;
}
.ta-form-success p {
	font-size: 14px;
	color: var(--muted);
	margin: 0;
}

/* Extra-passenger cards spacing */
.ta-form-extra-pax-card {
	padding: 24px;
	margin-bottom: 5px;
}

/* ── Responsive ── */
@media (max-width: 560px) {
	.ta-form-grid-2col {
		grid-template-columns: 1fr !important;
	}
	.ta-form-title {
		font-size: 21px;
	}
	.ta-form-wrapper {
		padding: 20px 12px 32px;
	}
}

/* ── Terms / Privacy checkboxes ──────────────────────────────────── */
.ta-res-terms-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.ta-res-terms-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
	line-height: 1.5;
}

.ta-res-terms-item input[type="checkbox"] {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: var(--primary-hex, #46b196);
}

.ta-res-terms-item input[type="checkbox"]:focus,
.ta-res-terms-item input[type="checkbox"]:focus-visible {
	outline: none;
	box-shadow: none;
}

.ta-res-terms-link {
	text-decoration: underline;
	color: var(--primary-hex, #46b196);
	font-weight: 600;
}

.ta-res-terms-link:hover {
	opacity: 0.8;
}

/* ── Docs not configured warning ─────────────────────────────────── */
.ta-res-docs-warning {
	margin: 16px 0 4px;
	padding: 14px 18px;
	background: #fffbeb;
	border: 1px solid #f59e0b;
	border-radius: 10px;
	color: #92400e;
	font-size: 14px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.ta-res-docs-warning-icon {
	flex-shrink: 0;
	font-size: 18px;
	margin-top: -1px;
}

/* ── Sale notice banners ──────────────────────────────────────────────────── */
.ta-sale-notice {
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 12px;
}
.ta-sale-notice--last-seats {
	background: #fff8e1;
	border: 1px solid #f9a825;
	color: #7a5000;
}
.ta-sale-notice--ended {
	background: #fdecea;
	border: 1px solid #e53935;
	color: #b71c1c;
}

.ht-search-wrapper i,
.ht-dest-wrapper i,
.ht-search-field i,
.ht-dest-search-box i,
.ht-search-box i {
	display: contents;
	font-style: normal;
}

.ht-badge-akcija {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg, #e8390e, #ff6b35);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: middle;
	white-space: nowrap;
}

.ht-price-akcija {
	color: #e8390e; /* override the default teal with a hot red for the sale price */
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESTINATION HOTEL SEARCH  (.ht-dest-*)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Root wrapper (full-width, no max-width cap) ── */
:where(.is-layout-constrained) > .ht-dest-wrapper,
.ht-dest-wrapper {
	max-width: 1100px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0;
	margin-bottom: 0;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding: 32px 16px;
	font-family: "DM Sans", sans-serif;
	color: var(--text);
}

/* ── Top search bar ── */
.ht-dest-search-box {
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: flex;
	align-items: stretch;
	overflow: visible;
	position: relative;
	margin-bottom: 24px;
}

/* .ht-dest-search-box .ht-search-field {
	border-right: 1px solid #eef0f4;
}
.ht-dest-search-box .ht-search-field:last-of-type {
	border-right: none;
} */

/* ── Mobile Filteri button (hidden on desktop) ── */
.ht-filteri-btn {
	display: none;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 9px 18px;
	border: 1.5px solid var(--primary, #1a8a7a);
	border-radius: 8px;
	background: #fff;
	color: var(--primary, #1a8a7a);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	position: relative;
}
.ht-filteri-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background: var(--primary, #1a8a7a);
	color: #fff;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 700;
}

/* ── 1/4 + 3/4 grid ── */
.ht-dest-layout {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 24px;
	align-items: start;
}

/* ── Sidebar ── */
.ht-dest-sidebar {
	position: sticky;
	top: 24px;
}

.ht-dest-filters {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	overflow: hidden;
}

.ht-dest-filter-section {
	padding: 16px;
	border-bottom: 1px solid #eef0f4;
}
.ht-dest-filter-section:last-child {
	border-bottom: none;
}

.ht-dest-filter-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
	margin-bottom: 10px;
}

/* Name search */
.ht-dest-search-input-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	padding: 7px 10px;
	transition: border-color 0.2s;
	background-color: #ffffff;
}
.ht-dest-search-input-wrap:focus-within {
	border-color: var(--primary, #1a8a7a);
}
.ht-dest-search-input-wrap svg {
	flex-shrink: 0;
	color: #9ca3af;
}
.ht-dest-search-input {
	border: none !important;
	outline: none !important;
	width: 100%;
	font-size: 13px;
	color: #1a1a2e;
	background: transparent;
	padding: 0 !important;
}

/* Checkbox list */
.ht-dest-checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 220px;
	overflow-y: auto;
}

.ht-dest-check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	color: #374151;
	padding: 2px 0;
}
.ht-dest-check-row input[type="checkbox"] {
	accent-color: var(--primary, #1a8a7a);
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	cursor: pointer;
}
.ht-dest-check-label {
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1.3;
}

/* Small stars inside filter */
.ht-hotel-stars-sm {
	font-size: 12px;
	color: #f59e0b;
	letter-spacing: 1px;
}

/* ── Results header ── */
.ht-dest-results-header {
	display: none;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.ht-dest-results-count {
	font-size: 14px;
	color: #6b7280;
}

.ht-dest-sort-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border: 1.5px solid var(--primary, #1a8a7a);
	border-radius: 8px;
	background: #fff;
	color: var(--primary, #1a8a7a);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.18s,
		color 0.18s;
}
.ht-dest-sort-btn:hover,
.ht-dest-sort-btn[data-direction="Desc"] {
	background: var(--primary, #1a8a7a);
	color: #fff;
}

/* ── Hotel list ── */
.ht-hotel-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ── Hotel card ── */
.ht-hotel-card {
	display: grid;
	grid-template-columns: 200px 1fr auto;
	gap: 0;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition:
		box-shadow 0.2s,
		transform 0.2s;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.ht-hotel-card:hover {
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.11);
	border-color: #c2d4d1;
}

.ht-hotel-card:focus {
	outline: none;
}

.ht-hotel-card-img-wrap {
	position: relative;
	width: 200px;
	min-height: 160px;
	flex-shrink: 0;
	overflow: hidden;
}
.ht-hotel-card-img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.ht-hotel-card-img-placeholder {
	width: 100%;
	height: 100%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Labels overlay (bottom of image) */
.ht-hotel-card-labels {
	position: absolute;
	bottom: 8px;
	left: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.ht-hotel-label {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	background: #7c3aed;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 4px;
	white-space: nowrap;
}

/* Info column */
.ht-hotel-card-info {
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
}

.ht-hotel-card-dest {
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.ht-hotel-card-name {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.25;
	display: flex;
	gap: 5px;
	align-items: center;
}
.ht-hotel-stars {
	font-size: 14px;
	color: #f59e0b;
	letter-spacing: 1px;
}
.ht-hotel-card-description {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 2px;
	margin-bottom: 10px;
}
.ht-hotel-service-badge {
	display: inline-block;
	margin-top: auto;
	padding: 3px 10px;
	border-radius: 20px;
	background: var(--primary, #1a8a7a);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	white-space: nowrap;
	width: fit-content;
}

/* Price column */
.ht-hotel-card-price {
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	border-left: 1px solid #eef0f4;
	min-width: 140px;
	flex-shrink: 0;
}
.ht-price-label {
	font-size: 11px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.ht-price-room-type {
	font-size: 12px;
	color: #6b7280;
}
.ht-price-total-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--primary, #1a8a7a);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 4px;
}
.ht-hotel-card-price .ht-price-current {
	font-size: 22px;
	font-weight: 800;
	color: var(--primary, #1a8a7a);
	white-space: nowrap;
}
.ht-price-unavailable {
	font-size: 13px;
	color: #6b7280;
	font-style: italic;
}

/* ── Empty / error / loading states ── */
.ht-dest-empty,
.ht-dest-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 24px;
	text-align: center;
	color: #6b7280;
	font-size: 15px;
}
.ht-dest-empty svg {
	opacity: 0.35;
}

.ht-dest-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 48px 0;
}
.ht-dest-loading span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--primary, #1a8a7a);
	animation: ht-bounce 1s ease-in-out infinite;
}
.ht-dest-loading span:nth-child(2) {
	animation-delay: 0.16s;
}
.ht-dest-loading span:nth-child(3) {
	animation-delay: 0.32s;
}

@keyframes ht-bounce {
	0%,
	80%,
	100% {
		transform: scale(0);
		opacity: 0.4;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

/* ── Pagination ── */
.ht-dest-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 24px;
}

.ht-dest-page-btn {
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition:
		border-color 0.15s,
		background 0.15s,
		color 0.15s;
}
.ht-dest-page-btn:hover:not([disabled]) {
	border-color: var(--primary, #1a8a7a);
	color: var(--primary, #1a8a7a);
}
.ht-dest-page-btn.active {
	background: var(--primary, #1a8a7a);
	border-color: var(--primary, #1a8a7a);
	color: #fff;
	font-weight: 700;
}
.ht-dest-page-btn[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}
.ht-dest-page-ellipsis {
	font-size: 13px;
	color: #9ca3af;
	padding: 0 4px;
}

/* ── Error highlight on date field ── */
.ht-field-error {
	animation: ht-shake 0.4s;
}
@keyframes ht-shake {
	0%,
	100% {
		transform: translateX(0);
	}
	20% {
		transform: translateX(-6px);
	}
	40% {
		transform: translateX(6px);
	}
	60% {
		transform: translateX(-4px);
	}
	80% {
		transform: translateX(4px);
	}
}

/* ── Mobile modal (filters overlay) ── */
.ht-dest-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.45);
	align-items: flex-end;
}
.ht-dest-modal.open {
	display: flex;
}
.ht-dest-modal-inner {
	width: 100%;
	max-height: 90vh;
	background: #fff;
	border-radius: 20px 20px 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.ht-dest-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eef0f4;
	font-size: 16px;
}
.ht-dest-modal-close {
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	color: #6b7280;
	padding: 4px;
}
.ht-dest-modal-body {
	overflow-y: auto;
	flex: 1;
}
.ht-dest-modal-body .ht-dest-filters {
	border: none;
	border-radius: 0;
}

/* ── Responsive: collapse to single column ≤ 820 px ── */
@media (max-width: 820px) {
	.ht-dest-layout {
		grid-template-columns: 1fr;
	}
	.ht-dest-sidebar {
		display: none;
	}
	.ht-filteri-btn {
		display: inline-flex;
	}
	.ht-dest-search-box {
		flex-direction: column;
		border-radius: var(--radius);
	}
	.ht-hotel-card {
		grid-template-columns: 1fr;
	}
	.ht-hotel-card-img-wrap {
		width: 100%;
		height: 180px;
	}
	.ht-hotel-card-price {
		border-left: none;
		border-top: 1px solid #eef0f4;
		align-items: flex-start;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}
	.ht-hotel-card-price .ht-price-current {
		font-size: 19px;
	}
	.ht-hotel-card-name {
		flex-direction: column;
		align-items: start;
	}
}

/* ── Autocomplete Dropdown in Signup Forms ────────────────────────────────── */
.ta-autocomplete-wrapper {
	position: relative;
}
.ta-autocomplete-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	max-height: 200px;
	overflow-y: auto;
	margin-top: 4px;
}
.ta-autocomplete-dropdown.is-active {
	display: block;
}
.ta-autocomplete-item {
	padding: 8px 12px;
	font-size: 14px;
	color: #1e293b;
	cursor: pointer;
	border-bottom: 1px solid #f1f5f9;
	transition: background-color 0.15s ease;
}
.ta-autocomplete-item:last-child {
	border-bottom: none;
}
.ta-autocomplete-item:hover {
	background-color: #f8fafc;
	color: var(--primary-hex, #2563eb);
}
.ta-autocomplete-loading,
.ta-autocomplete-error {
	padding: 8px 12px;
	font-size: 13px;
	color: #64748b;
}
.ta-autocomplete-error {
	color: #ef4444;
}
