/**
 * Premium Styling for Hotelbeds WooCommerce Connector Search Interface
 */

:root {
	--hbwc-primary: hsl(210, 85%, 45%);
	--hbwc-primary-hover: hsl(210, 85%, 38%);
	--hbwc-bg: hsla(210, 20%, 98%, 0.85);
	--hbwc-card-bg: #ffffff;
	--hbwc-text: #1e293b;
	--hbwc-muted: #475569;
	--hbwc-border: #e2e8f0;
	--hbwc-accent: #e74c3c;
	--hbwc-success: #2ecc71;
	--hbwc-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	--hbwc-glass-bg: #ffffff;
	--hbwc-glass-border: #e2e8f0;
	--hbwc-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--hbwc-container-padding: 2.5em;
	--hbwc-container-radius: 24px;
	--hbwc-form-gap: 1.5em;
	--hbwc-title-align: center;
	--hbwc-title-size: 2rem;
	--hbwc-title-weight: 700;
	--hbwc-input-radius: 12px;
	--hbwc-button-radius: 12px;
	--hbwc-card-radius: 20px;
	--hbwc-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
	--hbwc-card-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Container & Search Box */
.hbwc-search-container {
	width: 100%;
	max-width: none;
	margin: 2em 0;
	padding: var(--hbwc-container-padding);
	background: var(--hbwc-glass-bg);
	border: 1px solid var(--hbwc-glass-border);
	border-radius: var(--hbwc-container-radius);
	box-shadow: var(--hbwc-shadow);
	font-family: var(--hbwc-font-family);
}

.hbwc-search-title {
	font-size: var(--hbwc-title-size);
	font-weight: var(--hbwc-title-weight);
	color: var(--hbwc-text);
	margin-bottom: 1.5em;
	text-align: var(--hbwc-title-align);
	letter-spacing: 0;
}

.hbwc-search-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--hbwc-form-gap);
	margin-bottom: 3em;
}

@media(min-width: 768px) {
	.hbwc-search-form {
		align-items: end;
	}
	.hbwc-hotel-form {
		grid-template-columns: repeat(2, 1fr);
	}
	.hbwc-activity-form {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(min-width: 768px) and (max-width: 991px) {
	.hbwc-guest-selection-group {
		grid-column: span 2 !important;
	}
}

@media(min-width: 992px) {
	.hbwc-hotel-form {
		grid-template-columns: 2.2fr 1.1fr 1.1fr 1.6fr 1.1fr !important;
	}
	.hbwc-activity-form {
		grid-template-columns: 2.2fr 1.1fr 1.1fr 1.6fr 1.1fr !important;
	}
	.hbwc-guest-selection-group {
		grid-column: span 1 !important;
	}
}

.hbwc-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	box-sizing: border-box !important;
}

.hbwc-autocomplete-wrapper {
	position: relative !important;
}

.hbwc-form-group label {
	display: block !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	color: var(--hbwc-muted) !important;
	letter-spacing: 0.5px !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	height: auto !important;
	text-align: left !important;
}

.hbwc-input {
	display: block !important;
	width: 100% !important;
	height: 48px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 10px 16px !important;
	border: 1px solid var(--hbwc-border) !important;
	border-radius: var(--hbwc-input-radius) !important;
	font-size: 1rem !important;
	color: var(--hbwc-text) !important;
	background: #ffffff !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
	transition: all 0.25s ease !important;
	outline: none !important;
	line-height: 1.5 !important;
}

.hbwc-input:focus {
	border-color: var(--hbwc-primary) !important;
	box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15) !important;
}

.hbwc-search-form input[type="hidden"],
.hbwc-search-form p,
.hbwc-search-form br {
	display: none !important;
	height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	position: absolute !important;
	pointer-events: none !important;
}

.hbwc-form-row {
	display: flex;
	flex-direction: column;
	gap: 1em;
	width: 100%;
	box-sizing: border-box !important;
}

@media(min-width: 768px) {
	.hbwc-form-row {
		flex-direction: row;
	}
}

.hbwc-form-group.half {
	flex: 1;
}

.hbwc-btn-submit {
	display: block !important;
	width: 100% !important;
	height: 48px !important;
	line-height: 48px !important;
	padding: 0 24px !important;
	background: var(--hbwc-primary) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: var(--hbwc-button-radius) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25) !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	text-align: center !important;
}

.hbwc-btn-submit:hover {
	background: var(--hbwc-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(33, 150, 243, 0.35);
}

.hbwc-btn-submit:active {
	transform: translateY(0);
}

/* WooCommerce account/order action buttons */
.woocommerce a.button.download_voucher,
.woocommerce .woocommerce-orders-table__cell-order-actions a.download_voucher,
.woocommerce .woocommerce-order-details a.download_voucher {
	align-items: center !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	justify-content: center !important;
	line-height: 1.2 !important;
	max-width: 100% !important;
	min-height: 44px !important;
	padding: 10px 16px !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	width: auto !important;
}

/* Reservation labels in WooCommerce cart and checkout tables. */
.woocommerce .hbwc-booking-line-title {
	display: block;
	color: var(--hbwc-text, #1f2937);
	font-weight: 700;
	line-height: 1.35;
}

.woocommerce .wc-item-meta .wc-item-meta-label {
	white-space: nowrap;
}

.hbwc-booking-actions {
	border-top: 1px solid var(--hbwc-border);
	margin: 24px 0;
	padding-top: 18px;
}

.hbwc-booking-actions-title {
	font-size: 1.15rem !important;
	margin-bottom: 12px !important;
}

.hbwc-booking-actions-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hbwc-booking-action-form {
	margin: 0 !important;
}

.woocommerce .hbwc-booking-actions-row .hbwc-booking-action-button {
	align-items: center !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	justify-content: center !important;
	line-height: 1.2 !important;
	min-height: 44px !important;
	padding: 10px 16px !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	width: auto !important;
}

/* Results Grid - Modified to always be single-column list-layout */
.hbwc-results-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2em;
	margin-top: 2em;
}

/* Hotel/Activity Cards */
.hbwc-card {
	background: var(--hbwc-card-bg);
	border: 1px solid var(--hbwc-border);
	border-radius: var(--hbwc-card-radius);
	overflow: hidden;
	box-shadow: var(--hbwc-card-shadow);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	display: flex;
	flex-direction: column;
	position: relative;
}

.hbwc-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--hbwc-card-hover-shadow);
	border-color: rgba(33, 150, 243, 0.15);
}

.hbwc-card-img {
	height: 220px;
	position: relative;
	overflow: hidden;
}

.hbwc-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hbwc-card:hover .hbwc-card-img img {
	transform: scale(1.06);
}

.hbwc-card-body {
	padding: 1.5em;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

@media(min-width: 768px) {
	.hbwc-card {
		display: grid;
		grid-template-columns: 320px 1fr;
		grid-template-rows: auto auto;
	}
	
	.hbwc-card-img {
		grid-column: 1;
		grid-row: 1;
		height: 100%;
		min-height: 250px;
	}
	
	.hbwc-card-body {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 2em;
	}
	
	.hbwc-rooms-accordion-content {
		grid-column: 1 / span 2;
		grid-row: 2;
	}
}

.hbwc-card-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--hbwc-text);
	margin: 0 0 0.5em 0;
	line-height: 1.3;
}

.hbwc-card-desc {
	font-size: 0.9rem;
	color: var(--hbwc-muted);
	line-height: 1.5;
	margin-bottom: 1em;
	flex-grow: 1;
}

.hbwc-hotel-card-rate-summary {
	align-self: stretch;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-top: 0.25rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hbwc-border);
	text-align: left;
}

.hbwc-hotel-card-nightly-rate {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0.35rem;
	color: var(--hbwc-muted);
	font-size: 0.82rem;
	line-height: 1.25;
	white-space: nowrap;
}

.hbwc-hotel-card-nightly-rate strong {
	color: var(--hbwc-primary);
	font-size: 1.3rem;
	font-weight: 800;
}

.hbwc-hotel-card-stay-total {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0.35rem;
	margin: 0;
	padding-left: 1.25rem;
	border-left: 1px solid var(--hbwc-border);
	color: var(--hbwc-muted);
	font-size: 0.82rem;
	white-space: nowrap;
}

.hbwc-hotel-card-stay-total strong {
	color: var(--hbwc-text);
	font-size: 0.95rem;
}

.hbwc-hotel-card-party {
	margin: 0;
	padding-left: 1.25rem;
	border-left: 1px solid var(--hbwc-border);
	color: var(--hbwc-muted);
	font-size: 0.78rem;
}

/* Matching hotel-card actions keep the browsing decision clear and aligned. */
.hbwc-hotel-card-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
}

.hbwc-hotel-card-action {
	align-items: center;
	box-sizing: border-box;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	margin: 0;
	padding: 0 16px;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hbwc-hotel-card-actions > :only-child {
	grid-column: 1 / -1;
}

.hbwc-hotel-details-action {
	background: #ffffff;
	border: 1px solid var(--hbwc-primary);
	color: var(--hbwc-primary);
}

.hbwc-hotel-details-action:hover,
.hbwc-hotel-details-action:focus-visible {
	background: rgba(33, 150, 243, 0.08);
	color: var(--hbwc-primary);
}

.hbwc-btn-accordion-toggle.hbwc-hotel-rates-action {
	width: auto;
	background: var(--hbwc-primary);
	border-color: var(--hbwc-primary);
	color: #ffffff;
}

.hbwc-btn-accordion-toggle.hbwc-hotel-rates-action:hover,
.hbwc-btn-accordion-toggle.hbwc-hotel-rates-action:focus-visible,
.hbwc-btn-accordion-toggle.hbwc-hotel-rates-action.active {
	background: var(--hbwc-primary-hover);
	border-color: var(--hbwc-primary-hover);
	color: #ffffff;
}

@media (max-width: 560px) {
	.hbwc-hotel-card-rate-summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.35rem;
	}

	.hbwc-hotel-card-nightly-rate,
	.hbwc-hotel-card-stay-total {
		justify-content: flex-start;
		white-space: normal;
	}

	.hbwc-hotel-card-stay-total,
	.hbwc-hotel-card-party {
		padding-left: 0;
		border-left: 0;
	}

	.hbwc-hotel-card-actions {
		grid-template-columns: 1fr;
	}
}

.hbwc-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	font-size: 0.8rem;
	color: var(--hbwc-muted);
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 1px solid var(--hbwc-border);
}

.hbwc-card-meta strong {
	color: var(--hbwc-text);
}

/* Price & Book Row */
.hbwc-card-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.hbwc-price {
	display: flex;
	align-items: baseline;
	color: var(--hbwc-text);
}

.hbwc-currency-sym {
	font-size: 1rem;
	font-weight: 600;
}

.hbwc-price-amount {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: var(--hbwc-primary);
}

.hbwc-price-per {
	font-size: 0.8rem;
	color: var(--hbwc-muted);
	margin-left: 0.25em;
}

.hbwc-btn-book {
	padding: 0.7em 1.5em;
	background: var(--hbwc-primary);
	color: #ffffff;
	border: none;
	border-radius: var(--hbwc-button-radius);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 3px 8px rgba(33, 150, 243, 0.2);
	transition: all 0.2s ease;
}

.hbwc-btn-book:hover {
	background: var(--hbwc-primary-hover);
	transform: scale(1.03);
}

/* Loading & No Results Utilities */
.hbwc-loading {
	text-align: center;
	padding: 3em 0;
	color: var(--hbwc-muted);
	font-size: 1.1rem;
	font-weight: 500;
	grid-column: 1 / -1;
}

.hbwc-no-results {
	text-align: center;
	padding: 3em 0;
	color: var(--hbwc-muted);
	font-size: 1.1rem;
	grid-column: 1 / -1;
}

.hbwc-error {
	color: var(--hbwc-accent);
	background: rgba(231, 76, 60, 0.08);
	border: 1px dashed rgba(231, 76, 60, 0.3);
	padding: 1.2em;
	border-radius: 12px;
	text-align: center;
	grid-column: 1 / -1;
}

/* Autocomplete Suggestion Dropdown */
.hbwc-autocomplete-suggestions {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 999 !important;
	background: rgba(255, 255, 255, 0.96) !important;
	backdrop-filter: blur(10px) !important;
	border: 1px solid var(--hbwc-border) !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
	margin-top: 5px !important;
	max-height: 250px !important;
	overflow-y: auto !important;
	padding: 0.5em 0 !important;
}

.hbwc-autocomplete-suggestion-item {
	padding: 0.8em 1.2em;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.2s ease;
	font-size: 0.95rem;
	color: var(--hbwc-text);
}

.hbwc-autocomplete-suggestion-item:hover {
	background: rgba(33, 150, 243, 0.08);
	color: var(--hbwc-primary);
}

.hbwc-autocomplete-suggestion-item .hbwc-suggest-code {
	font-size: 0.8rem;
	font-weight: 700;
	background: var(--hbwc-border);
	padding: 2px 6px;
	border-radius: 6px;
	color: var(--hbwc-muted);
}

/* Accordion Controls */
.hbwc-rooms-accordion-trigger {
	margin-top: 1em;
}

.hbwc-btn-accordion-toggle {
	width: 100%;
	padding: 0.85em 1.5em;
	background: rgba(33, 150, 243, 0.05);
	color: var(--hbwc-primary);
	border: 1px solid rgba(33, 150, 243, 0.15);
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	transition: all 0.2s ease;
}

.hbwc-btn-accordion-toggle:hover {
	background: var(--hbwc-primary);
	color: #ffffff;
	border-color: var(--hbwc-primary);
}

.hbwc-arrow {
	transition: transform 0.3s ease;
	font-size: 0.8rem;
}

.hbwc-btn-accordion-toggle.active .hbwc-arrow {
	transform: rotate(180deg);
}

/* Accordion Content Grid */
.hbwc-rooms-accordion-content {
	grid-column: 1 / -1;
	border-top: 1px dashed var(--hbwc-border);
	background: #fbfcfd;
	padding: 1.5em;
}

.hbwc-rooms-table-wrapper {
	overflow-x: auto;
	width: 100%;
}

.hbwc-rooms-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	text-align: left;
}

.hbwc-rooms-table th, 
.hbwc-rooms-table td {
	padding: 1em;
	border-bottom: 1px solid var(--hbwc-border);
	vertical-align: middle;
}

.hbwc-rooms-table th {
	font-weight: 700;
	color: var(--hbwc-muted);
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
}

.hbwc-room-title {
	font-weight: 700;
	color: var(--hbwc-text);
	display: block;
}

/* Badges & Tags */
.hbwc-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
	margin-top: 4px;
}

.hbwc-badge-allotment {
	background: rgba(231, 76, 60, 0.1);
	color: var(--hbwc-accent);
}

.hbwc-board-badge {
	display: inline-flex;
	white-space: nowrap;
	background: rgba(33, 150, 243, 0.08);
	color: var(--hbwc-primary);
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
}

@media (min-width: 768px) {
	.hbwc-hotel-rooms-table {
		table-layout: fixed;
	}

	.hbwc-rooms-table td.hbwc-cell-price {
		display: table-cell;
		vertical-align: middle;
	}

	.hbwc-hotel-rooms-table th:nth-child(1),
	.hbwc-hotel-rooms-table td:nth-child(1) {
		width: 32%;
	}

	.hbwc-hotel-rooms-table th:nth-child(2),
	.hbwc-hotel-rooms-table td:nth-child(2) {
		width: 18%;
	}

	.hbwc-hotel-rooms-table th:nth-child(3),
	.hbwc-hotel-rooms-table td:nth-child(3) {
		width: 19%;
	}

	.hbwc-hotel-rooms-table th:nth-child(4),
	.hbwc-hotel-rooms-table td:nth-child(4) {
		width: 19%;
	}

	.hbwc-hotel-rooms-table th:nth-child(5),
	.hbwc-hotel-rooms-table td:nth-child(5) {
		width: 12%;
		white-space: nowrap;
	}

	.hbwc-hotel-rooms-table td:nth-child(5) .hbwc-btn-table-book {
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
		padding-right: 0.55em;
		padding-left: 0.55em;
		white-space: nowrap;
	}
}

.hbwc-policy-text {
	font-size: 0.85rem;
	font-weight: 600;
}

.hbwc-policy-text.free-cancel {
	color: var(--hbwc-success);
}

.hbwc-policy-text.non-ref {
	color: var(--hbwc-muted);
}

.hbwc-cell-price {
	display: flex;
	flex-direction: column;
}

.hbwc-table-price {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hbwc-primary);
}

.hbwc-table-price-sub {
	font-size: 0.75rem;
	color: var(--hbwc-muted);
}

.hbwc-hotel-rate-nightly {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	white-space: nowrap;
}

.hbwc-hotel-rate-unit {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--hbwc-muted);
}

.hbwc-hotel-rate-total {
	display: grid;
	grid-template-columns: max-content max-content;
	align-items: baseline;
	column-gap: 0.4rem;
	margin-top: 0.35rem;
	font-size: 0.78rem;
	color: var(--hbwc-muted);
}

.hbwc-hotel-rate-total > span:last-child {
	grid-column: 1 / -1;
	margin-top: 0.15rem;
	white-space: nowrap;
}

.hbwc-hotel-rate-total strong {
	color: var(--hbwc-text);
	font-size: 0.9rem;
	white-space: nowrap;
}

.hbwc-currency-code {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--hbwc-muted);
	margin-left: 2px;
}

.hbwc-checkout-currency-code {
	font-size: 0.85em;
	font-weight: 600;
	color: var(--hbwc-muted);
	margin-left: 4px;
}

.hbwc-btn-table-book {
	padding: 0.5em 1.2em;
	font-size: 0.85rem;
	border-radius: 8px;
}

.hbwc-btn-book.is-loading,
.hbwc-btn-book:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

/* ==========================================================================
   Single Hotel Details Page Styling
   ========================================================================== */

.hbwc-details-wrapper {
	max-width: 1200px;
	margin: 2em auto;
	padding: 0 1.5em;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--hbwc-text);
}

/* Hero Banner Overlay styling */
.hbwc-details-hero {
	position: relative;
	height: 380px;
	border-radius: 24px;
	overflow: hidden;
	background-image: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&w=1200&q=80'); /* premium fallback */
	background-size: cover;
	background-position: center;
	margin-bottom: 2em;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hbwc-details-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
	z-index: 1;
}

.hbwc-details-hero-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 2.5em;
	z-index: 2;
	box-sizing: border-box;
}

.hbwc-details-stars {
	color: #f1c40f;
	font-size: 1.2rem;
	margin-bottom: 0.5em;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hbwc-details-title {
	font-size: 2.5rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 0.3em 0;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	letter-spacing: -0.5px;
	line-height: 1.2;
}

.hbwc-details-address {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
	text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Two-column responsive layout */
.hbwc-details-grid-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5em;
	align-items: start;
}

@media (min-width: 992px) {
	.hbwc-details-grid-container {
		grid-template-columns: 2fr 1fr;
	}
}

.hbwc-details-main {
	display: flex;
	flex-direction: column;
	gap: 2.5em;
}

.hbwc-details-sidebar {
	position: sticky;
	top: 30px;
}

/* Media Gallery Thumbnail grid swapping system */
.hbwc-details-gallery {
	background: var(--hbwc-card-bg);
	border: 1px solid var(--hbwc-border);
	border-radius: 20px;
	padding: 1.2em;
	box-shadow: var(--hbwc-shadow);
}

.hbwc-gallery-main-container {
	width: 100%;
	height: 450px;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 1em;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	position: relative;
}

/* Glassmorphic gallery overlay arrows */
.hbwc-gallery-prev,
.hbwc-gallery-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #0f172a !important;
	font-size: 20px !important;
	font-weight: bold !important;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	text-decoration: none;
	opacity: 0.85 !important;
	z-index: 10;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.hbwc-gallery-prev {
	left: 15px;
}

.hbwc-gallery-next {
	right: 15px;
}

.hbwc-gallery-prev:hover,
.hbwc-gallery-next:hover {
	background: rgba(255, 255, 255, 1) !important;
	color: #000000 !important;
	opacity: 1 !important;
	transform: translateY(-50%) scale(1.08) !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

.hbwc-gallery-main {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.35s ease;
	cursor: zoom-in;
}

.hbwc-gallery-thumbnails {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.8em;
}

@media(min-width: 576px) {
	.hbwc-gallery-thumbnails {
		grid-template-columns: repeat(6, 1fr);
	}
}

.hbwc-gallery-thumb {
	height: 75px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	border: 2px solid transparent;
	opacity: 0.65;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.hbwc-gallery-thumb:hover {
	opacity: 0.95;
	transform: scale(1.05);
}

.hbwc-gallery-thumb.active {
	opacity: 1;
	border-color: var(--hbwc-primary);
	transform: scale(1.05);
}

/* Section styling and typography details */
.hbwc-details-section {
	background: var(--hbwc-card-bg);
	border: 1px solid var(--hbwc-border);
	border-radius: 20px;
	padding: 2em;
	box-shadow: var(--hbwc-shadow);
}

.hbwc-details-sec-title {
	font-size: 1.4rem;
	font-weight: 750;
	color: var(--hbwc-text);
	margin-top: 0;
	margin-bottom: 1.2em;
	position: relative;
	padding-bottom: 0.4em;
	letter-spacing: -0.3px;
}

.hbwc-details-sec-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: var(--hbwc-primary);
	border-radius: 2px;
}

.hbwc-details-desc-text {
	font-size: 1rem;
	line-height: 1.7;
	color: #4a5568;
	margin: 0;
}

/* Amenities grouped nicely */
.hbwc-amenities-groups {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2em;
}

@media(min-width: 576px) {
	.hbwc-amenities-groups {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hbwc-amenity-group {
	background: #fcfdfe;
	border: 1px solid var(--hbwc-border);
	border-radius: 14px;
	padding: 1.2em 1.5em;
	transition: border-color 0.25s ease;
}

.hbwc-amenity-group:hover {
	border-color: rgba(33, 150, 243, 0.2);
}

.hbwc-amenity-group-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hbwc-text);
	margin: 0 0 1em 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 1px dashed var(--hbwc-border);
	padding-bottom: 0.5em;
}

.hbwc-amenity-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.hbwc-amenity-list li {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.9rem;
	color: #5a6578;
}

.hbwc-check-icon {
	color: var(--hbwc-success);
	font-weight: bold;
}

/* Coordinate map integration container styles */
.hbwc-hotel-map-container {
	border: 1px solid var(--hbwc-border);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Sidebar Picker stay form widget styling */
.hbwc-sidebar-widget {
	background: var(--hbwc-card-bg);
	border: 1px solid var(--hbwc-border);
	border-radius: 20px;
	padding: 2em;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.hbwc-widget-title {
	font-size: 1.3rem;
	font-weight: 750;
	color: var(--hbwc-text);
	margin-top: 0;
	margin-bottom: 1.2em;
	border-bottom: 1px solid var(--hbwc-border);
	padding-bottom: 0.8em;
}

.hbwc-widget-field {
	margin-bottom: 1.2em;
}

.hbwc-widget-field label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--hbwc-muted);
	margin-bottom: 0.5em;
	letter-spacing: 0.5px;
}

/* Dynamic Room Rates Table enhancements for Hotel single details */
.hbwc-details-rooms-section {
	background: var(--hbwc-card-bg);
	border: 1px solid var(--hbwc-border);
	border-radius: 20px;
	padding: 2.2em;
	box-shadow: var(--hbwc-shadow);
	margin-top: 2.5em;
}

.hbwc-rooms-table {
	min-width: 650px;
}

.hbwc-rooms-table tr:hover {
	background: rgba(33, 150, 243, 0.015);
}


/* ==========================================================================
   Checkout Page Guest / Traveler details Section Styles
   ========================================================================== */

.hbwc-checkout-traveler-section {
	margin: 2.5em 0;
	background: var(--hbwc-card-bg);
	border: 1px solid var(--hbwc-border);
	border-radius: 20px;
	padding: 2.2em;
	box-shadow: var(--hbwc-shadow);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hbwc-traveler-section-title {
	font-size: 1.5rem;
	font-weight: 750;
	color: var(--hbwc-text);
	margin-top: 0;
	margin-bottom: 0.3em;
}

.hbwc-traveler-section-subtitle {
	font-size: 0.95rem;
	color: var(--hbwc-muted);
	margin-top: 0;
	margin-bottom: 1.8em;
}

.hbwc-traveler-cards {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.hbwc-traveler-card {
	background: #fbfcfd;
	border: 1px solid var(--hbwc-border);
	border-radius: 14px;
	padding: 1.5em;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.hbwc-traveler-card:hover {
	border-color: rgba(33, 150, 243, 0.2);
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.hbwc-lead-traveler {
	background: rgba(33, 150, 243, 0.02);
	border-left: 4px solid var(--hbwc-primary);
}

.hbwc-child-traveler {
	background: #fafbfc;
}

.hbwc-traveler-card-header {
	margin-bottom: 1.2em;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hbwc-guest-badge {
	display: inline-block;
	background: #eaeff5;
	color: #4a5d78;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 30px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hbwc-lead-traveler .hbwc-guest-badge {
	background: var(--hbwc-primary);
	color: #ffffff;
}

.hbwc-guest-badge-child {
	background: #e1f7ec;
	color: #27ae60;
}

.hbwc-traveler-card-fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.2em;
}

@media(min-width: 576px) {
	.hbwc-traveler-card-fields {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hbwc-field-half {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

.hbwc-field-half label {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: var(--hbwc-muted) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	margin: 0 !important;
	text-align: left !important;
}

.hbwc-field-half label .required {
	color: var(--hbwc-accent);
	font-weight: 700;
	text-decoration: none;
}

.hbwc-field-half input.input-text {
	display: block !important;
	width: 100% !important;
	height: 44px !important;
	padding: 8px 14px !important;
	border: 1px solid var(--hbwc-border) !important;
	border-radius: 8px !important;
	font-size: 0.95rem !important;
	color: var(--hbwc-text) !important;
	background: #ffffff !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
	transition: all 0.2s ease !important;
	outline: none !important;
	box-sizing: border-box !important;
}

.hbwc-field-half input.input-text:focus {
	border-color: var(--hbwc-primary) !important;
	box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1) !important;
}

/* --- Guest & Rooms Configurator Popover --- */
.hbwc-guest-selection-group {
	position: relative !important;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	box-sizing: border-box !important;
}

.hbwc-guest-trigger-box {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	height: 48px !important;
	padding: 10px 16px !important;
	border: 1px solid var(--hbwc-border) !important;
	border-radius: 12px !important;
	font-size: 0.95rem !important;
	color: var(--hbwc-text) !important;
	background: #ffffff !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
	cursor: pointer !important;
	user-select: none !important;
	transition: all 0.25s ease !important;
	box-sizing: border-box !important;
}

.hbwc-guest-trigger-box:hover {
	border-color: var(--hbwc-primary) !important;
	background: #fafcfd !important;
}

.hbwc-guest-trigger-box .hbwc-arrow {
	font-size: 0.75rem;
	color: var(--hbwc-muted);
	transition: transform 0.25s ease;
}

.hbwc-guest-selection-group.active .hbwc-guest-trigger-box {
	border-color: var(--hbwc-primary) !important;
	box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15) !important;
}

.hbwc-guest-selection-group.active .hbwc-guest-trigger-box .hbwc-arrow {
	transform: rotate(180deg);
}

/* Popover Panel */
.hbwc-guest-popover-panel {
	position: absolute !important;
	top: calc(100% + 8px) !important;
	left: 0 !important;
	width: 100% !important;
	min-width: 320px !important;
	background: rgba(255, 255, 255, 0.98) !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
	border-radius: 18px !important;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	z-index: 1000 !important;
	padding: 1.5em !important;
	box-sizing: border-box !important;
	display: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hbwc-guest-popover-panel.show {
	display: block !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* Popover Rooms Selector row */
.hbwc-popover-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hbwc-border);
	margin-bottom: 12px;
}

.hbwc-section-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--hbwc-text);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Counter Controls */
.hbwc-counter-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hbwc-counter-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	border: 1px solid var(--hbwc-border) !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	color: var(--hbwc-text) !important;
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	user-select: none !important;
	transition: all 0.2s ease !important;
	padding: 0 !important;
	line-height: 1 !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.hbwc-counter-btn:hover:not([disabled]) {
	border-color: var(--hbwc-primary) !important;
	color: var(--hbwc-primary) !important;
	background: #fafcfd !important;
	transform: scale(1.05);
}

.hbwc-counter-btn:active:not([disabled]) {
	transform: scale(0.95);
}

.hbwc-counter-btn[disabled] {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
	background: #f5f5f5 !important;
}

.hbwc-counter-value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--hbwc-text);
	min-width: 16px;
	text-align: center;
}

/* Popover Room Blocks */
.hbwc-popover-rooms-list {
	max-height: 280px;
	overflow-y: auto;
	margin-bottom: 15px;
	padding-right: 4px;
}

/* Custom scrollbar for popover list */
.hbwc-popover-rooms-list::-webkit-scrollbar {
	width: 4px;
}
.hbwc-popover-rooms-list::-webkit-scrollbar-track {
	background: transparent;
}
.hbwc-popover-rooms-list::-webkit-scrollbar-thumb {
	background: var(--hbwc-border);
	border-radius: 10px;
}

.hbwc-popover-room-block {
	background: #f8fafc;
	border: 1px solid var(--hbwc-border);
	border-radius: 12px;
	padding: 12px;
	margin-bottom: 12px;
	transition: all 0.2s ease;
}

.hbwc-popover-room-block:hover {
	border-color: rgba(33, 150, 243, 0.15);
	background: #f4f8fb;
}

.hbwc-room-block-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--hbwc-primary);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
	padding-bottom: 4px;
}

.hbwc-room-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.hbwc-room-row:last-child {
	margin-bottom: 0;
}

.hbwc-row-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hbwc-text);
}

.hbwc-row-label-sub {
	display: block;
	font-size: 0.7rem;
	color: var(--hbwc-muted);
	font-weight: 500;
	margin-top: 1px;
}

/* Child ages popover layout */
.hbwc-popover-child-ages {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.hbwc-popover-child-ages-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.hbwc-child-age-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hbwc-child-age-field label {
	font-size: 0.7rem !important;
	color: var(--hbwc-muted) !important;
	font-weight: 600 !important;
	text-transform: none !important;
	margin: 0 !important;
}

.hbwc-child-age-field select {
	height: 32px !important;
	padding: 4px 8px !important;
	font-size: 0.8rem !important;
	border-radius: 6px !important;
	border: 1px solid var(--hbwc-border) !important;
	background: #ffffff !important;
}

/* Popover Apply footer */
.hbwc-popover-footer {
	display: flex;
	justify-content: flex-end;
	padding-top: 12px;
	border-top: 1px solid var(--hbwc-border);
}

.hbwc-popover-btn-apply {
	background: var(--hbwc-primary) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 6px 16px !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

.hbwc-popover-btn-apply:hover {
	background: var(--hbwc-primary-hover) !important;
}

/* Grid columns override for checkout traveler section */
.hbwc-checkout-room-group {
	margin-bottom: 2em;
	background: #ffffff;
	border: 1px solid var(--hbwc-border);
	border-radius: 18px;
	padding: 1.5em;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.hbwc-checkout-room-group-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--hbwc-primary);
	margin-bottom: 1em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid var(--hbwc-border);
	padding-bottom: 8px;
}

/* Glassmorphic Premium Lightbox Modal */
.hbwc-lightbox-modal {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(15, 23, 42, 0.93);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hbwc-lightbox-modal.active {
	display: flex;
	opacity: 1;
}

.hbwc-lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 85%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hbwc-lightbox-content img {
	max-width: 100%;
	max-height: 78vh;
	border-radius: 14px;
	box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7);
	object-fit: contain;
	user-select: none;
	transition: opacity 0.35s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphic controls */
.hbwc-lightbox-close {
	position: absolute;
	top: 25px;
	right: 30px;
	color: #ffffff;
	font-size: 32px;
	font-weight: 300;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	line-height: 1;
	z-index: 100000;
}

.hbwc-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.08) rotate(90deg);
}

.hbwc-lightbox-prev,
.hbwc-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #0f172a !important;
	font-size: 24px !important;
	font-weight: bold !important;
	width: 52px;
	height: 52px;
	background: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	text-decoration: none;
	z-index: 100000;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
	opacity: 0.85 !important;
}

.hbwc-lightbox-prev {
	left: 30px;
}

.hbwc-lightbox-next {
	right: 30px;
}

.hbwc-lightbox-prev:hover,
.hbwc-lightbox-next:hover {
	background: rgba(255, 255, 255, 1) !important;
	color: #000000 !important;
	opacity: 1 !important;
	transform: translateY(-50%) scale(1.08) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

.hbwc-lightbox-caption {
	color: #f1f5f9;
	font-size: 1.15rem;
	margin-top: 20px;
	text-align: center;
	font-weight: 500;
	text-shadow: 0 2px 8px rgba(0,0,0,0.6);
	letter-spacing: 0.4px;
}

/* Counter indicator */
.hbwc-lightbox-counter {
	position: absolute;
	top: 25px;
	left: 30px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 6px 16px;
	border-radius: 30px;
	backdrop-filter: blur(8px);
	letter-spacing: 0.5px;
}

@media(max-width: 767px) {
	.hbwc-lightbox-prev {
		left: 15px;
	}
	.hbwc-lightbox-next {
		right: 15px;
	}
	.hbwc-lightbox-close {
		top: 15px;
		right: 15px;
	}
	.hbwc-lightbox-counter {
		top: 15px;
		left: 15px;
	}
	.hbwc-lightbox-content img {
		max-height: 60vh;
	}
}

/* Guest popover helper for Activities (No-Rooms customization) */
.hbwc-hide-rooms .hbwc-popover-room-block {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
}

.hbwc-hide-rooms .hbwc-room-block-title {
	display: none !important;
}

.hbwc-hide-rooms .hbwc-popover-rooms-list {
	max-height: none !important;
	margin-bottom: 10px !important;
	padding-right: 0 !important;
}

/* Ensure horizontal card symmetry and vertical alignment of image fallbacks */
.hbwc-fallback-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Transfers Specific Vehicle Image Contained Layout */
.hbwc-card-img .hbwc-fallback-img[src*="transfer-placeholder"] {
	object-fit: contain !important;
	max-height: 90% !important;
	max-width: 90% !important;
}

/* Card title link hover state */
.hbwc-card-title-link:hover {
	color: var(--hbwc-primary) !important;
}

/* ==========================================================================
   All-in-One Tabbed Search Widget Styling
   ========================================================================== */

.hbwc-all-in-one-search-container {
	width: 100%;
	max-width: none;
	margin: 2em 0;
	padding: var(--hbwc-container-padding);
	background: var(--hbwc-glass-bg);
	border: 1px solid var(--hbwc-glass-border);
	border-radius: var(--hbwc-container-radius);
	box-shadow: var(--hbwc-shadow);
	font-family: var(--hbwc-font-family);
}

/* Tabs Navigation */
.hbwc-search-tabs-nav {
	display: flex;
	gap: 0.5em;
	border-bottom: 2px solid var(--hbwc-border);
	margin-bottom: 2.5em;
	padding-bottom: 0px;
	box-sizing: border-box;
}

.hbwc-search-tab-btn {
	background: transparent !important;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	border-radius: 0 !important;
	padding: 12px 24px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: var(--hbwc-muted) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: none !important;
	outline: none !important;
	margin-bottom: -2px !important;
	height: auto !important;
	line-height: 1.5 !important;
}

.hbwc-search-tab-btn:hover {
	color: var(--hbwc-text) !important;
	background: rgba(33, 150, 243, 0.04) !important;
}

.hbwc-search-tab-btn.active {
	color: var(--hbwc-primary) !important;
	border-bottom-color: var(--hbwc-primary) !important;
}

.hbwc-tab-icon {
	font-size: 1.2rem;
	transition: transform 0.2s ease;
}

.hbwc-search-tab-btn:hover .hbwc-tab-icon {
	transform: translateY(-2px);
}

/* Tab Panels */
.hbwc-search-tabs-content {
	position: relative;
	width: 100%;
}

.hbwc-search-tab-panel {
	display: none;
	width: 100%;
}

.hbwc-search-tab-panel.active {
	display: block;
}

/* Disable inner container padding & backgrounds for tab panels */
.hbwc-search-tab-panel .hbwc-search-container {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	max-width: none !important;
}

.hbwc-search-tab-panel .hbwc-search-title {
	display: none !important;
}

.hbwc-search-tab-panel .hbwc-search-form {
	margin-bottom: 0 !important;
}

/* Responsive Tabs for Mobile */
@media (max-width: 767px) {
	.hbwc-search-tabs-nav {
		flex-direction: row;
		width: 100%;
		border-bottom: none;
		background: rgba(15, 23, 42, 0.04);
		padding: 6px !important;
		border-radius: 14px;
		margin-bottom: 2em;
		gap: 4px;
	}
	
	.hbwc-search-tab-btn {
		flex: 1 !important;
		justify-content: center !important;
		border-bottom: none !important;
		padding: 10px 8px !important;
		font-size: 0.9rem !important;
		border-radius: 10px !important;
		margin-bottom: 0 !important;
		text-align: center !important;
	}

	.hbwc-search-tab-btn.active {
		background: #ffffff !important;
		color: var(--hbwc-primary) !important;
		box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
	}
	
	.hbwc-tab-text {
		display: none; /* Hide tab text on small mobile screens to keep layout clean */
	}
	
	.hbwc-tab-icon {
		font-size: 1.3rem;
		margin: 0 !important;
	}

	/* Responsive Stacked Cards for Room and Modality Tables on Mobile */
	.hbwc-rooms-table-wrapper {
		overflow-x: visible !important;
	}
	.hbwc-rooms-table, 
	.hbwc-rooms-table tbody, 
	.hbwc-rooms-table tr, 
	.hbwc-rooms-table td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
		min-width: 0 !important;
	}
	
	.hbwc-rooms-table thead {
		display: none !important; /* Hide column headers */
	}
	
	.hbwc-rooms-table tr {
		background: #ffffff !important;
		border: 1px solid var(--hbwc-border) !important;
		border-radius: 14px !important;
		margin-bottom: 1.5em !important;
		padding: 1.25em !important;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
		transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	}
	
	.hbwc-rooms-table tr:hover {
		transform: translateY(-2px) !important;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
	}
	
	.hbwc-rooms-table td {
		border: none !important;
		background: transparent !important;
		box-shadow: none !important;
		outline: none !important;
		padding: 0.6em 0 !important;
		margin: 0 !important;
		display: block !important;
		text-align: left !important;
	}
	
	/* The first cell (Category/Title) takes full width and has a bottom divider */
	.hbwc-rooms-table td:first-child {
		border: none !important;
		border-bottom: 1px dashed var(--hbwc-border) !important;
		padding-top: 0 !important;
		padding-bottom: 1.25em !important;
		margin-bottom: 0.75em !important;
		display: flex !important;
		flex-direction: row !important;
		justify-content: flex-start !important;
		align-items: center !important;
		gap: 1em !important;
	}
	
	/* If td has data-label, show label on top, value below */
	.hbwc-rooms-table td[data-label]::before {
		content: attr(data-label);
		display: block !important; /* Force label on its own line */
		font-weight: 700 !important;
		color: var(--hbwc-muted) !important;
		text-transform: uppercase !important;
		font-size: 0.75rem !important;
		letter-spacing: 0.5px !important;
		margin-bottom: 4px !important;
	}
	
	/* Make sure the cell content is left-aligned and doesn't get squeezed */
	.hbwc-rooms-table td[data-label] > * {
		text-align: left !important;
		display: inline-block !important;
		max-width: 100% !important;
		white-space: normal !important;
	}
	
	.hbwc-rooms-table .hbwc-cell-price > * {
		text-align: left !important;
		display: inline-block !important;
		width: auto !important;
	}
	.hbwc-rooms-table .hbwc-table-price-total {
		margin-top: 4px !important;
		width: 100% !important;
		text-align: left !important;
		display: block !important;
	}

	.hbwc-rooms-table .hbwc-hotel-rate-nightly {
		display: flex !important;
		width: 100% !important;
		white-space: nowrap !important;
	}

	.hbwc-rooms-table .hbwc-hotel-rate-total {
		display: flex !important;
		width: 100% !important;
	}
	
	/* Last cell with the book button spans full width at the bottom */
	.hbwc-rooms-table td:last-child {
		padding-bottom: 0 !important;
		padding-top: 1.25em !important;
		margin-top: 0.5em !important;
		border-top: 1px solid var(--hbwc-border) !important;
		display: block !important;
		width: 100% !important;
		text-align: center !important;
	}
	
	.hbwc-rooms-table td:last-child .hbwc-btn-book {
		width: 100% !important;
		max-width: 100% !important;
		display: block !important;
		text-align: center !important;
		padding: 1em 1.5em !important;
		box-sizing: border-box !important;
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	.hbwc-tab-text {
		display: inline !important; /* Show text on medium/larger mobile devices */
	}
	.hbwc-tab-icon {
		font-size: 1.1rem;
	}
}




/* Result filtering controls - left sidebar layout */
.hbwc-results-layout {
	display: block;
	width: 100%;
	margin-top: 1.25rem;
}

.hbwc-search-container.hbwc-has-results .hbwc-results-layout,
.hbwc-all-in-one-search-container.hbwc-has-results .hbwc-results-layout {
	display: grid;
	grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.hbwc-filter-panel {
	display: none !important;
	background: #ffffff;
	border: 1px solid var(--hbwc-border);
	border-radius: 14px;
	padding: 0.9rem;
	margin: 0;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hbwc-search-container.hbwc-has-results .hbwc-filter-panel,
.hbwc-all-in-one-search-container.hbwc-has-results .hbwc-filter-panel {
	display: block !important;
}

.hbwc-filter-sidebar {
	position: sticky;
	top: 1rem;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	overflow-x: hidden;
}

.hbwc-filter-title {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: var(--hbwc-text);
	margin: 0 0 0.25rem 0;
}

.hbwc-filter-subtitle {
	font-size: 0.78rem;
	line-height: 1.3;
	color: var(--hbwc-muted);
	margin: 0 0 0.8rem 0;
}

.hbwc-filter-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	align-items: stretch;
}

.hbwc-filter-grid label,
.hbwc-filter-checks label {
	display: block !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: var(--hbwc-muted) !important;
	margin: 0 !important;
}

.hbwc-filter-grid .hbwc-input {
	min-height: 38px !important;
	padding: 0.55rem 0.65rem !important;
	font-size: 0.88rem !important;
	margin-top: 0.28rem !important;
	border-radius: 10px !important;
}

.hbwc-filter-checks {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.45rem;
	margin-top: 0.8rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--hbwc-border);
}

.hbwc-filter-checks label {
	display: flex !important;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.55rem;
	background: #f8fafc;
	border: 1px solid var(--hbwc-border);
	border-radius: 10px;
	cursor: pointer;
}

.hbwc-filter-checks label:hover {
	background: #f1f5f9;
}

.hbwc-filter-checks input[type="checkbox"] {
	margin: 0 !important;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.hbwc-results-layout .hbwc-results-grid {
	margin-top: 0;
	min-width: 0;
}

/* Hotel filters sit above the comparison list so rate columns retain the full page width. */
@media (min-width: 901px) {
	.hbwc-search-container.hbwc-has-results .hbwc-results-layout-hotel,
	.hbwc-all-in-one-search-container.hbwc-has-results .hbwc-results-layout-hotel {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.hbwc-results-layout-hotel .hbwc-filter-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.hbwc-results-layout-hotel .hbwc-filter-grid {
		grid-template-columns: minmax(180px, 0.85fr) minmax(260px, 1.25fr) minmax(250px, 1.15fr);
		gap: 0.9rem;
	}

	.hbwc-results-layout-hotel .hbwc-filter-checks {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 0.55rem;
	}

	.hbwc-search-container.hbwc-has-results .hbwc-results-layout-hotel .hbwc-filter-panel-hotel,
	.hbwc-all-in-one-search-container.hbwc-has-results .hbwc-results-layout-hotel .hbwc-filter-panel-hotel {
		display: grid !important;
		grid-template-columns: minmax(190px, 0.75fr) minmax(180px, 0.8fr) minmax(280px, 1.2fr) minmax(280px, 1.2fr);
		gap: 0.9rem;
		align-items: start;
	}

	.hbwc-results-layout-hotel .hbwc-filter-heading {
		padding: 0.55rem 0;
	}

	.hbwc-results-layout-hotel .hbwc-filter-heading .hbwc-filter-subtitle {
		margin-bottom: 0;
	}

	.hbwc-results-layout-hotel .hbwc-filter-grid {
		display: contents;
	}

	.hbwc-results-layout-hotel .hbwc-filter-checks {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.hbwc-search-container.hbwc-has-results .hbwc-results-layout,
	.hbwc-all-in-one-search-container.hbwc-has-results .hbwc-results-layout {
		display: block;
	}

	.hbwc-filter-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
		margin-bottom: 1rem;
	}

	.hbwc-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbwc-filter-checks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.hbwc-filter-grid,
	.hbwc-filter-checks {
		grid-template-columns: 1fr;
	}
}

/* Compact slider controls for result filters */
.hbwc-filter-control-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	color: var(--hbwc-muted) !important;
	margin: 0 0 0.42rem 0 !important;
}

.hbwc-price-range,
.hbwc-star-filter {
	padding: 0.55rem;
	background: #f8fafc;
	border: 1px solid var(--hbwc-border);
	border-radius: 12px;
}

.hbwc-price-range-value,
.hbwc-star-filter-label {
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--hbwc-text);
	white-space: nowrap;
}

.hbwc-range-track-wrap {
	--hbwc-range-min: 0%;
	--hbwc-range-max: 100%;
	position: relative;
	height: 26px;
	margin: 0.2rem 0 0.15rem;
}

.hbwc-range-track-wrap::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 5px;
	transform: translateY(-50%);
	border-radius: 999px;
	background: linear-gradient(
		to right,
		#e2e8f0 0%,
		#e2e8f0 var(--hbwc-range-min),
		var(--hbwc-primary) var(--hbwc-range-min),
		var(--hbwc-primary) var(--hbwc-range-max),
		#e2e8f0 var(--hbwc-range-max),
		#e2e8f0 100%
	);
}

.hbwc-price-range {
	--hbwc-range-min: 0%;
	--hbwc-range-max: 100%;
}

.hbwc-price-range .hbwc-range-track-wrap::before {
	background: linear-gradient(
		to right,
		#e2e8f0 0%,
		#e2e8f0 var(--hbwc-range-min),
		var(--hbwc-primary) var(--hbwc-range-min),
		var(--hbwc-primary) var(--hbwc-range-max),
		#e2e8f0 var(--hbwc-range-max),
		#e2e8f0 100%
	);
}

.hbwc-price-min-range,
.hbwc-price-max-range {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 26px;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	border: 0 !important;
}

.hbwc-price-min-range::-webkit-slider-thumb,
.hbwc-price-max-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid var(--hbwc-primary);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
	cursor: pointer;
	pointer-events: auto;
}

.hbwc-price-min-range::-moz-range-thumb,
.hbwc-price-max-range::-moz-range-thumb {
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid var(--hbwc-primary);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
	cursor: pointer;
	pointer-events: auto;
}

.hbwc-price-min-range::-webkit-slider-runnable-track,
.hbwc-price-max-range::-webkit-slider-runnable-track,
.hbwc-price-min-range::-moz-range-track,
.hbwc-price-max-range::-moz-range-track {
	background: transparent;
	border: 0;
}

.hbwc-range-scale {
	display: flex;
	justify-content: space-between;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--hbwc-muted);
}

.hbwc-star-rating-control {
	display: flex;
	align-items: center;
	gap: 0.22rem;
	flex-wrap: wrap;
}

.hbwc-star-clear,
.hbwc-star-btn {
	border: 1px solid var(--hbwc-border);
	background: #ffffff;
	color: #94a3b8;
	border-radius: 9px;
	min-height: 31px;
	padding: 0.28rem 0.42rem;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hbwc-star-clear {
	font-size: 0.72rem;
	padding-inline: 0.5rem;
}

.hbwc-star-clear.active,
.hbwc-star-btn.active {
	border-color: var(--hbwc-primary);
	background: rgba(14, 165, 233, 0.10);
	color: var(--hbwc-primary);
}

.hbwc-star-clear:hover,
.hbwc-star-btn:hover {
	border-color: var(--hbwc-primary);
	transform: translateY(-1px);
}

/* Hotel result metadata */
.hbwc-hotel-listing-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.6rem;
	margin: 0.15rem 0 0.45rem;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--hbwc-muted);
}

.hbwc-hotel-stars {
	color: #f59e0b;
	letter-spacing: 0.04em;
	font-size: 0.9rem;
	white-space: nowrap;
}

.hbwc-hotel-address {
	min-width: 0;
}

.hbwc-hotel-rate-flag {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	border-radius: 999px;
	padding: 0.26rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.65rem;
}

.hbwc-hotel-rate-refundable {
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	color: #047857;
}

.hbwc-hotel-rate-nonrefundable {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #c2410c;
}

/* Compact star filter buttons with listing counts */
.hbwc-star-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	min-width: 74px;
}

.hbwc-star-symbols {
	letter-spacing: -0.05em;
}

.hbwc-star-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.25rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	background: #e2e8f0;
	color: var(--hbwc-text);
	font-size: 0.68rem;
	font-weight: 900;
}

.hbwc-star-btn.active .hbwc-star-count {
	background: #ffffff;
	color: var(--hbwc-primary);
}

.hbwc-star-btn.is-empty:not(.active) {
	opacity: 0.55;
}

.hbwc-quote-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.15rem;
	border: 1px solid #bfdbfe;
	border-left: 4px solid var(--hbwc-primary);
	border-radius: 6px;
	background: #f8fbff;
}

.hbwc-quote-status.is-expired {
	border-color: #fecaca;
	border-left-color: #dc2626;
	background: #fffafa;
}

.hbwc-quote-status-copy {
	min-width: 0;
}

.hbwc-quote-status-eyebrow {
	display: block;
	color: var(--hbwc-muted);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hbwc-quote-countdown {
	display: block;
	margin-top: 0.12rem;
	color: var(--hbwc-text);
	font-size: 1.1rem;
}

.hbwc-quote-status-message {
	margin: 0.25rem 0 0;
	color: var(--hbwc-muted);
	font-size: 0.875rem;
}

.hbwc-refresh-quote-button {
	flex: 0 0 auto;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.hbwc-quote-status {
		align-items: stretch;
		flex-direction: column;
	}

	.hbwc-refresh-quote-button {
		width: 100%;
	}
}

/* Transfer search: route-first layout */
.hbwc-transfer-search-form {
	display: block;
	margin-bottom: 2rem;
}

.hbwc-transfer-trip-toggle {
	display: inline-flex;
	padding: 3px;
	margin-bottom: 1.25rem;
	border: 1px solid var(--hbwc-border);
	border-radius: 6px;
	background: #f5f7fa;
}

.hbwc-transfer-trip-toggle label {
	margin: 0 !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}

.hbwc-transfer-trip-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hbwc-transfer-trip-toggle span {
	display: block;
	padding: 0.58rem 1rem;
	border-radius: 4px;
	color: var(--hbwc-muted);
}

.hbwc-transfer-trip-toggle input:checked + span {
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
	color: var(--hbwc-text);
}

.hbwc-transfer-route {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
	align-items: end;
	gap: 0.75rem;
}

.hbwc-transfer-location-control {
	display: grid;
	grid-template-columns: minmax(118px, 0.36fr) minmax(0, 1fr);
	height: 52px;
	border: 1px solid var(--hbwc-border);
	border-radius: var(--hbwc-input-radius);
	background: #ffffff;
	overflow: hidden;
}

.hbwc-transfer-location-control select,
.hbwc-transfer-location-control input {
	min-width: 0;
	margin: 0;
	padding: 0 0.9rem;
	border: 0;
	border-radius: 0;
	background: #ffffff;
	color: var(--hbwc-text);
	font: inherit;
	outline: none;
}

.hbwc-transfer-location-control select {
	border-right: 1px solid var(--hbwc-border);
	background: #f8fafc;
	font-weight: 700;
}

.hbwc-transfer-location-control:focus-within {
	border-color: var(--hbwc-primary);
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.hbwc-transfer-autocomplete {
	position: relative;
}

.hbwc-transfer-location-suggestions {
	top: calc(100% + 2px) !important;
	max-height: 320px !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	backdrop-filter: none !important;
}

.hbwc-transfer-location-option {
	width: 100%;
	border: 0;
	border-radius: 0;
	background: #ffffff;
	text-align: left;
}

.hbwc-transfer-location-option:focus-visible {
	outline: 2px solid var(--hbwc-primary);
	outline-offset: -2px;
}

.hbwc-transfer-suggestion-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
}

.hbwc-transfer-suggestion-copy strong {
	font-size: 0.9rem;
	line-height: 1.3;
}

.hbwc-transfer-suggestion-copy small,
.hbwc-transfer-suggestion-message {
	color: var(--hbwc-muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

.hbwc-transfer-suggestion-message {
	padding: 0.85rem 1rem;
}

.hbwc-transfer-swap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 6px;
	padding: 0;
	border: 1px solid var(--hbwc-border);
	border-radius: 50%;
	background: #ffffff;
	color: var(--hbwc-text);
	font-size: 1.25rem;
	cursor: pointer;
}

.hbwc-transfer-swap-cell {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 52px;
}

.hbwc-transfer-swap:hover,
.hbwc-transfer-swap:focus-visible {
	border-color: var(--hbwc-primary);
	color: var(--hbwc-primary);
}

.hbwc-transfer-planning-row {
	display: grid;
	grid-template-columns: minmax(220px, 1.25fr) minmax(220px, 1.25fr) minmax(190px, 0.9fr) minmax(180px, 0.8fr);
	align-items: end;
	gap: var(--hbwc-form-gap);
	margin-top: var(--hbwc-form-gap);
}

.hbwc-transfer-planning-row:has(> #hbwc_return_datetime_wrapper[hidden]) {
	grid-template-columns: minmax(260px, 1.4fr) minmax(210px, 0.9fr) minmax(190px, 0.8fr);
}

.hbwc-transfer-planning-row > [hidden] {
	display: none !important;
}

.hbwc-transfer-passenger-group {
	position: relative;
}

.hbwc-transfer-passengers {
	position: relative;
}

.hbwc-transfer-passengers summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	box-sizing: border-box;
	padding: 0 1rem;
	border: 1px solid var(--hbwc-border);
	border-radius: var(--hbwc-input-radius);
	background: #ffffff;
	color: var(--hbwc-text);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.hbwc-transfer-passengers summary::-webkit-details-marker {
	display: none;
}

.hbwc-transfer-passenger-menu {
	position: absolute;
	z-index: 30;
	top: calc(100% + 8px);
	right: 0;
	width: 300px;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 1px solid var(--hbwc-border);
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.hbwc-transfer-passenger-menu label {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 !important;
	padding: 0.55rem 0 !important;
	color: var(--hbwc-text) !important;
	font-size: 0.86rem !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.hbwc-transfer-passenger-menu label + label {
	border-top: 1px solid var(--hbwc-border);
}

.hbwc-transfer-passenger-menu small {
	display: block;
	margin-top: 0.15rem;
	color: var(--hbwc-muted);
	font-size: 0.72rem;
	font-weight: 500;
}

.hbwc-transfer-passenger-menu .hbwc-input {
	width: 72px !important;
	height: 40px !important;
	padding: 6px 10px !important;
}

.hbwc-transfer-planning-row .hbwc-btn-submit {
	width: 100%;
	height: 48px;
	white-space: nowrap;
}

@media (max-width: 1050px) {
	.hbwc-transfer-planning-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbwc-transfer-planning-row:has(> #hbwc_return_datetime_wrapper[hidden]) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.hbwc-transfer-route,
	.hbwc-transfer-planning-row,
	.hbwc-transfer-planning-row:has(> #hbwc_return_datetime_wrapper[hidden]) {
		grid-template-columns: 1fr;
	}

	.hbwc-transfer-swap {
		margin: -0.35rem auto;
		transform: rotate(90deg);
	}

	.hbwc-transfer-swap-cell {
		height: 40px;
		align-items: center;
	}

	.hbwc-transfer-location-control {
		grid-template-columns: 118px minmax(0, 1fr);
	}

	.hbwc-transfer-passenger-menu {
		left: 0;
		right: auto;
		width: min(300px, calc(100vw - 3rem));
	}

	.hbwc-transfer-planning-row .hbwc-submit-wrapper label {
		display: none !important;
	}
}
