.mphb-ext-listing-search {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1em;
	margin-bottom: 1em;
}

.mphb-ext-listing-search label {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	font-size: 0.9em;
}

.mphb-ext-listing-search select[multiple] {
	min-width: 160px;
}

.mphb-ext-listing-items {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mphb-ext-listing-item {
	width: 220px;
}

.mphb-ext-listing-item a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.mphb-ext-listing-item-title {
	display: block;
	font-weight: bold;
	margin-top: 0.5em;
}

.mphb-ext-listing-item-type {
	display: block;
	font-size: 0.85em;
	color: #666;
}

.mphb-ext-price {
	font-weight: bold;
	margin: 0.5em 0;
}

.mphb-ext-available {
	color: #1e7e34;
}

.mphb-ext-unavailable,
.mphb-ext-already-in-cart,
.mphb-ext-search-error {
	color: #b71c1c;
}

.mphb-ext-showing-all {
	color: #666;
	font-style: italic;
}

.mphb-ext-stay-hint {
	color: #666;
	font-size: 0.9em;
	margin: 0.25em 0;
}

.mphb-ext-stay-hint:empty {
	display: none;
}

/* Days the Booking Rules block on the search form's calendar popups, greyed
 * the same way MPHB's own theme greys its earlier/later-than-allowed days. */
.mphb-datepick-popup .datepick-month td .mphb-ext-blocked-date {
	opacity: 0.5;
	background-color: #eee;
	color: #888;
	cursor: not-allowed;
}

.mphb-ext-current-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 1em;
}

.mphb-ext-clear-search {
	font-size: 0.85em;
}

.mphb-ext-cart-items {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.mphb-ext-cart-item {
	display: flex;
	gap: 1em;
	align-items: center;
	padding: 0.75em 0;
	border-bottom: 1px solid #eee;
}

.mphb-ext-cart-item-body {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.mphb-ext-cart-item-title {
	font-weight: bold;
}

.mphb-ext-cart-item-type {
	font-size: 0.85em;
	color: #666;
}

.mphb-ext-cart-item-price {
	font-weight: bold;
}

.mphb-ext-cart-total {
	font-size: 1.1em;
	margin: 1em 0;
}

.mphb-ext-cart-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75em;
}

.mphb-ext-cart-summary-count {
	white-space: nowrap;
}

.mphb-ext-cart-summary .mphb-ext-cart-checkout-form {
	margin: 0;
}

.mphb-ext-mini-calendar {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin: 0.75em 0;
}

.mphb-ext-calendar-month {
	border-collapse: collapse;
	font-size: 0.75em;
}

.mphb-ext-calendar-month caption {
	font-weight: bold;
	text-align: left;
	margin-bottom: 0.25em;
}

.mphb-ext-calendar-month td {
	width: 1.8em;
	height: 1.8em;
	text-align: center;
}

.mphb-ext-calendar-month td.is-booked {
	background: #fbe9e7;
	color: #b71c1c;
	text-decoration: line-through;
}

.mphb-ext-calendar-month td.is-open {
	background: #e6f4ea;
	color: #1e7e34;
}

.mphb-ext-calendar-month td.is-outside-window {
	color: #bbb;
}

.mphb-ext-added-notice {
	position: fixed;
	top: 1em;
	right: 1em;
	z-index: 10000;
	display: flex;
	align-items: center;
	gap: 1em;
	background: #1e7e34;
	color: #fff;
	padding: 0.85em 1.25em;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	opacity: 0;
	transform: translateY(-0.5em);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.mphb-ext-added-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.mphb-ext-added-notice p {
	margin: 0;
}

.mphb-ext-added-notice a {
	color: #fff;
	text-decoration: underline;
	white-space: nowrap;
}

.mphb-ext-booking-accommodations {
	border-collapse: collapse;
	width: 100%;
	margin-top: 0.75em;
}

.mphb-ext-booking-accommodations th,
.mphb-ext-booking-accommodations td {
	text-align: left;
	padding: 0.5em 0.75em;
	border-bottom: 1px solid #eee;
}

.mphb-ext-booking-accommodations th {
	font-size: 0.85em;
	color: #666;
	font-weight: normal;
}

.mphb-ext-added-notice-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.25em;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.mphb-ext-accommodation-rates {
	margin: 0.75em 0;
}

.mphb-ext-accommodation-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1.5em;
	list-style: none;
	margin: 0.75em 0;
	padding: 0;
}

.mphb-ext-accommodation-add-to-cart {
	margin: 0.75em 0;
}

.mphb-ext-booking-rule-reasons {
	color: #b71c1c;
	margin: 0 0 0.75em;
	padding-left: 1.25em;
}

.mphb-ext-booking-rules {
	margin: 0.75em 0;
}

.mphb-ext-booking-rules-title {
	font-weight: bold;
	margin-bottom: 0.25em;
}

.mphb-ext-booking-rules-list {
	margin: 0 0 0.5em;
	padding-left: 1.25em;
}

.mphb-ext-booking-rule-violated {
	color: #b71c1c;
	font-weight: bold;
}

.mphb-ext-booking-rules-notice {
	color: #b71c1c;
}

.mphb-ext-listing-booking-rules-notice {
	color: #b71c1c;
	margin-bottom: 1em;
}

.mphb-ext-listing-booking-rules-notice ul {
	margin: 0.25em 0 0;
	padding-left: 1.25em;
}
