/* =====================================================================
   Mare & Mons — layout polish (loaded last on every page)
   One content grid, aligned rows, one button system.
   Grid = the hero rows: 88% wide, max 1200px; phones: 100% - 36px.
   ===================================================================== */

/* ---------- 1. Footer sits on the page grid ---------- */
.mmf .mmf-inner {
	width: 88%;
	max-width: 1200px;
	padding: 0;
}

/* ---------- 2. Apartments: comparison block on the page grid ---------- */
#mm-apartment-comparison > .et_pb_row.mmc-row,
#mm-apartment-comparison .mmc-row {
	width: 88% !important;
	max-width: 1200px !important;
}

/* ---------- 3. Cjenik: price list on the page grid ---------- */
#mm-tariff {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
#mm-tariff .mm-tariff-inner {
	width: 88% !important;
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 900px) {
	#mm-apartment-comparison > .et_pb_row.mmc-row,
	#mm-apartment-comparison .mmc-row { width: 88% !important; max-width: none !important; }
}
@media (max-width: 760px) {
	.mmf .mmf-inner,
	#mm-tariff .mm-tariff-inner,
	#mm-apartment-comparison > .et_pb_row.mmc-row,
	#mm-apartment-comparison .mmc-row,
	#mm-house-explorer > .et_pb_row { width: calc(100% - 36px) !important; }
}

/* ---------- 4. Booking card: "Need help choosing?" on one line with Email / WhatsApp ---------- */
#page-container #mm-booking-block.mm-premium-booking .help-row { align-items: center !important; }
#page-container #mm-booking-block.mm-premium-booking .help-row > div:first-child {
	display: flex !important;
	align-items: center;
	height: 36px;
}
#page-container #mm-booking-block.mm-premium-booking .help-row h2 {
	margin: 0 6px 0 0 !important;
	padding: 0 !important;
	line-height: 36px !important;
}
#page-container #mm-booking-block.mm-premium-booking .help-buttons .secondary { align-items: center !important; line-height: 1 !important; }

/* ---------- 5. Booking card: perks share the heading's baseline ---------- */
#page-container #mm-booking-block.mm-premium-booking .booking-heading { align-items: last baseline !important; }
#mm-booking-block .mm-perks { padding-bottom: 0; align-items: baseline; }
/* plain text + inline icon, so each perk exposes a real text baseline */
#mm-booking-block .mm-perks span { display: block !important; white-space: nowrap; }
#mm-booking-block .mm-perks svg { display: inline-block; vertical-align: -2px; margin-right: 7px; }

/* ---------- 6. Icons: one stroke weight for the 24-unit icon set ---------- */
.mmf .mmf-social svg,
.mmf .mmf-row svg { stroke-width: 1.6; }
#mm-booking-block .help-buttons svg { stroke-width: 1.6 !important; }

/* ---------- 7. Newsletter: consent + security check inside the card's rhythm ---------- */
html.mm-premium body #page-container .et-l--footer .mm-nl .independent-newsletter-consent {
	position: relative;
	display: block;
	margin: 16px 0 0 !important;
	padding: 0 0 0 30px !important;
	font: 400 12.5px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important;
	color: rgba(247, 239, 227, .72) !important;
	text-align: left !important;
	cursor: pointer;
}
html.mm-premium body #page-container .et-l--footer .mm-nl .independent-newsletter-consent input {
	-webkit-appearance: none;
	        appearance: none;
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	border: 1px solid rgba(238, 218, 189, .45);
	border-radius: 5px;
	background: transparent;
	cursor: pointer;
	transition: background .3s, border-color .3s;
}
html.mm-premium body #page-container .et-l--footer .mm-nl .independent-newsletter-consent input:checked {
	background: #eedabd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%235e3023' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 6 10.5 11 4'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: #eedabd;
}
html.mm-premium body #page-container .et-l--footer .mm-nl .independent-newsletter-consent input:focus-visible { outline: 2px solid #eedabd; outline-offset: 2px; }
html.mm-premium body #page-container .et-l--footer .mm-nl .independent-newsletter-consent a {
	color: #eedabd !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(238, 218, 189, .4);
}
html.mm-premium body #page-container .et-l--footer .mm-nl .cf-turnstile {
	margin: 14px 0 0 !important;
	padding: 0 !important;
	min-height: 65px;
}
html.mm-premium body #page-container .et-l--footer .mm-nl .independent-form-status { padding: 10px 0 0 !important; text-align: left !important; }
.mm-nl .mm-nl-fine { display: none !important; }

/* Fields: three even inputs (names side by side, email full width), button on its own row */
html.mm-premium body #page-container .et-l--footer .mm-nl .et_pb_newsletter_fields {
	grid-template-columns: 1fr 1fr !important;
	grid-template-areas: "first last" "email email" "btn btn" !important;
	gap: 10px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	overflow: visible !important;
}
html.mm-premium body #page-container .et-l--footer .mm-nl .et_pb_newsletter_fields:focus-within { background: none !important; }
html.mm-premium body #page-container .et-l--footer .mm-nl p.mm-nl-fld {
	padding: 10px 16px !important;
	border-radius: 14px !important;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(238, 218, 189, .18);
	transition: background .3s, box-shadow .3s;
}
html.mm-premium body #page-container .et-l--footer .mm-nl p.mm-nl-fld:focus-within {
	background: rgba(255, 255, 255, .09);
	box-shadow: inset 0 0 0 1px rgba(238, 218, 189, .55);
}
html.mm-premium body #page-container .et-l--footer .mm-nl p.mm-nl-fld:has(input.et_pb_signup_error) { box-shadow: inset 0 0 0 1px rgba(255, 150, 125, .7); }
html.mm-premium body #page-container .et-l--footer .mm-nl p.mm-nl-last:before,
html.mm-premium body #page-container .et-l--footer .mm-nl p.mm-nl-email:before { content: none !important; }
html.mm-premium body #page-container .et-l--footer .mm-nl .et_pb_newsletter_button_wrap {
	justify-self: start;
	padding: 6px 0 0 !important;
}
html.mm-premium body #page-container .et-l--footer .mm-nl .et_pb_newsletter_button.et_pb_button {
	width: auto !important;
	height: 48px !important;
	min-height: 0 !important;
	padding: 0 6px 0 22px !important;
	gap: 14px;
	border-radius: 999px !important;
	justify-content: center !important;
	margin: 0 !important;
}
html.mm-premium .et-l--footer .mm-nl .et_pb_newsletter_button .mm-dot { width: 36px; height: 36px; }
@container (max-width: 560px) {
	html.mm-premium body #page-container .et-l--footer .mm-nl .et_pb_newsletter_button_wrap { justify-self: stretch; }
	html.mm-premium body #page-container .et-l--footer .mm-nl .et_pb_newsletter_button.et_pb_button {
		width: 100% !important;
		justify-content: space-between !important;
		border-radius: 999px !important;
	}
}

/* ---------- 8. One button system on Apartments ---------- */
/* house tabs: segmented pills */
#mm-house-explorer .mmhe-tabs button {
	min-height: 44px !important;
	padding: 0 24px !important;
	border-radius: 999px !important;
	font: 600 11.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
}
/* floor / unit buttons: same rounding family */
#mm-house-explorer .mmhe-floor-row button { border-radius: 999px !important; }
/* view tag */
#mm-house-explorer .mmhe-view {
	border-radius: 999px !important;
	padding: 6px 12px !important;
	font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
}
/* secondary "Choose dates" links in the comparison cards: outline pill */
#mm-apartment-comparison .mmc-date-link {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 20px !important;
	border-radius: 999px !important;
	font: 600 11.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
}

/* ---------- 9. Home "What we offer": feature + list ---------- */
#page-container #mm-home-offers .mmo { display: block; }
#page-container #mm-home-offers .mmo-head {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin: 0 0 44px;
}
#page-container #mm-home-offers .mmo-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px !important; padding: 0 !important;
	font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important; letter-spacing: .24em !important; text-transform: uppercase; color: #b08d57 !important;
}
#page-container #mm-home-offers .mmo-eyebrow:before { content: ''; width: 22px; height: 1px; background: currentColor; }
/* extra ids so this beats the site-wide #main-content h2:not(#…) rule */
html.mm-premium body #page-container #main-content #mm-home-offers .mmo-head h2#what-we-offer,
#page-container #mm-home-offers .mmo-head h2 {
	margin: 0 !important; padding: 0 !important;
	font: 400 clamp(30px, 3.2vw, 44px)/1.1 var(--mmp-serif, 'Playfair Display', serif) !important; letter-spacing: -.01em !important; color: #5e3023 !important;
}
#page-container #mm-home-offers .mmo-head h2 i { font-style: italic; color: #6e4b3e; }
#page-container #mm-home-offers .mmo-lead {
	justify-self: end; max-width: 42ch; margin: 0 !important; padding: 0 0 6px !important;
	font: 300 16px/1.7 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important;
}
#page-container #mm-home-offers .mmo-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: stretch; }

/* feature */
#page-container #mm-home-offers .mmo-feature {
	position: relative; display: flex; align-items: flex-end; min-height: 540px;
	border-radius: 24px; overflow: hidden; color: #fff !important; text-decoration: none !important;
}
#page-container #mm-home-offers .mmo-feature img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important;
	transition: transform 1.6s cubic-bezier(.16, 1, .3, 1);
}
#page-container #mm-home-offers .mmo-feature:hover img { transform: scale(1.04); }
#page-container #mm-home-offers .mmo-feature:after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(25, 12, 6, .74) 0%, rgba(25, 12, 6, .12) 55%, rgba(25, 12, 6, 0) 100%);
}
#page-container #mm-home-offers .mmo-feature-in { position: relative; z-index: 1; padding: 36px; }
#page-container #mm-home-offers .mmo-feature small {
	display: block; margin-bottom: 12px; font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .24em; text-transform: uppercase; color: #eedabd;
}
#page-container #mm-home-offers .mmo-feature h3 {
	margin: 0 0 10px !important; padding: 0 !important;
	font: 400 34px/1.1 var(--mmp-serif, 'Playfair Display', serif) !important; color: #fff !important;
}
#page-container #mm-home-offers .mmo-feature p {
	margin: 0 0 22px !important; padding: 0 !important; max-width: 36ch;
	font: 300 15.5px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: rgba(255, 255, 255, .86) !important;
}
#page-container #mm-home-offers .mmo-link {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .45);
	font: 600 11px/1 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .16em; text-transform: uppercase; color: #fff;
	transition: border-color .4s;
}
#page-container #mm-home-offers .mmo-feature:hover .mmo-link { border-color: #fff; }
#page-container #mm-home-offers .mmo svg { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
#page-container #mm-home-offers .mmo-feature:hover .mmo-link svg { transform: translateX(4px); }

/* list */
#page-container #mm-home-offers .mmo-list { display: flex; flex-direction: column; justify-content: center; }
#page-container #mm-home-offers .mmo-item {
	display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center;
	padding: 22px 0; border-top: 1px solid rgba(94, 48, 35, .14); color: #5e3023 !important; text-decoration: none !important;
}
#page-container #mm-home-offers .mmo-item:last-child { border-bottom: 1px solid rgba(94, 48, 35, .14); }
#page-container #mm-home-offers .mmo-thumb { display: block; width: 120px; height: 120px; border-radius: 16px; overflow: hidden; }
#page-container #mm-home-offers .mmo-thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
#page-container #mm-home-offers .mmo-item:hover .mmo-thumb img { transform: scale(1.08); }
#page-container #mm-home-offers .mmo-text small {
	display: block; margin-bottom: 8px; font: 600 10px/1 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .2em; text-transform: uppercase; color: #b08d57;
}
#page-container #mm-home-offers .mmo-text h3 {
	margin: 0 0 6px !important; padding: 0 !important;
	font: 400 22px/1.2 var(--mmp-serif, 'Playfair Display', serif) !important; color: #5e3023 !important;
}
#page-container #mm-home-offers .mmo-text p {
	margin: 0 !important; padding: 0 !important; font: 400 14px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important;
}
#page-container #mm-home-offers .mmo-go {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(94, 48, 35, .22); display: grid; place-items: center; color: #5e3023;
	transition: background .4s cubic-bezier(.16, 1, .3, 1), color .4s, border-color .4s;
}
#page-container #mm-home-offers .mmo-item:hover .mmo-go { background: #5e3023; color: #f7efe3; border-color: #5e3023; }
#page-container #mm-home-offers .mmo-item:hover .mmo-go svg { transform: translateX(2px); }
#page-container #mm-home-offers .mmo a:focus-visible { outline: 2px solid #5e3023; outline-offset: 4px; border-radius: 16px; }

@media (max-width: 1000px) {
	#page-container #mm-home-offers .mmo-grid { grid-template-columns: 1fr; gap: 32px; }
	#page-container #mm-home-offers .mmo-feature { min-height: 440px; }
}
@media (max-width: 700px) {
	#page-container #mm-home-offers .mmo-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
	#page-container #mm-home-offers .mmo-lead { justify-self: start; }
	#page-container #mm-home-offers .mmo-feature { min-height: 420px; }
	#page-container #mm-home-offers .mmo-feature-in { padding: 26px; }
	#page-container #mm-home-offers .mmo-feature h3 { font-size: 28px !important; }
	#page-container #mm-home-offers .mmo-item { grid-template-columns: 88px 1fr; gap: 16px; }
	#page-container #mm-home-offers .mmo-thumb { width: 88px; height: 88px; }
	#page-container #mm-home-offers .mmo-go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	#page-container #mm-home-offers .mmo * { transition: none !important; }
}

/* ---------- 10. Home on phones: same edges as every other page (100% - 36px) ---------- */
#page-container #mm-home-offers .mmo-head h2 { text-wrap: balance; }
@media (max-width: 760px) {
	#page-container #main-content .mm-home-inner,
	#page-container #main-content #maremons-home-hero > .et_pb_row {
		width: calc(100% - 36px) !important;
		max-width: none !important;
	}
	html.mm-premium body #page-container #main-content #mm-home-offers .mmo-head h2#what-we-offer { font-size: 30px !important; }
}

/* ---------- 11. Home "Between the sea and the pines": same language as "What we offer" ---------- */
#page-container #mm-home-story-component .mm-home-story { align-items: center; }

/* photos: same radii as the offers block, caption row like a list footer */
#page-container #mm-home-story-component .mm-home-photo { border-radius: 16px !important; overflow: hidden; }
#page-container #mm-home-story-component .mm-home-photo-main { border-radius: 24px !important; }
#page-container #mm-home-story-component .mm-home-photo img { transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
#page-container #mm-home-story-component .mm-home-photo:hover img { transform: scale(1.04); }
#page-container #mm-home-story-component .mm-home-photo-footer {
	display: flex; justify-content: space-between; align-items: center;
	margin-top: 16px !important; padding: 0 !important; border: 0 !important;
}
#page-container #mm-home-story-component .mm-home-photo-footer > span {
	font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important; letter-spacing: .22em !important; text-transform: uppercase; color: #b08d57 !important;
}

/* text links: uppercase with arrow, like .mmo-link */
#page-container #mm-home-story-component .mm-home-text-link {
	display: inline-flex !important; align-items: center; gap: 10px;
	padding: 0 0 6px !important; border: 0 !important; border-bottom: 1px solid rgba(94, 48, 35, .25) !important;
	background: none !important; text-decoration: none !important;
	font: 600 11px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important; letter-spacing: .16em !important; text-transform: uppercase !important; color: #5e3023 !important;
	transition: border-color .4s;
}
#page-container #mm-home-story-component .mm-home-text-link:hover { border-color: #5e3023 !important; }
#page-container #mm-home-story-component .mm-home-text-link svg { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
#page-container #mm-home-story-component .mm-home-text-link:hover svg { transform: translateX(4px); }

/* header */
#page-container #mm-home-story-component .mms-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px !important; padding: 0 !important;
	font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important; letter-spacing: .24em !important; text-transform: uppercase; color: #b08d57 !important;
}
#page-container #mm-home-story-component .mms-eyebrow:before { content: ''; width: 22px; height: 1px; background: currentColor; }
html.mm-premium body #page-container #main-content #mm-home-story-component .mm-home-story-copy h2#between-the-sea-and-the-pines {
	margin: 0 0 18px !important; padding: 0 !important; text-wrap: balance;
	font: 400 clamp(30px, 3.2vw, 44px)/1.1 var(--mmp-serif, 'Playfair Display', serif) !important; letter-spacing: -.01em !important; color: #5e3023 !important;
}
#page-container #mm-home-story-component h2 i { font-style: italic; color: #6e4b3e; }
#page-container #mm-home-story-component .mm-home-intro {
	max-width: 44ch; margin: 0 0 30px !important; padding: 0 !important;
	font: 300 16px/1.7 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important;
}

/* highlights: list rows with gold numbers, serif titles, hairlines */
#page-container #mm-home-story-component .mm-home-highlights {
	counter-reset: mms; list-style: none !important; margin: 0 0 32px !important; padding: 0 !important; border: 0 !important;
}
#page-container #mm-home-story-component .mm-home-highlights li {
	counter-increment: mms;
	display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: baseline;
	margin: 0 !important; padding: 20px 0 !important;
	border: 0 !important; border-top: 1px solid rgba(94, 48, 35, .14) !important; list-style: none !important;
}
#page-container #mm-home-story-component .mm-home-highlights li:last-child { border-bottom: 1px solid rgba(94, 48, 35, .14) !important; }
#page-container #mm-home-story-component .mm-home-highlights li:before {
	content: counter(mms, decimal-leading-zero); grid-row: 1 / span 2;
	font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .18em; color: #b08d57;
}
#page-container #mm-home-story-component .mm-home-highlights strong {
	display: block; margin: 0 0 6px !important;
	font: 400 22px/1.2 var(--mmp-serif, 'Playfair Display', serif) !important; color: #5e3023 !important;
}
#page-container #mm-home-story-component .mm-home-highlights p {
	grid-column: 2; margin: 0 !important; padding: 0 !important;
	font: 400 14.5px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important;
}

/* actions */
#page-container #mm-home-story-component .mm-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

@media (max-width: 700px) {
	html.mm-premium body #page-container #main-content #mm-home-story-component .mm-home-story-copy h2#between-the-sea-and-the-pines { font-size: 30px !important; }
	#page-container #mm-home-story-component .mm-home-highlights li { grid-template-columns: 36px 1fr; }
	#page-container #mm-home-story-component .mm-home-highlights strong { font-size: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
	#page-container #mm-home-story-component * { transition: none !important; }
}

/* ---------- 12. Header: centred wordmark from 1400px, decided by CSS (no JS measuring) ----------
   Measured: the nav clears the centred wordmark by 28px+ from ~1385px wide. */
@media (min-width: 1400px) {
	html.mm-premium #maremons-main-menu > .et_pb_row { justify-content: flex-start !important; }
	html.mm-premium #maremons-main-menu .et_pb_menu__logo-wrap {
		position: absolute !important; left: 50% !important; top: 50% !important;
		transform: translate(-50%, -50%) !important; z-index: 2; margin: 0 !important;
	}
	html.mm-premium #maremons-main-menu .et_pb_menu__wrap { margin-left: 0 !important; justify-content: flex-start !important; }
	html.mm-premium #maremons-main-menu .et-menu > li:first-child > a { padding-left: 4px !important; }
	html.mm-premium #maremons-main-menu .et-menu > li:first-child > a:after { left: 4px !important; }
	html.mm-premium:not(.mm-no-center) .mm-wordmark { align-items: center; }
}

/* ---------- 13. Google Maps: placeholder until Marketing consent (maps-consent.js) ----------
   Same box as the map it stands in for: sand background, the map's radius and height. */
.mm-map-consent {
	box-sizing: border-box;
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px;
	padding: 28px 32px;
	background: #eedabd;
	color: #5e3023;
	text-align: left;
}
.mm-map-consent[hidden] { display: none; }
#mm-location-map .mm-map-consent { min-height: 352px; }
#mm-contact-map .mm-map-consent { min-height: 320px; }
#mm-escape-map .mm-map-consent { min-height: 288px; }
/* ids beat the pages' `.mm-*-section p` margins; Divi sets `p { order: 2 !important }`, so the button uses order 3 */
:is(#mm-location-map, #mm-contact-map, #mm-escape-map) .mm-map-consent p {
	max-width: 46ch; margin: 0 !important; padding: 0 !important;
	font: 400 14.5px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important;
}
:is(#mm-location-map, #mm-contact-map, #mm-escape-map) .mm-map-consent p.mm-map-consent-title { font: 400 22px/1.2 var(--mmp-serif, 'Playfair Display', serif) !important; color: #5e3023 !important; }
.mm-map-consent-settings {
	order: 3; margin-top: 6px; padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
	background: #5e3023; color: #f7efe3;
	font: 600 11.5px/1.2 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .14em; text-transform: uppercase;
	transition: background .4s cubic-bezier(.16, 1, .3, 1);
}
.mm-map-consent-settings:hover { background: #3f1f16; }
.mm-map-consent-settings:focus-visible { outline: 2px solid #5e3023; outline-offset: 4px; }
@media (max-width: 760px) {
	.mm-map-consent { padding: 22px 20px; }
	#mm-location-map .mm-map-consent, #mm-contact-map .mm-map-consent, #mm-escape-map .mm-map-consent { min-height: 248px; }
	:is(#mm-location-map, #mm-contact-map, #mm-escape-map) .mm-map-consent p.mm-map-consent-title { font-size: 20px !important; }
}

/* ---------- 14. Off-Season: Grga's Villa booking card, same language as the Mare booking card ---------- */
#mm-escape-booking .mm-villa-book {
	box-sizing: border-box; width: 88%; max-width: 1200px; margin: 0 auto;
	padding: 30px 34px 20px; border-radius: 28px;
	background: linear-gradient(180deg, rgb(251 247 241 / .97), rgb(247 239 227 / .97));
	box-shadow: 0 40px 90px -40px rgb(30 15 8 / .7), inset 0 0 0 1px rgb(176 141 87 / .28);
	color: #5e3023; font-family: var(--mmp-sans, 'DM Sans', Helvetica, Arial, sans-serif);
}
#mm-escape-booking .mm-villa-book p { padding: 0 !important; }
#mm-escape-booking .mm-villa-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; }
#mm-escape-booking .mm-villa-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 10px !important;
	font: 600 10.5px/1 var(--mmp-sans, 'DM Sans', sans-serif) !important; letter-spacing: .24em; text-transform: uppercase; color: #b08d57 !important;
}
#mm-escape-booking .mm-villa-eyebrow:before { content: ''; width: 22px; height: 1px; background: currentColor; }
#mm-escape-booking .mm-villa-title h2 {
	margin: 0 !important; padding: 0 !important;
	font: 400 34px/1.08 var(--mmp-serif, 'Playfair Display', Georgia, serif) !important; letter-spacing: -.01em !important; color: #5e3023 !important;
}
#mm-escape-booking .mm-villa-title h2 i { font-style: italic; color: #6e4b3e; }
#mm-escape-booking .mm-villa-lead { max-width: 58ch; margin: 10px 0 0 !important; font: 400 15px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important; }
#mm-escape-booking .mm-villa-crest {
	flex: 0 0 auto; box-sizing: border-box; width: 64px; height: 64px; padding: 6px; margin: 0;
	border-radius: 50%; background: #fff; object-fit: contain;
	box-shadow: 0 0 0 1px rgb(176 141 87 / .35), 0 10px 24px -14px rgb(60 30 15 / .45);
}

/* the white bar: three facts styled like the booking fields, then the button */
#mm-escape-booking .mm-villa-bar {
	display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch;
	padding: 6px; border-radius: 999px; background: #fff;
	box-shadow: 0 0 0 1px rgb(94 48 35 / .16), 0 12px 30px -18px rgb(60 30 15 / .35);
}
#mm-escape-booking .mm-villa-facts { display: contents; list-style: none !important; margin: 0 !important; padding: 0 !important; }
#mm-escape-booking .mm-villa-facts li {
	position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0;
	margin: 0 !important; padding: 11px 28px !important; list-style: none !important;
	font: 400 19px/24px var(--mmp-serif, 'Playfair Display', Georgia, serif); color: #5e3023; white-space: nowrap;
}
#mm-escape-booking .mm-villa-facts li span {
	display: block; margin: 0 0 5px; font: 600 10px/1.2 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .2em; text-transform: uppercase; color: #6e4b3e;
}
#mm-escape-booking .mm-villa-facts li + li:before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgb(94 48 35 / .16); }
#mm-escape-booking .mm-villa-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 9px 0 30px;
	border-radius: 999px; background: #5e3023; color: #f7efe3 !important; text-decoration: none !important; white-space: nowrap;
	font: 600 12px/1 var(--mmp-sans, 'DM Sans', sans-serif); letter-spacing: .14em; text-transform: uppercase;
	transition: background .5s cubic-bezier(.16, 1, .3, 1);
}
#mm-escape-booking .mm-villa-cta:hover { background: #3f1f16; }
#mm-escape-booking .mm-villa-cta:focus-visible { outline: 2px solid #5e3023; outline-offset: 4px; }
#mm-escape-booking .mm-villa-cta .mm-dot {
	width: 42px; height: 42px; border-radius: 50%; background: #eedabd; color: #5e3023;
	display: inline-grid; place-items: center; flex: 0 0 auto; transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
#mm-escape-booking .mm-villa-cta .mm-dot svg { width: 15px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#mm-escape-booking .mm-villa-cta:hover .mm-dot { transform: translateX(4px); }

/* footer: secure note left, help right; the welcome offer on its own line.
   Divi sets p { order: 2 !important }, so the grid places items explicitly. */
#mm-escape-booking .mm-villa-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; margin-top: 14px; padding: 0 8px; }
#mm-escape-booking .mm-villa-help { display: contents; }
#mm-escape-booking .mm-villa-foot p { order: 0 !important; max-width: none !important; }
#mm-escape-booking .mm-villa-note { grid-column: 1; grid-row: 1; }
#mm-escape-booking .mm-villa-help p:first-child { grid-column: 2; grid-row: 1; text-align: right; }
#mm-escape-booking .mm-villa-help p.mm-villa-offer { grid-column: 1 / -1; grid-row: 2; padding-top: 10px !important; border-top: 1px solid rgb(94 48 35 / .12); }
#mm-escape-booking .mm-villa-note,
#mm-escape-booking .mm-villa-help p { margin: 0 !important; font: 400 13px/1.6 var(--mmp-sans, 'DM Sans', sans-serif) !important; color: #6e4b3e !important; }
#mm-escape-booking .mm-villa-note { display: flex; align-items: center; gap: 8px; }
#mm-escape-booking .mm-villa-note:before {
	content: ''; width: 14px; height: 14px; flex: 0 0 14px; background: #b08d57;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Crect x='2.5' y='6' width='9' height='6.5' rx='1.5'/%3E%3Cpath d='M4.5 6V4.5a2.5 2.5 0 0 1 5 0V6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Crect x='2.5' y='6' width='9' height='6.5' rx='1.5'/%3E%3Cpath d='M4.5 6V4.5a2.5 2.5 0 0 1 5 0V6'/%3E%3C/svg%3E") center / contain no-repeat;
}
#mm-escape-booking .mm-villa-help a { color: #5e3023 !important; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(94 48 35 / .3); padding: 0 !important; }
#mm-escape-booking .mm-villa-help a:hover { text-decoration-color: #5e3023; }
#mm-escape-booking .mm-villa-offer svg { display: inline-block; width: 13px; height: 13px; margin-right: 7px; vertical-align: -2px; fill: none; stroke: #b08d57; stroke-width: 1.5; }
#mm-escape-booking .mm-villa-offer code { display: inline !important; padding: 0 !important; background: none !important; border: 0 !important; font: 600 1em/inherit var(--mmp-sans, 'DM Sans', sans-serif) !important; vertical-align: baseline !important; letter-spacing: .06em; color: #5e3023 !important; }

@media (max-width: 1150px) {
	#mm-escape-booking .mm-villa-facts li { padding: 11px 20px !important; }
	#mm-escape-booking .mm-villa-cta { padding-left: 22px; }
}
@media (max-width: 980px) {
	#mm-escape-booking .mm-villa-bar { grid-template-columns: 1fr 1fr 1fr; border-radius: 24px; }
	#mm-escape-booking .mm-villa-cta { grid-column: 1 / -1; margin-top: 6px; border-radius: 18px; justify-content: space-between; }
	#mm-escape-booking .mm-villa-foot { grid-template-columns: 1fr; }
	#mm-escape-booking .mm-villa-note { grid-row: 1; }
	#mm-escape-booking .mm-villa-help p:first-child { grid-column: 1; grid-row: 2; text-align: left; }
	#mm-escape-booking .mm-villa-help p.mm-villa-offer { grid-row: 3; }
}
@media (max-width: 760px) {
	#mm-escape-booking .mm-villa-book { width: calc(100% - 36px); padding: 22px 16px 16px; border-radius: 24px; }
	#mm-escape-booking .mm-villa-head { align-items: flex-start; margin-bottom: 16px; }
	#mm-escape-booking .mm-villa-title h2 { font-size: 26px !important; }
	#mm-escape-booking .mm-villa-lead { font-size: 14px !important; }
	#mm-escape-booking .mm-villa-crest { display: none; }
	#mm-escape-booking .mm-villa-note { align-items: flex-start; }
	#mm-escape-booking .mm-villa-note:before { margin-top: 3px; }
	#mm-escape-booking .mm-villa-bar { grid-template-columns: 1fr; border-radius: 20px; }
	#mm-escape-booking .mm-villa-facts li { padding: 12px 16px !important; font-size: 17px; }
	#mm-escape-booking .mm-villa-facts li + li:before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
	#mm-escape-booking .mm-villa-cta { min-height: 56px; border-radius: 16px; }
	#mm-escape-booking .mm-villa-foot { padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
	#mm-escape-booking .mm-villa-cta, #mm-escape-booking .mm-villa-cta .mm-dot { transition: none; }
}
