:root {
	--vb-booking: var(--wp--preset--color--primary, #1e4d36);
	--vb-pending: #b26a00;
	--vb-external: #6b6f75;
	--vb-event: var(--wp--preset--color--accent, #c9771a);
	--vb-line: var(--wp--preset--color--line, #dad5ca);
	--vb-error: #b3261e;
	--vb-success: #1e6b3a;
}

/* Calendar */
.vb-calendar {
	margin-block: 1.5rem;
}

.vb-calendar__filter {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.vb-calendar .fc {
	--fc-border-color: var(--vb-line);
	--fc-today-bg-color: rgba(201, 119, 26, 0.08);
	--fc-button-bg-color: var(--vb-booking);
	--fc-button-border-color: var(--vb-booking);
	--fc-button-active-bg-color: #143424;
	--fc-button-active-border-color: #143424;
	--fc-button-hover-bg-color: #143424;
	--fc-button-hover-border-color: #143424;
	font-size: 0.95rem;
}

.vb-calendar .fc .fc-toolbar {
	flex-wrap: wrap;
	gap: 0.5rem;
}

.vb-calendar .fc .fc-toolbar-title {
	font-size: 1.25rem;
}

.fc-event.vb-type-booking {
	background: var(--vb-booking);
	border-color: var(--vb-booking);
}

.fc-event.vb-type-pending {
	background: repeating-linear-gradient(135deg, #fff4e0, #fff4e0 6px, #ffe2b3 6px, #ffe2b3 12px);
	border-color: var(--vb-pending);
}

.fc-event.vb-type-pending,
.fc-event.vb-type-pending .fc-event-main {
	color: #4a2c00;
}

.fc-event.vb-type-external {
	background: var(--vb-external);
	border-color: var(--vb-external);
}

.fc-event.vb-type-event {
	background: var(--vb-event);
	border-color: var(--vb-event);
}

.fc-list-event.vb-type-booking .fc-list-event-dot { border-color: var(--vb-booking); }
.fc-list-event.vb-type-pending .fc-list-event-dot { border-color: var(--vb-pending); }
.fc-list-event.vb-type-external .fc-list-event-dot { border-color: var(--vb-external); }
.fc-list-event.vb-type-event .fc-list-event-dot { border-color: var(--vb-event); }

.vb-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.9rem;
}

.vb-legend li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.vb-legend__swatch {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border-radius: 3px;
	border: 1px solid var(--vb-line);
}

.vb-legend__swatch.vb-type-booking { background: var(--vb-booking); }
.vb-legend__swatch.vb-type-pending { background: repeating-linear-gradient(135deg, #fff4e0, #fff4e0 3px, #ffe2b3 3px, #ffe2b3 6px); border-color: var(--vb-pending); }
.vb-legend__swatch.vb-type-external { background: var(--vb-external); }
.vb-legend__swatch.vb-type-event { background: var(--vb-event); }
.vb-legend__swatch.vb-free { background: #fff; }

/* Compact month card, matching the front-page design. */
.vb-calendar--card {
	max-width: 340px;
	margin-inline: auto;
	padding: 16px 18px 18px;
	background: #f6f1ea;
	border-radius: 22px;
	color: #2a2a2a;
}

@media (max-width: 767px) {
	.vb-calendar--card {
		width: 100%;
		max-width: none;
	}
}

.vb-calendar--card .fc {
	--fc-border-color: transparent;
	--fc-today-bg-color: transparent;
	--fc-page-bg-color: transparent;
	--fc-neutral-bg-color: transparent;
	--fc-button-bg-color: transparent;
	--fc-button-border-color: transparent;
	--fc-button-text-color: #2a2a2a;
	--fc-button-hover-bg-color: transparent;
	--fc-button-hover-border-color: transparent;
	--fc-button-active-bg-color: transparent;
	--fc-button-active-border-color: transparent;
	--fc-button-hover-color: #2a2a2a;
	font-size: 0.95rem;
}

.vb-calendar--card .fc-theme-standard td,
.vb-calendar--card .fc-theme-standard th,
.vb-calendar--card .fc-scrollgrid,
.vb-calendar--card .fc-scrollgrid-section > td {
	border: none;
}

.vb-calendar--card .fc-header-toolbar {
	display: flex;
	align-items: center;
	margin: 0 -18px 8px;
	padding: 0 18px 10px;
	border-bottom: 1px solid #e4ddd4;
}

.vb-calendar--card .fc-toolbar-chunk:first-child,
.vb-calendar--card .fc-toolbar-chunk:last-child {
	flex: 1;
}

.vb-calendar--card .fc-toolbar-chunk:last-child {
	text-align: right;
}

.vb-calendar--card .fc .fc-toolbar-title {
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: capitalize;
}

.vb-calendar--card .fc .fc-button {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 4px 6px;
	color: #2a2a2a;
}

.vb-calendar--card .fc .fc-button:hover,
.vb-calendar--card .fc .fc-button:focus,
.vb-calendar--card .fc .fc-button:not(:disabled):active {
	background: transparent;
	border: none;
	color: #2a2a2a;
	box-shadow: none;
}

.vb-calendar--card .fc .fc-icon {
	font-size: 1.15rem;
}

.vb-calendar--card .fc-col-header-cell-cushion {
	color: #2a2a2a;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	padding: 10px 0 12px;
}

.vb-calendar--card .fc-daygrid-day-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
}

.vb-calendar--card .fc-daygrid-day-top {
	display: flex;
	justify-content: center;
	width: 100%;
}

.vb-calendar--card .fc-daygrid-day-events,
.vb-calendar--card .fc-daygrid-day-bg {
	display: none;
}

.vb-calendar--card .fc-daygrid-day-number {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	float: none;
	color: #2a2a2a;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.vb-calendar--card .fc-day-other .fc-daygrid-day-number {
	color: #d4cfc7;
}

.vb-calendar--card .fc-daygrid-day.vb-has-event .fc-daygrid-day-number {
	position: relative;
	background: #f6d3b4;
}

/* The orange mark sits on the circle's bottom border, half in and half out. */
.vb-calendar--card .fc-daygrid-day.vb-has-event .fc-daygrid-day-number::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -3px;
	width: 6px;
	height: 6px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: #e8873a;
}

.vb-calendar--card .fc-daygrid-day.vb-is-selected .fc-daygrid-day-number {
	background: #e8873a;
	color: #fff;
}

.vb-calendar--card .fc-daygrid-day.vb-is-selected .fc-daygrid-day-number::after {
	display: none;
}

.vb-calendar__caption {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin: 8px -18px 0;
	padding: 12px 18px 0;
	border-top: 1px solid #e4ddd4;
	font-size: 0.95rem;
	line-height: 1.3;
}

.vb-calendar__caption[hidden] {
	display: none;
}

.vb-calendar__caption-date {
	color: #e8873a;
	font-weight: 700;
	white-space: nowrap;
}

.vb-calendar__caption-title {
	color: #2a2a2a;
	min-width: 0;
}

.vb-calendar__more {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	margin-left: auto;
	padding: 0.15rem 0.45rem 0.15rem 0.55rem;
	border: 1px solid #e8873a;
	border-radius: 999px;
	background: #fff7f1;
	color: #c45e12;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.vb-calendar__more[hidden] {
	display: none;
}

.vb-calendar__more:hover,
.vb-calendar__more:focus-visible {
	background: #e8873a;
	color: #fff;
}

.vb-calendar__more-icon {
	width: 0.9rem;
	height: 0.9rem;
	display: block;
}

/* Room booking calendar: month matches the front-page card; day and week show time ranges. */
.vb-room-availability .vb-calendar--room {
	width: 100%;
	max-width: none;
	margin: 0 0 0.9rem;
	padding: 12px 14px 14px;
	background: #f6f1ea;
	border-radius: 18px;
	color: #2a2a2a;
}

.vb-calendar--room .vb-calendar__views {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin: 0 0 10px;
	padding: 4px;
	background: #efe8df;
	border-radius: 12px;
}

.vb-calendar--room .vb-calendar__views button {
	margin: 0;
	padding: 0.42rem 0.2rem;
	border: 0;
	border-radius: 9px;
	background: transparent;
	box-shadow: none;
	color: #5c564e;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.vb-calendar--room .vb-calendar__views button[aria-selected="true"] {
	background: #fff;
	color: #e8873a;
	box-shadow: 0 1px 3px rgba(40, 28, 16, 0.08);
}

.vb-calendar--room .vb-calendar__views button:focus-visible {
	outline: 2px solid #e8873a;
	outline-offset: 1px;
}

.vb-calendar--room .fc {
	--fc-border-color: transparent;
	--fc-today-bg-color: transparent;
	--fc-page-bg-color: transparent;
	--fc-neutral-bg-color: transparent;
	--fc-button-bg-color: transparent;
	--fc-button-border-color: transparent;
	--fc-button-text-color: #2a2a2a;
	--fc-button-hover-bg-color: transparent;
	--fc-button-hover-border-color: transparent;
	--fc-button-active-bg-color: transparent;
	--fc-button-active-border-color: transparent;
	--fc-button-hover-color: #2a2a2a;
	--fc-now-indicator-color: #e8873a;
	font-size: 0.92rem;
}

.vb-calendar--room .fc-theme-standard td,
.vb-calendar--room .fc-theme-standard th,
.vb-calendar--room .fc-scrollgrid,
.vb-calendar--room .fc-scrollgrid-section > td {
	border-color: transparent;
}

.vb-calendar--room .fc-header-toolbar {
	display: flex;
	align-items: center;
	margin: 0 -14px 8px;
	padding: 0 14px 10px;
	border-bottom: 1px solid #e4ddd4;
}

.vb-calendar--room .fc-toolbar-chunk:first-child,
.vb-calendar--room .fc-toolbar-chunk:last-child {
	flex: 1;
}

.vb-calendar--room .fc-toolbar-chunk:last-child {
	text-align: right;
}

.vb-calendar--room .fc .fc-toolbar-title {
	font-size: 1.15rem;
	font-weight: 700;
}

.vb-calendar--room.is-month .fc .fc-toolbar-title {
	text-transform: capitalize;
}

.vb-calendar--room .fc-scrollgrid-section-header .fc-scroller,
.vb-calendar--room .fc-scrollgrid-section-body:not(.fc-scrollgrid-section-liquid) .fc-scroller {
	scrollbar-width: none;
}

.vb-calendar--room .fc-scrollgrid-section-header .fc-scroller::-webkit-scrollbar,
.vb-calendar--room .fc-scrollgrid-section-body:not(.fc-scrollgrid-section-liquid) .fc-scroller::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.vb-calendar--room .fc .fc-button {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 4px 6px;
	color: #2a2a2a;
}

.vb-calendar--room .fc .fc-button:hover,
.vb-calendar--room .fc .fc-button:focus,
.vb-calendar--room .fc .fc-button:not(:disabled):active {
	background: transparent;
	border: none;
	color: #2a2a2a;
	box-shadow: none;
}

.vb-calendar--room .fc .fc-icon {
	font-size: 1.15rem;
}

.vb-calendar--room.is-month .fc-col-header-cell-cushion {
	color: #2a2a2a;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	padding: 8px 0 10px;
}

.vb-calendar--room.is-month .fc-daygrid-day-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
}

.vb-calendar--room.is-month .fc-daygrid-day-top {
	display: flex;
	justify-content: center;
	width: 100%;
}

.vb-calendar--room.is-month .fc-daygrid-day-events,
.vb-calendar--room.is-month .fc-daygrid-day-bg {
	display: none;
}

.vb-calendar--room.is-month .fc-daygrid-day-number {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	float: none;
	color: #2a2a2a;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.vb-calendar--room.is-month .fc-day-other .fc-daygrid-day-number {
	color: #d4cfc7;
}

.vb-calendar--room.is-month .vb-day-booked .fc-daygrid-day-number {
	background: #f8d4cf;
	padding-top: 2px;
}

.vb-calendar--room.is-month .vb-day-booked .fc-daygrid-day-number::after {
	content: "";
	width: 4px;
	height: 4px;
	margin-top: 2px;
	border-radius: 50%;
	background: #e15a4a;
}

.vb-calendar--room.is-month .vb-day-event .fc-daygrid-day-number {
	background: #f6d3b4;
	padding-top: 2px;
}

.vb-calendar--room.is-month .vb-day-event .fc-daygrid-day-number::after {
	content: "";
	width: 4px;
	height: 4px;
	margin-top: 2px;
	border-radius: 50%;
	background: #e8873a;
}

.vb-calendar--room.is-month .vb-day-booked.vb-day-event .fc-daygrid-day-number::after {
	box-shadow: 7px 0 0 #e15a4a;
}

.vb-calendar--room.is-month .vb-day-full .fc-daygrid-day-number {
	background: #e15a4a;
	color: #fff;
	padding-top: 0;
}

.vb-calendar--room.is-month .vb-day-full .fc-daygrid-day-number::after {
	display: none;
}

.vb-calendar--room.is-month .vb-is-selected .fc-daygrid-day-number,
.vb-calendar--room.is-month .vb-is-selected.vb-day-booked .fc-daygrid-day-number,
.vb-calendar--room.is-month .vb-is-selected.vb-day-event .fc-daygrid-day-number,
.vb-calendar--room.is-month .vb-is-selected.vb-day-full .fc-daygrid-day-number {
	background: #e8873a;
	color: #fff;
	padding-top: 0;
}

.vb-calendar--room.is-month .vb-is-selected .fc-daygrid-day-number::after,
.vb-calendar--room.is-month .vb-is-selected.vb-day-booked.vb-day-event .fc-daygrid-day-number::after {
	display: none;
}

.vb-calendar--room .vb-calendar__caption {
	margin: 8px -14px 0;
	padding: 12px 14px 0;
}

.vb-calendar--room .vb-calendar__caption-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vb-calendar--room .vb-calendar__caption-title.is-free {
	color: #2f8a49;
	font-weight: 600;
}

.vb-calendar--room .vb-calendar__caption-title.is-booked {
	color: #c4473a;
	font-weight: 600;
}

.vb-calendar--room.is-day .fc-theme-standard td,
.vb-calendar--room.is-day .fc-theme-standard th,
.vb-calendar--room.is-week .fc-theme-standard td,
.vb-calendar--room.is-week .fc-theme-standard th,
.vb-calendar--room.is-day .fc-scrollgrid,
.vb-calendar--room.is-week .fc-scrollgrid {
	border-color: #eadfd2;
}

.vb-calendar--room.is-day .fc-timegrid-slot-lane,
.vb-calendar--room.is-week .fc-timegrid-slot-lane,
.vb-calendar--room.is-day .fc-timegrid-col-bg,
.vb-calendar--room.is-week .fc-timegrid-col-bg {
	background: #e5f6eb;
}

.vb-calendar--room.is-day .fc-timegrid-axis,
.vb-calendar--room.is-week .fc-timegrid-axis,
.vb-calendar--room.is-day .fc-timegrid-slot-label,
.vb-calendar--room.is-week .fc-timegrid-slot-label,
.vb-calendar--room.is-day .fc-timegrid-divider,
.vb-calendar--room.is-week .fc-timegrid-divider,
.vb-calendar--room.is-day .fc-scrollgrid-section-header,
.vb-calendar--room.is-week .fc-scrollgrid-section-header {
	background: #f6f1ea;
}

.vb-calendar--room .fc-timegrid-slot-label-cushion,
.vb-calendar--room .fc-timegrid-axis-cushion,
.vb-calendar--room .fc-col-header-cell-cushion {
	color: #2a2a2a;
	font-size: 0.72rem;
	text-decoration: none;
}

.vb-calendar--room .fc-timegrid-now-indicator-line {
	border-color: #e8873a;
}

.vb-calendar--room .fc-timegrid-now-indicator-arrow {
	border-color: #e8873a;
	color: #e8873a;
}

.vb-calendar--room .fc-highlight {
	background: rgba(58, 170, 90, 0.35);
}

.vb-calendar--room .fc-v-event {
	border-radius: 6px;
}

.vb-calendar--room .fc-timegrid-event .fc-event-main {
	color: inherit;
	font-size: 0.72rem;
	line-height: 1.25;
	padding: 1px 3px;
}

.vb-calendar--room .fc-event.vb-type-booking,
.vb-calendar--room .fc-event.vb-type-external {
	background: #e15a4a;
	border-color: #c4473a;
	color: #fff;
}

.vb-calendar--room .fc-event.vb-type-pending,
.vb-calendar--room .fc-event.vb-type-pending .fc-event-main {
	background: repeating-linear-gradient(135deg, #fde8e4, #fde8e4 6px, #f6c7c0 6px, #f6c7c0 12px);
	border-color: #e15a4a;
	color: #6b241c;
}

.vb-calendar--room .fc-event.vb-type-event,
.vb-calendar--room .fc-event.vb-type-event .fc-event-main {
	background: #e8873a;
	border-color: #d9732a;
	color: #fff;
}

.vb-calendar--room.is-week .fc-col-header-cell-cushion,
.vb-calendar--room.is-week .fc-timegrid-slot-label-cushion {
	font-size: 0.68rem;
	padding: 2px 0;
}

.vb-calendar--room.is-week .fc-timegrid-event .fc-event-main {
	font-size: 0.62rem;
	overflow: hidden;
}

/* Booking dialog */
.vb-booking__launch {
	margin: 1.5rem 0;
}

.vb-booking-dialog {
	box-sizing: border-box;
	width: min(720px, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	min-width: 0;
	max-height: min(90vh, 920px);
	margin: auto;
	padding: 0;
	border: none;
	border-radius: 16px;
	background: #fff;
	color: inherit;
	box-shadow: 0 24px 60px rgba(20, 24, 20, 0.28);
	overflow: visible;
}

.vb-booking-dialog::backdrop {
	background: rgba(28, 32, 28, 0.55);
}

.vb-booking-dialog__bar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem 0.75rem;
}

.vb-booking-dialog__bar h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.3;
}

.vb-booking-dialog__body {
	overflow: auto;
	display: grid;
	gap: 1rem;
	padding: 0.25rem 1.5rem 1.5rem;
	max-height: calc(90vh - 5rem);
}

.vb-booking-dialog__close {
	flex: none;
	margin: -0.2rem -0.35rem 0 0;
	padding: 0.15rem 0.45rem;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.vb-booking-dialog__close:hover,
.vb-booking-dialog__close:focus-visible {
	background: #f4f1ea;
}

@media (max-width: 640px) {
	.vb-booking-dialog {
		width: calc(100vw - 1rem);
		max-width: calc(100vw - 1rem);
		max-height: calc(100vh - 1rem);
		border-radius: 12px;
	}

	.vb-booking-dialog__bar,
	.vb-booking-dialog__body {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.vb-booking-dialog__body {
		max-height: calc(100vh - 6rem);
	}
}

/* Booking form */
.vb-booking-form {
	display: grid;
	gap: 1rem;
	max-width: 760px;
	min-width: 0;
	scroll-margin-top: 2rem;
}

.vb-booking-dialog .vb-booking-form {
	max-width: none;
	gap: 0;
}

.vb-row {
	display: grid;
	gap: 1rem;
	min-width: 0;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.vb-field {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
	max-width: 100%;
}

.vb-field label {
	font-weight: 600;
}

.vb-field input,
.vb-field select,
.vb-field textarea {
	font: inherit;
	padding: 0.6rem 0.7rem;
	border: 1px solid #8a8d91;
	border-radius: 4px;
	background: #fff;
	color: inherit;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-inline-size: 0;
	box-sizing: border-box;
}

.vb-field input[type="date"],
.vb-field input[type="time"] {
	display: block;
}

@media (max-width: 640px) {
	.vb-booking-dialog .vb-row--when {
		grid-template-columns: minmax(0, 1fr);
	}

	.vb-booking-dialog .vb-row--when .vb-field {
		grid-template-columns: minmax(0, 1fr);
		min-width: 0;
		max-width: 100%;
	}

	.vb-booking-dialog input[type="date"],
	.vb-booking-dialog input[type="time"] {
		-webkit-appearance: none;
		appearance: none;
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		min-inline-size: 0;
		min-height: 2.75rem;
	}
}

.vb-field [aria-invalid="true"] {
	border-color: var(--vb-error);
	box-shadow: 0 0 0 1px var(--vb-error);
}

.vb-field--checkbox {
	grid-template-columns: auto 1fr;
	align-items: start;
}

.vb-field--checkbox input {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.2rem;
}

.vb-field--checkbox label {
	font-weight: 400;
}

.vb-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vb-recaptcha {
	min-height: 78px;
}

@media (max-width: 640px) {
	.vb-booking-dialog div:has(> iframe[src*="recaptcha/api2/bframe"]) {
		position: fixed !important;
		inset: 0.75rem !important;
		width: auto !important;
		height: auto !important;
		max-width: none !important;
		margin: 0 !important;
		transform: none !important;
		z-index: 2147483646 !important;
		overflow: auto;
	}
}

.vb-recaptcha[aria-invalid="true"] {
	outline: 2px solid var(--vb-error);
	outline-offset: 4px;
	border-radius: 4px;
}

.vb-hint {
	color: var(--wp--preset--color--muted, #55585c);
	margin: 0;
}

.vb-status:empty {
	display: none;
}

.vb-status {
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	border-left: 4px solid currentColor;
	background: #f4f4f4;
}

.vb-status--error { color: var(--vb-error); background: #fdecea; }
.vb-status--success { color: var(--vb-success); background: #e8f5ec; }
.vb-status--info { color: #1d3f73; background: #eaf1fb; }

.vb-booking-form button[type="submit"] {
	box-sizing: border-box;
	max-width: 100%;
	background: var(--vb-accent, #f3873f);
	color: #fff;
	border: 0;
}

.vb-booking-form button[type="submit"]:hover,
.vb-booking-form button[type="submit"]:focus-visible {
	background: #d9732a;
	color: #fff;
}

.vb-booking-form button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* Room details */
.vb-room-details {
	background: var(--wp--preset--color--surface, #f5f2eb);
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
}

.vb-room-details__heading {
	font-size: 1.05rem;
	margin: 1rem 0 0.25rem;
}

.vb-room-details__heading:first-child {
	margin-top: 0;
}

/* Event cards and venues */
.vb-event-cards,
.vb-venues {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.vb-event-card,
.vb-venue {
	border: 1px solid var(--vb-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.vb-event-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.vb-event-card__body,
.vb-venue {
	padding: 1rem 1.25rem;
}

.vb-event-card__title,
.vb-venue__title {
	font-size: 1.15rem;
	margin: 0.25rem 0;
}

.vb-event-card__category {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--vb-event);
}

.vb-event-card__date,
.vb-event-card__venue,
.vb-venue__address {
	margin: 0;
	color: var(--wp--preset--color--muted, #55585c);
}

.vb-venues {
	grid-template-columns: 1fr;
}

.vb-venue-profile {
	margin: 0 0 2.5rem;
}

.vb-venue-profile .vb-venue__heading {
	font-size: 1.05rem;
	margin: 1.25rem 0 0.35rem;
}

.vb-venue__contacts,
.vb-venue__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vb-venue__contacts li,
.vb-venue__links li {
	margin: 0.35rem 0;
}

.vb-venue__contacts span,
.vb-venue__contacts a {
	display: block;
}

/* Event category filter on The Events Calendar pages */
.vb-event-categories ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.vb-event-categories a {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--vb-line);
	border-radius: 999px;
	text-decoration: none;
}

.vb-event-categories a[aria-current="page"] {
	background: var(--vb-booking);
	border-color: var(--vb-booking);
	color: #fff;
}

.vb-map iframe {
	display: block;
	border-radius: 8px;
}

/* Room detail page */
.vb-room-page,
.vb-room-page * {
	box-sizing: border-box;
}

.vb-room-page {
	--vb-accent: var(--accent-01, #f3873f);
	--vb-ink: var(--neutral-900, #0a0a0a);
	width: min(1180px, calc(100% - 2.5rem));
	margin: 0 auto 3.5rem;
	padding-top: 7.25rem;
	color: var(--vb-ink);
	font-family: var(--font-archivo, Archivo), "Segoe UI", sans-serif;
}

.vb-room-page__heading {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 0.45rem;
}

.vb-room-page__heading h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.15rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.vb-room-page__back {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--vb-accent);
	color: #fff;
	text-decoration: none;
}

.vb-room-page__back:hover,
.vb-room-page__back:focus-visible {
	background: #d9732a;
	color: #fff;
}

.vb-room-page__crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	margin: 0 0 1.6rem;
	color: #8d8d8d;
	font-size: 0.95rem;
}

.vb-room-page__crumbs a {
	color: inherit;
	text-decoration: none;
}

.vb-room-page__crumbs a:hover,
.vb-room-page__crumbs a:focus-visible {
	color: var(--vb-accent);
}

.vb-room-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 400px);
	gap: 1.5rem 2rem;
	align-items: start;
}

.vb-room-main,
.vb-room-side {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	min-width: 0;
}

.vb-room-side {
	gap: 1.15rem;
}

.vb-room-image {
	margin: 0;
}

.vb-room-image__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 18px;
}

.vb-room-description h2,
.vb-room-features h2,
.vb-room-availability h2,
.vb-room-prices h2 {
	margin: 0 0 0.85rem;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.vb-room-description__text {
	color: #3a3a3a;
	font-size: 1rem;
	line-height: 1.6;
}

.vb-room-description__text > *:first-child {
	margin-top: 0;
}

.vb-room-description__text > *:last-child {
	margin-bottom: 0;
}

.vb-room-features__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vb-room-features__list li {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	color: #2a2a2a;
	line-height: 1.35;
}

.vb-room-features__list svg {
	flex: none;
	margin-top: 0.05rem;
	color: var(--vb-accent);
}

.vb-room-availability,
.vb-room-prices {
	padding: 1.25rem 1.3rem 1.35rem;
	border-radius: 22px;
}

.vb-room-availability {
	border: 1px solid #ececec;
	background: #fff;
	box-shadow: 0 10px 30px rgba(16, 16, 16, 0.04);
}

.vb-room-availability__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.9rem;
	margin: 0.85rem 0 1rem;
	padding: 0;
	list-style: none;
	color: #4a4a4a;
	font-size: 0.82rem;
}

.vb-room-availability__legend li {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
}

.vb-room-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
}

.vb-room-dot--free { background: #3aaa5a; }
.vb-room-dot--booked { background: #e15a4a; }
.vb-room-dot--event { background: #e8873a; }

.vb-room-book {
	display: inline-flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.95rem 1.2rem;
	border: 0;
	border-radius: 12px;
	background: var(--vb-accent);
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.vb-room-book:hover,
.vb-room-book:focus-visible {
	background: #d9732a;
}

.vb-room-prices {
	background: #f6f1ea;
}

.vb-room-prices__rows {
	margin: 0;
}

.vb-room-prices__rows div {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 0.55rem;
}

.vb-room-prices__rows dt,
.vb-room-prices__rows dd {
	margin: 0;
}

.vb-room-prices__rows dd {
	font-weight: 700;
	text-align: right;
}

.vb-room-prices__notes {
	margin-top: 0.8rem;
	color: #6d6d6d;
	font-size: 0.92rem;
	line-height: 1.45;
}

.vb-room-prices__notes p {
	margin: 0 0 0.4rem;
}

.vb-room-page .vb-booking {
	margin: 0;
}

@media (max-width: 900px) {
	.vb-room-page {
		width: min(100% - 1.5rem, 1180px);
		padding-top: 6.25rem;
	}

	.vb-room-page__grid {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	.vb-room-main,
	.vb-room-side {
		display: contents;
	}

	.vb-room-image,
	.vb-room-availability,
	.vb-room-prices,
	.vb-room-description,
	.vb-room-features {
		width: 100%;
		align-self: stretch;
	}

	.vb-room-image { order: 1; }
	.vb-room-availability { order: 2; }
	.vb-room-prices { order: 3; }
	.vb-room-description { order: 4; }
	.vb-room-features { order: 5; }
}

@media (max-width: 520px) {
	.vb-room-features__list {
		grid-template-columns: 1fr;
	}

	.vb-room-page__heading h1 {
		font-size: 1.85rem;
	}
}
