/* Not final-design-polished - just a safety net so cover photos display proportioned
 * regardless of the original upload's dimensions, until real design lands. */

/* WordPress core's Gallery block sizes each image via
 * calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px) * .667), but never sets that
 * custom property itself - it's meant to be supplied by the active theme so gallery
 * columns line up with its actual blockGap. twentytwentyfour's theme.json sets root
 * blockGap to 1.2rem but doesn't wire it to this variable, so the calc() silently falls
 * back to a hardcoded 16px while the real flex gap renders at 1.2rem (19.2px) - a
 * mismatch that overflows a 3-image row by a few pixels and wraps the 3rd image onto its
 * own full-width line, regardless of how wide the gallery's container is. Setting it here
 * (matching root blockGap) is what actually produces the compact 3-across grid. */
:root {
	--wp--style--unstable-gallery-gap: 1.2rem;
}

/* Shared by every classic template this plugin renders (single-room.php,
 * single-amenity.php, taxonomy-room-term.php) - those render outside the active theme's
 * block template, so they get none of its content-width or cover/hero styling for free.
 * 620px matches twentytwentyfour's theme.json contentSize, so these pages line up with
 * the theme's own single-post width instead of running edge-to-edge. */
.hush-lodge-content {
	max-width: 620px;
	margin: 0 auto;
	padding: 0 20px;
}

.hush-lodge-cover-photo {
	display: block;
	max-width: 100%;
	width: 100%;
	height: 320px;
	object-fit: cover;
}

/* Step 104: on a phone the single-listing hero (static cover photo or the gallery
   slider) must not eat the whole viewport on first load - keep it prominent but sized
   so the content below is clearly visible without excessive scrolling. */
@media ( max-width: 600px ) {
	.hush-lodge-single-room .hush-lodge-cover-photo,
	.hush-lodge-single-amenity .hush-lodge-cover-photo,
	.hush-lodge-taxonomy-term > .hush-lodge-cover-photo {
		height: 42vh;
		max-height: 280px;
	}

	.hush-lodge-single-room > .hlb-gallery--slider .hlb-gallery__slide,
	.hush-lodge-single-amenity > .hlb-gallery--slider .hlb-gallery__slide,
	.hush-lodge-taxonomy-term > .hlb-gallery--slider .hlb-gallery__slide {
		aspect-ratio: auto;
		height: 42vh;
		max-height: 280px;
	}
}

.hush-lodge-room-amenities {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin: 24px 0;
}

.hush-lodge-amenity {
	width: 160px;
}

.hush-lodge-amenity__photo {
	display: block;
	max-width: 100%;
	width: 100%;
	height: 120px;
	object-fit: cover;
}

.hush-lodge-term-rooms {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin: 24px 0;
}

.hush-lodge-term-room {
	width: 200px;
}

.hush-lodge-term-room__photo {
	display: block;
	max-width: 100%;
	width: 100%;
	height: 140px;
	object-fit: cover;
}

/* [hush_booking_form] (hush_lodge_booking_booking_form_shortcode()) - like the rest of this
 * file, a plain safety net (stacked labels, readable field width, obviously-colored notices)
 * rather than a finished design. */
.hush-lodge-booking-form {
	max-width: 480px;
}

.hush-lodge-booking-form__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0 0 16px;
}

.hush-lodge-booking-form__field input,
.hush-lodge-booking-form__field select,
.hush-lodge-booking-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 1em;
}

.hush-lodge-booking-form__notice {
	padding: 12px 16px;
	margin: 0 0 16px;
	border-left: 4px solid;
}

.hush-lodge-booking-form__notice p:last-child {
	margin-bottom: 0;
}

.hush-lodge-booking-form__notice--success {
	background: #edfaef;
	border-color: #1a7f37;
}

.hush-lodge-booking-form__notice--error {
	background: #fbeaea;
	border-color: #b32d2e;
}

.hush-lodge-booking-form__notice--error ul {
	margin: 8px 0 0;
	padding-left: 20px;
}

.hush-lodge-booking-form__submit {
	cursor: pointer;
}

/* Branding (Aug 26 follow-up item 5): consume the --hlb-* custom properties the Settings
 * page emits (hush_lodge_booking_branding_custom_properties()), each with a fallback so an
 * unset value changes nothing. Deliberately a small surface. */
/* Step 67: the Font Family setting (and an uploaded Custom Font File) apply to every
 * front-end surface this plugin renders - not only the boxed content column, which is why
 * the field looked like it "did nothing" on the cards / filter widget / booking form. */
.hush-lodge-content,
.hlb-all-rooms,
.hlb-room-card,
.hlb-room-modal__dialog,
.hush-lodge-booking-form,
.hush-lodge-contact-form,
.hlb-listings-grid {
	font-family: var( --hlb-font-family, inherit );
}

.hush-lodge-content {
	font-size: var( --hlb-base-font-size, inherit );
}

.hush-lodge-content input,
.hush-lodge-content select,
.hush-lodge-content textarea,
.hlb-all-rooms input,
.hlb-all-rooms select,
.hush-lodge-booking-form input,
.hush-lodge-booking-form select,
.hush-lodge-booking-form textarea {
	font-family: inherit;
}

.hush-lodge-house-rules__title,
.hush-lodge-content h1,
.hush-lodge-content h2 {
	color: var( --hlb-primary, inherit );
}

.hush-lodge-content a {
	color: var( --hlb-accent, var( --hlb-primary, inherit ) );
}

.hush-lodge-booking-form__submit {
	background: var( --hlb-primary, #333 );
	border-color: var( --hlb-primary, #333 );
	color: #fff;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 4px;
}

/* Step 133: the rule above is a single class (0,1,0), which is exactly the specificity of
 * the active theme's own bare-element button reset - and that reset prints from the
 * theme's stylesheet, which is enqueued from the same wp_enqueue_scripts priority later
 * than this plugin's, so it wins every tied property. Hello Elementor's reset.css declares
 * `[type=button], [type=submit], button { background-color: transparent; border: 1px solid
 * #c36; color: #c36; padding: .5rem 1rem }`, so the brand-filled Submit button was really
 * rendering as a transparent box with a 1px pink border and pink text - this is the
 * "collection of bare/unstyled boxes or buttons" the update feedback describes. Two-class
 * selectors (the same approach as Steps 88/109) out-rank the theme's tied rules and its
 * `:hover`/`:focus` variants (0,1,1) without reaching for !important. */
.hush-lodge-booking-form .hush-lodge-booking-form__submit {
	display: inline-block;
	background: var( --hlb-primary, #333 );
	border: 1px solid var( --hlb-primary, #333 );
	color: #fff;
	padding: 10px 18px;
	font: inherit;
	font-weight: 600;
	box-shadow: none;
}

.hush-lodge-booking-form .hush-lodge-booking-form__submit:hover,
.hush-lodge-booking-form .hush-lodge-booking-form__submit:focus {
	background: var( --hlb-primary, #333 );
	border-color: var( --hlb-primary, #333 );
	color: #fff;
}

.hush-lodge-booking-form__logo {
	max-height: 64px;
	width: auto;
	margin-bottom: 16px;
}

/* Whitespace between the Room / Room Category / Location custom-rule groups - no headers,
 * just a gap (Aug 26 follow-up item 4). */
.hush-lodge-house-rules__custom + .hush-lodge-house-rules__custom {
	margin-top: 18px;
}

/* Step 43: compact House Rules block tucked at the bottom, on a faint shaded background so
 * it reads as its own section without taking much room. */
.hush-lodge-house-rules--compact {
	margin-top: 2.5em;
	padding: 1em 1.25em;
	border-radius: 6px;
	background: rgba( 0, 0, 0, 0.035 );
	font-size: 0.92em;
}

.hush-lodge-house-rules--compact .hush-lodge-house-rules__title {
	margin-top: 0;
	font-size: 1.05em;
}

.hush-lodge-house-rules--compact p {
	margin: 0.5em 0 0;
}

/* Step 43 / Step 79: per-listing temporary Notice. Repositioned between the amenity groups
 * and the booking widget, and shrunk to a brief heads-up - only as wide as its text, a
 * colored left-border strip rather than a full-width filled banner. */
.hlb-listing-notice {
	display: inline-block;
	margin: 0.25em 0 1em;
	padding: 0.35em 0.75em;
	border-left: 3px solid var( --hlb-accent, #666 );
	background: transparent;
	color: var( --hlb-accent, #444 );
	font-weight: 600;
	font-size: 0.95em;
}

/* Step 79: three-group curated features. Step 111: this had no bottom margin at all, so
 * whatever rendered next (in a grid card, the pop-up, or a full page) sat flush against
 * it in every context it appears in - top and bottom now match. */
.hlb-card-features {
	list-style: none;
	margin: 0.5em 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 0.85em;
}

.hlb-card-features li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Step 113: Listing Card Featured Amenities renders inline (the rule above) on a grid
 * card, but as a 3-column grid in the pop-up and on a listing's own full page - never
 * both in the same place, so this only needs to override the display/gap, not redefine
 * the whole component. */
.hlb-room-modal__body .hlb-card-features,
.hush-lodge-content > .hlb-card-features {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 10px 16px;
}

@media ( max-width: 640px ) {
	.hlb-room-modal__body .hlb-card-features,
	.hush-lodge-content > .hlb-card-features {
		grid-template-columns: repeat( 2, 1fr );
	}
}

.hlb-card-features__icon,
.hlb-page-featured__icon,
.hlb-feature-groups__icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.hlb-page-featured {
	margin: 1.25em 0;
	padding: 1em 1.25em;
	background: #fffdf5;
	border: 1px solid #f0e6c8;
	border-radius: var( --hlb-radius, 6px );
}

.hlb-page-featured__title {
	margin: 0 0 0.5em;
	font-size: 1.1em;
}

.hlb-page-featured__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.hlb-page-featured__list li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

/* Step 113: Room Page Featured items render larger in the pop-up than the small
 * icon-led style Featured Amenities uses on a grid card - this is the only place this
 * section previously never appeared at all (Step 44/79 only put it on the full page). */
.hlb-room-modal__body .hlb-page-featured__list li {
	font-size: 1.1em;
}

.hlb-room-modal__body .hlb-page-featured__icon {
	width: 26px;
	height: 26px;
}

.hlb-feature-groups {
	margin: 1.5em 0;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
	gap: 1.25em;
}

.hlb-feature-groups__group h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0.4em;
	font-size: 1em;
}

.hlb-feature-groups__group ul {
	margin: 0;
	padding-left: 1.1em;
}

/* Social media links rendered by [hlb_business_detail field="social_links"] as icon links. */
.hlb-social-links {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.hlb-social {
	display: inline-flex;
	color: var( --hlb-primary, currentColor );
	line-height: 0;
}

.hlb-social:hover {
	color: var( --hlb-accent, var( --hlb-primary, currentColor ) );
}

/* Shared room price presentation (Step 3c helper hush_lodge_booking_room_price_html) -
 * struck-through original next to the discounted price. Used on the single room page and
 * the Step 19 room card. */
.hlb-price {
	font-weight: 600;
}

.hlb-price--discounted del {
	opacity: 0.6;
	font-weight: 400;
	margin-right: 0.4em;
}

/* Step 68: prices use the Secondary colour (falling back to accent, then the default red)
 * so a listing's price and its title/heading don't render as the same colour. */
.hlb-price,
.hlb-price--discounted ins,
.hlb-room-card__price,
.hush-lodge-single-room__price,
.hlb-room-modal__price {
	color: var( --hlb-secondary, var( --hlb-accent, #333 ) );
}

.hlb-price--discounted ins {
	text-decoration: none;
}

/* Step 119: the listing grid card's own deal call-out, next to Reserve/View Full Page -
 * a vibrant accent colour and bold weight so it actually reads as a lure, matching the
 * intentionally vibrant treatment Step 68 already gives the struck-through price itself. */
.hlb-deal-line {
	margin: 0.35em 0;
	font-size: 0.9em;
	font-weight: 700;
	color: var( --hlb-secondary, var( --hlb-accent, #333 ) );
}

.hush-lodge-single-room__price {
	font-size: 1.15em;
	margin: 0 0 1em;
}

.hush-lodge-single-room__price-unit {
	font-weight: 400;
	opacity: 0.7;
	font-size: 0.85em;
	margin-left: 0.3em;
}

/* [hlb_all_rooms] / [hlb_listings] - room card + grid (Step 19 / 19b). */

/* Step 41: one "Filters" toggle + chips row; every control lives in the popover panel. */
.hlb-all-rooms__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.hlb-all-rooms__toggle {
	flex: 0 0 auto;
	padding: 7px 16px;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	font: inherit;
	cursor: pointer;
}

.hlb-all-rooms__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hlb-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border: 1px solid rgba( 0, 0, 0, 0.2 );
	border-radius: 999px;
	background: rgba( 0, 0, 0, 0.04 );
	font: inherit;
	font-size: 0.85em;
	cursor: pointer;
}

.hlb-all-rooms__panel {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	align-items: end;
	margin-bottom: 20px;
	padding: 16px;
	border: 1px solid rgba( 0, 0, 0, 0.15 );
	border-radius: 8px;
}

.hlb-all-rooms__panel[hidden] {
	display: none;
}

.hlb-all-rooms__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.85em;
}

/* Uniform, compact width for the Location / Room Category selects regardless of label. */
.hlb-all-rooms__field--select select {
	width: 12em;
	max-width: 100%;
}

.hlb-all-rooms__daterange {
	width: 14em;
	max-width: 100%;
}

.hlb-all-rooms__price {
	min-width: 14em;
}

.hlb-all-rooms__slider {
	position: relative;
	height: 24px;
}

.hlb-all-rooms__slider input[type="range"] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.hlb-all-rooms__slider input[type="range"]::-webkit-slider-thumb {
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: currentColor;
	cursor: pointer;
}

.hlb-all-rooms__slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border: 0;
	border-radius: 50%;
	background: currentColor;
	cursor: pointer;
}

/* Step 119: a short "Deals" checkbox, not a bordered pill/button - compact like the
 * neighbouring "Clear" action, coloured to draw the eye the way a deal indicator should. */
.hlb-all-rooms__deals {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 6px;
	border: 0;
	font-size: 0.9em;
	font-weight: 600;
	color: var( --hlb-secondary, var( --hlb-accent, #333 ) );
	cursor: pointer;
}

.hlb-all-rooms__deals input[type="checkbox"] {
	accent-color: var( --hlb-secondary, var( --hlb-accent, #333 ) );
}

/* Checkbox + label alignment: flex row so the box sits centered against the first
 * line of label text, and clicking anywhere on the label activates the checkbox.
 * Scoped to this plugin's own rendered surfaces only. */
.hush-lodge-content label:has( > input[type="checkbox"] ),
.hush-lodge-booking-form label:has( > input[type="checkbox"] ),
.hush-lodge-contact-form label:has( > input[type="checkbox"] ) {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.4em;
	cursor: pointer;
}

.hush-lodge-content label:has( > input[type="checkbox"] ) input[type="checkbox"],
.hush-lodge-booking-form label:has( > input[type="checkbox"] ) input[type="checkbox"],
.hush-lodge-contact-form label:has( > input[type="checkbox"] ) input[type="checkbox"] {
	margin-top: 0.15em;
	flex-shrink: 0;
}

.hlb-all-rooms__clear {
	background: none;
	border: 0;
	padding: 6px 0;
	font: inherit;
	font-size: 0.85em;
	text-decoration: underline;
	cursor: pointer;
}

.hlb-all-rooms__results.is-loading {
	opacity: 0.5;
	transition: opacity 0.15s;
}

.hlb-listings-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat( var( --hlb-cols, 3 ), 1fr );
}

.hlb-listings-grid--cols-1 { --hlb-cols: 1; }
.hlb-listings-grid--cols-2 { --hlb-cols: 2; }
.hlb-listings-grid--cols-3 { --hlb-cols: 3; }
.hlb-listings-grid--cols-4 { --hlb-cols: 4; }
.hlb-listings-grid--cols-5 { --hlb-cols: 5; }
.hlb-listings-grid--cols-6 { --hlb-cols: 6; }

@media ( max-width: 640px ) {
	.hlb-listings-grid { grid-template-columns: 1fr 1fr; }
}

@media ( max-width: 400px ) {
	.hlb-listings-grid { grid-template-columns: 1fr; }
}

.hlb-room-card__link {
	display: block;
	text-decoration: none;
	color: var( --hlb-primary, #222 );
}

/* Listing card (amenity/location/room category) title link — same brand-colour
 * treatment as the room card's own title link above, prevents theme-link-colour bleed. */
.hlb-room-card a.hlb-room-card__link:hover,
.hlb-room-card a.hlb-room-card__link:focus {
	color: var( --hlb-accent, var( --hlb-primary, #222 ) );
	text-decoration: underline;
}

.hlb-room-card__photo {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 6px;
	background: #eee;
}

.hlb-room-card__title {
	margin: 8px 0 4px;
	font-size: 1.05em;
}

.hlb-room-card__price {
	font-size: 0.95em;
}

/* Step 46: [hush_lodge_video] responsive embed. */
.hlb-video {
	margin: 0 0 1.5em;
}

.hlb-video iframe,
.hlb-video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 6px;
}

/* Step 44: reusable gallery slider (term pages, room pop-up, amenity pages). */
/* Step 60: every image in a gallery renders at one uniform, cover-cropped size
 * regardless of the source photo's own dimensions - a fixed-aspect-ratio box with
 * object-fit: cover, so a slider never looks broken from mismatched photo shapes. */
.hlb-gallery--single {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 6px;
}

.hlb-gallery--single img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.hlb-gallery--slider {
	position: relative;
	margin: 0 0 1.5em;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}

.hlb-gallery__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	overflow: visible;
	border-radius: 6px;
	width: 100%;
}

.hlb-gallery__track::-webkit-scrollbar { display: none; }

.hlb-gallery__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	aspect-ratio: 3 / 2;
	max-height: 460px;
	overflow: hidden;
}

.hlb-gallery__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

/* Step 113: belt-and-braces alongside the draggable="false" attribute - stops a
 * mouse-drag-to-scroll gesture on the image itself from being swallowed as a native
 * image drag instead of a click. */
.hlb-gallery__slide img,
.hlb-gallery--single img {
	-webkit-user-drag: none;
	user-select: none;
}

/* Step 60: the first slide hides its "previous" control, the last hides "next" -
 * listings-gallery.js toggles this class as the track scrolls. */
.hlb-gallery__nav[hidden] { display: none; }

/* Step 122: these were unbranded (plain black/white, no colour role at all), oversized,
 * and borderless - a brand-coloured border (rather than recolouring the whole button,
 * which would fight legibility against a light photo), a bigger icon relative to a
 * smaller button. */
.hlb-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	min-width: 44px;
	min-height: 44px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 2px solid var( --hlb-primary, #fff );
	border-radius: 999px;
	background: rgba( 0, 0, 0, 0.55 );
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hlb-gallery__nav--prev { left: 8px; }
.hlb-gallery__nav--next { right: 8px; }

/* Step 44: room-card pop-up modal. */
body.hlb-modal-open { overflow: hidden; }

.hlb-room-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5vh 4vw;
	background: rgba( 0, 0, 0, 0.6 );
	overflow-y: auto;
}

.hlb-room-modal[hidden] { display: none; }

.hlb-room-modal__dialog {
	position: relative;
	width: min( 720px, 100% );
	background: #fff;
	color: #1e1e1e;
	border-radius: 8px;
	padding: 1.5em;
}

.hlb-room-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba( 0, 0, 0, 0.06 );
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.hlb-room-modal__feature-group { margin: 0 0 0.75em; }
.hlb-room-modal__feature-group h4 { margin: 0 0 0.25em; font-size: 0.95em; }
.hlb-room-modal__feature-group ul { margin: 0; padding-left: 1.25em; }

.hlb-room-modal__book {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 4px;
	background: var( --hlb-primary, #333 );
	color: #fff;
	text-decoration: none;
}

/* Step 122: a plain <a> with no colour rule at all - since the pop-up overlay renders
 * outside .hush-lodge-content (appended straight to document.body -
 * assets/js/listings-gallery.js), it never inherited that wrapper's own branded link
 * colour, so it fell back to the active theme's default link colour instead. */
.hlb-room-modal__full {
	margin-left: 0.75em;
	color: var( --hlb-primary, #333 );
}

/* Step 44: card media wrapper + demand badge + feature chips. */
.hlb-room-card__media,
.hush-lodge-amenity__media,
.hush-lodge-term-room__media {
	position: relative;
	display: block;
	cursor: pointer;
}

/* Step 61: a real gallery slider embedded in a listing card. Compact fixed height,
 * tighter arrows, no bottom margin - it fills the card's media slot. */
.hlb-card-gallery.hlb-gallery--slider {
	margin: 0;
}

.hlb-card-gallery .hlb-gallery__slide,
.hlb-card-gallery.hlb-gallery--single {
	aspect-ratio: auto;
	height: 180px;
	max-height: 180px;
}

.hush-lodge-amenity .hlb-card-gallery .hlb-gallery__slide,
.hush-lodge-amenity .hlb-card-gallery.hlb-gallery--single { height: 120px; }

.hush-lodge-term-room .hlb-card-gallery .hlb-gallery__slide,
.hush-lodge-term-room .hlb-card-gallery.hlb-gallery--single { height: 140px; }

.hlb-card-gallery .hlb-gallery__nav,
.hlb-room-modal .hlb-gallery__nav {
	min-width: 44px;
	min-height: 44px;
	width: 44px;
	height: 44px;
	padding: 0 8px;
	font-size: 22px;
}

.hlb-card-media--empty {
	display: block;
	height: 180px;
	background: #eee;
	border-radius: 6px;
}

.hlb-room-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	border-radius: 3px;
	background: rgba( 0, 0, 0, 0.75 );
	color: #fff;
	font-size: 0.75em;
	font-weight: 600;
}

.hlb-room-card__features {
	list-style: none;
	margin: 0.4em 0 1em;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.hlb-room-card__features li {
	padding: 2px 7px;
	border-radius: 3px;
	background: rgba( 0, 0, 0, 0.05 );
	font-size: 0.78em;
}

.hush-lodge-room-features__title {
	margin-top: 1.5em;
}

/* Step 33: per-card estimated stay total, shown when the listings filter has a date range. */
.hlb-room-card__total {
	margin: 0.35em 0 0;
	font-size: 0.9em;
	font-weight: 600;
}

.hlb-stay-total__price,
ins.hlb-stay-total__price {
	color: var( --hlb-secondary, var( --hlb-accent, #0f6b4c ) );
	font-weight: 700;
	opacity: 1;
	text-decoration: none;
}

.hlb-stay-total__nights,
.hlb-stay-total__label,
.hlb-stay-total__notes {
	color: inherit;
	font-weight: 600;
}

/* Step 111: the optional "Listing Grid Card Text" marketing line - grid card and pop-up
 * only (never rendered on a listing's own full page - see
 * hush_lodge_booking_render_grid_card_text()). */
.hlb-grid-card-text {
	margin: 0.35em 0;
	font-size: 0.9em;
	font-style: italic;
	color: #222;
}

.hlb-room-card .hlb-grid-card-text,
.hlb-room-modal__body .hlb-grid-card-text {
	color: #222;
}

.hlb-room-card .hlb-room-card__title {
	color: #222;
}

.hlb-room-card .hlb-card-features,
.hlb-room-modal__body .hlb-card-features,
.hush-lodge-content .hlb-card-features {
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.hlb-stay-total del {
	opacity: 0.6;
	margin-right: 0.35em;
}

/* Step 32: "Only N left" low-stock notice - near the price on cards and the single room. */
.hlb-low-stock {
	display: inline-block;
	margin: 0.4em 0 0;
	padding: 0.1em 0.5em;
	border-radius: 3px;
	background: #fbeaea;
	color: #b32d2e;
	font-size: 0.85em;
	font-weight: 600;
}

/* Step 49: expanded branding controls. Each consumes a --hlb-* custom property emitted by
 * hush_lodge_booking_branding_custom_properties() with a fallback, so a blank Settings
 * value changes nothing. Applied consistently to every surface this plugin renders,
 * including the Phase 8 components (cards, pop-up, filter panel, booking widget). */
.hlb-room-card__photo,
.hush-lodge-cover-photo,
.hlb-gallery__slide img,
.hlb-gallery--single img,
.hlb-gallery--slider,
.hlb-video iframe,
.hlb-video video,
.hush-lodge-house-rules--compact,
.hlb-listing-notice,
.hlb-all-rooms__panel,
.hlb-room-modal__dialog,
.hush-lodge-single-room__booking,
.hlb-room-card__features li,
.hush-lodge-booking-form__names {
	border-radius: var( --hlb-radius, 6px );
}

/* Step 68: brand border-radius and a subtle brand-tinted background reach every front-end
 * form field in this plugin (booking widget, contact form, filter widget) - previously
 * radius stopped at cards/boxes/buttons and fields were plain white. */
.hush-lodge-content input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.hush-lodge-content select,
.hush-lodge-content textarea,
.hlb-all-rooms input,
.hlb-all-rooms select,
.hush-lodge-booking-form input:not([type="checkbox"]):not([type="radio"]),
.hush-lodge-booking-form select,
.hush-lodge-booking-form textarea,
.hush-lodge-contact-form input,
.hush-lodge-contact-form select,
.hush-lodge-contact-form textarea {
	border-radius: var( --hlb-radius, 4px );
	background-color: var( --hlb-field-bg, #fff );
}

/* Step 88: a higher-specificity companion to the rule above. A page-builder / theme
 * rule that targets fields by its own wrapper class (e.g. .elementor-widget input)
 * can out-rank the single-class selectors above and flatten the corners again; these
 * two-class, scoped selectors keep the brand radius winning without resorting to
 * !important. */
.hlb-all-rooms .hlb-all-rooms__filters input,
.hlb-all-rooms .hlb-all-rooms__filters select,
.hlb-all-rooms .hlb-all-rooms__travellers-panel input,
.hlb-all-rooms .hlb-all-rooms__travellers-panel select,
.hush-lodge-booking-form .hush-lodge-booking-form__form input:not([type="checkbox"]):not([type="radio"]),
.hush-lodge-booking-form .hush-lodge-booking-form__form select,
.hush-lodge-booking-form .hush-lodge-booking-form__form textarea,
.hush-lodge-contact-form .hush-lodge-booking-form__form input:not([type="checkbox"]):not([type="radio"]),
.hush-lodge-contact-form .hush-lodge-booking-form__form select,
.hush-lodge-contact-form .hush-lodge-booking-form__form textarea {
	border-radius: var( --hlb-radius, 4px );
}

.hlb-all-rooms__toggle,
.hlb-all-rooms__deals,
.hlb-chip,
.hush-lodge-booking-form__submit,
.hlb-room-modal__book,
.hlb-room-card__badge {
	border-radius: var( --hlb-radius, 999px );
}

/* Step 109: two-class companions so a theme's `button` rule can't flatten the brand
   radius on these front-end action buttons (final consistency pass). */
.hush-lodge-booking-form .hush-lodge-booking-form__submit,
.hush-lodge-booking-form .hush-lodge-booking-form__toggle,
.hlb-room-card .hlb-room-card__reserve,
.hlb-all-rooms .hlb-all-rooms__travellers-summary {
	border-radius: var( --hlb-radius, 8px );
}

/* Step 68: brand radius on the listing cards themselves and their media, on every surface
 * (grid, term page, pop-up) - not only the filter-widget card. */
.hlb-room-card,
.hlb-card-media,
.hlb-card-gallery,
.hlb-card-gallery .hlb-gallery__slide,
.hlb-card-media--empty,
.hush-lodge-amenity__media,
.hush-lodge-term-room__media {
	border-radius: var( --hlb-radius, 6px );
	overflow: hidden;
}

/* Step 68: primary-colour accents on a single Room/Amenity page and a term page, not just
 * the card. */
.hush-lodge-single-amenity__hours strong,
.hush-lodge-taxonomy-term__section-title,
.hush-lodge-room-features__title {
	color: var( --hlb-primary, inherit );
}

/* Step 122: two compounding problems, both fixed here. First, these fell back to
 * `inherit` when no explicit H1/H2/H3 Size setting was configured - which for a
 * font-size property means "use the immediate parent's own font-size," not "use a
 * proper heading size." Nested several levels deep inside this plugin's own wrapper
 * markup (and whatever the active theme/page-builder wraps that in), that pulled in
 * whatever small ambient body-text size happened to cascade down - swapped for real,
 * absolute (rem, so nesting depth can't shrink them further) defaults, roughly matching
 * typical browser heading sizes. Second, and this is what the step's own wording ("a
 * Room's own page title renders extremely small regardless of what the H1 Size setting
 * is changed to") actually describes - even a properly SET value wasn't visibly taking
 * effect, which real testing on this Elementor-based site points to Elementor's own
 * global Kit Typography settings for h1/h2/h3, injected as a page-specific <style> block
 * that a plugin stylesheet has no reliable way to out-order. !important on exactly these
 * three declarations (and nowhere else in this ruleset) is what actually guarantees the
 * setting changes real rendered headings regardless of what a theme/page-builder's own
 * global typography does. */
.hush-lodge-content h1,
.hush-lodge-single-room__title,
.hush-lodge-single-amenity__title,
.hush-lodge-taxonomy-term__title {
	font-size: var( --hlb-h1-size, 2rem ) !important;
}

.hush-lodge-content h2,
.hush-lodge-room-features__title,
.hush-lodge-house-rules__title,
.hlb-room-modal__title {
	font-size: var( --hlb-h2-size, 1.5rem ) !important;
}

.hush-lodge-content h3,
.hlb-room-card__title,
.hlb-room-modal__features h3 {
	font-size: var( --hlb-h3-size, 1.17rem ) !important;
}

.hush-lodge-house-rules--compact,
.hlb-listing-notice,
.hlb-all-rooms__panel,
.hlb-room-modal__dialog,
.hush-lodge-single-room__booking,
.hush-lodge-booking-form__names {
	padding: var( --hlb-content-padding, 1em );
}

/* Step 50: [hush_lodge_reviews] platform badges. */
.hlb-reviews {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hlb-review-badge {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var( --hlb-primary, #333 );
	border-radius: var( --hlb-radius, 999px );
	color: var( --hlb-primary, #333 );
	text-decoration: none;
	font-size: 0.9em;
}

.hlb-review-badge:hover {
	background: var( --hlb-primary, #333 );
	color: #fff;
}

/* Step 52: Accessibility section on listing templates. */
.hush-lodge-accessibility {
	margin: 2em 0;
}

.hush-lodge-accessibility__title {
	margin-bottom: 0.5em;
}

/* Step 53: responsive/mobile hardening for the Phase 8 front-end components. Nothing may
 * cause the page body to scroll sideways; controls stack instead of overflowing.
 * Step 65: the earlier `max-width: 100%` here silently overrode the boxed content width
 * defined at the top of this file, making every Room/Amenity/Location/Room Category page
 * (and now the archive grids) run full-bleed. Keep only the overflow guard here - the
 * boxed width is set once, below. */
.hlb-all-rooms {
	max-width: 100%;
	box-sizing: border-box;
}

/* Step 65: one boxed, comfortably-margined content column for every default page this
 * plugin renders - single Room/Amenity/Location/Room Category pages and the /rooms/ and
 * /amenities/ archive grids - proportioned like Elementor's own "Default Template" content
 * width rather than stretching edge to edge. The gallery/hero at the top of the page is
 * inside .hush-lodge-content so it follows the same width. */
.hush-lodge-content {
	max-width: min( 100%, var( --hlb-content-width, 46rem ) );
	margin-left: auto;
	margin-right: auto;
	padding-left: var( --hlb-content-padding, 1.25rem );
	padding-right: var( --hlb-content-padding, 1.25rem );
	box-sizing: border-box;
}

/* Step 111: real vertical space between the sections stacked on a default listing page
 * (gallery, Notice, Room Page Featured, Listing Card Featured Amenities, booking widget,
 * editor content, Regular Page Features, House Rules, Accessibility info) - previously
 * zero, so they all sat flush against each other regardless of Steps 65/89's width fix.
 * A gap-between-siblings rule (margin-top on every child but the first) rather than a
 * class on each individual section, so it reaches whichever of these optional sections
 * actually rendered on a given listing with no template changes needed, and expresses
 * "top-and-bottom padding between sections" as one shared gap rather than doubling it. */
.hush-lodge-content > * + * {
	margin-top: var( --hlb-section-spacing, 1.5em );
}

/* Step 89: the /rooms/ and /amenities/ archive pages get real breathing room above
 * the title and below the grid, not just the boxed width - previously the grid butted
 * straight against the theme header and footer. */
.hush-lodge-archive {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.hush-lodge-single-room,
.hush-lodge-single-amenity,
.hush-lodge-content.hush-lodge-single-room,
.hush-lodge-content.hush-lodge-single-amenity {
	padding-top: 1.25rem;
	padding-bottom: 3rem;
}

.hush-lodge-archive__title {
	margin: 0 0 0.75em;
}

.hush-lodge-archive .hlb-listings-grid {
	margin-top: 1em;
}

/* Step 89: uniform card media on the archive grid too - the archive wrapper isn't
 * .hush-lodge-amenity, so without this an amenity card here would fall back to the
 * generic 180px while the same card on its taxonomy page uses 120px. Pin the archive
 * grid's media to one height for every card regardless of the source photo's shape. */
.hush-lodge-archive .hlb-card-gallery .hlb-gallery__slide,
.hush-lodge-archive .hlb-card-gallery.hlb-gallery--single,
.hush-lodge-archive .hlb-card-media--empty {
	height: 180px;
	max-height: 180px;
	aspect-ratio: auto;
}

.hlb-room-card__features {
	overflow: hidden;
}

@media ( max-width: 782px ) {
	/* Filter popover (Step 41): every control full-width, stacked. */
	.hlb-all-rooms__panel {
		flex-direction: column;
		align-items: stretch;
	}
	.hlb-all-rooms__field,
	.hlb-all-rooms__field--select select,
	.hlb-all-rooms__daterange,
	.hlb-all-rooms__price {
		width: 100%;
		max-width: 100%;
	}
	.hlb-all-rooms__bar {
		align-items: flex-start;
	}

	/* Pop-up modal (Step 44 / Step 63): on a phone it sits with a clear margin from every
	 * edge, its frame stays fixed, and only its content scrolls when too tall - no dead
	 * space at the bottom. */
	.hlb-room-modal {
		padding: 3vh 4vw;
		align-items: center;
		overflow: hidden;
	}
	.hlb-room-modal__dialog {
		width: 100%;
		max-height: 94vh;
		min-height: 0;
		border-radius: 8px;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}
	.hlb-room-modal__content {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.hlb-room-modal__gallery .hlb-gallery__slide img,
	.hlb-gallery__slide img {
		max-height: 56vw;
	}
	.hlb-room-modal__full {
		display: inline-block;
		margin: 0.5em 0 0;
	}

	/* Sticky booking widget (Step 42): never sticky on a phone (already static <600px),
	 * and its name row / date row stack. */
	.hush-lodge-single-room__booking {
		position: static;
	}
}

@media ( max-width: 420px ) {
	.hlb-listings-grid,
	.hlb-listings-grid--cols-2,
	.hlb-listings-grid--cols-3,
	.hlb-listings-grid--cols-4 {
		grid-template-columns: 1fr;
	}
}

/* Mobile: prevent booking form from touching viewport edges */
@media ( max-width: 480px ) {
	.hush-lodge-single-room__booking {
		margin-left: 0;
		margin-right: 0;
		border-radius: 0;
	}
}

/* ===== Step 80: hotels.com-style filter widget + room cards ===== */
/* Step 121: sizes to its own fields (width: fit-content) instead of stretching to the
 * page's full content width, which left obvious empty space once Location/Room Category
 * were dropped from this widget - left-aligned in its available space, which reads better
 * against the rest of a left-to-right page than centering would. max-width: 100% keeps it
 * from overflowing a narrow viewport. */
.hlb-all-rooms--hcom .hlb-all-rooms__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
	padding: 16px;
	background: #fff;
	border: 1px solid #d9dce1;
	border-radius: var( --hlb-radius, 10px );
	box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.06 );
	margin-bottom: 24px;
	width: fit-content;
	max-width: 100%;
}

.hlb-all-rooms--hcom .hlb-all-rooms__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	position: relative;
}

/* Step 121: each field's placeholder text ("Add dates") or, for the travellers picker, its
 * own always-visible summary ("1 room, 2 travellers") already says what it's for - a
 * separate label above it was redundant. Kept for screen readers rather than removed
 * outright. */
/* The travellers label is screen-reader-only. Check-in / Check-out are real fields
 * (the inputs live inside those labels), so they must stay visible. */
.hlb-all-rooms--hcom .hlb-all-rooms__field > label:not( .hlb-all-rooms__date-field ) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

/* Step 122: neither had an explicit text colour - a <button> with no colour rule of its
 * own is exactly the pattern that let a theme's own default (often white-on-brand, e.g.
 * Hello Elementor's pink) win, which could make this field's own summary text unreadable
 * against its light background. */
.hlb-all-rooms--hcom .hlb-all-rooms__daterange,
.hlb-all-rooms--hcom .hlb-all-rooms__travellers-summary,
.hlb-all-rooms select,
.hlb-all-rooms--hcom .hlb-all-rooms__daterange:hover,
.hlb-all-rooms--hcom .hlb-all-rooms__travellers-summary:hover,
.hlb-all-rooms--hcom .hlb-all-rooms__daterange:focus,
.hlb-all-rooms--hcom .hlb-all-rooms__travellers-summary:focus,
.hlb-all-rooms select:hover,
.hlb-all-rooms select:focus,
.hlb-all-rooms select:active {
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid var( --hlb-primary, #8c8f94 );
	border-radius: var( --hlb-radius, 6px );
	background: #fff;
	color: #1d2327;
	font: inherit;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
	outline-color: var( --hlb-accent, var( --hlb-primary, #135e96 ) );
}

.hlb-all-rooms--hcom .hlb-all-rooms__daterange,
.hlb-all-rooms--hcom .hlb-all-rooms__travellers-summary {
	min-width: 180px;
	width: auto;
	max-width: 100%;
}

.hlb-all-rooms .hlb-all-rooms__add-room,
.hlb-all-rooms .hlb-all-rooms__add-room:hover,
.hlb-all-rooms .hlb-all-rooms__add-room:focus {
	background: transparent;
	border: 0;
	color: var( --hlb-primary, #1d2327 );
	box-shadow: none;
}

/* Step 86: native date-input fallback shown only when Flatpickr fails to load. */
.hlb-all-rooms--hcom .hlb-all-rooms__daterange-native {
	display: inline-flex;
	gap: 8px;
}

.hlb-all-rooms--hcom .hlb-all-rooms__daterange-native input[type="date"] {
	padding: 9px 12px;
	border: 1px solid #b6bbc4;
	border-radius: var( --hlb-radius, 6px );
	background: var( --hlb-field-bg, #fff );
	font: inherit;
}

.hlb-all-rooms__travellers-panel {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	margin-top: 6px;
	width: 320px;
	max-width: 88vw;
	padding: 14px;
	background: #fff;
	border: 1px solid #d9dce1;
	border-radius: var( --hlb-radius, 8px );
	box-shadow: 0 6px 24px rgba( 0, 0, 0, 0.14 );
}

/* Step 122: "+ Add another room" had no colour override at all - it's a plain
 * class="button-link" <button>, which WordPress core doesn't style on the front end, so
 * the active theme's own default button colour (a pink/magenta, in Hello Elementor's
 * case) was winning by default. */
.hlb-all-rooms__add-room {
	color: var( --hlb-primary, #333 );
}

.hlb-all-rooms__room + .hlb-all-rooms__room {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e6e8ec;
}

.hlb-all-rooms__room-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.hlb-stepper {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0;
}

.hlb-stepper > span { flex: 1 1 auto; }

.hlb-stepper button {
	width: 30px;
	height: 30px;
	border: 1px solid #b6bbc4;
	border-radius: 50%;
	background: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.hlb-stepper output { min-width: 1.5em; text-align: center; }

.hlb-all-rooms__child-age {
	display: block;
	margin: 4px 0 0 4px;
	font-size: 0.9em;
}

.hlb-all-rooms__deals {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

/* Step 109: two-class selector so a theme/page-builder `button` rule can't re-inflate
   this into a bordered pill - it stays a compact text action consistent with the
   40px-tall date / travellers controls beside it. */
.hlb-all-rooms .hlb-all-rooms__clear {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: 40px;
	border: 0;
	border-radius: var( --hlb-radius, 6px );
	background: none;
	box-shadow: none;
	color: var( --hlb-primary, #333 );
	cursor: pointer;
	padding: 0 6px;
	font: inherit;
}

.hlb-all-rooms__clear .dashicons { font-size: 16px; width: 16px; height: 16px; }
.hlb-all-rooms__clear-text { text-decoration: underline; }

/* Per-date price on the calendar cells. */
.hlb-daycal-price {
	display: block;
	font-size: 9px;
	line-height: 1;
	margin-top: 1px;
	color: #50555c;
}

.hlb-daycal-price--deal { color: #1a7f37; font-weight: 700; }
/* Step 119: a surge is a temporary rate INCREASE (Step 47 point 1), not a deal - the red
 * "alarming" colour a surge date used to get here was actively counter-productive to the
 * resort's own interest (it drew the eye to a date being MORE expensive). A surge is now
 * visually unremarkable, the same plain colour as a normal, undiscounted date - only an
 * actual deal/discount keeps the vibrant treatment. */
.hlb-daycal-price--surge { color: #50555c; }
.flatpickr-day { height: 44px; }

/* Step 114: the filter widget's own calendar (assets/js/all-rooms.js) no longer prints a
 * price on each date - just a small coloured dot marking a discounted or surged date
 * across the rooms it represents, distinct from the booking widget's real per-date price
 * above. */
.hlb-daycal-day--deal,
.hlb-daycal-day--surge {
	position: relative;
}

.hlb-daycal-day--deal::after,
.hlb-daycal-day--surge::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 50%;
	transform: translateX( -50% );
	width: 5px;
	height: 5px;
	border-radius: 50%;
}

.hlb-daycal-day--deal::after { background: #1a7f37; }
.hlb-daycal-day--surge::after { background: #b3261e; }

/* Scoped action states outrank theme [type=button]:hover resets. */
.hlb-gallery--slider .hlb-gallery__nav,
.hlb-gallery--slider .hlb-gallery__nav:hover,
.hlb-gallery--slider .hlb-gallery__nav:focus {
	padding: 0 8px;
	min-width: 44px;
	min-height: 44px;
	border: 2px solid var( --hlb-primary, #fff );
	background: rgba( 0, 0, 0, 0.65 );
	color: #fff;
}

.hlb-all-rooms .hlb-all-rooms__add-room,
.hlb-all-rooms .hlb-all-rooms__room-head .button-link {
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: var( --hlb-primary, #333 );
	text-decoration: underline;
}

.hlb-all-rooms .hlb-stepper button {
	padding: 0;
	background: #fff;
	color: var( --hlb-primary, #333 );
}

.hlb-all-rooms .hlb-all-rooms__toggle,
.hlb-all-rooms .hlb-all-rooms__travellers-summary {
	background: #fff;
	color: var( --hlb-primary, #333 );
	border-color: var( --hlb-primary, #aaa );
}

.hlb-room-modal .hlb-room-modal__full {
	color: var( --hlb-accent, var( --hlb-primary, #333 ) );
}

.hlb-room-modal .hlb-room-modal__close {
	padding: 0;
	border: 0;
	background: #eee;
	color: #222;
}

/* Room cards - Reserve action. */
.hlb-room-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 10px 0 0;
}

.hlb-room-card .hlb-room-card__full {
	color: var( --hlb-accent, var( --hlb-primary, #333 ) );
	text-decoration: underline;
}

a.hlb-room-card__reserve,
a.hlb-room-card__reserve:hover,
a.hlb-room-card__reserve:focus,
a.hlb-room-card__reserve:visited {
	display: inline-block;
	padding: 7px 18px;
	background: var( --hlb-primary, #333 );
	color: #fff;
	border-radius: var( --hlb-radius, 6px );
	text-decoration: none;
	font-weight: 600;
}

a.hlb-room-card__reserve:hover { filter: brightness( 0.92 ); color: #fff; }

.hlb-room-card a.hlb-room-card__link,
.hlb-room-card a.hlb-room-card__link:visited,
.hlb-room-card .hlb-room-card__title {
	color: #222;
}

.hlb-all-rooms__results.is-loading { opacity: 0.5; }

@media ( max-width: 640px ) {
	/* Step 121: the fields stack and go full-width here, so the fit-to-content sizing
	 * above (meant for the desktop side-by-side row) would just fight the width: 100%
	 * fields below it - back to a full-width container on narrow screens. */
	.hlb-all-rooms--hcom .hlb-all-rooms__filters { flex-direction: column; align-items: stretch; width: 100%; }
	.hlb-all-rooms--hcom .hlb-all-rooms__daterange,
	.hlb-all-rooms--hcom .hlb-all-rooms__travellers-summary { min-width: 0; width: 100%; }
	.hlb-all-rooms--hcom .hlb-all-rooms__dates { flex-direction: column; width: 100%; }
	.hlb-all-rooms--hcom .hlb-all-rooms__date-field,
	.hlb-all-rooms--hcom .hlb-all-rooms__date-field input { width: 100%; min-width: 0; }
}

/* Step 83: feature shortcode styling params. */
.hlb-feature-shortcode .hlb-card-features__icon,
.hlb-feature-shortcode .hlb-page-featured__icon,
.hlb-feature-shortcode .hlb-feature-groups__icon {
	width: var( --hlb-feature-icon-size, 18px );
	height: var( --hlb-feature-icon-size, 18px );
}

.hlb-feature-shortcode[style*="column"] .hlb-card-features,
.hlb-feature-shortcode[style*="column"] .hlb-page-featured__list {
	flex-direction: column;
	align-items: flex-start;
}

.hlb-all-rooms--hcom .hlb-all-rooms__dates {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}

.hlb-all-rooms--hcom .hlb-all-rooms__date-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 160px;
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	border: 0;
	font-weight: 600;
	font-size: 13px;
	color: #1d2327;
}

.hlb-all-rooms--hcom .hlb-all-rooms__date-field input {
	display: block;
	box-sizing: border-box;
	min-width: 158px;
	width: 100%;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid var( --hlb-primary, #8c8f94 );
	border-radius: var( --hlb-radius, 6px );
	background: #fff;
	color: #1d2327;
	font: inherit;
	font-weight: 400;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: none;
}

.hlb-all-rooms--hcom .hlb-all-rooms__date-field input[type="hidden"] {
	display: none;
}

.hlb-all-rooms__service-note {
	margin: 4px 0 8px;
	font-size: 12px;
	color: #50575e;
}

.hlb-all-rooms__animals {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #dcdcde;
}

.hush-lodge-booking-form__hint {
	font-weight: 400;
	font-size: 0.85em;
}
