/* Ecorahi Book Now modal v1.0.7 */
.ecorahi-book-now {
	position: fixed;
	inset: 0;
	z-index: 200500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	overscroll-behavior: contain;
}

.ecorahi-book-now[hidden] {
	display: none !important;
}

body.ecorahi-book-now-open {
	overflow: hidden;
}

body.ecorahi-book-now-open #glt-translate-trigger,
body.ecorahi-book-now-open a.scrollToTop,
body.ecorahi-book-now-open .scrollToTop {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

.ecorahi-book-now__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 18, 0.62);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.ecorahi-book-now__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 480px);
	max-height: min(92vh, 760px);
	overflow: hidden;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(16, 24, 18, 0.22);
	border: 1px solid rgba(31, 107, 74, 0.08);
	box-sizing: border-box;
}

.ecorahi-book-now__form {
	display: flex;
	flex-direction: column;
	max-height: inherit;
	min-height: 0;
}

.ecorahi-book-now__sheet-head {
	flex: 0 0 auto;
}

.ecorahi-book-now__handle {
	display: none;
}

.ecorahi-book-now__sheet-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 22px 16px;
}

.ecorahi-book-now__sheet-footer {
	flex: 0 0 auto;
	padding: 12px 22px calc(16px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e8efe9;
	background: #fff;
}

.ecorahi-book-now__topbar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 0;
	padding: 14px 22px 0;
}

.ecorahi-book-now__mobile-close {
	display: none;
}

.ecorahi-book-now__close {
	position: relative;
	top: auto;
	right: auto;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #f3f6f2;
	color: #20261d;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.ecorahi-book-now__close:hover {
	background: #e8efe9;
}

.ecorahi-book-now__hero {
	display: flex;
	gap: 14px;
	margin-bottom: 14px;
	padding-right: 0;
}

.ecorahi-book-now__thumb {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	border-radius: 12px;
	background: #eef2ea center/cover no-repeat;
	border: 1px solid #e6e2d6;
}

.ecorahi-book-now__summary {
	min-width: 0;
}

.ecorahi-book-now__cat {
	display: inline-block;
	margin-bottom: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #eef6f1;
	color: #1f6b4a;
	font-size: 11px;
	font-weight: 700;
}

.ecorahi-book-now__title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.25;
	color: #20261d;
}

.ecorahi-book-now__loc,
.ecorahi-book-now__price {
	margin: 0 0 4px;
	font-size: 13px;
	color: #5f675a;
}

.ecorahi-book-now__price {
	font-weight: 700;
	color: #1f6b4a;
}

.ecorahi-book-now__lead {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #5f675a;
}

.ecorahi-book-now__field {
	margin-bottom: 12px;
}

.ecorahi-book-now__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #20261d;
}

.ecorahi-book-now__input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1px solid #dde4d8;
	border-radius: 10px;
	font: inherit;
	color: #20261d;
	background: #fff;
}

.ecorahi-book-now__input:focus {
	outline: none;
	border-color: #1f6b4a;
	box-shadow: 0 0 0 3px rgba(31, 107, 74, 0.12);
}

textarea.ecorahi-book-now__input {
	resize: vertical;
	min-height: 84px;
}

.ecorahi-book-now__error {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #b42318;
}

.ecorahi-book-now__fields {
	flex: 1 1 auto;
}

.ecorahi-book-now__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 50px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #25d366, #1ebe57);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.ecorahi-book-now__submit svg {
	width: 20px;
	height: 20px;
}

.ecorahi-book-now__submit:hover {
	filter: brightness(1.04);
}

/* Trigger buttons */
button.ecorahi-book-now-trigger,
button.eco-book.ecorahi-book-now-trigger {
	border: none;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
	appearance: none;
	-webkit-appearance: none;
}

.eco-acts button.eco-book,
.elp-card-actions button.eco-book,
.eco-acts--archive button.eco-book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 34px;
	padding: 0 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	background: linear-gradient(135deg, #1f6b4a, #164e37) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(31, 107, 74, 0.18);
}

.eco-acts button.eco-book:hover,
.elp-card-actions button.eco-book:hover,
.eco-acts--archive button.eco-book:hover {
	filter: brightness(1.04);
	transform: translateY(-1px);
}

.ecorahi-book-now-trigger--compact {
	min-height: 32px !important;
	padding: 0 10px !important;
	font-size: 11px !important;
}

/* Archive card actions */
.eco-acts--archive {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 0 14px 14px;
}

.eco-acts--archive .eco-book {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
}

.eco-acts--archive .eco-call,
.eco-acts--archive .eco-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	flex-shrink: 0;
}

.eco-acts--archive .eco-call {
	background: #eef6f1;
	color: #1f6b4a;
}

.eco-acts--archive .eco-wa {
	background: #25d366;
	color: #fff;
}

.eco-acts--archive .eco-call svg,
.eco-acts--archive .eco-wa svg {
	width: 16px;
	height: 16px;
}

/* Location landing card actions */
.elp-card-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px 16px;
	border-top: 1px solid #dfe5dc;
	margin-top: auto;
}

.elp-card-actions .eco-book {
	flex: 1;
	min-height: 38px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
}

.elp-card-actions .eco-call,
.elp-card-actions .eco-wa {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-decoration: none !important;
	transition: transform 0.18s ease, filter 0.18s ease;
}

.elp-card-actions .eco-call {
	background: #eef6f1;
	color: var(--ecorahi-green, #1f6b4a);
}

.elp-card-actions .eco-call:hover {
	background: #e2efe8;
	transform: translateY(-1px);
}

.elp-card-actions .eco-wa {
	background: #25d366;
	color: #fff;
}

.elp-card-actions .eco-wa:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.elp-card-actions .eco-call svg,
.elp-card-actions .eco-wa svg {
	width: 16px;
	height: 16px;
}

/* Homepage / carousel card actions */
.eco-rows .eco-acts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36px 36px;
	gap: 6px;
	align-items: center;
	position: relative;
	z-index: 3;
}

.eco-rows .eco-acts button.eco-book,
.eco-rows .eco-acts a.eco-book {
	min-height: 36px;
	font-size: 12px;
	font-weight: 700;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

/* Related listings compact row */
.eco-rel-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 10px 10px;
}

.eco-rel-actions .eco-book {
	flex: 1;
	min-height: 34px;
}

@media (max-width: 767px) {
	.eco-acts--archive {
		padding: 0 12px 12px;
		gap: 6px;
	}

	.eco-acts--archive .eco-book {
		min-height: 40px;
		font-size: 12px;
	}

	.eco-acts--archive .eco-call,
	.eco-acts--archive .eco-wa {
		width: 40px;
		height: 40px;
	}

	.elp-card-actions {
		padding: 10px 12px 12px;
		gap: 6px;
	}

	.elp-card-actions .eco-book {
		min-height: 42px;
		font-size: 12px;
	}

	.elp-card-actions .eco-call,
	.elp-card-actions .eco-wa {
		width: 42px;
		height: 42px;
	}
}

@media (max-width: 520px) {
	.ecorahi-book-now {
		padding: 0;
		align-items: flex-end;
	}

	.ecorahi-book-now__dialog {
		width: 100%;
		max-height: min(92dvh, 100dvh);
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -8px 40px rgba(16, 24, 18, 0.28);
	}

	.ecorahi-book-now__form {
		max-height: min(92dvh, 100dvh);
	}

	.ecorahi-book-now__handle {
		display: block;
		width: 42px;
		height: 4px;
		margin: 10px auto 0;
		border-radius: 999px;
		background: #d8dfd4;
	}

	.ecorahi-book-now__topbar {
		justify-content: flex-start;
		padding: 10px 16px 0;
	}

	.ecorahi-book-now__mobile-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		padding: 0 16px;
		border: 1px solid #d8dfd4;
		border-radius: 999px;
		background: #f7faf6;
		color: #20261d;
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

	.ecorahi-book-now__close {
		display: none;
	}

	.ecorahi-book-now__sheet-body {
		padding: 12px 16px 8px;
	}

	.ecorahi-book-now__sheet-footer {
		padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -8px 24px rgba(16, 24, 18, 0.08);
	}

	.ecorahi-book-now__hero {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		margin-bottom: 10px;
	}

	.ecorahi-book-now__thumb {
		width: 72px;
		height: 72px;
		flex: 0 0 72px;
	}

	.ecorahi-book-now__title {
		font-size: 17px;
	}

	.ecorahi-book-now__lead {
		font-size: 12px;
		margin-bottom: 10px;
	}

	.ecorahi-book-now__field {
		margin-bottom: 10px;
	}

	.ecorahi-book-now__input {
		padding: 12px;
		font-size: 16px;
	}

	.ecorahi-book-now__submit {
		min-height: 50px;
		font-size: 15px;
	}
}
