/* Eifel Dolce Vita: styling of MotoPress Hotel Booking
   (search bar, calendars, booking form, search results, checkout, confirmation). */

.mphb-calendar,
:root {
	--mphb-available-date-bg: #eef2ec;
	--mphb-available-date-color: #30423a;
	--mphb-not-available-date-bg: #e4ddd2;
	--mphb-not-available-date-color: #9a948b;
	--mphb-booked-date-bg: #e4ddd2;
	--mphb-booked-date-color: #9a948b;
	--mphb-out-of-season-date-bg: #e4ddd2;
	--mphb-out-of-season-date-color: #9a948b;
	--mphb-selected-date-bg: #4d6b5b;
	--mphb-selected-date-color: #ffffff;
	--mphb-unselectable-date-color: #9a948b;
}

/* ---------- Form fields (everywhere MotoPress prints a form) ---------- */
.mphb_sc_search-form,
.mphb-booking-form,
.mphb_sc_checkout-form,
.mphb_sc_booking_confirmation,
.mphb_sc_search_results-wrapper,
.mphb-room-type-wrapper {
	font-family: var(--sans);
	color: var(--ink);
}
.mphb_sc_search-form label,
.mphb-booking-form label,
.mphb_sc_checkout-form label,
.mphb-checkout-section label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--ink-soft);
	margin: 0 0 0.35rem;
}
.mphb_sc_search-form abbr,
.mphb-booking-form abbr,
.mphb_sc_checkout-form abbr {
	text-decoration: none;
	color: var(--rust);
	border: 0;
	margin-left: 2px;
}
.mphb_sc_search-form br,
.mphb-booking-form br,
.mphb_sc_checkout-form br { display: none; }

.mphb_sc_search-form input[type="text"],
.mphb_sc_search-form select,
.mphb-booking-form input[type="text"],
.mphb-booking-form select,
.mphb_sc_checkout-form input[type="text"],
.mphb_sc_checkout-form input[type="email"],
.mphb_sc_checkout-form input[type="tel"],
.mphb_sc_checkout-form input[type="number"],
.mphb_sc_checkout-form input[type="password"],
.mphb_sc_checkout-form select,
.mphb_sc_checkout-form textarea,
.mphb-checkout-section input[type="text"],
.mphb-checkout-section input[type="email"],
.mphb-checkout-section input[type="tel"],
.mphb-checkout-section select,
.mphb-checkout-section textarea,
.mphb_sc_booking_cancellation-form input[type="text"] {
	width: 100%;
	max-width: 100%;
	height: 3.2rem;
	padding: 0 1rem;
	border: 1px solid rgba(43, 43, 43, 0.22);
	border-radius: var(--radius);
	background-color: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.2;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
}
.mphb_sc_checkout-form textarea,
.mphb-checkout-section textarea { height: auto; min-height: 7rem; padding: 0.85rem 1rem; }
.mphb_sc_search-form select,
.mphb-booking-form select,
.mphb_sc_checkout-form select,
.mphb-checkout-section select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234d6b5b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.4rem;
}
.mphb_sc_search-form input:focus,
.mphb_sc_search-form select:focus,
.mphb-booking-form input:focus,
.mphb-booking-form select:focus,
.mphb_sc_checkout-form input:focus,
.mphb_sc_checkout-form select:focus,
.mphb_sc_checkout-form textarea:focus,
.mphb-checkout-section input:focus,
.mphb-checkout-section select:focus,
.mphb-checkout-section textarea:focus {
	outline: none;
	border-color: var(--sage-deep);
	box-shadow: 0 0 0 3px rgba(111, 143, 126, 0.3);
}
.mphb-datepick.is-datepick,
input.mphb-datepick { cursor: pointer; }
.mphb_sc_search-form p,
.mphb-booking-form p,
.mphb_sc_checkout-form p { margin: 0 0 1rem; }
.mphb-required-fields-tip { display: none; }
.mphb_sc_checkout-form .mphb-required-fields-tip { display: block; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.mphb_sc_search-form input[type="submit"],
.mphb_sc_search-form .button,
.mphb-booking-form input[type="submit"],
.mphb-booking-form .button,
.mphb_sc_checkout-form input[type="submit"],
.mphb_sc_checkout-form .button,
.mphb_sc_search_results-wrapper .button,
.mphb_sc_search_results-wrapper input[type="submit"],
.mphb-room-type-wrapper .button,
.mphb_sc_booking_confirmation .button,
.mphb_sc_booking_cancellation-form input[type="submit"],
.mphb-button,
a.mphb-button,
button.mphb-button,
.mphb-pay-button,
.mphb-confirm-reservation {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.2rem;
	padding: 0 1.8rem;
	border: 1px solid var(--rust);
	border-radius: var(--radius);
	background: var(--rust);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	text-shadow: none;
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
	width: auto;
	height: auto;
	line-height: 1.2;
	appearance: none;
	-webkit-appearance: none;
}
.mphb_sc_search-form input[type="submit"]:hover,
.mphb-booking-form input[type="submit"]:hover,
.mphb_sc_checkout-form input[type="submit"]:hover,
.mphb_sc_search_results-wrapper .button:hover,
.mphb-room-type-wrapper .button:hover,
.mphb_sc_booking_confirmation .button:hover,
.mphb-button:hover,
a.mphb-button:hover,
.mphb-pay-button:hover,
.mphb-confirm-reservation:hover {
	background: var(--rust-dark);
	border-color: var(--rust-dark);
	color: #fff;
}
.mphb-booking-form input[type="submit"],
.mphb_sc_search-form input[type="submit"] { width: 100%; }
.mphb_sc_checkout-form input[type="submit"][disabled],
.mphb-booking-form input[type="submit"][disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Search bar (front page hero + any [mphb_availability_search]) ---------- */
.mphb_sc_search-form {
	display: grid;
	grid-template-columns: 1.3fr 1.3fr 0.8fr 0.8fr auto;
	gap: 0 14px;
	align-items: end;
	margin: 0;
}
.mphb_sc_search-form > p { margin: 0; min-width: 0; }
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper { align-self: end; }
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper input { min-width: 9.5rem; height: 3.2rem; }
.mphb_sc_search-form .mphb_sc_search-adults select,
.mphb_sc_search-form .mphb_sc_search-children select { padding-right: 2.2rem; }
@media (max-width: 1020px) {
	.mphb_sc_search-form { grid-template-columns: 1fr 1fr 1fr 1fr; row-gap: 14px; }
	.mphb_sc_search-form .mphb_sc_search-check-in-date,
	.mphb_sc_search-form .mphb_sc_search-check-out-date { grid-column: span 2; }
	.mphb_sc_search-form .mphb_sc_search-adults,
	.mphb_sc_search-form .mphb_sc_search-children { grid-column: span 2; }
	.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper { grid-column: 1 / -1; }
	.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper input { width: 100%; }
}
@media (max-width: 520px) {
	.mphb_sc_search-form { grid-template-columns: 1fr 1fr; }
	.mphb_sc_search-form .mphb_sc_search-check-in-date,
	.mphb_sc_search-form .mphb_sc_search-check-out-date { grid-column: 1 / -1; }
	.mphb_sc_search-form .mphb_sc_search-adults,
	.mphb_sc_search-form .mphb_sc_search-children { grid-column: span 1; }
}
.booking-bar .mphb_sc_search-form label { color: var(--forest-2); }

/* ---------- Booking card on a home page ---------- */
.mphb-booking-form { display: block; }
.mphb-booking-form .mphb-adults-wrapper,
.mphb-booking-form .mphb-children-wrapper { display: inline-block; width: calc(50% - 7px); vertical-align: top; }
.mphb-booking-form .mphb-adults-wrapper { margin-right: 10px; }
.mphb-booking-form .mphb-reserve-btn-wrapper { margin: 0.4rem 0 0; }
.mphb-booking-form .mphb-errors-wrapper,
.mphb-errors-wrapper {
	margin: 0 0 1rem;
	padding: 0.8rem 1rem;
	border-left: 3px solid var(--rust);
	background: #f8ece4;
	color: #6d3517;
	font-size: 0.92rem;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.mphb-errors-wrapper.mphb-hide,
.mphb-hide { display: none; }
.mphb-booking-form .mphb-price-wrapper,
.mphb-room-type-wrapper .mphb-regular-price { font-family: var(--serif); }

/* ---------- Calendars (availability on a home page + date pickers) ---------- */
.mphb-calendar.mphb-datepick { max-width: 680px; margin: 0; }
.datepick,
.mphb-calendar .datepick,
.datepick-popup .datepick,
.mphb-datepick-popup.datepick {
	position: relative;
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 0.95rem;
	border: 1px solid rgba(48, 66, 58, 0.12);
	border-radius: 14px;
	box-shadow: none;
	padding: 18px 18px 14px;
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	overflow: visible;
}
.mphb-calendar .datepick { width: 100% !important; }
.datepick-popup .datepick,
.mphb-datepick-popup.datepick {
	border: 0;
	box-shadow: 0 30px 70px -20px rgba(48, 66, 58, 0.5), 0 0 0 1px rgba(48, 66, 58, 0.08);
	padding: 22px 22px 16px;
	z-index: 1100;
}
.datepick-popup { z-index: 1100 !important; }

/* arrows */
.datepick .datepick-nav { width: auto !important; position: absolute; top: 18px; left: 18px; right: 18px; height: 0; padding: 0; margin: 0; z-index: 3; overflow: visible; background: none; border: 0; }
.datepick-popup .datepick .datepick-nav { top: 22px; left: 22px; right: 22px; }
.datepick .datepick-cmd {
	background: transparent; color: var(--forest-2); border: 1px solid rgba(48, 66, 58, 0.18);
	border-radius: 50%; width: 36px; height: 36px; padding: 0; margin: 0; font-size: 0; position: relative;
	display: block; text-decoration: none; transition: background-color 0.2s, border-color 0.2s;
}
.datepick .datepick-cmd:hover { background: var(--taupe-soft); border-color: var(--sage); }
.datepick .datepick-cmd.datepick-disabled { opacity: 0.28; pointer-events: none; }
.datepick-cmd-prev { float: left; }
.datepick-cmd-next { float: right; }
.datepick-cmd-today, .datepick-cmd-clear, .datepick-cmd-close { display: none !important; }
.datepick .datepick-cmd-prev::before, .datepick .datepick-cmd-next::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px;
	border: solid var(--forest-2); border-width: 0 0 2px 2px; transform: translate(-30%, -50%) rotate(45deg);
}
.datepick .datepick-cmd-next::before { transform: translate(-70%, -50%) rotate(-135deg); }

/* months side by side */
.datepick-month-row { display: flex; gap: 26px; clear: both; }
.datepick .datepick-month { flex: 1 1 0; float: none; width: auto; min-width: 0; padding: 0; border: 0; background: none; }
.datepick-popup .datepick .datepick-month { flex: none; width: 19.5rem; }
.datepick .datepick-month-header {
	background: transparent; color: var(--forest); font-family: var(--serif); font-weight: 480;
	font-size: 1.2rem; text-align: center; padding: 4px 44px 14px; height: auto; line-height: 1.3;
}
.datepick .datepick-month-header select {
	appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--forest);
	font: inherit; cursor: pointer; padding: 0 2px; width: auto !important; display: inline-block !important; min-height: 0; height: auto;
}
.datepick .datepick-month table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 3px; margin: 0; }
.datepick .datepick-month th,
.datepick .datepick-month th span { font-size: 0.75rem; font-weight: 600; color: var(--sage); text-align: center; background: transparent; border: 0; padding: 2px 0 8px; cursor: default; letter-spacing: 0.04em; }
.datepick .datepick-month td { border: 0; padding: 0; text-align: center; background: transparent; position: relative; }

/* day cells */
.datepick .datepick-month td > span,
.datepick .datepick-month td > a,
.mphb-calendar td .mphb-date-cell {
	display: flex; align-items: center; justify-content: center;
	height: 2.6rem; min-height: 0; margin: 0;
	border-radius: 50%; aspect-ratio: 1; width: 2.6rem; margin-inline: auto;
	font-size: 0.95rem; font-weight: 500; text-decoration: none;
	color: var(--forest); background: transparent; border: 0; padding: 0; position: relative;
	transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.datepick .datepick-month td .mphb-extra-date,
.datepick .datepick-month td .datepick-other-month { background: transparent !important; }
.datepick .datepick-month td .datepick-weekend { font-weight: 500; }
/* free */
.mphb-calendar td .mphb-available-date,
.datepick-popup .datepick-month td .mphb-available-date,
.datepick-popup .datepick-month td a { background: transparent; color: var(--forest); }
.mphb-calendar td .mphb-available-date::after {
	content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sage); opacity: 0.55;
}
/* today */
.datepick .datepick-month td .datepick-today { color: var(--rust); font-weight: 700; }
/* past */
.datepick .datepick-month td .mphb-past-date,
.datepick-popup .datepick-month td .mphb-past-date { background: transparent !important; color: #c9c3b6 !important; text-decoration: none; }
.mphb-calendar td .mphb-past-date::after { display: none; }
/* booked / not available: soft hatched disc, struck through */
.mphb-calendar td .mphb-booked-date,
.mphb-calendar td .mphb-not-available-date,
.mphb-calendar td .mphb-earlier-min-date,
.mphb-calendar td .mphb-later-max-date,
.mphb-calendar td .mphb-out-of-season-date,
.datepick-popup .datepick-month td .mphb-booked-date:not(.mphb-selectable-date),
.datepick-popup .datepick-month td .mphb-not-available-date,
.datepick-popup .datepick-month td .mphb-unselectable-date,
.datepick-popup .datepick-month td .mphb-earlier-min-date {
	color: #aaa396 !important; cursor: not-allowed;
	background: repeating-linear-gradient(135deg, #efe8da 0 4px, #f7f2e7 4px 8px) !important;
	text-decoration: line-through; text-decoration-thickness: 1px;
}
.mphb-calendar td .mphb-booked-date::after,
.mphb-calendar td .mphb-not-available-date::after { display: none; }
.mphb-calendar td .mphb-date-check-in.mphb-available-date,
.mphb-calendar td .mphb-date-check-out.mphb-available-date { background: linear-gradient(135deg, #fff 0 50%, #efe8da 50% 100%) !important; text-decoration: none; color: var(--forest) !important; }
.mphb-calendar td .mphb-date-check-out { background: linear-gradient(135deg, #efe8da 0 50%, #fff 50% 100%) !important; }
.mphb-calendar td .mphb-date-check-in { background: linear-gradient(135deg, #fff 0 50%, #efe8da 50% 100%) !important; }
.mphb-calendar td .mphb-date-check-in, .mphb-calendar td .mphb-date-check-out { text-decoration: none; color: var(--forest) !important; }
.datepick-popup .datepick-month td .mphb-earlier-min-date,
.datepick-popup .datepick-month td .mphb-unselectable-date { opacity: 0.75; }
/* hover and choosing */
.mphb-calendar td .mphb-selectable-date--check-in:hover,
.mphb-calendar td .mphb-selectable-date--check-out:hover,
.datepick-popup .datepick-month td a:hover,
.datepick-popup .datepick-month td .mphb-selectable-date:hover { background: var(--sage) !important; color: #fff !important; cursor: pointer; transform: scale(1.06); }
/* chosen day(s) */
.datepick-popup .datepick-month td .datepick-selected,
.datepick-popup .datepick-month td a.datepick-highlight,
.datepick-popup .datepick-month td .mphb-selected-date,
.datepick-popup .datepick-month td .mphb-selected-date--check-in,
.datepick-popup .datepick-month td .mphb-selected-date--check-out,
.mphb-calendar td .mphb-selected-date,
.datepick-popup .datepick-month td .mphb-check-in-date {
	background: var(--forest) !important; color: #fff !important; text-decoration: none; opacity: 1; font-weight: 600;
}
.datepick-popup .datepick-month td .mphb-in-range { background: #e4ece4 !important; color: var(--forest) !important; border-radius: 0; width: 100%; aspect-ratio: auto; }
.datepick-popup .datepick-month td .mphb-in-range-last { background: var(--sage) !important; color: #fff !important; border-radius: 0 50% 50% 0; }
.mphb-calendar .mphb-date-cell__price { font-size: 0.6rem; opacity: 0.85; }
.datepick .datepick-month td .datepick-today.mphb-booked-date { color: #aaa396 !important; }

/* Legend printed under the calendar by the theme */
.edv-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--ink-soft); }
.edv-legend li { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.edv-legend i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 1px solid rgba(48, 66, 58, 0.25); }
.edv-legend .is-free { background: #fff; }
.edv-legend .is-booked { background: repeating-linear-gradient(135deg, #efe8da 0 3px, #f7f2e7 3px 6px); }
.edv-legend .is-pick { background: var(--forest); border-color: var(--forest); }

@media (max-width: 760px) {
	.mphb-calendar .datepick-month-row { flex-direction: column; gap: 14px; }
	.datepick-popup .datepick .datepick-month { width: 17.6rem; }
}
@media (max-width: 640px) {
	/* Phone: one month at a time, centred and exactly as wide as the screen (two side by side ran off the edge). */
	.datepick-popup, .mphb-datepick-popup.datepick { left: 50% !important; right: auto !important; transform: translateX(-50%); width: calc(100vw - 16px) !important; max-width: calc(100vw - 16px) !important; margin: 0 !important; box-sizing: border-box; }
	.datepick-popup .datepick { width: 100% !important; max-width: 100%; box-sizing: border-box; padding: 16px 12px 10px; }
	.datepick-popup .datepick-month-row { display: block; }
	.datepick-popup .datepick-month-row .datepick-month + .datepick-month { display: none !important; }
	.datepick-popup .datepick .datepick-month { width: 100%; }
	.datepick-popup .datepick .datepick-nav { top: 16px; left: 12px; right: 12px; }
}

/* ---------- Search results / room cards produced by MotoPress ---------- */
.mphb_sc_search_results-wrapper { margin: 0 auto; }
.mphb_sc_search_results-info,
.mphb_sc_search_results-wrapper > p {
	font-size: 1.05rem;
	color: var(--ink-soft);
	margin-bottom: 1.6rem;
}
.mphb_sc_search_results-info .mphb-nights-count,
.mphb_sc_search_results-info strong { color: var(--forest); }
.mphb_sc_search_results-wrapper .mphb-room-type,
.mphb-room-type.mphb_sc_rooms-room {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(20px, 3vw, 44px);
	padding: 0 0 clamp(26px, 3vw, 40px);
	margin: 0 0 clamp(26px, 3vw, 40px);
	border-bottom: 1px solid var(--line);
	align-items: start;
}
.mphb_sc_search_results-wrapper .mphb-room-type:last-child { border-bottom: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-images,
.mphb_sc_search_results-wrapper .mphb-room-type .post-thumbnail { grid-column: 1; grid-row: 1 / span 8; margin: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type > :not(.mphb-room-type-images):not(.post-thumbnail):not(.mphb-loop-room-thumbnail) { grid-column: 2; }
.mphb_sc_search_results-wrapper .mphb-room-type .mphb-loop-room-thumbnail { grid-column: 1; grid-row: 1 / span 8; margin: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type-title,
.mphb-room-type .mphb-room-type-title {
	font-family: var(--serif);
	font-weight: 420;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	margin: 0 0 0.4em;
}
.mphb-room-type-title a { color: var(--forest); text-decoration: none; }
.mphb-room-type-title a:hover { color: var(--sage-deep); }
.mphb-room-type img,
.mphb_sc_search_results-wrapper img { border-radius: 150px 150px 4px 4px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mphb-room-type .mphb-loop-room-thumbnail a { display: block; }
.mphb-room-type .mphb-room-type-details,
.mphb-room-type .mphb-single-room-type-attributes,
.mphb-room-type ul.mphb-loop-room-type-attributes {
	list-style: none;
	margin: 0 0 1.1rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	font-size: 0.95rem;
	color: var(--ink-soft);
}
.mphb-room-type .mphb-room-type-details li,
.mphb-room-type ul.mphb-loop-room-type-attributes li { margin: 0; }
.mphb-room-type .mphb-room-type-details .mphb-attribute-title,
.mphb-room-type ul.mphb-loop-room-type-attributes .mphb-attribute-title { font-weight: 600; color: var(--forest-2); }
.mphb-room-type .mphb-regular-price,
.mphb-room-type .mphb-price-wrapper,
.mphb-reserve-room-section .mphb-regular-price { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1rem; }
.mphb-room-type .mphb-price,
.mphb-price { font-family: var(--serif); font-size: 1.25em; font-weight: 500; color: var(--forest); }
.mphb-price-period { color: var(--ink-soft); font-size: 0.9rem; }
.mphb-room-type .mphb-view-details-button { display: inline-block; color: var(--forest-2); font-weight: 600; margin-right: 1.4rem; }

.mphb-reserve-room-section,
.mphb-rooms-quantity-wrapper,
.mphb-reserve-room-section .mphb-rooms-quantity-wrapper { margin: 1.2rem 0 0; padding: 1.1rem 1.2rem; background: var(--taupe-soft); border-radius: var(--radius); }
.mphb-reserve-room-section .mphb-rooms-quantity { width: 5.2rem; display: inline-block; margin-right: 0.8rem; }
.mphb-rooms-reservation-message-wrapper,
.mphb-rooms-reservation-message { margin: 0.8rem 0 0; font-weight: 600; color: var(--forest-2); }
.mphb_sc_search_results-wrapper .mphb-reservation-cart,
.mphb-reservation-cart { margin: 2rem 0 0; padding: 1.4rem; background: var(--taupe-soft); border-radius: var(--radius); }
.mphb-reserve-rooms-details { margin-top: 1.4rem; }

@media (max-width: 820px) {
	.mphb_sc_search_results-wrapper .mphb-room-type,
	.mphb-room-type.mphb_sc_rooms-room { grid-template-columns: 1fr; }
	.mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-images,
	.mphb_sc_search_results-wrapper .mphb-room-type .post-thumbnail,
	.mphb_sc_search_results-wrapper .mphb-room-type .mphb-loop-room-thumbnail,
	.mphb_sc_search_results-wrapper .mphb-room-type > :not(.mphb-room-type-images):not(.post-thumbnail):not(.mphb-loop-room-thumbnail) { grid-column: 1; grid-row: auto; }
}

/* ---------- Checkout ---------- */
.mphb_sc_checkout-form,
.mphb_sc_checkout-wrapper { max-width: 100%; }
.mphb-checkout-section { margin: 0 0 clamp(26px, 3vw, 42px); padding: 0; border: 0; }
.mphb-checkout-section > h3,
.mphb-checkout-section h3,
.mphb_sc_checkout-form h3,
.mphb-booking-details > h3,
.mphb-price-breakdown-title,
.mphb_sc_booking_confirmation h3,
.mphb_sc_booking_confirmation h2 {
	font-family: var(--serif);
	font-weight: 420;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	margin: 0 0 0.8em;
	color: var(--forest);
}
.mphb_sc_checkout-form .mphb-booking-details,
.mphb-booking-details {
	padding: clamp(18px, 2.4vw, 30px);
	background: var(--taupe-soft);
	border-radius: 6px;
	margin-bottom: clamp(26px, 3vw, 42px);
}
.mphb-booking-details p,
.mphb-booking-details li { margin: 0 0 0.45rem; list-style: none; }
.mphb-booking-details ul { padding: 0; margin: 0; }
.mphb-booking-details .mphb-check-in-date,
.mphb-booking-details .mphb-check-out-date,
.mphb-booking-details .mphb-booking-price { font-size: 1rem; }
.mphb-booking-details .mphb-booking-price strong,
.mphb-booking-details .mphb-price { font-family: var(--serif); }
.mphb-booking-details .mphb-price-breakdown-expand { color: var(--sage-deep); cursor: pointer; font-weight: 600; margin-left: 0.5rem; }
.mphb-customer-details > p,
.mphb-checkout-section > p { margin-bottom: 1.1rem; }
.mphb_sc_checkout-form .mphb-customer-details .mphb-customer-name,
.mphb_sc_checkout-form .mphb-customer-details p { max-width: 36rem; }
.mphb-customer-details p.mphb-customer-email,
.mphb-customer-details p.mphb-customer-phone { max-width: 36rem; }
.mphb-reserve-room-section .mphb-room-details { font-size: 0.95rem; }
.mphb-reserve-room-section .mphb-adults-chooser,
.mphb-reserve-room-section .mphb-children-chooser { display: inline-block; margin-right: 1.2rem; }
.mphb-services-details .mphb-room-service,
.mphb-services-details ul { list-style: none; padding: 0; margin: 0; }
.mphb-services-details li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }

.mphb_sc_checkout-form input[type="checkbox"],
.mphb_sc_checkout-form input[type="radio"],
.mphb-checkout-section input[type="checkbox"],
.mphb-checkout-section input[type="radio"] {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0 0.55rem 0 0;
	accent-color: var(--sage-deep);
	vertical-align: -0.2em;
}
.mphb_sc_checkout-form label:has(> input[type="checkbox"]),
.mphb_sc_checkout-form label:has(> input[type="radio"]) { display: flex; align-items: flex-start; font-size: 0.97rem; font-weight: 500; color: var(--ink); }
.mphb_sc_checkout-form label:has(> input[type="checkbox"]) input,
.mphb_sc_checkout-form label:has(> input[type="radio"]) input { margin-top: 0.3em; flex: none; }

.mphb-gateway-chooser-list,
.mphb_sc_checkout-form .mphb-gateways-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.mphb-gateway { padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.6rem; background: #fff; }
.mphb-gateway-description { font-size: 0.92rem; color: var(--ink-soft); margin: 0.5rem 0 0; }
.mphb-total-price,
.mphb-total-price-field { font-family: var(--serif); font-size: 1.35rem; color: var(--forest); }
.mphb-total-price-field { display: inline-block; }
.mphb-deposit-amount { font-size: 1rem; color: var(--ink-soft); }
.mphb-coupon-section input[type="text"] { max-width: 22rem; display: inline-block; }
.mphb-coupon-section .button { margin-left: 0.5rem; }

/* ---------- Price breakdown, tables ---------- */
.mphb-price-breakdown,
table.mphb-price-breakdown {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0 1.4rem;
	font-size: 0.95rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 6px;
	overflow: hidden;
}
.mphb-price-breakdown th,
.mphb-price-breakdown td { padding: 0.75rem 1rem; text-align: left; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mphb-price-breakdown th { font-weight: 600; color: var(--forest-2); background: var(--taupe-soft); }
.mphb-price-breakdown tr:last-child td,
.mphb-price-breakdown tr:last-child th { border-bottom: 0; }
.mphb-price-breakdown .mphb-price-breakdown-total th,
.mphb-price-breakdown .mphb-price-breakdown-total td { font-family: var(--serif); font-size: 1.1rem; background: var(--taupe-soft); }
.mphb-price-breakdown .mphb-price-breakdown-rate,
.mphb-price-breakdown ul { margin: 0; padding: 0; list-style: none; }
.mphb-price-breakdown-group { margin-bottom: 0.6rem; }
.mphb_sc_checkout-form table,
.mphb_sc_booking_confirmation table,
.mphb-booking-details table { width: 100%; border-collapse: collapse; }
.mphb_sc_booking_confirmation table th,
.mphb_sc_booking_confirmation table td { padding: 0.65rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); }

/* ---------- Messages ---------- */
.mphb-errors-wrapper ul,
.mphb_sc_checkout-form .mphb-errors-wrapper ul { margin: 0; padding-left: 1.1rem; }
.mphb-checkout-section .mphb-errors-wrapper { margin-top: 0; }
.mphb_sc_booking_confirmation .mphb-confirmation-message,
.mphb-booking-confirmation-message,
.mphb_sc_booking_confirmation > p:first-child {
	padding: 1rem 1.2rem;
	background: #eaf0eb;
	border-left: 3px solid var(--sage-deep);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--forest);
}
.mphb_sc_booking_confirmation ul.mphb-booking-details,
.mphb_sc_booking_confirmation .mphb-booking-details { margin-top: 1.4rem; }
.mphb-booking-notice,
.mphb-notice,
.mphb_sc_search_results-wrapper .mphb-empty-results,
p.mphb-empty { padding: 1rem 1.2rem; background: var(--taupe-soft); border-radius: var(--radius); color: var(--ink-soft); }

/* ---------- Sticky booking card on the home page ---------- */
.home-booking .mphb-booking-form { margin: 0; }
.home-booking h2,
.home-booking .mphb-price-wrapper { font-family: var(--serif); }

/* Datepicker popup must always sit above the sticky header */
.datepick-popup { z-index: 1100 !important; }

/* MotoPress loading indicator */
.mphb-ajax-preloader,
.mphb-preloader { opacity: 0.7; }

@media (max-width: 520px) {
	.mphb-booking-form .mphb-adults-wrapper,
	.mphb-booking-form .mphb-children-wrapper { width: 100%; display: block; margin-right: 0; }
}


/* Booking pages use the full width */
.prose.prose--booking { max-width: 980px; }
.prose--booking > * + * { margin-top: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type { row-gap: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-images { grid-row: 1 / span 12; align-self: start; }
.mphb_sc_search_results-wrapper .mphb-room-type img { border-radius: 4px; aspect-ratio: 4 / 3; }
.mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-title { margin-top: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-title + * { margin-top: 0; }
.mphb_sc_search_results-wrapper .mphb-room-type h2.mphb-room-type-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.mphb_sc_search_results-wrapper .mphb-room-type-details-title,
.mphb_sc_search_results-wrapper .mphb-room-type h3 { font-size: 1.05rem; margin: 1.2rem 0 0.5rem; }
.mphb_sc_search_results-wrapper .mphb-room-type-details { display: block; }
.mphb_sc_search_results-wrapper .mphb-room-type-details li,
.mphb_sc_search_results-wrapper .mphb-room-type-details p { font-size: 0.95rem; margin: 0 0 0.4rem; }
.mphb_sc_search_results-wrapper .mphb-room-type-details a { text-decoration: none; border: 0; color: inherit; }
.mphb_sc_search_results-wrapper .mphb-room-type-details abbr { border: 0; text-decoration: none; }
.mphb_sc_search_results-wrapper a.mphb-view-details-button,
.mphb-room-type a.mphb-view-details-button {
	background: transparent; color: var(--forest-2); border: 1px solid var(--forest-2);
	min-height: 2.8rem; padding: 0 1.4rem; display: inline-flex; align-items: center; border-radius: var(--radius); font-weight: 600; text-decoration: none; margin: 0 0.6rem 0 0;
}
.mphb-room-type a.mphb-view-details-button:hover { background: var(--forest-2); color: #fff; }
.mphb-recommendation-details-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.mphb-recommendation-item { display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; align-items: baseline; }
.mphb-recommedation-item-subtotal { order: 3; margin-left: auto; }
.mphb-recommendation-item-guests { flex-basis: 100%; order: 4; color: var(--ink-soft); }
.mphb-recommendation-title { font-size: 1.5rem; }
.mphb-recommendation { padding: 1.4rem 1.6rem; background: var(--taupe-soft); border-radius: 6px; margin: 0 0 1.4rem; }
.mphb-recommendation-total { text-align: right; margin: 0.6rem 0 1rem; }
.mphb-recommendation-reserve-button { float: right; }
.mphb-reservation-cart.mphb-empty-cart .mphb-confirm-reservation,
.mphb-reservation-cart.mphb-empty-cart .mphb-cart-total-price { display: none; }
.mphb-reservation-cart .mphb-empty-cart-message { margin: 0; }
.mphb-reservation-cart .mphb-reservation-details p { margin-bottom: 0.5rem; }
.mphb-room-type .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.mphb-room-type .flex-direction-nav a { color: transparent; }
.mphb-room-type .flexslider { border: 0; margin: 0; background: none; box-shadow: none; }
.mphb-room-type .flex-direction-nav a:before { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
/* One clean photo per result (no slider arrows or cloned slides) */
.mphb-room-type-images .gallery-item.clone { display: none !important; }
.mphb-room-type-images .flex-viewport .gallery-item:not(.flex-active-slide) { display: none !important; }
.mphb-room-type-images .flex-viewport { height: auto !important; }
.mphb-room-type-images .slides { transform: none !important; width: 100% !important; }
.mphb-room-type-images .slides li { width: 100% !important; float: none !important; }
.mphb-room-type-images .flex-direction-nav, .mphb-room-type-images .flex-control-nav { display: none; }
.mphb-room-type-images .gallery-icon, .mphb-room-type-images .gallery-icon a { display: block; }


/* Guests side by side in the booking card */
.mphb-booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mphb-booking-form > * { grid-column: 1 / -1; }
.mphb-booking-form .mphb-adults-wrapper, .mphb-booking-form .mphb-children-wrapper { grid-column: auto; display: block; width: auto; margin: 0 0 1rem; }
.mphb-booking-form .mphb-adults-wrapper:only-of-type { grid-column: 1 / -1; }

/* Empty filler cells and days that cannot be chosen */
.datepick .datepick-month td .mphb-extra-date,
.datepick .datepick-month td .datepick-other-month { background: none !important; visibility: hidden; text-decoration: none; }
.datepick-popup .datepick-month td .mphb-past-date,
.datepick-popup .datepick-month td .mphb-earlier-min-date,
.datepick-popup .datepick-month td .mphb-unselectable-date,
.datepick-popup .datepick-month td .mphb-not-available-date,
.datepick-popup .datepick-month td .mphb-booked-date:not(.mphb-selectable-date) {
	background: none !important; text-decoration: none; color: #c9c3b6 !important; opacity: 1;
}
.datepick-popup .datepick-month td .mphb-booked-date:not(.mphb-selectable-date),
.datepick-popup .datepick-month td .mphb-not-available-date { text-decoration: line-through; }
.datepick-popup .datepick-month td .mphb-check-in-date { background: var(--forest) !important; color: #fff !important; text-decoration: none; }
.mphb-calendar.mphb-datepick, .mphb-calendar.inlinePicker { height: auto !important; overflow: visible; }
.mphb-calendar td .mphb-date-check-in, .mphb-calendar td .mphb-date-check-out { box-shadow: inset 0 0 0 1px rgba(48, 66, 58, 0.16); }
.mphb-calendar td .mphb-date-check-in { background: linear-gradient(135deg, #fff 0 50%, #e9e0cf 50% 100%) !important; }
.mphb-calendar td .mphb-date-check-out { background: linear-gradient(135deg, #e9e0cf 0 50%, #fff 50% 100%) !important; }
.datepick .datepick-month-row, .datepick .datepick-month, .datepick-multi { height: auto !important; min-height: 0; }
.mphb-calendar .datepick-month table, .datepick .datepick-month table { height: auto !important; } .datepick .datepick-month, .datepick .datepick-month-row { overflow: visible !important; }

/* ---------- Checkout ---------- */
.page-head--booking { padding: clamp(2.2rem, 4.5vw, 3.6rem) 0 clamp(1.4rem, 2.6vw, 2rem); }
.page-head--booking .page-head__title { font-size: clamp(2rem, 3.8vw, 3rem); }
.steps { display: flex; flex-wrap: wrap; gap: 0.6rem 0; list-style: none; margin: 1.6rem 0 0; padding: 0; font-size: 0.95rem; color: var(--ink-soft); }
.steps li { display: flex; align-items: center; gap: 0.65rem; margin-right: 1.1rem; }
.steps li + li::before { content: ""; width: clamp(24px, 5vw, 64px); height: 1px; background: rgba(48, 66, 58, 0.3); margin-right: 1.1rem; }
.steps li span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(48, 66, 58, 0.35); font-size: 0.82rem; font-weight: 600; color: var(--forest-2); background: transparent; }
.steps li.is-current { color: var(--forest); font-weight: 600; }
.steps li.is-current span { background: var(--forest); border-color: var(--forest); color: #fff; }
.steps li.is-done span { background: var(--sage); border-color: var(--sage); color: #fff; }

.prose.prose--booking:has(.mphb_sc_checkout-form) { max-width: 1160px; }
.edv-co { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.edv-co__main { display: grid; gap: 22px; }
.edv-co__main .mphb-checkout-section,
.edv-co__main .mphb-booking-details {
	margin: 0; padding: clamp(22px, 2.6vw, 34px); background: #fff; border: 1px solid rgba(48, 66, 58, 0.12);
	border-radius: 14px; box-shadow: 0 18px 40px -34px rgba(48, 66, 58, 0.6);
}
.edv-co__main h3, .edv-co__main .mphb-booking-details-title { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; margin: 0 0 1.1rem; color: var(--forest); }
.edv-co__main .mphb-booking-details.is-guests > p.mphb-check-in-date,
.edv-co__main .mphb-booking-details.is-guests > p.mphb-check-out-date,
.edv-co__main .mphb-booking-details.is-guests .mphb-room-number,
.edv-co__main .mphb-booking-details.is-guests .mphb-room-type-title { display: none; }
.edv-co__main .mphb-booking-details .mphb-room-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.edv-co__main .mphb-booking-details .mphb-room-details > * { grid-column: 1 / -1; margin: 0 0 1rem; }
.edv-co__main .mphb-booking-details .mphb-adults-chooser, .edv-co__main .mphb-booking-details .mphb-children-chooser { grid-column: auto; display: block; margin-right: 0; }
.edv-co__main .mphb-booking-details .mphb-room-details > p:last-child { margin-bottom: 0; }
.edv-co__main .mphb-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.edv-co__main .mphb-customer-details > * { grid-column: 1 / -1; margin: 0 0 1rem; }
.edv-co__main .mphb-customer-details > p.mphb-customer-name,
.edv-co__main .mphb-customer-details > p.mphb-customer-first-name,
.edv-co__main .mphb-customer-details > p.mphb-customer-last-name,
.edv-co__main .mphb-customer-details > p.mphb-customer-email,
.edv-co__main .mphb-customer-details > p.mphb-customer-phone { grid-column: auto; }
.edv-co__main .mphb-customer-details > h3, .edv-co__main .mphb-customer-details > .mphb-required-fields-tip { grid-column: 1 / -1; }
.edv-co__main input[type="text"], .edv-co__main input[type="email"], .edv-co__main input[type="tel"], .edv-co__main select, .edv-co__main textarea { max-width: none !important; background-color: #fcfbf7; }
.edv-co__main .mphb-required-fields-tip { margin: -0.6rem 0 1rem; }

.edv-co__aside {
	position: sticky; top: calc(var(--header-h) + 20px); padding: 0; overflow: hidden; background: #fff;
	border: 1px solid rgba(48, 66, 58, 0.12); border-radius: 14px; box-shadow: 0 30px 60px -38px rgba(48, 66, 58, 0.7);
}
.edv-co__aside > :not(.edv-sum) { margin-left: clamp(20px, 2.4vw, 30px); margin-right: clamp(20px, 2.4vw, 30px); }
.edv-sum img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.edv-sum__body { padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 30px) 4px; }
.edv-sum__label { margin: 0 0 0.2rem; font-size: 0.85rem; color: var(--sage-deep); font-weight: 600; }
.edv-sum__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 450; line-height: 1.2; margin: 0 0 1rem; color: var(--forest); }
.edv-sum__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.edv-sum__date { display: flex; flex-direction: column; padding: 0.8rem 0.95rem; background: var(--taupe-soft); border-radius: 10px; line-height: 1.35; }
.edv-sum__date span { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }
.edv-sum__date strong { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; color: var(--forest); }
.edv-sum__date small { font-size: 0.8rem; color: var(--ink-soft); }
.edv-sum__nights { margin: 0.8rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.edv-co__aside .mphb-room-price-breakdown-wrapper { margin-top: 1.2rem; margin-bottom: 0.4rem; border: 0; padding: 0; background: none; box-shadow: none; }
.edv-co__aside .mphb-price-breakdown-title { font-family: var(--serif); font-weight: 450; font-size: 1.2rem; margin: 0 0 0.3rem; }
.edv-co__aside .mphb-price-breakdown { border: 0; margin: 0; background: transparent; border-radius: 0; }
.edv-co__aside .mphb-price-breakdown th, .edv-co__aside .mphb-price-breakdown td { padding: 0.55rem 0; background: transparent; font-size: 0.95rem; }
.edv-co__aside .mphb-price-breakdown .mphb-price-breakdown-total th, .edv-co__aside .mphb-price-breakdown .mphb-price-breakdown-total td { display: none; }
.edv-co__aside .mphb-price-breakdown-booking td:last-child { text-align: right; }
.edv-co__aside .mphb-total-price { display: block; margin-top: 0.6rem; margin-bottom: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; }
.edv-co__aside .mphb-total-price output { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink-soft); }
.edv-co__aside .mphb-total-price-field { font-size: 1.7rem; }
.edv-co__aside .mphb_sc_checkout-submit-wrapper { margin-bottom: 0; }
.edv-co__aside .mphb_sc_checkout-submit-wrapper input[type="submit"] { width: 100%; min-height: 3.6rem; font-size: 1.05rem; }
.edv-co__aside .mphb-errors-wrapper { margin-bottom: 1rem; }
.edv-sum__help { margin: 1rem clamp(20px, 2.4vw, 30px) 0 !important; padding: 1rem 0 1.4rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.edv-sum__help a { color: var(--forest); font-weight: 600; white-space: nowrap; }
.edv-pristine .mphb-errors-wrapper { display: none !important; }
.mphb-errors-wrapper:empty { display: none; }

/* Payment methods and terms */
.edv-co__main .mphb-billing-details, .edv-co__main .mphb-gateway-chooser-list { margin: 0; }
.edv-co__main .mphb-gateway { padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.6rem; background: #fcfbf7; }
.edv-co__main .mphb-gateway label { margin: 0; color: var(--forest); font-weight: 600; font-size: 1rem; }
.edv-co__main .mphb-terms-and-conditions-link, .edv-co__main .mphb-terms-wrapper label { font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.edv-co__main .mphb-terms-wrapper { margin-top: 0.4rem; }

@media (max-width: 900px) {
	.edv-co { grid-template-columns: 1fr; }
	.edv-co__aside { position: static; order: 1; }
	.edv-co__main .mphb-customer-details, .edv-co__main .mphb-booking-details .mphb-room-details { grid-template-columns: 1fr; }
	.edv-co__main .mphb-customer-details > p.mphb-customer-name, .edv-co__main .mphb-customer-details > p.mphb-customer-first-name, .edv-co__main .mphb-customer-details > p.mphb-customer-last-name,
	.edv-co__main .mphb-customer-details > p.mphb-customer-email, .edv-co__main .mphb-customer-details > p.mphb-customer-phone { grid-column: 1 / -1; }
}
.prose .edv-sum__title { margin: 0 0 1rem; } .prose .edv-co__main h3, .prose .edv-co__aside h4 { margin-top: 0; }

/* Payment methods: one tidy card per method, with its icons */
.edv-co__main .mphb-gateways-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.7rem; }
.edv-co__main .mphb-gateway { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 0.9rem; row-gap: 0.15rem; padding: 1rem 1.2rem; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.edv-co__main .mphb-gateway:hover { border-color: #c9c2ae; }
.edv-co__main .mphb-gateway:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); background: #fcfbf7; }
.edv-co__main .mphb-gateway input[type="radio"] { grid-column: 1; grid-row: 1 / span 2; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--forest); }
.edv-co__main .mphb-gateway label { grid-column: 2; grid-row: 1; cursor: pointer; line-height: 1.3; }
.edv-co__main .mphb-gateway label::after { content: ""; position: absolute; inset: 0; }
.edv-co__main .mphb-gateway .mphb-gateway-description { grid-column: 2; grid-row: 2; margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.edv-co__main .mphb-gateway::after { content: ""; grid-column: 3; grid-row: 1 / span 2; justify-self: end; height: 28px; background-repeat: no-repeat; background-position: left center; background-size: contain; }
.edv-co__main .mphb-gateway-paypal::after { width: 92px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 92 28%22%3E%3Ctext x=%222%22 y=%2221%22 font-family=%22Arial%2CHelvetica%2Csans-serif%22 font-weight=%22800%22 font-style=%22italic%22 font-size=%2219%22 fill=%22%23003087%22%3EPay%3C/text%3E%3Ctext x=%2235%22 y=%2221%22 font-family=%22Arial%2CHelvetica%2Csans-serif%22 font-weight=%22800%22 font-style=%22italic%22 font-size=%2219%22 fill=%22%230070e0%22%3EPal%3C/text%3E%3C/svg%3E"); }
.edv-co__main .mphb-gateway-stripe::after { width: 210px; height: 30px; background-size: 48px 30px, 48px 30px, 48px 30px, 48px 30px; background-repeat: no-repeat; background-position: 0 0, 54px 0, 108px 0, 162px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 30%22%3E%3Crect x=%22.5%22 y=%22.5%22 width=%2247%22 height=%2229%22 rx=%224%22 fill=%22%23fff%22 stroke=%22%23d9d4c7%22/%3E%3Crect x=%224%22 y=%224%22 width=%2240%22 height=%2222%22 rx=%223%22 fill=%22%23cc0066%22/%3E%3Ctext x=%2224%22 y=%2219.5%22 text-anchor=%22middle%22 font-family=%22Arial%2CHelvetica%2Csans-serif%22 font-weight=%22800%22 font-size=%2211%22 fill=%22%23fff%22%3EiDEAL%3C/text%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 30%22%3E%3Crect x=%22.5%22 y=%22.5%22 width=%2247%22 height=%2229%22 rx=%224%22 fill=%22%23fff%22 stroke=%22%23d9d4c7%22/%3E%3Ctext x=%2224%22 y=%2221%22 text-anchor=%22middle%22 font-family=%22Arial%2CHelvetica%2Csans-serif%22 font-weight=%22800%22 font-style=%22italic%22 font-size=%2214%22 fill=%22%231a1f71%22%3EVISA%3C/text%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 30%22%3E%3Crect x=%22.5%22 y=%22.5%22 width=%2247%22 height=%2229%22 rx=%224%22 fill=%22%23fff%22 stroke=%22%23d9d4c7%22/%3E%3Ccircle cx=%2219%22 cy=%2215%22 r=%228%22 fill=%22%23eb001b%22/%3E%3Ccircle cx=%2229%22 cy=%2215%22 r=%228%22 fill=%22%23f79e1b%22 fill-opacity=%22.9%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 30%22%3E%3Crect x=%22.5%22 y=%22.5%22 width=%2247%22 height=%2229%22 rx=%224%22 fill=%22%232e77bc%22/%3E%3Ctext x=%2224%22 y=%2219.5%22 text-anchor=%22middle%22 font-family=%22Arial%2CHelvetica%2Csans-serif%22 font-weight=%22800%22 font-size=%2210.5%22 fill=%22%23fff%22%3EAMEX%3C/text%3E%3C/svg%3E"); }
.edv-co__main .mphb-billing-fields { position: relative; margin: 0.4rem 0 0; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.edv-co__main .mphb-billing-fields.mphb-billing-fields-hidden { display: none; }
.edv-co__main .mphb-billing-fields::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 0 0.6rem; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%236b7a6a%22 stroke-width=%221.5%22%3E%3Crect x=%223%22 y=%227%22 width=%2210%22 height=%227%22 rx=%221.5%22/%3E%3Cpath d=%22M5 7V5a3 3 0 0 1 6 0v2%22/%3E%3C/svg%3E") no-repeat; }
.edv-co__main .mphb-billing-fields.edv-loading { min-height: 7.5rem; }
.edv-co__main .mphb-billing-fields.edv-loading > * { opacity: .25; }
.edv-co__main .mphb-billing-fields.edv-loading::after { content: attr(data-loading); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding-left: 1.7rem; font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap; background: radial-gradient(circle, transparent 5px, transparent 0) no-repeat; }
.edv-co__main .mphb-billing-fields.edv-loading::before { position: absolute; left: calc(50% - 4.2rem); top: calc(50% - 8px); margin: 0; border: 2px solid #d9d4c7; border-top-color: var(--forest); border-radius: 50%; background: none; animation: edv-spin .8s linear infinite; }
@keyframes edv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .edv-co__main .mphb-billing-fields.edv-loading::before { animation: none; } }
@media (max-width: 560px) {
	.edv-co__main .mphb-gateway { grid-template-columns: auto 1fr; }
	.edv-co__main .mphb-gateway::after { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 0.5rem; }
}

/* Checkout guests: babies and children's ages */
.edv-co__main .edv-child-ages { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.edv-co__main .edv-child-ages p { margin: 0 0 1rem; }
.edv-co__main .edv-babies-chooser select, .edv-co__main .edv-child-ages select { width: 100%; }
@media (max-width: 560px) { .edv-co__main .edv-child-ages { grid-template-columns: 1fr; } }
.edv-co__main .mphb-booking-details .edv-babies-chooser { grid-column: auto; display: block; margin-right: 0; }
.edv-co__main .mphb-booking-details .mphb-children-chooser { grid-column: 1; }
.edv-co__main .mphb-booking-details .edv-child-ages { grid-column: 1 / -1; margin: 0; }
.edv-co__main .mphb-booking-details .edv-children-chooser { grid-column: 1; display: block; margin-right: 0; }
.edv-co__main .edv-children-chooser select { width: 100%; }

