/* Booking modal inspired by TrekkSoft-style compact flow. */
.ecb-booking-trigger {
	background: #2c7be5;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 12px 22px;
	cursor: pointer;
	font-weight: 600;
}

.ecb-modal {
	display: none;
	position: fixed;
	inset: 0;
	/* Above WP admin bar (~99999), sticky headers, and typical builder overlays. */
	z-index: 2147483000 !important;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.ecb-modal.is-open {
	display: block;
}

.ecb-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
}

.ecb-modal-dialog {
	position: relative;
	max-width: 640px;
	margin: 6vh auto;
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	max-height: 88vh;
	overflow-y: auto;
}

.ecb-modal-dialog,
.ecb-modal-dialog * {
	box-sizing: border-box;
}

.ecb-modal-dialog.ecb-is-step-two,
.ecb-modal-dialog.ecb-is-step-three,
.ecb-modal-dialog.ecb-is-step-four {
	max-width: 720px;
}

.ecb-modal-close {
	position: absolute;
	right: 12px;
	top: 10px;
	background: transparent;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ecb-modal-dialog.ecb-is-step-two .ecb-modal-header,
.ecb-modal-dialog.ecb-is-step-choose .ecb-modal-header {
	display: none;
}

.ecb-panel--choose[hidden],
.ecb-panel--calendar[hidden] {
	display: none !important;
}

.ecb-choose-title {
	margin: 4px 36px 6px 0;
	font-size: 1.25rem;
}

.ecb-choose-lead {
	margin: 0 0 16px;
	color: #4b5563;
	font-size: 0.95rem;
}

.ecb-choose-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ecb-choose-item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 10px 14px 10px 10px;
	background: #fff;
	border: 1px solid #d6dce5;
	border-radius: 8px;
	cursor: pointer;
	text-align: left;
	color: inherit;
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecb-choose-item:hover,
.ecb-choose-item:focus-visible {
	border-color: #2c7be5;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
	outline: none;
}

.ecb-choose-item__img {
	flex: 0 0 96px;
	width: 96px;
	height: 68px;
	object-fit: cover;
	border-radius: 6px;
}

.ecb-choose-item__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ecb-choose-item__title {
	font-size: 1rem;
}

.ecb-choose-item__summary {
	font-size: 0.85rem;
	color: #6b7280;
	line-height: 1.4;
}

.ecb-choose-item__price {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.15;
	white-space: nowrap;
}

.ecb-choose-item__price strong {
	font-size: 1.15rem;
	color: #111827;
}

.ecb-choose-item__price small {
	font-size: 0.72rem;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ecb-choose-item__arrow {
	flex: 0 0 auto;
	font-size: 1.2rem;
	color: #9ca3af;
}

.ecb-chosen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 36px 12px 0;
	padding: 8px 12px;
	background: #f3f4f6;
	border-radius: 6px;
	font-size: 0.92rem;
}

.ecb-chosen__label {
	font-weight: 600;
}

.ecb-chosen__change {
	background: none;
	border: 0;
	padding: 0;
	color: #2c7be5;
	cursor: pointer;
	font: inherit;
	text-decoration: underline;
}

@media (max-width: 560px) {
	.ecb-choose-item__img {
		flex-basis: 72px;
		width: 72px;
		height: 56px;
	}
}

.ecb-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.ecb-modal-header h3 {
	margin: 0;
	font-size: 1.1rem;
}

.ecb-nav-prev,
.ecb-nav-next {
	border: 1px solid #d6dce5;
	background: #fff;
	border-radius: 6px;
	padding: 6px 10px;
	cursor: pointer;
}

.ecb-status {
	font-size: 0.92rem;
	color: #4b5563;
	margin-bottom: 10px;
}

.ecb-calendar {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.ecb-spots-summary {
	margin: 12px 0 6px;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #374151;
	min-height: 1.25em;
	font-weight: 500;
}

.ecb-spots-summary[hidden] {
	display: none !important;
}

.ecb-step-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
}

.ecb-step-actions--back {
	justify-content: flex-start;
	margin-top: 18px;
}

.ecb-step-actions--split {
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.ecb-step-actions--split .ecb-booking-next--step2 {
	margin-left: auto;
}

.ecb-step-actions--complete {
	justify-content: center;
	margin-top: 18px;
}

.ecb-booking-next {
	background: #2c7be5;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 10px 22px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	min-width: 110px;
}

.ecb-booking-next:hover:not(:disabled) {
	background: #2563c7;
}

.ecb-booking-next:disabled,
.ecb-booking-next--step2:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ecb-booking-next--step2 {
	background: #2c7be5;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 10px 22px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	min-width: 110px;
}

.ecb-booking-next--step2:hover:not(:disabled) {
	background: #2563c7;
}

.ecb-booking-next--step3,
.ecb-booking-next--step4 {
	border: 0;
	border-radius: 6px;
	padding: 10px 18px;
	font-weight: 600;
	cursor: pointer;
	background: #2c7be5;
	color: #fff;
	min-width: 110px;
}

.ecb-booking-next--step3:hover:not(:disabled),
.ecb-booking-next--step4:hover:not(:disabled) {
	background: #2563c7;
}

.ecb-booking-next--step3:disabled,
.ecb-booking-next--step4:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ecb-panel--step3 .ecb-step3-title,
.ecb-panel--step4 .ecb-step4-title,
.ecb-panel--complete .ecb-complete-title {
	margin: 0 0 10px;
	font-size: 1.08rem;
	font-weight: 700;
	color: #111827;
}

.ecb-panel--step3 .ecb-step3-lead,
.ecb-panel--step4 .ecb-step4-lead,
.ecb-panel--complete .ecb-complete-lead {
	margin: 0 0 20px;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #475569;
}

.ecb-complete-card {
	padding: 8px 4px 4px;
	text-align: center;
}

.ecb-panel--complete .ecb-complete-title {
	font-size: 1.2rem;
	color: #0f766e;
}

.ecb-panel--complete .ecb-complete-lead {
	margin-bottom: 16px;
	max-width: 34rem;
	margin-left: auto;
	margin-right: auto;
}

.ecb-complete-reference {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0 auto 20px;
	padding: 14px 18px;
	border-radius: 10px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
}

.ecb-complete-reference[hidden] {
	display: none !important;
}

.ecb-complete-reference__label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #047857;
}

.ecb-complete-reference__code {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #065f46;
}

.ecb-step3-loading,
.ecb-step4-loading {
	margin: 10px 0 14px;
	font-size: 0.95rem;
	color: #64748b;
}

.ecb-step3-error,
.ecb-step4-error {
	margin: 10px 0 14px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.92rem;
}

.ecb-step4-empty {
	margin: 0 0 14px;
	font-size: 0.95rem;
	color: #64748b;
}

.ecb-step3-form,
.ecb-step4-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 14px;
}

.ecb-step3-row {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.ecb-step3-row--name.ecb-step3-row--name-cols-3 {
	grid-template-columns: minmax(96px, 0.38fr) 1fr 1fr;
}

.ecb-step3-row--name.ecb-step3-row--name-cols-2 {
	grid-template-columns: 1fr 1fr;
}

.ecb-step3-row--contact {
	grid-template-columns: 1fr 1fr;
}

.ecb-step3-row--phone,
.ecb-step3-row--other {
	grid-template-columns: 1fr;
}

.ecb-step4-guest-block {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px;
	background: #f8fafc;
}

.ecb-step4-guest-block + .ecb-step4-guest-block {
	margin-top: 14px;
}

.ecb-step4-guest-block__title {
	margin: 0 0 12px;
	font-size: 0.98rem;
	font-weight: 700;
	color: #0f172a;
}

.ecb-step4-guest-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ecb-step3-row--other {
	gap: 14px;
}

.ecb-step3-sync-hidden {
	display: none !important;
}

.ecb-step3-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ecb-step3-field__label {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f2937;
}

.ecb-step3-field__tip {
	font-size: 0.82rem;
	line-height: 1.35;
	color: #9ca3af;
	margin-top: -1px;
}

.ecb-step3-field__input,
.ecb-step3-field__input[type="date"] {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 0.95rem;
	line-height: 1.25;
	color: #111827;
	background: #fff;
}

/*
 * BeTheme (and similar themes) can force max-width, float, margins or inline layouts
 * on generic form controls. Keep all booking fields full-width inside the modal.
 */
.ecb-modal .ecb-step3-form .ecb-step3-field__input,
.ecb-modal .ecb-step3-form .ecb-step3-field__input[type="date"],
.ecb-modal .ecb-step3-form textarea.ecb-step3-field__input,
.ecb-modal .ecb-step3-form .ecb-country-combobox__input,
.ecb-modal .ecb-step4-form .ecb-step3-field__input,
.ecb-modal .ecb-step4-form textarea.ecb-step3-field__input {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.ecb-modal .ecb-step3-form .ecb-step3-row,
.ecb-modal .ecb-step4-form .ecb-step3-row {
	display: grid !important;
}

/* Override theme input styles (e.g. BeTheme) — exclude phone (intl-tel-input needs custom padding). */
.ecb-modal .ecb-step3-form .ecb-step3-field:not(.ecb-step3-field--phone) input.ecb-step3-field__input:not([type="checkbox"]),
.ecb-modal .ecb-step3-form select.ecb-step3-field__input,
.ecb-modal .ecb-step3-form .ecb-country-combobox__input {
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	padding: 8px 10px !important;
	font-size: 0.95rem !important;
	line-height: 1.25 !important;
}

.ecb-modal .ecb-step3-form select.ecb-step3-field__input {
	padding-right: 36px !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 10.939l3.71-3.71a.75.75 0 1 1 1.06 1.06l-4.24 4.24a.75.75 0 0 1-1.06 0L5.21 8.29a.75.75 0 0 1 .02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 14px 14px !important;
}

.ecb-modal .ecb-step4-form select.ecb-step3-field__input {
	padding-right: 36px !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 10.939l3.71-3.71a.75.75 0 1 1 1.06 1.06l-4.24 4.24a.75.75 0 0 1-1.06 0L5.21 8.29a.75.75 0 0 1 .02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 14px 14px !important;
}

.ecb-modal .ecb-step3-form select.ecb-step3-field__input::-ms-expand,
.ecb-modal .ecb-step4-form select.ecb-step3-field__input::-ms-expand {
	display: block;
}

.ecb-modal .ecb-step3-form input.ecb-step3-field__input[type="date"] {
	padding-right: 10px !important;
}

.ecb-modal .ecb-step3-form textarea.ecb-step3-field__input {
	height: auto;
	min-height: 80px;
	max-height: none;
}

.ecb-step3-field--phone .iti {
	display: block;
	width: 100%;
}

.ecb-modal .ecb-step3-field--phone .iti input,
.ecb-modal .ecb-step3-field--phone .iti .iti__tel-input {
	width: 100%;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	/* Do not set padding-left: intl-tel-input computes it for flag + dial code. */
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	padding-right: 10px !important;
	font-size: 0.95rem !important;
	line-height: 1.25 !important;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-sizing: border-box;
	background: #fff;
	color: #111827;
}

.ecb-step3-field--phone .iti__country-container {
	border-radius: 8px 0 0 8px;
}

.ecb-modal .iti__dropdown-content,
.ecb-modal .iti--container {
	z-index: 2147483001 !important;
}

.ecb-modal .iti__country-list {
	max-height: 220px;
	margin: 0 !important;
	padding: 4px 0 !important;
	list-style: none !important;
	background: #fff !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
}

.ecb-modal .iti__search-input {
	font-size: 0.85rem;
	width: 100% !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 6px 10px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	background: #fff !important;
	color: #111827 !important;
}

.ecb-modal .iti__country {
	font-size: 0.85rem;
	line-height: 1.35;
	padding-top: 6px;
	padding-bottom: 6px;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.ecb-modal .iti__country-name {
	font-size: inherit;
}

.ecb-modal .iti__country-list li::before,
.ecb-modal .iti__country-list li::after,
.ecb-modal .iti__country::before,
.ecb-modal .iti__country::after {
	content: none !important;
}

.ecb-step3-field--phone .iti__selected-dial-code {
	font-size: 0.85rem;
}

.ecb-step3-row--location {
	grid-template-columns: 1fr;
}

.ecb-step3-row--location.ecb-step3-row--has-region {
	grid-template-columns: 1fr 1fr;
}

.ecb-modal .ecb-step3-row--name.ecb-step3-row--name-cols-3 {
	grid-template-columns: minmax(96px, 0.38fr) minmax(0, 1fr) minmax(0, 1fr) !important;
}

.ecb-modal .ecb-step3-row--name.ecb-step3-row--name-cols-2,
.ecb-modal .ecb-step3-row--contact,
.ecb-modal .ecb-step3-row--location.ecb-step3-row--has-region {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

.ecb-step3-field[data-ecb-region-row][hidden],
.ecb-step3-field[data-ecb-region-row].ecb-step3-region--hidden {
	display: none !important;
}

.ecb-step3-field--country .ts-wrapper,
.ecb-modal .ecb-step3-field--country .ts-wrapper {
	position: relative;
	width: 100% !important;
	max-width: 100% !important;
}

.ecb-step3-field--country .ecb-step3-country-native.ts-hidden,
.ecb-step3-field--country .ecb-step3-country-native--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.ecb-country-combobox {
	position: relative;
	width: 100%;
}

.ecb-country-combobox__input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 0.95rem;
	line-height: 1.25;
	color: #111827;
	background: #fff;
}

.ecb-country-combobox__input:focus {
	outline: none;
	border-color: #2c7be5;
	box-shadow: 0 0 0 2px rgba(44, 123, 229, 0.15);
}

.ecb-country-combobox__list {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	margin: 0;
	padding: 4px 0;
	list-style: none;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
	z-index: 2147483002;
}

/* Portaled to document.body so the modal overflow does not clip suggestions. */
.ecb-country-combobox__list--portal {
	position: fixed;
	left: 0;
	top: 0;
	right: auto;
	margin: 0;
}

.ecb-country-combobox__option,
.ecb-country-combobox__empty {
	padding: 8px 12px;
	font-size: 0.88rem;
	line-height: 1.35;
	color: #111827;
	cursor: pointer;
}

.ecb-country-combobox__option.is-active,
.ecb-country-combobox__option:hover {
	background: #eff6ff;
}

.ecb-country-combobox__empty {
	color: #64748b;
	cursor: default;
}

.ecb-step3-field--country .ts-control input {
	font-size: 0.95rem;
}

.ecb-modal .ts-dropdown .option {
	font-size: 0.88rem;
	padding: 8px 12px;
}

.ecb-phone-dial-wrap {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.ecb-phone-dial-select {
	flex: 0 0 148px;
	max-width: 42%;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 8px 8px;
	font-size: 0.9rem;
	background: #fff;
}

.ecb-phone-dial-wrap .ecb-step3-field__input {
	flex: 1 1 auto;
}

.ecb-step3-field--country .ts-control,
.ecb-step3-field--region .ts-control {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 6px 10px;
	min-height: 40px;
	font-size: 0.95rem;
	box-shadow: none;
}

.ecb-step3-field--country .ts-control:focus,
.ecb-step3-field--region .ts-control:focus {
	border-color: #2c7be5;
	box-shadow: 0 0 0 2px rgba(44, 123, 229, 0.15);
}

.ecb-step3-field--country .ts-dropdown,
.ecb-step3-field--region .ts-dropdown,
.ecb-modal .ts-dropdown {
	z-index: 2147483002;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

/*
 * Tom Select with dropdownParent "body" renders the list as a direct child of <body>.
 * It no longer matches .ecb-modal .ts-dropdown, so it kept the default z-index (~10) and
 * stayed hidden under the booking modal (z-index ~2147483000).
 */
body > .ts-dropdown.ecb-ts-dropdown--booking,
body > .ecb-ts-dropdown--booking {
	z-index: 2147483600 !important;
	position: fixed !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22) !important;
	overflow: visible !important;
	visibility: visible !important;
}

body > .ts-dropdown.ecb-ts-dropdown--booking .ts-dropdown-content,
body > .ecb-ts-dropdown--booking .ts-dropdown-content {
	display: block !important;
	visibility: visible !important;
	max-height: min(280px, 45vh) !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	overflow-y: auto !important;
}

body > .ts-dropdown.ecb-ts-dropdown--booking .dropdown-input-wrap,
body > .ecb-ts-dropdown--booking .dropdown-input-wrap {
	display: block !important;
	visibility: visible !important;
}

body > .ts-dropdown.ecb-ts-dropdown--booking .dropdown-input,
body > .ecb-ts-dropdown--booking .dropdown-input {
	margin: 0 !important;
	padding: 8px 10px !important;
	border: 0 !important;
	border-bottom: 1px solid #e5e7eb !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
}

body > .ts-dropdown.ecb-ts-dropdown--booking .dropdown-input input,
body > .ecb-ts-dropdown--booking .dropdown-input input {
	display: block !important;
	width: 100% !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 6px 10px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #111827 !important;
	font-size: 0.9rem !important;
	line-height: 1.25 !important;
	box-shadow: none !important;
}

body > .ts-dropdown.ecb-ts-dropdown--booking .option,
body > .ecb-ts-dropdown--booking .option {
	margin: 0 !important;
	padding: 8px 12px !important;
	font-size: 0.88rem !important;
	line-height: 1.35 !important;
}

body > .ts-dropdown.ecb-ts-dropdown--booking .option::before,
body > .ts-dropdown.ecb-ts-dropdown--booking .option::after,
body > .ecb-ts-dropdown--booking .option::before,
body > .ecb-ts-dropdown--booking .option::after {
	content: none !important;
}

.ecb-step3-field--country .ts-dropdown .option,
.ecb-step3-field--region .ts-dropdown .option {
	padding: 8px 12px;
}

@media (max-width: 640px) {
	.ecb-step3-row--name.ecb-step3-row--name-cols-3,
	.ecb-step3-row--name.ecb-step3-row--name-cols-2,
	.ecb-step3-row--contact,
	.ecb-step3-row--location.ecb-step3-row--has-region {
		grid-template-columns: 1fr;
	}
}

.ecb-booking-back {
	border: 1px solid #d6dce5;
	background: #fff;
	border-radius: 6px;
	padding: 10px 18px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	color: #374151;
}

.ecb-booking-back:hover {
	background: #f9fafb;
}

.ecb-step2-top {
	margin-bottom: 16px;
}

.ecb-step2-date {
	margin: 0;
	font-size: 1rem;
	line-height: 1.45;
	color: #1f2937;
}

.ecb-step2-date-main {
	font-size: 1.12rem;
	font-weight: 700;
	color: #111827;
}

.ecb-step2-date-meta {
	font-size: 0.92rem;
	font-weight: 500;
	color: #6b7280;
}

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

.ecb-spinner {
	display: inline-block;
	width: 28px;
	height: 28px;
	box-sizing: border-box;
	border: 3px solid #e2e8f0;
	border-top-color: #2c7be5;
	border-radius: 50%;
	animation: ecb-spin 0.72s linear infinite;
	flex-shrink: 0;
}

.ecb-spinner--sm {
	width: 22px;
	height: 22px;
	border-width: 2px;
}

.ecb-step2-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 16px 0 24px;
	padding: 28px 20px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.ecb-step2-loading--initial {
	min-height: 148px;
}

.ecb-step2-loading__text {
	font-size: 1rem;
	font-weight: 600;
	color: #334155;
	text-align: center;
	line-height: 1.35;
	max-width: 26rem;
}

.ecb-step2-loading[hidden] {
	display: none !important;
}

.ecb-step2-content-wrap {
	position: relative;
	min-height: 2rem;
}

.ecb-step2-fetch-overlay {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.86);
	border-radius: 10px;
	backdrop-filter: blur(3px);
}

.ecb-step2-fetch-overlay[hidden] {
	display: none !important;
}

.ecb-step2-fetch-overlay__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
	border: 1px solid #e8ecf1;
	font-size: 0.95rem;
	font-weight: 600;
	color: #334155;
}

.ecb-step2-error {
	margin: 12px 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.92rem;
}

.ecb-step2-content {
	margin-bottom: 8px;
}

.ecb-item-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 18px;
	padding: 18px;
	background: #f4f4f5;
	border-radius: 12px;
	margin-bottom: 20px;
}

.ecb-item-card__body {
	flex: 1;
	min-width: 0;
}

.ecb-item-card__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
}

.ecb-item-card__price {
	margin: 0 0 10px;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
}

.ecb-item-card__summary {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #475569;
}

.ecb-item-card__media {
	flex: 0 0 38%;
	max-width: 220px;
	align-self: center;
}

.ecb-item-card__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 168px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.ecb-item-card__img[hidden] {
	display: none !important;
}

.ecb-guest-picker {
	border-top: 1px solid #e4e4e7;
	border-bottom: 1px solid #e4e4e7;
	margin-bottom: 14px;
}

.ecb-guest-picker-empty {
	margin: 14px 0;
	font-size: 0.92rem;
	color: #64748b;
}

.ecb-guest-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #ececf0;
}

.ecb-guest-row:last-child {
	border-bottom: 0;
}

.ecb-guest-row__main {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ecb-guest-row__title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.ecb-guest-row__ticket {
	font-size: 0.88rem;
	color: #64748b;
}

.ecb-guest-row__actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 12px;
}

.ecb-guest-row__price {
	font-size: 0.98rem;
	font-weight: 600;
	color: #16a34a;
	white-space: nowrap;
}

.ecb-qty {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #d6dce5;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.ecb-qty-dec,
.ecb-qty-inc {
	min-width: 40px;
	padding: 8px 12px;
	border: 0;
	background: #2c7be5;
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	font-weight: 600;
}

.ecb-qty-dec:hover,
.ecb-qty-inc:hover {
	background: #2563c7;
}

.ecb-qty__value {
	min-width: 2rem;
	padding: 8px 12px;
	text-align: center;
	font-weight: 600;
	font-size: 0.95rem;
	color: #334155;
	align-self: center;
}

.ecb-group-suggest {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 14px 0 4px;
	padding: 14px 16px;
	border: 1px solid #f0d9b5;
	border-radius: 8px;
	background: #fdf6ea;
}

.ecb-group-suggest[hidden] {
	display: none;
}

.ecb-group-suggest__text {
	flex: 1 1 260px;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #3b3326;
}

.ecb-group-suggest {
	margin: 0 0 16px;
}

.ecb-group-suggest.is-offer {
	position: relative;
	padding: 18px 20px 18px 22px;
	border: 2px solid #d47e38;
	border-radius: 10px;
	background: linear-gradient(135deg, #fff4e3 0%, #fdf6ea 60%);
	box-shadow: 0 8px 22px rgba(212, 126, 56, 0.18);
}

.ecb-group-suggest__body {
	flex: 1 1 280px;
}

.ecb-group-suggest__title {
	margin: 0 0 4px;
	color: #b45f1f;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ecb-group-suggest.is-offer .ecb-group-suggest__text {
	font-size: 1rem;
	color: #2b241a;
}

.ecb-group-suggest.is-offer .ecb-group-suggest__btn {
	padding: 12px 20px;
	font-size: 1rem;
}

.ecb-group-suggest__btn {
	padding: 9px 16px;
	border: 0;
	border-radius: 6px;
	background: #d47e38;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ecb-group-suggest__btn:hover {
	background: #c06a28;
}

.ecb-step2-total {
	margin: 8px 0 0;
	text-align: right;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111827;
}

@media (max-width: 560px) {
	.ecb-item-card {
		flex-direction: column;
	}

	.ecb-item-card__media {
		flex: none;
		max-width: none;
		order: -1;
	}

	.ecb-guest-row {
		flex-wrap: wrap;
	}

	.ecb-guest-row__actions {
		width: 100%;
		justify-content: space-between;
	}
}

.ecb-weekday,
.ecb-day {
	text-align: center;
	padding: 8px 4px;
	border-radius: 8px;
	font-size: 0.9rem;
}

.ecb-weekday {
	font-weight: 600;
	color: #6b7280;
}

.ecb-day {
	border: 1px solid #e5e7eb;
	transition: all 0.15s ease;
}

.ecb-day.is-available {
	background: #e8f8ef;
	border-color: #b8e9cb;
	color: #157347;
	cursor: pointer;
	font-weight: 600;
}

.ecb-day.is-available:hover {
	background: #d7f3e4;
	border-color: #92ddaf;
}

/* No availability / past dates: neutral grey */
.ecb-day.is-unavailable {
	background: #f4f4f5;
	border-color: #e4e4e7;
	color: #a1a1aa;
	cursor: default;
	font-weight: normal;
	opacity: 1;
}

.ecb-day.is-empty {
	border-color: transparent;
	background: transparent;
}

.ecb-day.is-selected {
	background: #16a34a;
	border-color: #15803d;
	color: #ffffff;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.ecb-legend {
	display: flex;
	gap: 14px;
	margin-top: 14px;
	font-size: 0.85rem;
	color: #6b7280;
}

.ecb-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 6px;
}

.ecb-dot-available {
	background: #22c55e;
}

.ecb-dot-unavailable {
	background: #cbd5e1;
}
