/* MotoPress Hotel Booking: forms, results and checkout. Loaded only on booking pages. */

.mphb_sc_search-form,
.mphb-booking-form,
.mphb_sc_checkout-form {
	--rh-field-h: 50px;
}

.rh-search-card .mphb_sc_search-form,
.rh-book .mphb-booking-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid #b9bfcc;
	border-radius: 12px;
	overflow: hidden;
	margin: 0;
}
.rh-search-card .mphb_sc_search-form > p,
.rh-book .mphb-booking-form > p {
	margin: 0;
	padding: 10px 14px 8px;
	border-bottom: 1px solid #b9bfcc;
	position: relative;
}
.rh-search-card .mphb_sc_search-form > p:nth-of-type(odd):not(.mphb_sc_search-submit-button-wrapper),
.rh-book .mphb-booking-form > p:nth-of-type(odd) {
	border-right: 1px solid #b9bfcc;
}
.mphb_sc_search-form label,
.mphb-booking-form label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rh-ink);
	line-height: 1.2;
}
.mphb_sc_search-form label abbr,
.mphb-booking-form label abbr,
.mphb-required-fields-tip { display: none; }
.mphb_sc_search-form br,
.mphb-booking-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 {
	width: 100%;
	border: 0;
	padding: 2px 0 0;
	min-height: 28px;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	color: var(--rh-copy);
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}
.mphb_sc_search-form select,
.mphb-booking-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23071a3d' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	padding-right: 18px;
}
.rh-search-card .mphb_sc_search-submit-button-wrapper,
.rh-book .mphb-reserve-btn-wrapper {
	grid-column: 1 / -1;
	border: 0 !important;
	padding: 14px !important;
}
.mphb_sc_search-form input[type="submit"],
.mphb_sc_search-form button[type="submit"],
.mphb-booking-form .mphb-reserve-btn,
.mphb-booking-form .mphb-confirm-reservation,
.mphb_sc_search_results-wrapper .button,
.mphb_sc_search_results-wrapper button,
.mphb_sc_checkout-form .mphb_sc_checkout-submit-wrapper input[type="submit"],
.mphb_sc_checkout-form button[type="submit"],
.mphb-book-button,
.mphb-view-details-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--rh-field-h);
	padding: 0 1.4em;
	border: 0;
	border-radius: 12px;
	background: var(--rh-gold);
	color: var(--rh-navy);
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.mphb_sc_search-form input[type="submit"]:hover,
.mphb-booking-form .mphb-reserve-btn:hover,
.mphb-booking-form .mphb-confirm-reservation:hover,
.mphb_sc_checkout-form input[type="submit"]:hover,
.mphb-book-button:hover { background: var(--rh-gold-dark); color: #fff; }

/* Room booking box: messages and totals */
.rh-book .mphb-booking-form > *:not(p) { grid-column: 1 / -1; }
.rh-book .mphb-reserve-room-section,
.rh-book .mphb-errors-wrapper,
.rh-book .mphb-period-price {
	padding: 12px 14px;
	font-size: .95rem;
}
.rh-book .mphb-reserve-room-section .mphb-confirm-reservation { margin-top: 10px; }
.rh-book .mphb-period-price .mphb-price { font-weight: 700; color: var(--rh-ink); }
.mphb-errors-wrapper { color: #b42318; }
.mphb-hide { display: none !important; }

/* Search results */
.mphb_sc_search_results-wrapper { max-width: var(--rh-wrap); margin-inline: auto; padding-inline: var(--rh-gutter); }
.mphb_sc_search_results-info { padding: 14px 18px; background: var(--rh-cream); border: 1px solid var(--rh-line); border-radius: var(--rh-radius); }
.mphb_sc_search_results-wrapper .mphb-room-type {
	display: grid;
	grid-template-columns: minmax(0, 360px) 1fr;
	gap: 24px;
	padding: 20px;
	margin: 20px 0;
	border: 1px solid var(--rh-line-soft);
	border-radius: var(--rh-radius-lg);
	box-shadow: var(--rh-shadow);
}
.mphb_sc_search_results-wrapper .mphb-room-type img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rh-radius); }
.mphb_sc_search_results-wrapper .mphb-room-type-title { font-family: var(--rh-sans); font-size: 1.2rem; }
.mphb_sc_search_results-wrapper .mphb-price { font-weight: 700; color: var(--rh-ink); }
@media (max-width: 760px) {
	.mphb_sc_search_results-wrapper .mphb-room-type { grid-template-columns: 1fr; }
}
.mphb-recommendation { border: 1px solid var(--rh-line); border-radius: var(--rh-radius-lg); padding: 20px; background: #fff; }

/* Checkout */
.mphb_sc_checkout-form { max-width: 920px; margin-inline: auto; }
.mphb_sc_checkout-form section,
.mphb_sc_checkout-form .mphb-checkout-section {
	border: 1px solid var(--rh-line-soft);
	border-radius: var(--rh-radius-lg);
	padding: clamp(18px, 3vw, 28px);
	margin-bottom: 20px;
}
.mphb_sc_checkout-form h3,
.mphb_sc_checkout-form h4 { font-family: var(--rh-sans); }
.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 select,
.mphb_sc_checkout-form textarea {
	width: 100%;
	min-height: var(--rh-field-h);
	padding: 10px 14px;
	border: 1px solid #b9bfcc;
	border-radius: 10px;
	font: inherit;
	background: #fff;
}
.mphb_sc_checkout-form table { width: 100%; border-collapse: collapse; }
.mphb_sc_checkout-form th,
.mphb_sc_checkout-form td { padding: 10px; border-bottom: 1px solid var(--rh-line-soft); text-align: left; }

/* Date picker popup */
.datepick-popup { z-index: 120 !important; }
.datepick-popup .datepick {
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: var(--rh-shadow-lg) !important;
	font-family: var(--rh-sans) !important;
	overflow: hidden;
}
.datepick-popup .datepick-month-header,
.datepick-popup .datepick-nav,
.datepick-popup .datepick-ctrl { background: var(--rh-navy) !important; color: #fff !important; }
.datepick-popup .datepick-nav a,
.datepick-popup .datepick-ctrl a { color: #fff !important; }
.datepick-popup .datepick-month td .datepick-selected,
.datepick-popup .datepick-month td a.datepick-highlight { background: var(--rh-gold) !important; color: var(--rh-navy) !important; }

/* Server-side price note and guest check (27 Oct). */
.rh-price-note { display: block; margin-top: 2px; font-size: .85rem; color: var(--rh-muted); font-weight: 500; }
.rh-guest-check { border: 0; border-radius: var(--rh-radius-lg); padding: 28px 24px; max-width: 420px; width: calc(100% - 32px); text-align: center; box-shadow: var(--rh-shadow-lg); }
.rh-guest-check::backdrop { background: rgba(7, 26, 61, .55); }
.rh-guest-check h2 { font-size: 1.35rem; margin-bottom: 8px; }
.rh-guest-check p { margin: 0 0 18px; }

/* Search results page (27 Oct): compact apartment cards + recommendation box. */
.mphb_sc_search_results-wrapper { display: grid; gap: 18px; }
.mphb_sc_search_results-info { margin: 0; color: var(--rh-muted); font-weight: 500; }
.mphb-recommendation-title { font-size: 1.35rem; margin: 6px 0 0; }
.mphb-recommendation { background: var(--rh-cream); border: 1px solid var(--rh-line); border-radius: var(--rh-radius-lg); padding: 18px 20px; }
.mphb-recommendation-details-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.mphb-recommendation-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mphb-recommendation-item-link { font-weight: 600; color: var(--rh-navy); }
.mphb-recommendation-item-guests { color: var(--rh-muted); }
.mphb-recommendation-total { margin: 0 0 12px; font-weight: 600; color: var(--rh-navy); }
.mphb-recommendation .rh-price-note { display: inline; margin-left: 6px; }
.rh-result { display: grid; grid-template-columns: 300px minmax(0, 1fr) 240px; grid-template-areas: "media body aside"; gap: 22px; align-items: start; margin: 0 !important; float: none !important; width: auto !important; background: #fff; border: 1px solid var(--rh-line-soft); border-radius: var(--rh-radius-lg); padding: 16px; box-shadow: var(--rh-shadow); }
.rh-result__media { display: block; border-radius: var(--rh-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rh-cream); }
.rh-result__media img { width: 100%; height: 100%; object-fit: cover; }
.rh-result__title { font-size: 1.25rem; margin: 2px 0 6px; line-height: 1.3; }
.rh-result__title a { color: var(--rh-navy); text-decoration: none; }
.rh-result__title a:hover { color: var(--rh-gold-dark); }
.rh-result__excerpt { margin: 10px 0; font-size: .95rem; }
.rh-result__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.rh-result__tags li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--rh-cream); color: var(--rh-navy); letter-spacing: normal; }
.rh-result__aside { display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--rh-line-soft); padding-left: 20px; }
.rh-result__aside .rh-price-for-dates { margin: 0; font-size: 1.05rem; color: var(--rh-navy); }
.rh-result__aside .rh-price-for-dates strong:first-child { display: none; }
.rh-result__aside .mphb-price { font-size: 1.35rem; font-weight: 700; color: var(--rh-navy); }
.rh-result__aside .mphb-reserve-room-section { display: grid; gap: 8px; }
.rh-result__aside .mphb-book-button, .rh-result__aside .mphb-confirm-reservation, .mphb-recommendation .mphb-button, .mphb-recommendation button { width: 100%; min-height: 44px; border: 0; border-radius: 999px; background: var(--rh-gold); color: var(--rh-navy); font-weight: 600; letter-spacing: normal; cursor: pointer; }
.rh-result__aside .mphb-confirm-reservation { background: var(--rh-navy); color: #fff; }
.rh-result__aside .mphb-rooms-reservation-message-wrapper { font-size: .9rem; }
.rh-result__aside .mphb-remove-from-reservation { font-size: .85rem; }
.rh-result__view { font-size: .95rem; }
@media (max-width: 1040px) { .rh-result { grid-template-columns: 240px minmax(0, 1fr); } .rh-result__aside { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--rh-line-soft); padding-top: 14px; grid-template-columns: 1fr auto; align-items: center; } .rh-result__aside .mphb-reserve-room-section { grid-column: 1 / -1; } }
@media (max-width: 640px) { .rh-result { grid-template-columns: 1fr; padding: 12px; gap: 12px; } .rh-result__aside { grid-template-columns: 1fr; } }

.rh-result > * { grid-column: 1 / -1; }
.rh-result > .rh-result__media { grid-area: media; }
.rh-result > .rh-result__body { grid-area: body; }
.rh-result > .rh-result__aside { grid-area: aside; }
.rh-result > :empty { display: none; }
@media (max-width: 1040px) { .rh-result { grid-template-areas: "media body" "aside aside"; } }
@media (max-width: 640px) { .rh-result { grid-template-areas: "media" "body" "aside"; } }

/* -------------------------------------------------------------------------
 * Booking status pages (reservation received / confirmed / failed / cancelled)
 * Markup: template-confirmation.php around MotoPress's [mphb_booking_confirmation].
 * ---------------------------------------------------------------------- */
.rh-conf__head { background: var(--rh-cream); border-bottom: 1px solid var(--rh-line); padding-block: clamp(32px, 6vw, 64px); }
.rh-conf__head-inner { display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 28px); }
.rh-conf__head h1 { margin: 0 0 .3em; }
.rh-conf__head .rh-eyebrow { margin-bottom: .5em; }
.rh-conf__lead { max-width: 60ch; margin: 0; color: var(--rh-copy); font-size: 1.05rem; }
.rh-conf__icon { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 18px rgba(7,26,61,.08); }
.rh-conf__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rh-conf--received .rh-conf__icon { color: var(--rh-gold-dark); }
.rh-conf--confirmed .rh-conf__icon { color: #1f7a4d; }
.rh-conf--failed .rh-conf__icon, .rh-conf--cancelled .rh-conf__icon { color: #b3261e; }

.rh-conf__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 36px); padding-block: clamp(28px, 5vw, 56px); align-items: start; }
.rh-conf__card { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius-lg); padding: clamp(20px, 3vw, 32px); color: var(--rh-copy); }
.rh-conf__card > p:first-child, .mphb-payment-messages p { margin: 0 0 1.2em; font-size: 1.05rem; color: var(--rh-ink); }
.rh-conf__card .mphb-booking-details-section + .mphb-booking-details-section { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--rh-line); }
.rh-conf__card .mphb-booking-details-title { font-size: 1.15rem; margin: 0 0 12px; color: var(--rh-navy); }
.rh-conf__card .mphb-booking-details { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rh-conf__card .mphb-booking-details li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--rh-cream); border-radius: var(--rh-radius); margin: 0; border: 0; }
.rh-conf__card .mphb-booking-details .label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-copy); }
.rh-conf__card .mphb-booking-details .value { font-weight: 600; color: var(--rh-ink); line-height: 1.35; }
.rh-conf__card .mphb-booking-details .mphb-price { font-weight: 700; color: var(--rh-navy); }
.rh-conf__card .booking-status .value, .rh-conf__card .payment-number:last-child .value { display: inline-flex; align-items: center; gap: 6px; }
.rh-conf__card .booking-status .value::before, .rh-conf__card .payment-number:last-child .value::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rh-gold); }
.rh-conf--confirmed .rh-conf__card .booking-status .value::before, .rh-conf--confirmed .rh-conf__card .payment-number:last-child .value::before { background: #1f7a4d; }
.rh-conf__card .accommodations { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.rh-conf__card .accommodations-title { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-copy); }
.rh-conf__card .accommodations-list a { font-weight: 600; color: var(--rh-navy); }
.rh-conf__card .mphb-booking-details-section.payment .mphb-booking-details li:nth-child(3) { grid-column: 1 / -1; }
.rh-conf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rh-conf__actions .rh-btn .rh-icon { width: 18px; height: 18px; }
.rh-conf__card .mphb_sc_booking_cancellation, .rh-conf__card form { margin-top: 6px; }

.rh-conf__aside { display: grid; gap: 18px; }
.rh-conf__box { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius-lg); padding: clamp(18px, 2.6vw, 26px); color: var(--rh-copy); }
.rh-conf__box h2 { font-size: 1.1rem; margin: 0 0 12px; color: var(--rh-navy); }
.rh-conf__steps { list-style: none; margin: 0; padding: 0; counter-reset: rh-step; display: grid; gap: 12px; }
.rh-conf__steps li { position: relative; padding-left: 38px; display: grid; gap: 2px; }
.rh-conf__steps li::before { counter-increment: rh-step; content: counter(rh-step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--rh-cream); color: var(--rh-navy); border: 1px solid var(--rh-line); }
.rh-conf__steps strong { color: var(--rh-ink); }
.rh-conf__steps span { font-size: .95rem; }
.rh-conf__box--contact p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.rh-conf__box--contact .rh-icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--rh-gold-dark); }
.rh-conf__box--contact a { color: var(--rh-navy); font-weight: 500; }
.rh-conf__hours { padding-left: 28px; font-size: .92rem; }

@media (max-width: 900px) {
	.rh-conf__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.rh-conf__head-inner { flex-direction: column; gap: 14px; }
	.rh-conf__icon { width: 54px; height: 54px; }
	.rh-conf__card .mphb-booking-details { grid-template-columns: 1fr 1fr; }
	.rh-conf__card .mphb-booking-details-section.payment .mphb-booking-details li:nth-child(3) { grid-column: 1 / -1; }
	.rh-conf__actions .rh-btn { width: 100%; justify-content: center; }
}

/* Booking account (MotoPress [mphb_account]): login, menu, bookings, details. 12 Nov. */
.mphb_sc_account { --rh-field-h: 50px; }
.mphb-login-form,
.mphb-account-details,
.mphb-account-bookings-wrap { max-width: 520px; }
.mphb-login-form form,
.mphb-account-details-form {
	background: #fff;
	border: 1px solid var(--rh-line-soft);
	border-radius: var(--rh-radius-lg);
	padding: clamp(20px, 3vw, 28px);
	box-shadow: var(--rh-shadow);
}
.mphb-login-form p,
.mphb-account-details-form p { margin: 0 0 16px; }
.mphb-login-form label,
.mphb-account-details-form label {
	display: block;
	margin-bottom: 6px;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rh-ink);
}
.mphb-login-form input[type="text"],
.mphb-login-form input[type="password"],
.mphb-account-details-form input[type="text"],
.mphb-account-details-form input[type="email"],
.mphb-account-details-form input[type="tel"],
.mphb-account-details-form input[type="password"],
.mphb-account-details-form select {
	width: 100%;
	min-height: var(--rh-field-h);
	padding: 10px 14px;
	border: 1px solid #b9bfcc;
	border-radius: 10px;
	font: inherit;
	font-size: 1rem;
	color: var(--rh-copy);
	background: #fff;
}
.mphb-login-form input:focus,
.mphb-account-details-form input:focus { outline: 2px solid var(--rh-gold); outline-offset: 1px; border-color: var(--rh-gold); }
.mphb-login-form .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	text-transform: none;
	letter-spacing: 0;
	font-size: .95rem;
	font-weight: 500;
	color: var(--rh-copy);
}
.mphb-login-form .login-remember input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--rh-navy); margin: 0; }
.mphb-login-form .login-submit { margin: 4px 0 0; }
.mphb-login-form input[type="submit"],
.mphb-account-details-form input[type="submit"],
.mphb-account-details-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--rh-field-h);
	padding: 0 1.4em;
	border: 0;
	border-radius: 12px;
	background: var(--rh-navy);
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background .2s;
}
.mphb-login-form input[type="submit"]:hover,
.mphb-account-details-form input[type="submit"]:hover,
.mphb-account-details-form button[type="submit"]:hover { background: var(--rh-gold-dark); }
.mphb-login-form > a { display: inline-block; margin-top: 14px; font-size: .95rem; }
.mphb-login-form .login-error,
.mphb_sc_account .mphb-errors-wrapper { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--rh-radius); background: #fdecea; color: #b42318; }

/* Logged in: menu + content */
.mphb-account-menu {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mphb-account-menu li { margin: 0; }
.mphb-account-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--rh-line);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	color: var(--rh-ink);
	background: #fff;
}
.mphb-account-menu a:hover,
.mphb-account-menu .active a,
.mphb-account-menu .current a { background: var(--rh-navy); border-color: var(--rh-navy); color: #fff; }

.mphb-account-bookings { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mphb-account-bookings th,
.mphb-account-bookings td { padding: 12px 10px; border-bottom: 1px solid var(--rh-line-soft); text-align: left; vertical-align: top; }
.mphb-account-bookings th { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rh-ink); background: var(--rh-cream); }
.mphb-account-bookings .booking-status { display: block; margin-top: 2px; font-size: .8rem; color: var(--rh-copy); }
.mphb-account-bookings .booking-actions a { font-weight: 600; }
.mphb-nav-links { display: flex; gap: 12px; margin-top: 16px; }
@media (max-width: 640px) {
	.mphb-account-bookings thead { display: none; }
	.mphb-account-bookings tr { display: block; margin-bottom: 14px; border: 1px solid var(--rh-line-soft); border-radius: var(--rh-radius); padding: 6px 12px; }
	.mphb-account-bookings td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--rh-line-soft); }
	.mphb-account-bookings td:last-child { border-bottom: 0; }
	.mphb-account-bookings td::before { content: attr(data-title); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rh-ink); }
}

/* Search results, 12 Nov: the generic .mphb-room-type grid rule above outranked
   .rh-result, so the price column was auto-sized and grew once "added to your
   reservation" appeared. Same specificity here, declared later, wins. */
.mphb_sc_search_results-wrapper .mphb-room-type.rh-result { grid-template-columns: 300px minmax(0, 1fr) 240px; grid-template-areas: "media body aside"; }
.rh-result__media { grid-area: media; }
.rh-result__body { grid-area: body; min-width: 0; }
.rh-result__aside { grid-area: aside; min-width: 0; }
.rh-result__aside .mphb-rooms-reservation-message { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 1040px) {
	.mphb_sc_search_results-wrapper .mphb-room-type.rh-result { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "media body" "aside aside"; }
}
@media (max-width: 640px) {
	.mphb_sc_search_results-wrapper .mphb-room-type.rh-result { grid-template-columns: 1fr; grid-template-areas: "media" "body" "aside"; }
}
/* One clear next step: "Book" adds the apartment; once added it is replaced by
   "Confirm Reservation" (goes to checkout) and a "Remove" link. */
.rh-result__aside .mphb-reserve-room-section.mphb-rooms-added .mphb-book-button { display: none; }
.rh-result__aside .mphb-reserve-room-section.mphb-rooms-added .mphb-confirm-reservation { background: var(--rh-gold); color: var(--rh-navy); }
.rh-result__aside .mphb-rooms-reservation-message-wrapper { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 12px; border-radius: var(--rh-radius); background: var(--rh-cream); font-size: .9rem; }
.rh-result__aside .mphb-rooms-reservation-message-wrapper .mphb-remove-from-reservation { order: 2; float: none !important; margin-left: auto; font-weight: 600; }
.rh-result__aside .mphb-rooms-reservation-message-wrapper .mphb-rooms-reservation-message { order: 1; flex: 1 1 100%; }
/* Reservation summary bar (top of results) */
.mphb_sc_search_results-wrapper .mphb-reservation-cart { background: var(--rh-navy); color: #fff; border-radius: var(--rh-radius-lg); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.mphb_sc_search_results-wrapper .mphb-reservation-cart .mphb-reservation-details { float: none !important; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.mphb_sc_search_results-wrapper .mphb-reservation-cart p { margin: 0; }
.mphb_sc_search_results-wrapper .mphb-reservation-cart .mphb-cart-total-price { font-weight: 700; }
.mphb_sc_search_results-wrapper .mphb-reservation-cart .mphb-confirm-reservation { float: none !important; margin-left: auto; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--rh-gold); color: var(--rh-navy); font-weight: 700; cursor: pointer; }
.mphb_sc_search_results-wrapper .mphb-reservation-cart.mphb-empty-cart { display: none; }
.mphb_sc_search_results-wrapper .mphb-reservation-cart .mphb-price, .mphb_sc_search_results-wrapper .mphb-reservation-cart .mphb-cart-total-price, .mphb_sc_search_results-wrapper .mphb-reservation-cart .rh-price-note { color: #fff; }
