/*
Theme Name: Albatross VHM Material
Template: albatross
Description: Vendégházmester booking pages in Material 3 style: mobile first, dense, works inside an iframe. Presentation only; logic is in the vhm-core mu-plugin.
Author: Vendégházmester
Author URI: https://vendeghazmester.hu
Version: 1.0.0
Text Domain: albatross-vhm-material
*/

/* ==========================================================================
   0. Contents
   1. Tokens          5. Search form        9.  Checkout
   2. Base / layout   6. Search results    10.  Footer
   3. Fields          7. Room cards        11.  Embedded (iframe) mode
   4. Buttons         8. Action bar        12.  Carried over from albatross-vhm-child
                                           13.  Calendar
   Component rules are scoped with #page (the Albatross site wrapper): one ID outweighs the
   long class chains in Albatross, MotoPress and mphb-styles, so no !important is needed.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
	/* Brand: the Albatross green and salmon. Override per site in Customizer → Additional CSS. */
	--vhm-primary: #455d58;
	--vhm-on-primary: #fff;
	--vhm-primary-container: #d3e6e0;
	--vhm-on-primary-container: #0f2a25;
	--vhm-secondary-container: #ffdad4;
	--vhm-on-secondary-container: #3d0f0a;
	--vhm-surface: #faf7f2;
	--vhm-surface-card: #fff;
	--vhm-surface-low: #f4f0ea;
	--vhm-surface-high: #ebe6df;
	--vhm-on-surface: #1d1c1a;
	--vhm-on-surface-variant: #4b504d;
	--vhm-outline: #7a807c;
	--vhm-outline-variant: #cdd0cc;
	--vhm-error: #b3261e;

	/* Corners: kept small on purpose (fields, buttons, cards) */
	--vhm-radius-s: 4px;
	--vhm-radius-m: 6px;
	--vhm-radius-l: 8px;
	--vhm-radius-btn: 6px;
	--vhm-elev-1: 0 1px 2px rgba(0, 0, 0, .12), 0 1px 3px 1px rgba(0, 0, 0, .06);
	--vhm-elev-2: 0 1px 2px rgba(0, 0, 0, .14), 0 2px 6px 2px rgba(0, 0, 0, .08);
	--vhm-elev-up: 0 -2px 10px rgba(0, 0, 0, .10);

	--vhm-gap: 12px;
	--vhm-pad: 16px;            /* page side padding on phones */
	--vhm-field-h: 56px;
	--vhm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Material Symbols (flat, one colour via mask) */
	--vhm-i-group: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
	--vhm-i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
	--vhm-i-child: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7.5a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5zM10.25 9h3.5c.97 0 1.75.78 1.75 1.75V15h-1.75v6h-3.5v-6H8.5v-4.25C8.5 9.78 9.28 9 10.25 9z'/%3E%3C/svg%3E");
	--vhm-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
	--vhm-i-size: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z'/%3E%3C/svg%3E");
	--vhm-i-bed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 13c1.66 0 3-1.34 3-3S8.66 7 7 7s-3 1.34-3 3 1.34 3 3 3zm12-6h-8v7H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4z'/%3E%3C/svg%3E");
	--vhm-i-view: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
	--vhm-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
	--vhm-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
	--vhm-i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234b504d' d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
	--vhm-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234b504d' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zM7 11h5v5H7z'/%3E%3C/svg%3E");
}

/* 2. Base / layout ----------------------------------------------------------- */

body {
	font-family: var(--vhm-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--vhm-on-surface);
	background: var(--vhm-surface);
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}

#page h1,
#page h2,
#page h3,
#page h4,
#page h5,
#page h6,
#page .entry-title {
	font-family: var(--vhm-font);
	letter-spacing: 0;
	color: var(--vhm-on-surface);
}

a {
	color: var(--vhm-primary);
}

#page.site {
	padding-top: 20px;
}

/* Page title: left aligned in the content column, compact */
#page .page-header-wrapper,
#page .page-header-wrapper .entry-header,
#page .entry-header {
	max-width: 780px;
	margin: 0 auto 12px;
	padding: 0;
	text-align: left;
}

/* Albatross sets Amiri/Montserrat in a few places; those fonts are no longer loaded. */
#page :is(h1, h2, h3, h4, h5, h6, .entry-title, .mphb-regular-price, .room-excerpt, .mphb-widget-room-type-title, .mphb-empty-cart-message),
#page :is(input, select, textarea, button) {
	font-family: var(--vhm-font);
}

#page .entry-title {
	text-align: left;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 600;
	margin: 0;
}

#page .site-main > .hentry,
#page .site-main > article {
	margin-bottom: 0;
	padding-left: var(--vhm-pad);
	padding-right: var(--vhm-pad);
}

#page .entry-content > * {
	max-width: 780px;
}

#page .entry-content h2 { font-size: 20px; line-height: 1.3; font-weight: 600; }
#page .entry-content h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
#page .entry-content h4 { font-size: 15px; line-height: 1.3; font-weight: 600; }

/* The booking flow wrappers measure themselves, so layout follows the iframe/column width, not the screen. */
#page .mphb_sc_search-wrapper,
#page .mphb_sc_search_results-wrapper,
#page .mphb_sc_rooms-wrapper,
#page .mphb_sc_checkout-wrapper {
	container-type: inline-size;
}

#page .screen-reader-text,
#page .mphb-loop-room-type-attributes .mphb-attribute-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Step indicator (vhm-core booking-ux.php) */
#page .vhm-steps {
	display: flex;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 12px;
	line-height: 1.3;
	color: var(--vhm-on-surface-variant);
}

#page .vhm-steps__step {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 6px;
	padding-top: 8px;
	border-top: 3px solid var(--vhm-outline-variant);
	margin: 0;
}

#page .vhm-steps__num {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: var(--vhm-radius-s);
	background: var(--vhm-surface-high);
	font-weight: 600;
	font-size: 11px;
}

#page .vhm-steps__step.is-done,
#page .vhm-steps__step.is-current {
	border-color: var(--vhm-primary);
	color: var(--vhm-primary);
}

#page .vhm-steps__step.is-current {
	font-weight: 600;
}

#page .vhm-steps__step.is-done .vhm-steps__num,
#page .vhm-steps__step.is-current .vhm-steps__num {
	background: var(--vhm-primary);
	color: var(--vhm-on-primary);
}

/* 3. Fields (outlined, label inside the box) --------------------------------- */

#page input[type="text"],
#page input[type="email"],
#page input[type="tel"],
#page input[type="number"],
#page input[type="password"],
#page input[type="date"],
#page select:where(:not(.datepick select)),
#page textarea {
	display: block;
	width: 100%;
	min-height: var(--vhm-field-h);
	margin: 0;
	padding: 24px 14px 6px;
	font: 400 16px/1.3 var(--vhm-font); /* 16px: iOS does not zoom in on focus */
	color: var(--vhm-on-surface);
	background-color: var(--vhm-surface-card);
	border: 1px solid var(--vhm-outline);
	border-radius: var(--vhm-radius-s);
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
	scroll-margin: 110px 0 140px;
}

#page textarea {
	min-height: 96px;
	resize: vertical;
}

#page select:where(:not(.datepick select)) {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background-image: var(--vhm-i-chevron);
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 24px;
	cursor: pointer;
}

/* Date fields: calendar icon (the date picker itself is unchanged) */
#page input.mphb-datepick {
	padding-right: 44px;
	background-image: var(--vhm-i-calendar);
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 22px;
	cursor: pointer;
}

#page input::placeholder,
#page textarea::placeholder {
	color: var(--vhm-on-surface-variant);
	opacity: .75;
}

#page input:hover,
#page select:where(:not(.datepick select)):hover,
#page textarea:hover {
	border-color: var(--vhm-on-surface);
}

#page input:focus,
#page select:where(:not(.datepick select)):focus,
#page textarea:focus {
	outline: none;
	border-color: var(--vhm-primary);
	box-shadow: inset 0 0 0 1px var(--vhm-primary);
}

#page input:user-invalid,
#page select:where(:not(.datepick select)):user-invalid,
#page textarea:user-invalid {
	border-color: var(--vhm-error);
	box-shadow: inset 0 0 0 1px var(--vhm-error);
}

/* Field wrappers: MotoPress prints <p><label/><br/><input/></p>. The label moves into the box. */
#page :is(
	.mphb_sc_search-check-in-date,
	.mphb_sc_search-check-out-date,
	.mphb_sc_search-adults,
	.mphb_sc_search-children,
	.mphb-booking-form .mphb-check-in-date-wrapper,
	.mphb-booking-form .mphb-check-out-date-wrapper,
	.mphb-booking-form .mphb-capacity-wrapper,
	.mphb-adults-chooser,
	.mphb-children-chooser,
	.mphb-guest-name-wrapper,
	.mphb-customer-details p[class*="-control"]:not(:has(input[type="checkbox"], input[type="radio"]))
) {
	position: relative;
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
}

#page :is(
	.mphb_sc_search-check-in-date,
	.mphb_sc_search-check-out-date,
	.mphb_sc_search-adults,
	.mphb_sc_search-children,
	.mphb-booking-form .mphb-check-in-date-wrapper,
	.mphb-booking-form .mphb-check-out-date-wrapper,
	.mphb-booking-form .mphb-capacity-wrapper,
	.mphb-adults-chooser,
	.mphb-children-chooser,
	.mphb-guest-name-wrapper,
	.mphb-customer-details p[class*="-control"]:not(:has(input[type="checkbox"], input[type="radio"]))
) > label {
	position: absolute;
	z-index: 1;
	top: 7px;
	left: 15px;
	right: 44px;
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--vhm-on-surface-variant);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

#page :is(
	.mphb_sc_search-check-in-date,
	.mphb_sc_search-check-out-date,
	.mphb_sc_search-adults,
	.mphb_sc_search-children,
	.mphb-booking-form .mphb-check-in-date-wrapper,
	.mphb-booking-form .mphb-check-out-date-wrapper,
	.mphb-booking-form .mphb-capacity-wrapper,
	.mphb-adults-chooser,
	.mphb-children-chooser,
	.mphb-guest-name-wrapper,
	.mphb-customer-details p[class*="-control"]
) > br {
	display: none;
}

#page :is(p, li):focus-within > label {
	color: var(--vhm-primary);
}

#page .entry-content abbr[title] {
	text-decoration: none;
	border: 0;
	color: var(--vhm-error);
	cursor: default;
}

#page .mphb-required-fields-tip {
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--vhm-on-surface-variant);
}

/* Help text under a field (children age, vhm-core children-age.php) */
#page .vhm-children-age {
	display: block;
	margin: 4px 2px 0;
	font-size: 12px;
	line-height: 1.35;
	color: var(--vhm-on-surface-variant);
	opacity: 1;
}

#page .vhm-children-age::before {
	content: attr(data-text);
}

/* Checkboxes and radios: native, in the brand colour, 20px */
#page .entry-content input[type="checkbox"],
#page .entry-content input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: none;
	accent-color: var(--vhm-primary);
	vertical-align: -4px;
}

/* Guest counter (assets/booking.js): label on top, then  −  value  +  across the field.
   Fits two side by side even on a 320px phone. The middle still opens the native select. */
#page .vhm-has-stepper select {
	min-height: 76px;
	padding: 28px 54px 8px;
	background-image: none;
	text-align: center;
	text-align-last: center;
	font-size: 18px;
	font-weight: 600;
}

#page .vhm-has-stepper > label {
	right: 14px;
}

#page .vhm-stepper {
	position: absolute;
	top: 30px;
	left: 6px;
	right: 6px;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

#page .vhm-stepper > * {
	pointer-events: auto;
}

#page .vhm-stepper__btn,
#page .entry-content .vhm-stepper__btn {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 1px solid var(--vhm-outline-variant);
	border-radius: var(--vhm-radius-s);
	background: var(--vhm-surface-card);
	color: var(--vhm-primary);
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s;
}

#page .vhm-stepper__btn:disabled {
	opacity: .38;
	cursor: default;
}

@media (hover: hover) {
	#page .vhm-stepper__btn:not(:disabled):hover {
		background: var(--vhm-primary-container);
	}
}

#page .vhm-stepper__btn:focus-visible {
	outline: 3px solid var(--vhm-primary);
	outline-offset: 1px;
}

/* 4. Buttons (Material 3) ---------------------------------------------------- */

/* Filled */
#page .button,
#page .mphb-button,
#page .entry-content input[type="submit"],
#page .entry-content button[type="submit"],
#page .vhm-actionbar .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--vhm-radius-btn);
	background: var(--vhm-primary);
	color: var(--vhm-on-primary);
	font: 600 15px/1.2 var(--vhm-font);
	letter-spacing: .01em;
	text-transform: none;
	text-decoration: none;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
	transition: box-shadow .2s, background-color .2s;
	-webkit-appearance: none;
	appearance: none;
}

@media (hover: hover) {
	#page .button:hover,
	#page .mphb-button:hover,
	#page .entry-content input[type="submit"]:hover,
	#page .entry-content button[type="submit"]:hover {
		background: color-mix(in srgb, var(--vhm-primary) 92%, #fff);
		color: var(--vhm-on-primary);
		box-shadow: var(--vhm-elev-1);
	}
}

#page .button:active,
#page .mphb-button:active,
#page .entry-content input[type="submit"]:active {
	background: color-mix(in srgb, var(--vhm-primary) 88%, #fff);
	box-shadow: none;
}

#page .button:focus-visible,
#page .mphb-button:focus-visible,
#page .entry-content input[type="submit"]:focus-visible,
#page .vhm-search-summary__change:focus-visible {
	outline: 3px solid var(--vhm-primary);
	outline-offset: 2px;
}

#page .button:visited {
	color: var(--vhm-on-primary);
}

/* Tonal: secondary actions */
#page .mphb-apply-coupon-code-button,
#page .entry-content .mphb-apply-coupon-code-button,
#page .vhm-search-summary__change {
	background: var(--vhm-primary-container);
	color: var(--vhm-on-primary-container);
}

@media (hover: hover) {
	#page .mphb-apply-coupon-code-button:hover,
	#page .entry-content .mphb-apply-coupon-code-button:hover,
	#page .vhm-search-summary__change:hover {
		background: color-mix(in srgb, var(--vhm-primary-container) 88%, var(--vhm-primary));
		color: var(--vhm-on-primary-container);
	}
}

/* Text buttons: low-emphasis links that look tappable */
#page .mphb-view-details-button,
#page .button.mphb-view-details-button,
#page .mphb-remove-from-reservation {
	background: transparent;
	color: var(--vhm-primary);
	padding: 0 12px;
	box-shadow: none;
}

#page .mphb-view-details-button:visited {
	color: var(--vhm-primary);
}

@media (hover: hover) {
	#page .button.mphb-view-details-button:hover,
	#page .mphb-remove-from-reservation:hover {
		background: color-mix(in srgb, var(--vhm-primary) 8%, transparent);
		color: var(--vhm-primary);
		box-shadow: none;
	}
}

/* Outlined: "Back to search" (vhm-core footer-bar.php) */
#page .vhm-back-to-search {
	box-sizing: content-box;
	max-width: 780px;
	margin: 24px auto;
	padding: 0 var(--vhm-pad);
}

#page .vhm-back-to-search .button {
	background: transparent;
	color: var(--vhm-primary);
	border: 1px solid var(--vhm-outline);
	min-height: 40px;
	font-size: 14px;
}

@media (hover: hover) {
	#page .vhm-back-to-search .button:hover {
		background: color-mix(in srgb, var(--vhm-primary) 8%, transparent);
		color: var(--vhm-primary);
		box-shadow: none;
	}
}

/* 5. Search form --------------------------------------------------------------- */

#page .mphb_sc_search-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--vhm-gap);
	margin: 0;
}

#page .mphb_sc_search-form > * {
	grid-column: 1 / -1;
	margin: 0;
}

#page .mphb_sc_search-form > .mphb_sc_search-check-in-date,
#page .mphb_sc_search-form > .mphb_sc_search-check-out-date,
#page .mphb_sc_search-form > .mphb_sc_search-adults,
#page .mphb_sc_search-form > .mphb_sc_search-children {
	grid-column: auto;
}

/* All four fields are required or preset: the "* = required" note only adds noise here. */
#page .mphb_sc_search-form .mphb-required-fields-tip {
	display: none;
}

#page .mphb_sc_search-submit-button-wrapper .button,
#page .mphb_sc_search-submit-button-wrapper input[type="submit"] {
	width: 100%;
}

#page .mphb_sc_search-form input[type="hidden"] {
	display: none;
}

/* Very narrow (old small phones, narrow sidebars): one column */
@container (max-width: 279px) {
	#page .mphb_sc_search-form { grid-template-columns: 1fr; }
}

/* Two dates side by side on phones: no room for the calendar icon or the long placeholder */
@container (max-width: 439px) {
	#page .mphb_sc_search-form input.mphb-datepick {
		padding-right: 12px;
		background-image: none;
	}

	#page .mphb_sc_search-form input.mphb-datepick::placeholder {
		color: transparent;
	}
}

@container (min-width: 640px) {
	#page .mphb_sc_search-form {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Single accommodation page: sidebar blocks (price/attributes, booking form) as compact cards */
#page .single-room-type-wrapper .room-type-sidebar-block {
	padding: 16px;
	margin-bottom: var(--vhm-gap);
	border: 0;
	border-radius: var(--vhm-radius-l);
	box-shadow: var(--vhm-elev-1);
	line-height: 1.5;
	letter-spacing: 0;
}

#page .single-room-type-wrapper .single-room-type-sidebar {
	margin-top: 24px;
}

#page .single-room-type-wrapper .room-type-meta .mphb-regular-price {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--vhm-on-surface-variant);
}

#page .single-room-type-wrapper .room-type-meta .mphb-regular-price .mphb-price {
	font-size: 24px;
	font-weight: 700;
	color: var(--vhm-on-surface);
}

#page .mphb-single-room-type-attributes {
	margin: 0;
	line-height: 1.4;
	letter-spacing: 0;
}

#page .mphb-single-room-type-attributes li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 4px 0;
	line-height: 1.4;
}

#page .mphb-single-room-type-attributes li::before {
	position: static;
}

/* Booking form on the single accommodation page: same field style, two columns */
#page .mphb-booking-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--vhm-gap);
}

#page .mphb-booking-form > * {
	grid-column: 1 / -1;
	margin: 0;
}

/* Dates full width here: the labels are long ("Bejelentkezési dátum") */
#page .mphb-booking-form > .mphb-capacity-wrapper {
	grid-column: auto;
}

#page .mphb-booking-form input.mphb-datepick {
	padding-right: 12px;
	background-image: none;
}

#page .mphb-booking-form input.mphb-datepick::placeholder {
	color: transparent;
}

#page .mphb-booking-form .mphb-reserve-btn-wrapper .button,
#page .mphb-booking-form .mphb-reserve-btn-wrapper input[type="submit"] {
	width: 100%;
}

/* Accommodation list "Book now": drop Albatross' animated arrow graphic */
#page .mphb-to-book-btn-wrapper {
	margin: 0;
}

#page .mphb-to-book-btn-wrapper :is(button, .button) {
	padding: 0 24px;
}

#page .mphb-to-book-btn-wrapper :is(button, .button) svg,
#page .mphb-to-book-btn-wrapper :is(button, .button)::before,
#page .mphb-to-book-btn-wrapper :is(button, .button)::after {
	display: none;
}

/* 6. Search results ------------------------------------------------------------ */

#page .mphb_sc_search_results-wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--vhm-gap);
}

#page .mphb_sc_search_results-wrapper > * {
	margin: 0;
}

/* Summary bar: dates · nights / guests · Change */
#page .vhm-search-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px 8px 16px;
	background: var(--vhm-surface-high);
	border-radius: var(--vhm-radius-l);
}

#page .vhm-search-summary__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 1.3;
}

#page .vhm-search-summary__text span {
	font-size: 12px;
	color: var(--vhm-on-surface-variant);
}

#page .vhm-search-summary__change {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: var(--vhm-radius-btn);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

#page .mphb_sc_search_results-info {
	font-size: 13px;
	color: var(--vhm-on-surface-variant);
}

/* "Our recommendation for 2 adults": a compact card */
#page .mphb-recommendation-title,
#page .entry-content .mphb-recommendation-title {
	margin: 8px 0 0;
	font-size: 17px;
}

#page .mphb-recommendation {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
	padding: 14px 16px;
	background: var(--vhm-surface-card);
	border: 0;
	border-radius: var(--vhm-radius-l);
	box-shadow: var(--vhm-elev-1);
}

#page .mphb-recommendation > * {
	grid-column: 1 / -1;
	margin: 0;
}

#page .mphb-recommendation-details-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#page .mphb-recommendation-details-list li {
	padding: 0 0 10px;
	margin: 0 0 10px;
	border-bottom: 1px solid var(--vhm-surface-high);
}

#page .mphb-recommendation-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 2px 6px;
	align-items: baseline;
	padding: 0;
	font-size: 15px;
}

#page .mphb-recommendation-item .mphb-recommedation-item-subtotal {
	grid-column: 3;
	grid-row: 1;
	font-weight: 600;
	float: none;
}

#page .mphb-recommendation-item-count { grid-column: 1; grid-row: 1; }
#page .mphb-recommendation-item-link { grid-column: 2; grid-row: 1; font-weight: 600; text-decoration: none; }

#page .mphb-recommendation-item-guests {
	grid-column: 1 / -1;
	font-size: 12px;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-recommendation .mphb-recommendation-total {
	grid-column: 1;
	display: flex;
	flex-direction: column;
	float: none;
	padding: 0;
	font-size: 12px;
	line-height: 1.3;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-recommendation-total-value {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--vhm-on-surface);
}

#page .mphb-recommendation .mphb-recommendation-reserve-button {
	grid-column: 2;
	float: none;
	margin: 0;
}

#page .mphb-recommendation .mphb-clear { display: none; }

/* 7. Room cards (search results and accommodation list) ---------------------- */

#page .mphb_sc_search_results-wrapper .mphb-room-type,
#page .mphb_sc_rooms-wrapper .mphb-room-type {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
	padding: 0;
	background: var(--vhm-surface-card);
	border-radius: var(--vhm-radius-l);
	box-shadow: var(--vhm-elev-1);
	overflow: hidden;
}

#page .mphb_sc_rooms-wrapper .mphb-room-type + .mphb-room-type {
	margin-top: var(--vhm-gap);
}

#page .mphb-room-type .mphb-loop-room-thumbnail,
#page .mphb-room-type .mphb-room-type-gallery-wrapper {
	margin: 0;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	background: var(--vhm-surface-high);
}

#page .mphb-room-type .mphb-loop-room-thumbnail a,
#page .mphb-room-type .mphb-loop-room-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

#page .mphb-room-type .mphb-room-type-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 14px 16px 12px;
	background: none;
	max-width: none;
}

/* Title | price on one row, the rest below */
#page .mphb-room-type .mphb-room-type-description {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 12px;
	align-items: baseline;
	padding: 0;
}

#page .mphb-room-type .mphb-room-type-description > * {
	grid-column: 1 / -1;
	margin: 0;
}

#page .mphb-room-type .mphb-room-type-description > .mphb-room-type-title,
#page .entry-content .mphb-room-type .mphb-room-type-description > h2 {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: start;
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
}

#page .mphb-room-type-title a {
	color: inherit;
	text-decoration: none;
}

#page .mphb-room-type .mphb-regular-price {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	text-align: right;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1.3;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-room-type .mphb-regular-price .mphb-price {
	display: block;
	font-family: var(--vhm-font);
	font-size: 18px;
	font-weight: 700;
	color: var(--vhm-on-surface);
}

#page .mphb-room-type .mphb-price-period {
	font-family: var(--vhm-font);
	font-size: 12px;
	color: var(--vhm-on-surface-variant);
	border: 0;
	text-decoration: none;
}

/* On the results the price is exact for the stay: drop "Prices from:" */
#page .mphb_sc_search_results-wrapper .mphb-regular-price > strong {
	display: none;
}

#page .vhm-price-per-night {
	grid-column: 2 !important;
	grid-row: 2;
	margin: 0;
	text-align: right;
	font-size: 12px;
	color: var(--vhm-on-surface-variant);
	white-space: nowrap;
}

#page .vhm-price-per-night .mphb-price { font-size: inherit; }

#page .mphb-room-type .mphb-room-type-excerpt {
	margin-top: 6px;
	font-size: 14px;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-room-type .mphb-room-type-excerpt p { margin: 0; }

#page .mphb-room-type .mphb-room-type-details-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* Attributes as chips */
#page .mphb-room-type .mphb-loop-room-type-attributes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0;
}

#page .mphb-room-type .mphb-loop-room-type-attributes li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	margin: 0;
	padding: 4px 10px 4px 8px;
	border: 1px solid var(--vhm-outline-variant);
	border-radius: var(--vhm-radius-s);
	color: var(--vhm-on-surface-variant);
}

#page .mphb-room-type .mphb-loop-room-type-attributes li::before {
	position: static;
}

#page .mphb-room-type .mphb-loop-room-type-attributes .mphb-attribute-value {
	display: inline;
}

/* Icons: flat, one colour, Material shapes (replaces Font Awesome glyphs in salmon) */
#page .mphb-single-room-type-attributes li::before,
#page .mphb-loop-room-type-attributes li::before,
#page .mphb-widget-room-type-attributes li::before,
#page .loop-room-short-attributes li::before {
	content: "" !important;
	font-family: inherit;
	width: 18px;
	height: 18px;
	top: 4px;
	flex: none;
	background-color: var(--vhm-primary) !important;
	color: var(--vhm-primary) !important;
	-webkit-mask: var(--vhm-i-info) center / contain no-repeat;
	mask: var(--vhm-i-info) center / contain no-repeat;
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-total-capacity::before {
	-webkit-mask-image: var(--vhm-i-group);
	mask-image: var(--vhm-i-group);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-adults-capacity::before {
	-webkit-mask-image: var(--vhm-i-person);
	mask-image: var(--vhm-i-person);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-children-capacity::before {
	-webkit-mask-image: var(--vhm-i-child);
	mask-image: var(--vhm-i-child);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-facilities::before {
	-webkit-mask-image: var(--vhm-i-check);
	mask-image: var(--vhm-i-check);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-size::before {
	-webkit-mask-image: var(--vhm-i-size);
	mask-image: var(--vhm-i-size);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-bed-type::before {
	-webkit-mask-image: var(--vhm-i-bed);
	mask-image: var(--vhm-i-bed);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-view::before {
	-webkit-mask-image: var(--vhm-i-view);
	mask-image: var(--vhm-i-view);
}

#page :is(.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .mphb-widget-room-type-attributes, .loop-room-short-attributes) li.mphb-room-type-rating::before {
	-webkit-mask-image: var(--vhm-i-star);
	mask-image: var(--vhm-i-star);
}

/* Card actions: Book (filled) + Details (text) in one row */
#page .mphb-room-type .mphb-room-type-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 2px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--vhm-surface-high);
}

#page .mphb-room-type .mphb-room-type-buttons > * {
	margin: 0;
}

#page .mphb-room-type .mphb-reserve-room-section {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	margin: 0;
}

#page .mphb-room-type .mphb-reserve-room-section .mphb-book-button,
#page .mphb-room-type .mphb-reserve-room-section .mphb-confirm-reservation {
	flex: 1 1 auto;
}

#page .mphb-room-type .mphb-view-details-button-wrapper {
	flex: 0 1 auto;
	margin: 0;
}

#page .mphb-room-type .mphb-view-details-button {
	font-size: 14px;
	min-height: 48px;
}

#page .mphb-rooms-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	color: var(--vhm-on-surface-variant);
}

#page .entry-content .mphb-rooms-quantity-wrapper select {
	width: auto;
	min-height: 48px;
	padding: 6px 36px 6px 14px;
	border-radius: var(--vhm-radius-btn);
}

#page .mphb-rooms-reservation-message-wrapper {
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
	margin: 0;
}

#page .mphb-rooms-reservation-message {
	margin: 0;
	padding: 4px 12px;
	border-radius: var(--vhm-radius-s);
	background: var(--vhm-secondary-container);
	color: var(--vhm-on-secondary-container);
	font-size: 13px;
	font-weight: 600;
}

#page .mphb-rooms-reservation-message:empty { display: none; }

#page .mphb-remove-from-reservation {
	order: 2;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--vhm-radius-btn);
}

/* Wider containers (tablet, desktop, wide iframe): image on the left */
@container (min-width: 620px) {
	/* Image on the left only when the accommodation has one (a card without a photo stays one column) */
	#page .mphb_sc_search_results-wrapper .mphb-room-type:has(> .mphb-loop-room-thumbnail, > .mphb-room-type-gallery-wrapper),
	#page .mphb_sc_rooms-wrapper .mphb-room-type:has(> .mphb-loop-room-thumbnail, > .mphb-room-type-gallery-wrapper) {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	#page .mphb-room-type .mphb-loop-room-thumbnail,
	#page .mphb-room-type .mphb-room-type-gallery-wrapper {
		aspect-ratio: auto;
		height: 100%;
		min-height: 200px;
	}

	#page .mphb-room-type .mphb-reserve-room-section .mphb-book-button,
	#page .mphb-room-type .mphb-reserve-room-section .mphb-confirm-reservation {
		flex: 0 0 auto;
	}
}

/* 8. Action bar: total + main button, stuck to the bottom of the screen -------- */

#page .vhm-actionbar {
	position: sticky;
	bottom: 0;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 4px calc(-1 * var(--vhm-pad)) 0;
	padding: 10px var(--vhm-pad) calc(10px + env(safe-area-inset-bottom));
	background: var(--vhm-surface-card);
	border-radius: var(--vhm-radius-l) var(--vhm-radius-l) 0 0;
	box-shadow: var(--vhm-elev-up);
}

#page .vhm-actionbar > * {
	margin: 0;
}

/* Search results: the plugin's reservation cart (moved to the end by booking.js) */
#page .mphb-reservation-cart.mphb-empty-cart {
	display: none;
}

#page .mphb-reservation-cart.vhm-actionbar {
	max-width: none;
}

#page .mphb-reservation-cart .mphb-reservation-details {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-reservation-cart .mphb-reservation-details p {
	margin: 0;
}

#page .mphb-reservation-cart .mphb-cart-total-price {
	display: flex;
	gap: 6px;
	align-items: baseline;
}

#page .mphb-reservation-cart .mphb-cart-total-price-value {
	font-size: 18px;
	font-weight: 700;
	color: var(--vhm-on-surface);
}

#page .mphb-reservation-cart .mphb-confirm-reservation {
	flex: 0 0 auto;
	margin: 0;
	float: none;
}

#page .mphb-reservation-cart .mphb-clear,
#page .mphb-reservation-cart .mphb-empty-cart-message {
	display: none;
}

/* 9. Checkout ---------------------------------------------------------------- */

#page .entry-content > .mphb_sc_checkout-wrapper {
	max-width: 780px;
}

#page .mphb_sc_checkout-form {
	display: flex;
	flex-direction: column;
	gap: var(--vhm-gap);
	margin: 0;
}

#page .mphb_sc_checkout-form > p,
#page .mphb_sc_checkout-form > section {
	margin: 0;
}

/* Every section is a card */
#page .mphb_sc_checkout-form .mphb-checkout-section {
	margin: 0;
	padding: 16px;
	background: var(--vhm-surface-card);
	border: 0;
	border-radius: var(--vhm-radius-l);
	box-shadow: var(--vhm-elev-1);
}

#page .mphb_sc_checkout-form .mphb-checkout-section > :first-child {
	margin-top: 0;
}

#page .mphb_sc_checkout-form :is(h3, h4) {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 600;
}

#page .mphb_sc_checkout-form h4 {
	font-size: 15px;
}

/* Booking details: arrival / departure as two tiles */
#page .mphb-booking-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

#page .mphb-booking-details > * {
	grid-column: 1 / -1;
	margin: 0;
}

#page .mphb-booking-details > .mphb-check-in-date,
#page .mphb-booking-details > .mphb-check-out-date {
	grid-column: auto;
	padding: 10px 12px;
	border-radius: var(--vhm-radius-m);
	background: var(--vhm-surface-low);
	font-size: 13px;
	line-height: 1.4;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-booking-details > .mphb-check-in-date > span:first-child,
#page .mphb-booking-details > .mphb-check-out-date > span:first-child {
	display: block;
	font-size: 12px;
}

#page .mphb-booking-details time strong {
	font-size: 15px;
	color: var(--vhm-on-surface);
}

#page .mphb-reserve-rooms-details {
	margin-top: 8px;
}

#page .mphb-room-details {
	display: flex;
	flex-direction: column;
	gap: var(--vhm-gap);
	padding: 12px 0 0;
	border-top: 1px solid var(--vhm-surface-high);
}

#page .mphb-room-details + .mphb-room-details {
	margin-top: 12px;
}

#page .mphb-room-details > * {
	margin: 0;
}

#page .mphb-room-details .mphb-room-number {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-room-details .mphb-room-type-title {
	font-size: 15px;
}

#page .mphb-room-details .mphb-room-type-title > span {
	color: var(--vhm-on-surface-variant);
}

#page .mphb-room-details .mphb-room-type-title a {
	font-weight: 600;
	text-decoration: none;
}

#page .guest-chooser-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--vhm-gap);
}

#page .guest-chooser-wrapper > p {
	margin: 0;
}

#page .guest-chooser-wrapper > .mphb-guest-name-wrapper {
	grid-column: 1 / -1;
}

@container (max-width: 279px) {
	#page .guest-chooser-wrapper { grid-template-columns: 1fr; }
}

/* Rates (radio cards), when a room has more than one */
#page .mphb-rate-chooser {
	margin: 0;
	padding: 0;
	border: 0;
}

#page .mphb-rate-chooser legend {
	margin-bottom: 8px;
	font-weight: 600;
}

#page .mphb-rate-chooser > p,
#page .mphb-gateways-list > li {
	position: relative;
	margin: 0 0 8px;
	padding: 12px 14px 12px 46px;
	border: 1px solid var(--vhm-outline-variant);
	border-radius: var(--vhm-radius-m);
	background: var(--vhm-surface-card);
	transition: border-color .15s, background-color .15s;
}

#page .mphb-rate-chooser > p:has(input:checked),
#page .mphb-gateways-list > li:has(input:checked) {
	border-color: var(--vhm-primary);
	box-shadow: inset 0 0 0 1px var(--vhm-primary);
	background: color-mix(in srgb, var(--vhm-primary) 5%, var(--vhm-surface-card));
}

#page .mphb-rate-chooser > p input[type="radio"],
#page .mphb-gateways-list > li input[type="radio"] {
	position: absolute;
	left: 14px;
	top: 14px;
}

/* The whole card is the click target */
#page .mphb-rate-chooser > p label,
#page .mphb-gateways-list > li > label {
	display: block;
	cursor: pointer;
}

#page .mphb-rate-chooser > p label::after,
#page .mphb-gateways-list > li > label::after {
	content: "";
	position: absolute;
	inset: 0;
}

#page .mphb-gateways-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#page .mphb-gateways-list > li:last-child {
	margin-bottom: 0;
}

#page .mphb-gateway-title strong {
	font-weight: 600;
}

#page .mphb-gateway-description {
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--vhm-on-surface-variant);
}

#page .mphb-billing-fields:not(.mphb-billing-fields-hidden) {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
}

/* Extra services (breakfast etc.) */
#page .mphb-services-details {
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--vhm-surface-high);
}

#page .mphb_checkout-services-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#page .mphb_checkout-services-list > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 8px;
	font-size: 14px;
}

#page .mphb_checkout-services-list .mphb-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	flex: 1 1 200px;
	cursor: pointer;
}

#page .mphb_checkout-services-list .mphb-checkbox-label em {
	font-style: normal;
	color: var(--vhm-on-surface-variant);
	font-size: 13px;
}

#page .mphb_checkout-services-list label:not(.mphb-checkbox-label) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--vhm-on-surface-variant);
}

#page .entry-content .mphb_checkout-services-list select {
	width: auto;
	min-height: 40px;
	padding: 6px 36px 6px 12px;
}

/* Coupon: field + tonal button in one row */
#page .mphb-coupon-code-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
}

#page .mphb-coupon-code-wrapper > p:first-child {
	position: relative;
	flex: 1 1 180px;
	margin: 0;
}

#page .mphb-coupon-code-wrapper > p:first-child > label {
	position: absolute;
	z-index: 1;
	top: 7px;
	left: 15px;
	font-size: 12px;
	font-weight: 500;
	color: var(--vhm-on-surface-variant);
	pointer-events: none;
}

#page .mphb-coupon-code-wrapper > p:nth-child(2) {
	margin: 0;
}

#page .mphb-coupon-code-wrapper .mphb-apply-coupon-code-button {
	min-height: var(--vhm-field-h);
	border-radius: var(--vhm-radius-s);
}

#page .mphb-coupon-message {
	flex: 1 1 100%;
	margin: 0;
	font-size: 13px;
}

/* Price breakdown: compact list */
#page .mphb-price-breakdown {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 14px;
}

#page .mphb-price-breakdown :is(td, th) {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid var(--vhm-surface-high);
	background: none;
	text-align: left;
	font-weight: 400;
	vertical-align: top;
}

#page .mphb-price-breakdown :is(td, th).mphb-table-price-column,
#page .mphb-price-breakdown :is(td, th):last-child:not(:first-child) {
	text-align: right;
	white-space: nowrap;
	padding-left: 12px;
}

#page .mphb-price-breakdown th {
	color: var(--vhm-on-surface-variant);
	font-size: 13px;
}

#page .mphb-price-breakdown tfoot :is(td, th) {
	border-bottom: 0;
	color: var(--vhm-on-surface);
	font-size: 14px;
}

#page .mphb-price-breakdown .mphb-price-breakdown-total :is(td, th) {
	padding-top: 12px;
	font-size: 16px;
	font-weight: 700;
}

#page .mphb-price-breakdown-expand {
	text-decoration: none;
	font-weight: 600;
}

#page .mphb-price-breakdown-expand .mphb-inner-icon {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	margin-right: 6px;
	border-radius: var(--vhm-radius-s);
	background: var(--vhm-primary-container);
	color: var(--vhm-on-primary-container);
	font-size: 14px;
	line-height: 1;
}

#page .mphb-price-breakdown-expand .mphb-inner-icon.mphb-hide { display: none; }

#page .mphb-price-breakdown-rate {
	font-size: 12px;
	color: var(--vhm-on-surface-variant);
}

/* Guest details: two columns where it helps (names on phones too) */
#page .mphb-customer-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--vhm-gap);
}

#page .mphb-customer-details > * {
	grid-column: 1 / -1;
	margin: 0;
}

#page .mphb-customer-details > .mphb-customer-first-name,
#page .mphb-customer-details > .mphb-customer-last-name {
	grid-column: auto;
}

#page .mphb-customer-details > .mphb-customer-details-title {
	margin: 0;
}

@container (min-width: 520px) {
	#page .mphb-customer-details > p[class*="-control"]:not(.mphb-textarea-control):not(:has(input[type="checkbox"])) {
		grid-column: auto;
	}
}

/* Terms checkbox and other checkbox rows */
#page .mphb_sc_checkout-form p:has(> input[type="checkbox"]),
#page .mphb_sc_checkout-form p:has(> label > input[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.45;
}

/* Errors */
#page .mphb-errors-wrapper:not(.mphb-hide),
#page .mphb-data-incorrect {
	margin: 0;
	padding: 12px 16px;
	border-radius: var(--vhm-radius-m);
	background: #fceeee;
	color: var(--vhm-error);
	font-size: 14px;
}

/* Checkout action bar (booking.js groups total, deposit and submit) */
#page .vhm-actionbar--checkout .vhm-actionbar__sums {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#page .vhm-actionbar--checkout :is(.mphb-total-price, .mphb-deposit-amount) {
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	color: var(--vhm-on-surface-variant);
}

#page .vhm-actionbar--checkout :is(.mphb-total-price, .mphb-deposit-amount) strong {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: var(--vhm-on-surface);
}

/* With a deposit, the amount due now is the big one */
#page .vhm-actionbar--checkout .vhm-actionbar__sums:has(.mphb-deposit-amount) {
	flex-direction: column-reverse;
}

#page .vhm-actionbar--checkout .vhm-actionbar__sums:has(.mphb-deposit-amount) .mphb-total-price strong {
	display: inline;
	font-size: 12px;
	font-weight: 600;
}

#page .vhm-actionbar--checkout .mphb_sc_checkout-submit-wrapper {
	flex: 0 0 auto;
	margin: 0;
}

/* Without JavaScript the plain total + submit still look right */
#page .mphb_sc_checkout-form > .mphb-total-price,
#page .mphb_sc_checkout-form > .mphb-deposit-amount {
	font-size: 15px;
}

/* Wide containers: summary column on the right */
@media (min-width: 1000px) {
	/* Only with the form: the "booking request sent" step (?step=booking) has the same wrapper but no summary column */
	#page .entry-content > .mphb_sc_checkout-wrapper:has(.mphb_sc_checkout-form) {
		max-width: 1040px;
	}

	#page .hentry:has(.mphb_sc_checkout-form) .page-header-wrapper,
	#page .hentry:has(.mphb_sc_checkout-form) .entry-header {
		max-width: 1040px;
	}
}

@container (min-width: 900px) {
	#page .mphb_sc_checkout-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 340px;
		column-gap: 20px;
		row-gap: 0;
		align-items: start;
	}

	#page .mphb_sc_checkout-form > * {
		grid-column: 1;
		margin-bottom: var(--vhm-gap) !important;
	}

	#page .mphb_sc_checkout-form > #mphb-price-details {
		grid-column: 2;
		grid-row: 1 / span 30;
		position: sticky;
		top: 16px;
	}

	#page .mphb_sc_checkout-form > .vhm-steps {
		grid-column: 1 / -1;
	}
}

/* Brand font (Mozilla Headline), only the weights the footer uses */
@font-face {
	font-family: "Mozilla Headline";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("assets/fonts/mozilla-headline-600.woff2") format("woff2");
}

/* 10. Footer ------------------------------------------------------------------ */

#page .vhm-footer {
	margin-top: 32px;
	padding: 16px var(--vhm-pad) calc(16px + env(safe-area-inset-bottom));
	background: var(--vhm-surface-high);
	color: var(--vhm-on-surface-variant);
	font-size: 13px;
	line-height: 1.4;
}

#page .vhm-footer__inner {
	max-width: 780px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
}

#page .vhm-footer a {
	color: inherit;
	text-decoration: none;
}

@media (hover: hover) {
	#page .vhm-footer a:hover { color: var(--vhm-primary); }
	#page .vhm-footer a:hover span { text-decoration: underline; }
}

#page .vhm-footer__hotel {
	font-size: 15px;
	font-weight: 600;
	color: var(--vhm-on-surface) !important;
}

#page .vhm-footer .vhm-lang-switcher {
	font-size: 13px;
}

#page .vhm-footer__meta {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px 16px;
}

#page .vhm-footer__brand,
#page .vhm-footer__help {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
}

#page .vhm-footer__brand img {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
}

#page .vhm-footer__brand strong {
	font-family: "Mozilla Headline", var(--vhm-font);
	font-weight: 600;
}

/* Language link ("English") and "Súgó" in bold */
#page .vhm-footer .vhm-lang span,
#page .vhm-footer__help span {
	font-weight: 700;
}

#page .vhm-footer__help svg {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
}

#page .vhm-footer__brand,
#page .vhm-footer__help {
	font-size: 13px;
	line-height: 1;
}

@media (max-width: 520px) {
	#page .vhm-footer__inner { justify-content: center; text-align: center; }
	#page .vhm-footer__hotel { flex-basis: 100%; }
	#page .vhm-footer__meta { margin-left: 0; }
}

/* 13. Calendar (MotoPress date picker: inline availability calendar + date pop-up) ------------
   Green = free, pink = booked, diagonal = partly booked (a stay starts in the afternoon or ends in
   the morning). Selected stay: filled ends with a tonal band (band classes added by booking.js).
   Prefix html:not(#_) = one ID of specificity: wins over the datepick theme and Albatross, and also
   reaches the pop-up, which is appended to <body> outside #page. */
html:not(#_) .datepick {
	--c-primary: var(--vhm-primary, #455d58);
	--c-on-primary: #fff;
	--c-range: var(--vhm-primary-container, #d3e6e0);
	--c-text: #1d1c1a;
	--c-muted: #4b504d;
	--c-line: #e3e0da;
	--c-free: #f0fff0;        /* available day tile */
	--c-free-hover: #dcf5dc;
	--c-booked: #fff1f0;      /* booked day tile */
	--c-booked-text: #8a8989;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	margin: 0;
	padding: 8px 8px 12px;
	font: 400 15px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--c-text);
	background: #fff;
	border: 0;
	border-radius: var(--vhm-radius-l, 8px);
	box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 1px 3px 1px rgba(0,0,0,.06);
	position: relative;
}

/* Navigation: round prev/next icon buttons at the edges, "Ma" as a small chip in the middle */
html:not(#_) .datepick .datepick-nav {
	position: absolute;
	inset: 8px 8px auto;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
	background: none;
	border: 0;
	z-index: 2;
}

html:not(#_) .datepick .datepick-nav a {
	pointer-events: auto;
}

html:not(#_) .datepick .datepick-cmd-prev,
html:not(#_) .datepick .datepick-cmd-next {
	width: 40px;
	height: 40px;
	border-radius: var(--vhm-radius-s, 4px);
	font-size: 0 !important;
	color: transparent;
	position: relative;
	background: none;
	transition: background-color .15s;
}

html:not(#_) .datepick .datepick-cmd-prev::before,
html:not(#_) .datepick .datepick-cmd-next::before {
	content: "" !important;
	position: absolute;
	inset: 8px;
	font-family: inherit !important;
	background: var(--c-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E") center / 24px no-repeat;
}

html:not(#_) .datepick .datepick-cmd-next::before {
	transform: scaleX(-1);
}

html:not(#_) .datepick .datepick-cmd-prev:hover,
html:not(#_) .datepick .datepick-cmd-next:hover {
	background: color-mix(in srgb, var(--c-primary) 10%, transparent);
}

html:not(#_) .datepick .datepick-cmd.datepick-disabled {
	opacity: .3;
	pointer-events: none;
}

html:not(#_) .datepick .datepick-cmd-today {
	display: none; /* the month/year header already says where you are */
}

/* Months: stacked on phones, side by side when there is room */
html:not(#_) .datepick .datepick-month-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

html:not(#_) .datepick .datepick-month {
	flex: 1 1 280px;
	width: auto !important;
	max-width: 420px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: none;
	float: none;
}

/* Month header: "December 2026" as plain bold text (the selects stay usable) */
html:not(#_) .datepick .datepick-month-header {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0 0 4px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--c-text);
	font-size: 16px;
	font-weight: 600;
}

html:not(#_) .datepick .datepick-month-header select {
	-webkit-appearance: none;
	appearance: none;
	width: auto;
	min-height: 36px;
	margin: 0;
	padding: 0 6px;
	border: 0;
	border-radius: var(--vhm-radius-s, 4px);
	background: none;
	color: inherit;
	font: inherit;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
}

html:not(#_) .datepick .datepick-month-header select:hover {
	background: color-mix(in srgb, var(--c-primary) 8%, transparent);
}

/* Second month: no nav arrows overlap, title still centred */
html:not(#_) .datepick .datepick-month + .datepick-month .datepick-month-header {
	margin-top: 4px;
}

/* Grid */
html:not(#_) .datepick table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 4px;
	table-layout: fixed;
	background: none;
}

html:not(#_) .datepick th,
html:not(#_) .datepick td {
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
}

html:not(#_) .datepick th span {
	display: block;
	padding: 4px 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--c-muted);
	background: none;
}

/* Day cell: 44px tap target, number centred, optional price under it */
html:not(#_) .datepick .mphb-date-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	width: 100%;
	color: var(--c-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	z-index: 0;
	background: none !important;   /* the datepick theme paints square cells; the shape is ::before */
	box-shadow: none !important;
}

html:not(#_) .datepick td {
	background-color: transparent;
}

/* The round "chip" behind the number is a pseudo element, so range bands can sit under it */
html:not(#_) .datepick .mphb-date-cell::before {
	content: "";
	display: block !important;   /* Albatross hides it on selected days */
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 44px;
	max-width: 100%;
	transform: translateX(-50%);
	border-radius: var(--vhm-radius-s, 4px);
	z-index: -1;
}

html:not(#_) .datepick .mphb-date-cell__price {
	margin-top: 3px;
	font-size: 10px;
	font-weight: 400;
	color: var(--c-primary);
	opacity: .85;
}

html:not(#_) .datepick .mphb-date-cell__price .mphb-price {
	font-size: inherit;
}

/* Clickable days */
html:not(#_) .datepick a.mphb-date-cell,
html:not(#_) .datepick .mphb-selectable-date {
	cursor: pointer;
}

html:not(#_) .datepick .mphb-selectable-date:hover::before,
html:not(#_) .datepick .datepick-highlight::before {
	background: color-mix(in srgb, var(--c-primary) 12%, transparent);
}

/* Today: ring */
html:not(#_) .datepick .datepick-today::before {
	box-shadow: inset 0 0 0 1px var(--c-primary);
}

html:not(#_) .datepick .datepick-today {
	color: var(--c-primary);
	font-weight: 700;
}

/* Past / not allowed: faded */
html:not(#_) .datepick .mphb-past-date,
html:not(#_) .datepick .mphb-earlier-min-date,
html:not(#_) .datepick .mphb-unselectable-date:not(.mphb-booked-date):not(.mphb-check-in-date) {
	color: var(--c-text);
	opacity: .32;
}

html:not(#_) .datepick .mphb-past-date .mphb-date-cell__price {
	visibility: hidden;
}

html:not(#_) .datepick .mphb-past-date::before {
	background: #fbfbfb !important;
	border-radius: var(--vhm-radius-s, 4px);
}

/* Available: pale green tile */
html:not(#_) .datepick .mphb-available-date::before {
	background: var(--c-free);
	border-radius: var(--vhm-radius-s, 4px);
}

html:not(#_) .datepick .mphb-available-date.mphb-selectable-date:hover::before,
html:not(#_) .datepick a.mphb-available-date:hover::before {
	background: var(--c-free-hover);
}

/* Booked: pale pink tile, grey struck-through number (the strike keeps it readable without colour) */
html:not(#_) .datepick .mphb-booked-date {
	color: var(--c-booked-text);
	text-decoration: line-through;
	opacity: 1;
}

html:not(#_) .datepick .mphb-booked-date::before {
	background: var(--c-booked);
	border-radius: var(--vhm-radius-s, 4px);
}

html:not(#_) .datepick .mphb-booked-date .mphb-date-cell__price {
	visibility: hidden;
}

/* Partly booked, diagonal split: a booking starts this afternoon (green top-left, pink bottom-right)
   or ends this morning (pink top-left, green bottom-right) */
html:not(#_) .datepick .mphb-date-check-in::before {
	background: linear-gradient(135deg, var(--c-free) 50%, var(--c-booked) 50%) !important;
	border-radius: var(--vhm-radius-s, 4px);
}

/* The first night of a booking is free until the afternoon: partly booked, not struck through */
html:not(#_) .datepick .mphb-booked-date.mphb-date-check-in {
	color: var(--c-text);
	text-decoration: none;
}

html:not(#_) .datepick .mphb-date-check-out:not(.mphb-booked-date)::before {
	background: linear-gradient(135deg, var(--c-booked) 50%, var(--c-free) 50%);
	border-radius: var(--vhm-radius-s, 4px);
}

html:not(#_) .datepick .mphb-date-check-in.mphb-date-check-out:not(.mphb-booked-date)::before {
	background: linear-gradient(135deg, var(--c-booked) 42%, var(--c-free) 42%, var(--c-free) 58%, var(--c-booked) 58%);
}

/* Booking-rule markers (no arrival / no departure) are not shown as a colour: the day's own state
   (free / booked / partly) is what guests need; the rule is in the day's tooltip. */
html:not(#_) .datepick :is(.mphb-mark-as-unavailable, .mphb-mark-as-unavailable--check-in, .mphb-mark-as-unavailable--check-out) {
	overflow: visible;
}

html:not(#_) .datepick .mphb-out-of-season-date {
	color: var(--c-muted);
	opacity: .5;
}

/* Empty cells of neighbouring months */
html:not(#_) .datepick .datepick-other-month {
	visibility: hidden;
}

/* Selected range: filled circles at the ends, a tonal band between */
html:not(#_) .datepick .mphb-check-in-date,
html:not(#_) .datepick .datepick-selected,
html:not(#_) .datepick .vhm-range-end {
	color: var(--c-on-primary) !important;
	opacity: 1 !important;
	text-decoration: none;
}

html:not(#_) .datepick .mphb-check-in-date::before,
html:not(#_) .datepick .datepick-selected::before,
html:not(#_) .datepick .vhm-range-end::before {
	background: var(--c-primary) !important;
	border-radius: var(--vhm-radius-s, 4px);
}

html:not(#_) .datepick .mphb-check-in-date .mphb-date-cell__price,
html:not(#_) .datepick .vhm-range-end .mphb-date-cell__price {
	color: inherit;
}

html:not(#_) .datepick td:has(.vhm-in-range) {
	background: var(--c-range);
}

html:not(#_) .datepick td:has(.vhm-range-start) {
	background: linear-gradient(90deg, transparent 50%, var(--c-range) 50%);
}

html:not(#_) .datepick td:has(.vhm-range-end) {
	background: linear-gradient(90deg, var(--c-range) 50%, transparent 50%);
}

html:not(#_) .datepick td:first-child:has(.vhm-in-range) { border-radius: var(--vhm-radius-s, 4px) 0 0 var(--vhm-radius-s, 4px); }
html:not(#_) .datepick td:last-child:has(.vhm-in-range) { border-radius: 0 var(--vhm-radius-s, 4px) var(--vhm-radius-s, 4px) 0; }

html:not(#_) .datepick .vhm-in-range::before {
	background: none !important;
}

/* The plugin pre-selects a departure; once the guest points further, that day is just inside the band */
html:not(#_) .datepick .vhm-in-range.datepick-selected {
	color: var(--c-text) !important;
}

/* Bottom row of the pop-up: "Törlés" text button, "Bezárás" filled */
html:not(#_) .datepick .datepick-ctrl {
	float: none;
	width: auto;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: 8px 4px 0;
	padding: 0;
	background: none;
	border: 0;
}

html:not(#_) .datepick .datepick-ctrl a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: var(--vhm-radius-btn, 6px);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--c-primary);
	background: none;
	float: none;
	text-transform: none;
}

html:not(#_) .datepick .datepick-ctrl .datepick-cmd {
	width: auto;
	flex: 0 0 auto;
	border: 0;
}

html:not(#_) .datepick .datepick-ctrl .datepick-cmd-close {
	color: var(--c-on-primary);
	background: var(--c-primary);
}

html:not(#_) .datepick .datepick-clear-fix {
	display: none;
}

/* Legend under the inline calendar (vhm-core booking-ux.php) */
.vhm-cal-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 10px 4px 0;
	font: 12px/1.3 system-ui, sans-serif;
	color: #4b504d;
}

.vhm-cal-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vhm-cal-legend i {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 3px;
	border: 1px solid #e3e0da;
}

.vhm-cal-legend__free { background: #f0fff0; }
.vhm-cal-legend__booked { background: #fff1f0; }
.vhm-cal-legend__partly { background: linear-gradient(135deg, #f0fff0 50%, #fff1f0 50%); }
.vhm-cal-legend__today { background: #fff; border-color: var(--vhm-primary) !important; }

/* ---- Pop-up (date fields) ------------------------------------------------- */

/* Phones (not embedded): bottom sheet over a dimmed page */
@media (max-width: 599px) {
	html:not(.vhm-embedded):not(#_) .datepick-popup {
		position: fixed !important;
		left: 0 !important;
		right: 0 !important;
		top: auto !important;
		bottom: 0 !important;
		z-index: 100000;
		max-height: 88vh;
		overflow: auto;
		border-radius: 12px 12px 0 0;
		background: #fff;
		box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .32);
		overscroll-behavior: contain;
	}

	html:not(.vhm-embedded):not(#_) .datepick-popup .datepick {
		border-radius: 12px 12px 0 0;
		box-shadow: none;
		padding: 28px 12px calc(12px + env(safe-area-inset-bottom));
	}

	/* drag handle + title */
	html:not(.vhm-embedded):not(#_) .datepick-popup .datepick::before {
		content: "";
		position: absolute;
		top: 10px;
		left: 50%;
		width: 32px;
		height: 4px;
		margin-left: -16px;
		border-radius: 2px;
		background: #cdd0cc;
	}

	html:not(.vhm-embedded):not(#_) .datepick-popup .datepick-nav {
		top: calc(28px + 14px);
		inset-inline: 12px;
	}

	/* Sticky actions at the bottom of the sheet */
	html:not(.vhm-embedded):not(#_) .datepick-popup .datepick-ctrl {
		position: sticky;
		bottom: 0;
		margin: 8px -12px 0;
		padding: 10px 12px;
		background: #fff;
		border-top: 1px solid #ebe6df;
	}

	html:not(.vhm-embedded):not(#_) .datepick-popup .datepick-ctrl a {
		flex: 1 1 0;
		justify-content: center;
		min-height: 48px;
	}
}

/* Title of the pop-up: which date is being picked */
html:not(#_) .datepick-popup .datepick-month-row::before {
	flex: 1 1 100%;
	order: -1;
	height: 22px;
	line-height: 22px;
	margin: 0 0 -8px;
	padding: 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #4b504d;
	text-align: center;
}

html[lang^="hu"]:not(#_) .mphb-check-in-datepick .datepick-month-row::before { content: "Érkezés napja"; }
html[lang^="hu"]:not(#_) .mphb-check-out-datepick .datepick-month-row::before { content: "Távozás napja"; }
html:not([lang^="hu"]):not(#_) .mphb-check-in-datepick .datepick-month-row::before { content: "Check-in date"; }
html:not([lang^="hu"]):not(#_) .mphb-check-out-datepick .datepick-month-row::before { content: "Check-out date"; }

html:not(#_) .datepick-popup .datepick-nav {
	top: calc(8px + 14px);
}

/* Wider screens: anchored card under the field, two months */
@media (min-width: 600px) {
	html:not(#_) .datepick-popup {
		z-index: 1000;
		margin-top: 6px;
	}

	html:not(#_) .datepick-popup .datepick {
		width: min(680px, calc(100vw - 32px)) !important;
		box-shadow: 0 2px 6px 2px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.18);
	}
}

/* 11. Embedded mode (inside an iframe on the guesthouse's site; vhm-core embed.php) -- */

html.vhm-embedded {
	--vhm-pad: 8px;  /* the host page already has its own margins */
}

html.vhm-embedded,
html.vhm-embedded body {
	height: auto;
	min-height: 0;
	background: transparent;
}

html.vhm-embedded #page.site {
	padding-top: 8px;
	min-height: 0;
}

/* The host page already shows the page title */
html.vhm-embedded #page .page-header-wrapper {
	display: none;
}

html.vhm-embedded #page .vhm-footer {
	margin-top: 16px;
	padding-top: 4px;
	padding-bottom: 4px;
	background: transparent;
}

/* Footer keeps the hotel name, the Vendégházmester mark and Súgó; only the language link goes
   (the host page has its own language handling). */
html.vhm-embedded #page .vhm-footer .vhm-lang-switcher {
	display: none;
}

html.vhm-embedded #page .vhm-back-to-search {
	margin: 16px auto 0;
}

/* TranslatePress' floating language switcher (fixed, bottom right, z-index 99999) sits on top of the sticky
   action bar's main button. While a bar is showing, the footer link is the way to switch language. */
body:has(.vhm-actionbar:not(.mphb-empty-cart)) .trp-floating-switcher {
	display: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* 12. Carried over from albatross-vhm-child ------------------------------------ */

.room-excerpt .first-letter {
	font-size: 30px !important;
	line-height: 38px !important;
	margin-right: 0 !important;
}

/* WooCommerce cart/checkout blocks use alignwide (1620px); match the content width */
.woocommerce-cart .entry-content > *.alignwide,
.woocommerce-checkout .entry-content > *.alignwide,
.woocommerce-account .entry-content > *.alignwide {
	max-width: 780px;
}

/* Ultimate Multisite thank-you page: order ID / e-mail / total row. Columns could not shrink, so the long e-mail ran into the total. */
#wu-thank-you-element .wu-thank-you-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1.25rem 1.5rem;
}

#wu-thank-you-element .wu-thank-you-info > li {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

#wu-sites div.wu-bg-gray-100:has(> .wu-flex-grow) img {
	display: block;
	width: 6rem;
	height: auto;
}

/* Ultimate Multisite thank-you / account page: site card */
#wu-sites div.wu-bg-gray-100:has(> .wu-flex-grow) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

#wu-sites div.wu-bg-gray-100:has(> .wu-flex-grow) > .wu-flex-shrink-0:first-child {
	margin: 0;
}

#wu-sites div.wu-bg-gray-100:has(> .wu-flex-grow) > .wu-flex-grow {
	flex: 1 1 12rem;
	min-width: 0;
}

#wu-sites div.wu-bg-gray-100:has(> .wu-flex-grow) > .wu-flex-shrink-0:last-child {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#wu-sites div.wu-bg-gray-100:has(> .wu-flex-grow) > .wu-flex-shrink-0:last-child > a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	white-space: nowrap;
}

#wu-sites .wu-flex-grow h5 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	margin: 0 0 0.25rem;
}

#wu-sites .wu-flex-grow .wu-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
