/**
 * Miami 306 booking UI — search bar, calendar popup, fullscreen overlay.
 */

.m306-hb-app {
	--m306-green: #182220;
	--m306-cream: #fefcf8;
	--m306-mint: #9fd4cf;
	--m306-line: #e4e0d8;
	--m306-muted: #6b736f;
	--m306-ink: #182220;
	--m306-error: #a6402f;
	--m306-error-bg: #fbeae5;
	--m306-ok: #1f7a4f;
	--m306-font: 'Fahkwang', 'Times New Roman', serif;

	font-family: var(--m306-font);
	color: var(--m306-ink);
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	box-sizing: border-box;
}

.m306-hb-app *,
.m306-hb-app *::before,
.m306-hb-app *::after {
	box-sizing: border-box;
}

/* Author display:flex/grid must not override the HTML hidden attribute */
.m306-hb-app [hidden] {
	display: none !important;
}

.m306-hb-app[data-loaded='1'] .m306-hb-state[data-state='loading'] {
	display: none;
}

.m306-hb-loading {
	text-align: center;
	color: var(--m306-muted);
	padding: 16px 0;
}

.m306-hb-alert {
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 14px;
	margin-bottom: 16px;
}

.m306-hb-alert--error {
	background: var(--m306-error-bg);
	color: var(--m306-error);
	border: 1px solid rgba(166, 64, 47, 0.25);
}

.m306-hb-alert--warning {
	background: #fff8e6;
	border: 1px solid #e6c35c;
	color: #5c4a00;
}

.m306-hb-app.is-test-mode {
	/* No yellow outline on frontend — see admin Kalendarz notice */
	outline: none;
}

/* Search bar 800×170 */
.m306-hb-shell {
	position: relative;
	z-index: 20;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.m306-hb-search {
	width: 100%;
	max-width: 800px;
	min-height: 0;
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	column-gap: 10px;
	row-gap: 10px;
	align-items: end;
	background: var(--m306-green);
	padding: 20px 40px;
	color: #fff;
	border-radius: 0 !important;
}

.m306-hb-search__field label,
.m306-hb-app .m306-hb-search label {
	display: block;
	font-family: var(--m306-font);
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: #ffffff !important;
	opacity: 1;
}

.m306-hb-search__input {
	width: 100%;
	height: 52px;
	min-height: 52px;
	padding: 0 14px;
	border: none;
	border-radius: 0 !important;
	background: #fff;
	color: #222;
	font-family: var(--m306-font);
	font-size: 15px;
	cursor: pointer;
}

.m306-hb-search__input::placeholder {
	color: #9a9a9a;
}

.m306-hb-search__cta {
	height: 52px;
	min-height: 52px;
	margin-left: 10px;
	padding: 0 48px !important;
	border: 1px solid rgba(254, 252, 248, 0.95) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #fefcf8 !important;
	font-family: var(--m306-font) !important;
	font-size: 18px !important;
	font-weight: 300 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.m306-hb-search__cta:hover,
.m306-hb-search__cta:focus,
.m306-hb-search__cta.is-ready {
	background: #ffffff !important;
	color: #182220 !important;
	border-color: #ffffff !important;
}

.m306-hb-search--overlay {
	margin: 0 auto 36px;
	max-width: 800px;
}

/* Calendar — same width as search, slides out underneath */
.m306-hb-datepicker {
	width: 100%;
	max-width: 800px;
	margin: 0;
	background: #fff;
	border: 1px solid rgba(24, 34, 32, 0.12);
	border-top: none;
	box-shadow: 0 16px 32px rgba(24, 34, 32, 0.12);
	padding: 18px 20px 22px;
	overflow: visible;
	animation: m306-hb-slide 0.28s ease;
}

.m306-hb-app.is-calendar-over-overlay .m306-hb-datepicker {
	position: fixed;
	left: 50%;
	top: 96px;
	transform: translateX(-50%);
	width: min(1040px, calc(100vw - 48px));
	z-index: 100050;
	border-top: 1px solid rgba(24, 34, 32, 0.12);
}

/* Desktop: calendar takes the search box's place until CONFIRM / close */
.m306-hb-app.is-cal-inline .m306-hb-shell .m306-hb-search {
	display: none !important;
}

/* Wider than the (often narrow) Elementor column, centred on the box */
.m306-hb-app.is-cal-inline .m306-hb-datepicker {
	--m306-cal-w: min(1040px, calc(100vw - 48px));
	width: var(--m306-cal-w);
	max-width: none;
	margin-left: calc((100% - var(--m306-cal-w)) / 2);
	border-top: 1px solid rgba(24, 34, 32, 0.12);
	position: relative;
	z-index: 30;
}

/* Larger calendar everywhere (inline, floating, over overlay) */
.m306-hb-app .m306-hb-datepicker {
	padding: 28px 36px 32px;
}

.m306-hb-app .m306-hb-datepicker__months {
	gap: 20px 48px;
}

.m306-hb-app .m306-hb-cal-title {
	font-size: 18px;
}

.m306-hb-app .m306-hb-cal-weekdays {
	font-size: 13px;
	gap: 6px;
	margin-bottom: 8px;
}

.m306-hb-app .m306-hb-cal-grid {
	gap: 6px;
}

.m306-hb-app .m306-hb-datepicker .m306-hb-cal-day,
.elementor .m306-hb-app .m306-hb-datepicker .m306-hb-cal-day {
	max-height: 60px;
	font-size: 16px;
}

.m306-hb-app .m306-hb-datepicker .m306-hb-datepicker__confirm {
	padding: 16px 48px !important;
	font-size: 14px !important;
}

/* Sticky CTA / menu flow: centred modal on desktop, fullscreen on mobile */
.m306-hb-app.is-cal-floating .m306-hb-datepicker {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(1040px, calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	z-index: 100050;
	border: 1px solid rgba(24, 34, 32, 0.12);
	box-shadow: 0 0 0 100vmax rgba(24, 34, 32, 0.55);
	animation: m306-hb-fade 0.2s ease;
}

.m306-hb-datepicker__error {
	margin: 14px 0 0;
}

.m306-hb-sticky-cta {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 99990;
	transform: translate(-50%, calc(100% + 40px));
	opacity: 0;
	pointer-events: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 16px 48px !important;
	border: 1px solid #182220 !important;
	border-radius: 0 !important;
	background: #182220 !important;
	color: #fefcf8 !important;
	font-family: 'Fahkwang', 'Times New Roman', serif !important;
	font-size: 18px !important;
	font-weight: 300 !important;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(24, 34, 32, 0.25) !important;
	transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.m306-hb-sticky-cta.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
	pointer-events: auto;
}

.m306-hb-sticky-cta:hover,
.m306-hb-sticky-cta:focus,
.m306-hb-sticky-cta:focus-visible {
	background: #a7d9cf !important;
	border-color: #a7d9cf !important;
	color: #182220 !important;
	outline: none;
}

.m306-hb-datepicker__close {
	border: none;
	background: transparent !important;
	font-family: var(--m306-font);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin: 0 0 6px;
	color: #182220 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.m306-hb-datepicker__close:hover,
.m306-hb-datepicker__close:focus,
.m306-hb-datepicker__close:focus-visible,
.m306-hb-datepicker__close:active {
	background: transparent !important;
	color: #182220 !important;
	outline: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.m306-hb-datepicker__heading {
	margin: 0 0 12px;
	font-family: 'Cinzel', 'Times New Roman', serif;
	font-size: clamp(18px, 2.4vw, 26px);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.m306-hb-datepicker__divider {
	height: 1px;
	background: var(--m306-line);
	margin-bottom: 14px;
}

.m306-hb-datepicker__months {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
	width: 100%;
}

.m306-hb-month {
	min-width: 0;
	width: 100%;
	overflow: visible;
}

.m306-hb-month__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	gap: 6px;
}

.m306-hb-cal-title {
	font-family: var(--m306-font);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	flex: 1 1 auto;
	text-align: center;
	color: var(--m306-ink);
}

.m306-hb-cal-nav,
.m306-hb-app .m306-hb-cal-nav,
.elementor .m306-hb-cal-nav,
.elementor button.m306-hb-cal-nav {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	font-family: var(--m306-font) !important;
	font-size: 22px !important;
	font-weight: 300 !important;
	line-height: 1 !important;
	color: var(--m306-ink) !important;
	cursor: pointer;
	overflow: visible;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.m306-hb-cal-nav:hover,
.m306-hb-cal-nav:focus,
.m306-hb-cal-nav:focus-visible,
.m306-hb-cal-nav:active,
.m306-hb-app .m306-hb-cal-nav:hover,
.m306-hb-app .m306-hb-cal-nav:focus,
.elementor .m306-hb-cal-nav:hover,
.elementor .m306-hb-cal-nav:focus,
.elementor button.m306-hb-cal-nav:hover {
	background: var(--m306-green) !important;
	background-color: var(--m306-green) !important;
	color: #fefcf8 !important;
	border-color: var(--m306-green) !important;
	box-shadow: none !important;
	outline: none !important;
}

/* 11px arms rotated 45° → 16px chevron */
.m306-hb-cal-chev {
	display: block;
	width: 11px;
	height: 11px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
}

.m306-hb-cal-chev--prev {
	transform: rotate(-135deg);
	margin-left: 5px;
}

.m306-hb-cal-chev--next {
	transform: rotate(45deg);
	margin-right: 5px;
}

.m306-hb-cal-nav--spacer {
	visibility: hidden;
	pointer-events: none;
	border-color: transparent !important;
}

.m306-hb-cal-weekdays,
.m306-hb-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 3px;
	width: 100%;
}

.m306-hb-cal-weekdays {
	font-size: 10px;
	color: var(--m306-muted);
	text-align: center;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.m306-hb-cal-weekdays span {
	min-width: 0;
	overflow: hidden;
}

.m306-hb-cal-day,
.m306-hb-app .m306-hb-cal-day,
.elementor .m306-hb-cal-day,
.elementor button.m306-hb-cal-day {
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	font-family: var(--m306-font) !important;
	font-size: 12px;
	line-height: 1;
	color: var(--m306-ink) !important;
	cursor: pointer;
	min-width: 0;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.m306-hb-cal-day.is-empty {
	cursor: default;
	visibility: hidden;
	border-color: transparent !important;
}

.m306-hb-cal-day.is-unavailable,
.m306-hb-cal-day.is-past,
.m306-hb-app .m306-hb-cal-day.is-unavailable,
.m306-hb-app .m306-hb-cal-day.is-past {
	color: #b0b0b0 !important;
	text-decoration: line-through;
	cursor: not-allowed;
	opacity: 0.55;
	border-color: transparent !important;
	background: transparent !important;
}

.m306-hb-cal-day.is-available,
.m306-hb-app .m306-hb-cal-day.is-available {
	border-color: rgba(24, 34, 32, 0.18) !important;
	background: transparent !important;
}

.m306-hb-cal-day.is-available:hover,
.m306-hb-cal-day.is-available:focus,
.m306-hb-app .m306-hb-cal-day.is-available:hover,
.elementor .m306-hb-cal-day.is-available:hover {
	background: rgba(24, 34, 32, 0.06) !important;
	border-color: var(--m306-ink) !important;
	color: var(--m306-ink) !important;
	box-shadow: none !important;
}

.m306-hb-cal-day.is-selected,
.m306-hb-app .m306-hb-cal-day.is-selected,
.elementor .m306-hb-cal-day.is-selected {
	background: var(--m306-green) !important;
	background-color: var(--m306-green) !important;
	border-color: var(--m306-green) !important;
	color: #fefcf8 !important;
	font-weight: 600;
	border-radius: 0 !important;
}

.m306-hb-cal-day.is-in-range,
.m306-hb-app .m306-hb-cal-day.is-in-range,
.elementor .m306-hb-cal-day.is-in-range {
	background: rgba(24, 34, 32, 0.1) !important;
	background-color: rgba(24, 34, 32, 0.1) !important;
	border-color: transparent !important;
	color: var(--m306-ink) !important;
	border-radius: 0 !important;
}

.m306-hb-datepicker__confirm,
.m306-hb-app .m306-hb-datepicker__confirm,
.elementor .m306-hb-datepicker__confirm {
	margin-top: 16px;
	min-width: 132px;
	padding: 11px 24px !important;
	border: 1px solid var(--m306-green) !important;
	border-radius: 0 !important;
	background: var(--m306-green) !important;
	color: #fefcf8 !important;
	font-family: var(--m306-font) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
}

.m306-hb-datepicker__confirm:hover,
.m306-hb-datepicker__confirm:focus,
.elementor .m306-hb-datepicker__confirm:hover {
	background: #0f1716 !important;
	border-color: #0f1716 !important;
	color: #fefcf8 !important;
	box-shadow: none !important;
}

.m306-hb-datepicker__confirm:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Fullscreen overlay */
.m306-hb-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #f0ebe3;
	display: flex;
	flex-direction: column;
	overflow: auto;
	animation: m306-hb-fade 0.25s ease;
	font-family: var(--m306-font);
	color: var(--m306-ink);
}

.m306-hb-overlay,
.m306-hb-overlay button,
.m306-hb-overlay input,
.m306-hb-overlay select,
.m306-hb-overlay textarea,
.m306-hb-overlay h1,
.m306-hb-overlay h2,
.m306-hb-overlay h3,
.m306-hb-overlay p,
.m306-hb-overlay span,
.m306-hb-overlay label,
.m306-hb-overlay a {
	font-family: var(--m306-font) !important;
}

.m306-hb-overlay__header {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--m306-green);
	padding: 14px clamp(16px, 3.5vw, 64px);
	min-height: 72px;
}

.m306-hb-overlay__logo,
.elementor img.m306-hb-overlay__logo {
	height: 40px !important;
	width: auto !important;
	max-width: 100px !important;
	max-height: 40px !important;
	object-fit: contain !important;
	display: block;
	filter: none;
}

.m306-hb-overlay__close {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.7) !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	appearance: none;
	-webkit-appearance: none;
}

.m306-hb-overlay__close:hover,
.m306-hb-overlay__close:focus,
.m306-hb-overlay__close:focus-visible,
.m306-hb-overlay__close:active,
.elementor .m306-hb-overlay__close:hover {
	background: transparent !important;
	color: #fff !important;
	border-color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
}

.m306-hb-overlay__body {
	flex: 1 1 auto;
	padding: 28px 0 40px;
	max-width: none;
	width: 100%;
	margin: 0;
}

.m306-hb-overlay__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 48px);
	box-sizing: border-box;
}

.m306-hb-property {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 70px;
	align-items: start;
	margin: 0 0 48px;
	padding: 0 clamp(16px, 4vw, 48px) 0 0;
	width: 100%;
	box-sizing: border-box;
}

.m306-hb-property__media {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.m306-hb-property__media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	border-radius: 0 !important;
}

/* Desktop: photo 100px shorter than 4:3 so AVAILABLE OFFERS peeks in on entry */
@media (min-width: 901px) {
	@supports (width: 1cqw) {
		.m306-hb-property__media {
			container-type: inline-size;
		}

		.m306-hb-property__media img {
			aspect-ratio: auto;
			height: max(240px, calc(75cqw - 100px));
		}
	}
}

.m306-hb-property__info {
	padding-right: 0;
	min-width: 0;
}

.m306-hb-property__title {
	margin: 0 0 14px;
	font-family: 'Cinzel', 'Times New Roman', serif;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.15;
	text-transform: uppercase;
	color: #182220;
}

.m306-hb-property__desc {
	margin: 0 0 28px;
	font-family: var(--m306-font);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.65;
	color: #182220;
}

.m306-hb-feature-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 24px;
	align-items: start;
	width: 100%;
	margin: 0;
	padding: 0;
}

.m306-hb-feature {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 10px;
	color: #182220;
	min-width: 0;
}

.m306-hb-feature__icon {
	display: block;
	width: 48px;
	height: 48px;
	color: #182220;
	line-height: 0;
}

.m306-hb-feature__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.m306-hb-feature__label {
	font-family: var(--m306-font);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.35;
	color: #182220;
}

.m306-hb-offers {
	background: #ffffff;
	padding: 36px clamp(20px, 3vw, 40px);
	margin: 0 0 32px;
	border-radius: 0;
	box-sizing: border-box;
}

.m306-hb-offers__title {
	margin: 0 0 18px;
	text-align: center;
	font-family: 'Cinzel', 'Times New Roman', serif;
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 300;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #182220;
}

.m306-hb-offer {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	padding: 28px 0 0;
	border-top: 1px solid #d9d5cd;
	border-bottom: none;
	align-items: center;
}

.m306-hb-offer__name {
	margin: 0 0 10px;
	font-family: var(--m306-font);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 400;
	color: #182220;
}

.m306-hb-offer__note {
	margin: 0;
	font-family: var(--m306-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--m306-muted);
}

/* Price, total and BOOK share one left edge; equal 16px steps between them */
.m306-hb-offer__right {
	justify-self: end;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: max-content;
	max-width: 100%;
	text-align: left;
}

.m306-hb-offer__right > * {
	margin: 0 !important;
}

.m306-hb-offer__nightly {
	margin: 0 0 6px;
	font-family: var(--m306-font);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 400;
	color: #182220;
}

.m306-hb-offer__total {
	margin: 0 0 16px;
	font-family: var(--m306-font);
	font-size: 14px;
	font-weight: 300;
	color: var(--m306-muted);
}

.m306-hb-offer__book {
	min-width: 160px;
	padding: 12px 22px;
	border: none !important;
	border-radius: 0 !important;
	background: var(--m306-green) !important;
	color: #fff !important;
	font-family: var(--m306-font);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.m306-hb-offer__book:hover,
.m306-hb-offer__book:focus,
.m306-hb-offer__book:focus-visible,
.m306-hb-offer__book:active,
body .m306-hb-offer__book:hover,
body .m306-hb-offer__book:focus,
body .m306-hb-offer__book:active {
	background: #a7d9cf !important;
	background-color: #a7d9cf !important;
	color: #182220 !important;
	border-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.m306-hb-offer__book:focus-visible {
	outline: 2px solid #182220 !important;
	outline-offset: 2px;
}

.m306-hb-offers__empty {
	text-align: center;
	color: var(--m306-error);
	padding: 18px 0;
}

.m306-hb-checkout {
	margin-top: 36px;
	background: #fff;
	border: 1px solid var(--m306-line);
	padding: 24px clamp(16px, 3vw, 28px);
}

.m306-hb-section {
	margin-bottom: 22px;
}

.m306-hb-section-title {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.m306-hb-guest-fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.m306-hb-field label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.m306-hb-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--m306-line);
	background: var(--m306-cream);
	font-family: var(--m306-font);
	font-size: 15px;
}

.m306-hb-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.m306-hb-consents {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.m306-hb-checkbox {
	display: flex;
	gap: 10px;
	font-size: 13px;
	color: var(--m306-muted);
	cursor: pointer;
}

.m306-hb-checkbox a {
	color: var(--m306-green);
}

.m306-hb-summary-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 18px;
}

.m306-hb-summary-list dt {
	font-size: 12px;
	color: var(--m306-muted);
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.m306-hb-summary-list dd {
	margin: 0;
	font-weight: 600;
}

.m306-hb-card-element {
	margin-bottom: 18px;
}

.m306-hb-card-element-mount {
	padding: 12px;
	border: 1px solid var(--m306-line);
	background: #fff;
}

.m306-hb-cta {
	width: 100%;
	background: var(--m306-green);
	color: #fff;
	border: none;
	padding: 14px 20px;
	font-family: var(--m306-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 0 !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.m306-hb-cta:not(:disabled):hover,
.m306-hb-cta:not(:disabled):focus,
.m306-hb-cta:not(:disabled):active,
body .m306-hb-cta:not(:disabled):hover,
body .m306-hb-cta:not(:disabled):focus {
	background: #a7d9cf !important;
	background-color: #a7d9cf !important;
	color: #182220 !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.m306-hb-cta:disabled,
.m306-hb-cta:disabled:hover {
	background: var(--m306-green) !important;
	color: #fff !important;
}

.m306-hb-cta:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.m306-hb-spinner {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #fff;
	display: inline-block;
	animation: m306-hb-spin 0.7s linear infinite;
}

.m306-hb-spinner--lg {
	width: 34px;
	height: 34px;
	border-width: 3px;
	border-color: rgba(24, 34, 32, 0.2);
	border-top-color: var(--m306-green);
	margin: 0 auto 16px;
}

/* Top strip above logo / close — same side margins as the site header */
.m306-hb-overlay__topbar {
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px 24px;
	background: var(--m306-green);
	color: #fefcf8;
	padding: 18px clamp(16px, 3.5vw, 64px) 14px;
	border-bottom: 1px solid rgba(254, 252, 248, 0.12);
	font-family: var(--m306-font);
	font-weight: 300;
}

.m306-hb-overlay__topbar-copy {
	font-size: 13px;
	letter-spacing: 0.06em;
}

.m306-hb-overlay__topbar-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	text-align: center;
}

.m306-hb-overlay__topbar a,
.elementor .m306-hb-overlay__topbar a {
	color: #fefcf8 !important;
	text-decoration: none !important;
}

.m306-hb-overlay__topbar a:hover {
	color: #a7d9cf !important;
}

.m306-hb-overlay__topbar-phone {
	font-size: 16px;
	letter-spacing: 0.08em;
}

.m306-hb-overlay__topbar-mail {
	font-size: 12px;
	letter-spacing: 0.08em;
}

.m306-hb-processing,
.m306-hb-confirmation {
	text-align: center;
	padding: 40px 20px;
	background: var(--m306-cream);
	min-height: 40vh;
}

.m306-hb-confirmation-icon {
	width: 56px;
	height: 56px;
	line-height: 56px;
	border-radius: 50%;
	background: var(--m306-ok);
	color: #fff;
	font-size: 28px;
	margin: 0 auto 14px;
}

.m306-hb-fineprint {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--m306-muted);
}

body.m306-hb-lock {
	overflow: hidden;
}

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

@keyframes m306-hb-slide {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes m306-hb-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 900px) {
	.m306-hb-property {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 0 clamp(16px, 4vw, 48px);
	}

	.m306-hb-offer {
		grid-template-columns: 1fr;
	}

	.m306-hb-offer__right {
		justify-self: start;
		width: 100%;
	}

	.m306-hb-datepicker__months {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 720px) {
	/* Green box touches both screen edges (escapes Elementor column padding) */
	.m306-hb-app,
	.elementor .m306-hb-app,
	.elementor-widget-shortcode .m306-hb-app {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	.m306-hb-shell,
	.elementor .m306-hb-shell {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.m306-hb-search,
	.elementor .m306-hb-search {
		grid-template-columns: 1fr;
		min-height: 0;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 20px 6vw !important;
		box-sizing: border-box !important;
	}

	.m306-hb-search__cta,
	.elementor .m306-hb-search__cta {
		margin-left: 0 !important;
		width: 100% !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		white-space: normal;
	}

	.m306-hb-datepicker {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		padding: 16px !important;
	}

	.m306-hb-datepicker__months {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	/* Fullscreen date picker — nothing of the page visible underneath */
	.m306-hb-app.is-cal-floating .m306-hb-datepicker {
		inset: 0;
		left: 0;
		top: 0;
		transform: none;
		width: 100% !important;
		max-width: none !important;
		height: 100%;
		max-height: none;
		margin: 0;
		border: none;
		box-shadow: none;
		padding: max(16px, env(safe-area-inset-top)) 6vw max(24px, env(safe-area-inset-bottom)) !important;
		overscroll-behavior: contain;
	}

	.m306-hb-app.is-cal-floating .m306-hb-datepicker__confirm {
		width: 100%;
		padding-top: 16px !important;
		padding-bottom: 16px !important;
		font-size: 14px !important;
	}

	.m306-hb-sticky-cta {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		transform: translateY(100%);
		padding: 18px 16px max(18px, env(safe-area-inset-bottom)) !important;
		font-size: 16px !important;
		box-shadow: 0 -6px 20px rgba(24, 34, 32, 0.18) !important;
	}

	.m306-hb-sticky-cta.is-visible {
		transform: translateY(0);
	}

	.m306-hb-guest-fields,
	.m306-hb-summary-list {
		grid-template-columns: 1fr;
	}

	.m306-hb-overlay__topbar {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 6px;
		padding-top: 12px;
		padding-bottom: 10px;
	}

	/* Same 6% side gutter as the Elementor sections on mobile */
	.m306-hb-overlay__topbar,
	.m306-hb-overlay__header {
		padding-left: 6vw;
		padding-right: 6vw;
	}

	.m306-hb-overlay__inner,
	.m306-hb-property {
		padding-left: 6vw;
		padding-right: 6vw;
	}

	.m306-hb-overlay__topbar-end {
		display: none;
	}

	.m306-hb-overlay__topbar-copy {
		font-size: 11px;
	}
}
