/* ============================================================
   Amdina × MotoPress — make MotoPress's own markup adopt the
   Amdina design-system look (booking panel form + search page).
   ============================================================ */

/* ── MotoPress booking buttons → Amdina green (Book, Reserve, etc.) ──
   MotoPress ships these as blue .mphb-button; override to the brand button. */
.mphb-button,
button.mphb-button,
.mphb-book-button,
.mphb-recommendation-reserve-button,
.mphb-apply-coupon-code-button,
.mphb-checkout-place-booking-button,
[class*="mphb-"][class*="-button"],
.mphb_sc_search-results .button,
.amdina-rr-book .button {
	background: var(--green) !important;
	color: #fff !important;
	border: 1px solid var(--green) !important;
	border-radius: var(--radius-xs) !important;
	padding: 11px 24px !important;
	font-family: var(--font-ui) !important;
	font-size: 10px !important;
	font-weight: 500 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	width: auto !important;
}
.mphb-button:hover,
button.mphb-button:hover,
.mphb-apply-coupon-code-button:hover,
.mphb-checkout-place-booking-button:hover,
[class*="mphb-"][class*="-button"]:hover,
.amdina-rr-book .button:hover {
	background: var(--green-dark) !important;
	border-color: var(--green-dark) !important;
	color: #fff !important;
}

/* ── Checkout + confirmation page polish ──
   More specific than the full-width room rule so the form sits in a centered
   column (the booking flow isn't a full-bleed marketing page). ── */
body.page-id-38 #content .ast-container,
body.page-id-178 #content .ast-container { max-width: 940px !important; margin: 32px auto 64px !important; padding: 0 24px !important; }
.page-id-38 h2, .page-id-38 h3,
.page-id-178 h2, .page-id-178 h3 { font-family: var(--font-display); font-weight: 300; color: var(--text); }
.page-id-38 label,
.page-id-178 label { font-family: var(--font-ui); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.page-id-38 input[type="text"],
.page-id-38 input[type="email"],
.page-id-38 input[type="tel"],
.page-id-38 input[type="number"],
.page-id-38 select,
.page-id-38 textarea {
	font-family: var(--font-ui); font-size: 13px; color: var(--text);
	background: var(--warm); border: 1px solid var(--border);
	border-radius: var(--radius-xs); padding: 10px 12px; width: 100%; outline: none;
}
.page-id-38 input:focus,
.page-id-38 select:focus,
.page-id-38 textarea:focus { border-color: var(--green); background: #fff; }
.page-id-38 .mphb-prices-table,
.page-id-38 table { width: 100%; border-collapse: collapse; }
.page-id-38 .mphb-prices-table td,
.page-id-38 .mphb-prices-table th { padding: 12px; border-bottom: 1px solid var(--border-light); }

/* Service checkboxes: natural size + clean inline rows (not full-width boxes) */
.page-id-38 input[type="checkbox"],
.page-id-38 input[type="radio"],
.page-id-178 input[type="checkbox"] {
	width: 17px !important;
	height: 17px !important;
	min-width: 17px;
	-webkit-appearance: auto !important;
	appearance: auto !important;
	accent-color: var(--green);
	background: #fff !important;
	border: 1px solid var(--border) !important;
	margin: 0 10px 0 0 !important;
	padding: 0 !important;
	display: inline-block;
	vertical-align: middle;
}
/* Checkbox labels (services) read as a list, not as uppercase field labels */
.page-id-38 .mphb-checkbox-label {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 11px 0;
	border-bottom: 1px solid var(--border-light);
	font-family: var(--font-ui);
	font-size: 13.5px;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text);
}
.page-id-38 .mphb-checkbox-label em { font-style: normal; color: var(--text-muted); }
.page-id-38 .mphb-checkbox-label .mphb-price { color: var(--green); font-weight: 500; }
/* Tidy the services section heading */
.page-id-38 .mphb-services-title,
.page-id-38 h3 { margin: 8px 0 4px; }

/* ===== Checkout refinements (clear, card-based, on-brand) ===== */

/* Final "Book Now" submit button → green */
.page-id-38 input[type="submit"],
.page-id-38 input.button,
.page-id-178 input[type="submit"] {
	background: var(--green) !important; color: #fff !important;
	border: 1px solid var(--green) !important; border-radius: var(--radius-xs) !important;
	padding: 14px 32px !important; font-family: var(--font-ui) !important; font-size: 11px !important;
	font-weight: 500 !important; letter-spacing: .1em !important; text-transform: uppercase !important;
	cursor: pointer !important; -webkit-appearance: none; appearance: none; box-shadow: none !important;
}
.page-id-38 input[type="submit"]:hover { background: var(--green-dark) !important; }

/* Drop the per-room "Full Guest Name" (name is collected in Your Information) */
.mphb-guest-name-wrapper { display: none !important; }

/* Remove the "Hello admin (not admin? Log out)" greeting at the top of checkout */
.mphb-login-form-wrap,
.page-id-38 .mphb-login-form-wrap { display: none !important; }

/* Price Breakdown: always expanded, never a collapsible tab */
.page-id-38 .mphb-price-breakdown-expand .mphb-inner-icon { display: none !important; }
.page-id-38 a.mphb-price-breakdown-expand { pointer-events: none; cursor: default; color: var(--text) !important; text-decoration: none !important; font-weight: 500; }
.page-id-38 .mphb-price-breakdown tr { display: table-row !important; }
.page-id-38 .mphb-price-breakdown { width: 100%; border-collapse: collapse; }
.page-id-38 .mphb-price-breakdown td,
.page-id-38 .mphb-price-breakdown th { border: 1px solid var(--border-light); padding: 12px 14px; font-family: var(--font-ui); font-size: 13px; }

/* Service checkbox labels read as options, not uppercase field labels */
.page-id-38 .mphb-checkbox-label { text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; color: var(--text) !important; }

/* Section cards (booking details, services, price breakdown, your information) */
.page-id-38 .mphb-checkout-section {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 24px 28px; margin-bottom: 20px;
}
.page-id-38 .mphb-checkout-section h2,
.page-id-38 .mphb-checkout-section h3,
.page-id-38 .mphb-checkout-section h4,
.page-id-38 .mphb-booking-details-title,
.page-id-38 .mphb-customer-details-title,
.page-id-38 .mphb-price-breakdown-title,
.page-id-38 .mphb-services-checkout-title {
	font-family: var(--font-display) !important; font-weight: 300 !important;
	font-size: 24px !important; color: var(--text) !important; margin: 0 0 16px !important;
	text-transform: none !important; letter-spacing: 0 !important;
}

/* Progress steps bar (shortcode) */
.amdina-steps-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 22px 0; margin: 0 0 24px; }
.amdina-steps-bar .steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
/* Completed steps are clickable links back */
.amdina-step-link { text-decoration: none; cursor: pointer; transition: opacity .2s; }
.amdina-step-link:hover { opacity: .75; }
.amdina-step-link:hover .num { box-shadow: 0 0 0 3px var(--green-light); }
.amdina-step-link:hover .lbl { color: var(--green); }

/* Multi-room quantity selector + helper text in the result rows */
.amdina-rr-book .mphb-reserve-room-section { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.amdina-rr-book .mphb-rooms-quantity-wrapper { margin: 0; }
.amdina-rr-book .mphb-rooms-quantity {
	font-family: var(--font-ui); font-size: 13px; color: var(--text);
	background: var(--warm); border: 1px solid var(--border);
	border-radius: var(--radius-xs); padding: 8px 10px;
	width: 90px !important; display: inline-block;
}
.amdina-rr-book .mphb-available-rooms-count,
.amdina-rr-book .mphb-rooms-quantity-label { font-family: var(--font-ui); font-size: 10px; color: var(--text-muted); }

/* Recommended-combination block (multi-room family suggestion) */
.mphb-recommendation { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; }
.mphb-recommendation .mphb-recommendation-total,
.mphb-recommendation .mphb-price { font-family: var(--font-display); color: var(--green); }

/* ── "Added to reservation" state: show only Remove + Confirm Reservation ── */
.mphb-rooms-added .mphb-rooms-quantity-wrapper,
.mphb-rooms-added .mphb-book-button { display: none !important; }
.rr-price:has(.mphb-rooms-added) .amdina-view-details { display: none !important; }

/* Clean the "X have been added… Remove" block (was running together) */
.mphb-rooms-reservation-message-wrapper {
	display: flex; flex-direction: column; align-items: flex-end;
	gap: 6px; text-align: right; margin-bottom: 12px;
}
.mphb-rooms-reservation-message {
	order: 1; margin: 0 !important;
	font-family: var(--font-ui); font-size: 12px; font-weight: 300; line-height: 1.5;
	color: var(--green-deep); background: var(--green-light);
	border: 1px solid #b7e8c0; border-radius: var(--radius-xs); padding: 8px 12px;
}
.mphb-remove-from-reservation {
	order: 2; font-family: var(--font-ui); font-size: 10px; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted) !important;
	text-decoration: underline;
}
.mphb-remove-from-reservation:hover { color: #b00020 !important; }

/* ── Booking-level Airport Shuttle block at checkout ── */
.amdina-shuttle-section { margin: 8px 0 4px; padding: 18px 0 4px; border-top: 1px solid var(--border-light); }
.amdina-shuttle-title { font-family: var(--font-display); font-weight: 300; font-size: 20px; color: var(--text); margin: 0 0 12px; }
.amdina-shuttle-title span { font-family: var(--font-ui); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.amdina-shuttle-toggle { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 13.5px; font-weight: 300; color: var(--text); cursor: pointer; }
.amdina-shuttle-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.amdina-shuttle-fields[hidden] { display: none; }
.amdina-shuttle-field { margin: 0; }
.amdina-shuttle-field label { display: block; font-family: var(--font-ui); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.amdina-shuttle-field input { width: 100%; font-family: var(--font-ui); font-size: 13px; color: var(--text); background: var(--warm); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 10px 12px; outline: none; }
.amdina-shuttle-field input:focus { border-color: var(--green); background: #fff; }
@media (max-width: 720px) { .amdina-shuttle-fields { grid-template-columns: 1fr; } }

/* ── Sticky "Your selection" summary list (built by amdina-ds.js) ── */
.amdina-selection-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--charcoal); color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.22); }
.amdina-selection-inner { max-width: var(--container); margin: 0 auto; padding: 14px 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.amdina-selection-list { font-family: var(--font-ui); font-size: 13px; font-weight: 300; color: rgba(255,255,255,.85); }
.amdina-selection-list strong { color: #fff; font-weight: 500; letter-spacing: .04em; }
.amdina-selection-list .amdina-sel-item { color: var(--green); }
.amdina-selection-confirm { background: var(--green); color: #fff; border: none; border-radius: var(--radius-xs); padding: 12px 26px; font-family: var(--font-ui); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.amdina-selection-confirm:hover { background: var(--green-dark); }
@media (max-width: 720px) { .amdina-selection-inner { padding: 12px 20px; } }

/* ── MotoPress availability-search form → design fields ── */
.amdina-mphb-form .mphb-required-fields-tip { display: none; }
.amdina-mphb-form .mphb_sc_search-form > p { margin: 0 0 12px; }
.amdina-mphb-form br { display: none; }

.amdina-mphb-form label {
	display: block;
	font-family: var(--font-ui);
	font-size: 9px; font-weight: 500;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--text-muted); margin-bottom: 5px;
}
.amdina-mphb-form label abbr { border: none; text-decoration: none; color: var(--green); }

.amdina-mphb-form input,
.amdina-mphb-form select {
	font-family: var(--font-ui); font-size: 13px; font-weight: 300;
	color: var(--text); background: var(--warm);
	border: 1px solid var(--border); border-radius: var(--radius-xs);
	padding: 10px 12px; outline: none; width: 100%;
	transition: border-color .15s, background .15s;
}
.amdina-mphb-form input:focus,
.amdina-mphb-form select:focus { border-color: var(--green); background: #fff; }

/* check-in / check-out side by side */
.amdina-mphb-form .mphb_sc_search-check-in-date,
.amdina-mphb-form .mphb_sc_search-check-out-date {
	display: inline-block; width: calc(50% - 5px); vertical-align: top;
}
.amdina-mphb-form .mphb_sc_search-check-in-date { margin-right: 6px; }

.amdina-mphb-form .mphb_sc_search-submit-button,
.amdina-mphb-form button[type="submit"],
.amdina-mphb-form input[type="submit"] {
	width: 100%; background: var(--green); color: #fff;
	border: 1px solid var(--green); border-radius: var(--radius-xs);
	padding: 13px; font-family: var(--font-ui); font-size: 10.5px;
	font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	cursor: pointer; margin-top: 4px; transition: background .2s;
}
.amdina-mphb-form .mphb_sc_search-submit-button:hover,
.amdina-mphb-form button[type="submit"]:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* The design heroes carried a 78px top margin to clear the design's OWN fixed
   nav. With the Astra/Elementor header that becomes a blank gap — remove it. */
.amdina-site .hero.page-hero,
.amdina-site .hero.home-hero,
.amdina-site .page-top { margin-top: 0 !important; }

/* ── Full-width room pages ──────────────────────────────────────────────
   The Amdina design is full-bleed: the dark hero and section backgrounds span
   the viewport, while the design's own .container caps inner content at 1200px.
   Force both the CONTENT and the Astra HEADER containers to true full width.
   !important defeats Astra's container-width vars on these pages only.        */

/* Content area edge-to-edge.
   NOTE: Astra's .ast-container is display:flex and does NOT stretch its child,
   so the content wrapper shrank to its inner 1200px .container (squeezing the
   full-bleed hero). display:block lets the wrapper fill the full width. */
.amdina-fullwidth #content .ast-container,
.amdina-fullwidth .site-content > .ast-container,
.amdina-fullwidth #primary {
	display: block !important;
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.amdina-fullwidth #content .ast-container > .amdina-site,
.amdina-fullwidth .amdina-site { width: 100% !important; max-width: 100% !important; }
.amdina-fullwidth #content,
.amdina-fullwidth .site-content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
/* Astra also wraps the content in <main class="site-main"> + .entry-content, which
   keep padding/margins → a gap above and to the sides of the full-bleed hero. Zero them. */
.amdina-fullwidth #main.site-main,
.amdina-fullwidth .site-main,
.amdina-fullwidth .content-area,
.amdina-fullwidth .ast-article-single,
.amdina-fullwidth .entry-content {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* Header full width: logo hard-left, nav spread to the right (matches design) */
.amdina-fullwidth .site-header .ast-container,
.amdina-fullwidth .site-primary-header-wrap.ast-container,
.amdina-fullwidth .ast-main-header-wrap .ast-container {
	max-width: 100% !important;
	padding-left: 48px !important;
	padding-right: 48px !important;
}
@media (max-width: 720px) {
	.amdina-fullwidth .site-header .ast-container,
	.amdina-fullwidth .site-primary-header-wrap.ast-container {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

/* ── Room media gallery (main · bathroom · video · floor plan) ──
   Fixed 16:9 gallery (1280×720 max)
   =============================================================== */

.amdina-gallery {
    max-width: 1280px;
    margin: 0 auto;
}

.amdina-gallery-stage {
    position: relative;
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: var(--warm-mid);
    border-radius: var(--radius-lg);
}

/* Slides */

.amdina-gallery-stage .ag-slide {
    position: absolute;
    inset: 0;
    display: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.amdina-gallery-stage .ag-slide.is-active {
    display: block;
}

.amdina-gallery-stage .ph-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Video */

.ag-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.ag-yt-holder {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.ag-yt-holder::after {
    content: "▶";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(51,211,77,.92);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amdina-gallery-stage iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Navigation */

.ag-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    color: var(--charcoal);
    padding: 0;
}

.ag-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.ag-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.ag-arrow-prev {
    left: 20px;
}

.ag-arrow-next {
    right: 20px;
}

/* Thumbnails */

.amdina-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    max-width: 1280px;
    margin: 18px auto 0;
}

.ag-thumb {
    position: relative;
    height: 90px;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    opacity: .55;
    transition: opacity .25s, transform .25s;
    padding: 0;
}

.ag-thumb:hover {
    opacity: .85;
    transform: translateY(-2px);
}

.ag-thumb.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--green);
}

.ag-thumb-label {
    position: absolute;
    left: 8px;
    bottom: 8px;
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

.ag-play {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(51,211,77,.92);
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */

@media (max-width: 1280px) {

    .amdina-gallery,
    .amdina-gallery-stage,
    .amdina-gallery-thumbs {
        max-width: 100%;
    }

}

@media (max-width: 768px) {

    .ag-thumb {
        height: 65px;
    }

    .ag-arrow {
        width: 38px;
        height: 38px;
    }

    .ag-arrow svg {
        width: 16px;
        height: 16px;
    }

    .ag-arrow-prev {
        left: 12px;
    }

    .ag-arrow-next {
        right: 12px;
    }

}
@media (max-width: 1024px) {
	.amdina-gallery-stage { height: 60vh; max-height: 640px; min-height: 420px; }
}
@media (max-width: 720px) {
	.amdina-gallery-stage { height: auto; max-height: none; min-height: 0; border-radius: 0; }
	.room-gallery-sec { padding: 18px 0 !important; }
	.room-gallery-sec .container { padding: 0 18px; }
	.ag-arrow { width: 36px; height: 36px; }
	.ag-arrow svg { width: 16px; height: 16px; }
	.ag-arrow-prev { left: 12px; }
	.ag-arrow-next { right: 12px; }
	.amdina-gallery-thumbs { display: none; }
}

/* ── Horizontal search bar (rooms archive) ── */
.amdina-searchbar .mphb_sc_search-form { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.amdina-searchbar .mphb_sc_search-form > p { margin: 0; flex: 1; min-width: 150px; }
.amdina-searchbar .mphb_sc_search-check-in-date,
.amdina-searchbar .mphb_sc_search-check-out-date { display: block; width: auto; margin-right: 0; }
.amdina-searchbar .mphb_sc_search-form > p:last-child { flex: 0 0 auto; }
.amdina-searchbar button[type="submit"],
.amdina-searchbar .mphb_sc_search-submit-button { width: auto; height: 42px; padding: 0 26px; margin-top: 0; }

/* ── MotoPress search-results page → design result rows ──
   (MotoPress outputs .mphb_sc_search-results with room-type loop items) */
.mphb_sc_search-results .mphb-room-type-title a { font-family: var(--font-display); color: var(--text); }
.mphb_sc_search-results .mphb-price,
.mphb_sc_search-results .mphb_price { font-family: var(--font-display); color: var(--green); }
.mphb_sc_search-results .button,
.mphb_sc_search-results .mphb-book-button {
	background: var(--green); color: #fff; border: 1px solid var(--green);
	border-radius: var(--radius-xs); font-family: var(--font-ui);
	font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	padding: 11px 22px;
}
.mphb_sc_search-results .button:hover { background: var(--green-dark); }

/* ── Page hero background photo (amdina_hero_bg_div) ── */
.hero-bg.has-photo{background-size:cover;background-position:center;background-repeat:no-repeat}

/* ── Mobile pass @767px (Elementor mobile breakpoint) ──────────────────────
   Search-results selection bar + MotoPress datepicker. */
@media (max-width: 767px) {
	/* Sticky "Your selection" bar: stack the list over a full-width button,
	   keep it out of the iPhone home-bar area, cap growth on long selections. */
	.amdina-selection-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	}
	.amdina-selection-list { max-height: 72px; overflow-y: auto; font-size: 12px; }
	.amdina-selection-confirm { width: 100%; padding: 14px 20px; }

	/* MotoPress datepicker popup: never wider than the screen, one month at a
	   time, and comfortably tappable day cells. */
	.datepick-popup { left: 12px !important; right: 12px !important; max-width: calc(100vw - 24px); }
	.datepick-popup .datepick, .datepick-popup .datepick-month, .datepick-popup .datepick-month table { width: 100% !important; }
	.datepick-popup .datepick-month-row { display: block; }
	.datepick-popup .datepick-month { display: block; margin: 0 0 8px; }
	.datepick-popup .datepick-month td a, .datepick-popup .datepick-month td span { min-height: 40px; line-height: 40px; }

	/* Date fields: 16px stops iOS auto-zoom on focus. */
	.mphb-datepick, input.mphb-datepick, .amdina-mphb-form input[type="text"] { font-size: 16px; }
}

/* ── Single-room "Reserve your stay" panel: always stacked ──
   The panel is a narrow sidebar (~270px) — the global search-form auto-wrap
   (functions.php: do_shortcode_tag) adds .amdina-searchbar to every instance
   of [mphb_availability_search], which triggers the horizontal flex layout.
   Pin this specific panel back to a plain stacked column regardless, so it
   isn't relying on "too narrow to fit side-by-side" happenstance. */
.book-panel-body .mphb_sc_search-form {
	display: block !important;
}
.book-panel-body .mphb_sc_search-form > p {
	margin: 0 0 14px !important;
	min-width: 0 !important;
}

/* ── Promo-code field in the search widget ── */
.mphb_sc_search-promo label em { font-style: normal; color: var(--text-muted); font-weight: 300; }

/* ── Single-room direct-booking form ([mphb_availability]) ──
   MotoPress reveals .mphb-reserve-room-section via its own JS (mphb.js) once
   dates are picked and availability is confirmed; base input/select/label/
   submit-button styling already comes from the generic .amdina-mphb-form
   rules above — this only covers the room-quantity sentence, which has no
   plugin classes in common with those. */
.amdina-book-form .mphb-check-in-date-wrapper,
.amdina-book-form .mphb-check-out-date-wrapper { margin: 0 0 14px; }

.amdina-book-form .mphb-reserve-room-section {
	margin-top: 6px; padding-top: 16px;
	border-top: 1px solid var(--border);
}
.amdina-book-form .mphb-rooms-quantity-wrapper {
	font-family: var(--font-ui); font-size: 12.5px; font-weight: 300;
	line-height: 1.6; color: var(--text-soft); margin: 0 0 14px;
}
.amdina-book-form .mphb-rooms-quantity {
	width: auto; display: inline-block;
	padding: 6px 10px; margin: 0 4px;
}
.amdina-book-form .mphb-available-rooms-count { color: var(--green); font-weight: 500; }

.amdina-book-form .mphb-errors-wrapper:not(.mphb-hide) {
	font-family: var(--font-ui); font-size: 12px; color: #b3261e;
	background: #fdecea; border-radius: var(--radius-xs);
	padding: 10px 12px; margin: 0 0 14px;
}
