/**
 * MoonRock Booking
 *
 * Cormorant Garamond headings, Montserrat detail, the house palette. Every
 * value is a custom property or a plain declaration so Elementor can
 * override any of it.
 */

.mrb {
	--mrb-ink: #3A2A21;
	--mrb-ink-deep: #241A15;
	--mrb-accent: #C9A96A;
	--mrb-body: #6B5648;
	--mrb-muted: #8A7565;
	--mrb-label: #A08D7D;
	--mrb-bg: #F6F2EA;
	--mrb-bg-alt: #EFE8DC;
	--mrb-line: #E0D6C6;
	--mrb-line-soft: #E7DED0;
	--mrb-error: #A6503C;
	--mrb-serif: "Cormorant Garamond", Georgia, serif;
	--mrb-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	font-family: var(--mrb-sans);
	color: var(--mrb-ink);
	scroll-margin-top: 120px;
}

.mrb * {
	box-sizing: border-box;
}

.mrb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- type ---------- */

.mrb-eyebrow {
	display: block;
	margin-bottom: 10px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--mrb-label);
}

.mrb-label {
	display: block;
	margin-bottom: 8px;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mrb-muted);
}

.mrb-step__title {
	margin: 0 0 22px;
	font-family: var(--mrb-serif);
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 300;
	line-height: 1.1;
	color: var(--mrb-ink-deep);
}

.mrb-note,
.mrb-footnote {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--mrb-muted);
}

.mrb-footnote {
	text-align: center;
}

.mrb-note[hidden] {
	display: none;
}

/* ---------- form shell ---------- */

.mrb-form {
	display: flex;
	flex-direction: column;
	gap: clamp(36px, 5vw, 60px);
}

.mrb-step {
	border-top: 1px solid var(--mrb-line-soft);
	padding-top: clamp(24px, 3vw, 36px);
}

.mrb-step:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.mrb-errors {
	border: 1px solid var(--mrb-error);
	background: #FBF0EC;
	padding: 16px 20px;
}

.mrb-errors p {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--mrb-error);
}

.mrb-errors p:last-child {
	margin-bottom: 0;
}

/* ---------- step one ---------- */

.mrb-modes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.mrb-mode {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid var(--mrb-line);
	background: #FFFFFF;
	padding: 26px 24px;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

.mrb-mode:hover {
	border-color: var(--mrb-accent);
}

.mrb-mode.is-active {
	border-color: var(--mrb-accent);
	background: var(--mrb-bg);
}

.mrb-mode input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mrb-mode__name {
	font-family: var(--mrb-serif);
	font-size: 22px;
	color: var(--mrb-ink-deep);
}

.mrb-mode__body {
	font-size: 13px;
	line-height: 1.7;
	color: var(--mrb-body);
}

/* ---------- step two ---------- */

.mrb-subjects {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mrb-subject {
	border: 1px solid var(--mrb-line);
	background: #FFFFFF;
	padding: 12px 22px;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--mrb-body);
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.mrb-subject:hover {
	border-color: var(--mrb-accent);
}

.mrb-subject.is-active {
	border-color: var(--mrb-ink-deep);
	background: var(--mrb-ink-deep);
	color: #F6F2EA;
}

.mrb-subject input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* ---------- step three ---------- */
/* Days, times and the month arrows are spans, not buttons: themes and page
   builders style bare buttons and would otherwise fill the calendar with
   solid blocks. */

.mrb-when {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 36px);
	align-items: start;
}

@media (max-width: 860px) {
	.mrb-when {
		grid-template-columns: minmax(0, 1fr);
	}
}

.mrb .mrb-calendar {
	min-width: 0;
	border: 1px solid var(--mrb-line);
	background: transparent;
	padding: clamp(14px, 2vw, 22px);
}

.mrb .mrb-calendar__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.mrb .mrb-calendar__month {
	font-family: var(--mrb-serif);
	font-size: clamp(17px, 2vw, 21px);
	font-weight: 500;
	color: var(--mrb-ink-deep);
	white-space: nowrap;
}

.mrb .mrb-calendar__nav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--mrb-sans);
	font-size: 16px;
	line-height: 1;
	color: var(--mrb-muted);
	cursor: pointer;
	user-select: none;
	transition: color .2s ease;
}

.mrb .mrb-calendar__nav:hover {
	color: var(--mrb-ink-deep);
}

.mrb .mrb-calendar__nav.is-off {
	color: #D9CEBE;
	cursor: default;
	pointer-events: none;
}

.mrb .mrb-calendar__days,
.mrb .mrb-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 2px;
	width: 100%;
}

.mrb .mrb-calendar__days {
	margin-bottom: 8px;
	text-align: center;
}

.mrb .mrb-calendar__days span {
	display: block;
	padding: 6px 0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mrb-ink-deep);
}

.mrb .mrb-day {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	min-width: 0;
	padding: 0;
	border: 1px solid transparent;
	background: none;
	font-family: var(--mrb-sans);
	font-size: clamp(12px, 1.3vw, 14px);
	line-height: 1;
	letter-spacing: 0;
	color: var(--mrb-ink);
	cursor: pointer;
	user-select: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.mrb .mrb-day:hover {
	background: var(--mrb-bg-alt);
	color: var(--mrb-ink-deep);
}

.mrb .mrb-day.is-off {
	color: #B9B2A9;
	background: none;
	cursor: default;
	pointer-events: none;
}

.mrb .mrb-day.is-active,
.mrb .mrb-day.is-active:hover {
	background: #C9A96A;
	border-color: #C9A96A;
	color: #FFFFFF;
	font-weight: 600;
}

.mrb .mrb-day--blank {
	visibility: hidden;
	pointer-events: none;
}

.mrb .mrb-calendar__key {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mrb-label);
}

.mrb-key {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
}

.mrb-key--free {
	background: #C9A96A;
}

.mrb-key--gone {
	background: #B9B2A9;
	margin-left: 10px;
}

/* ---------- times ---------- */

.mrb-times {
	min-width: 0;
}

.mrb .mrb-times .mrb-label {
	font-weight: 700;
	color: var(--mrb-ink-deep);
	letter-spacing: 0.16em;
}

.mrb .mrb-times__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(102px, 1fr));
	gap: 8px;
}

.mrb-times__hint,
.mrb-times__empty {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--mrb-muted);
}

.mrb .mrb-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding: 12px 8px;
	border: 1px solid var(--mrb-line);
	background: none;
	font-family: var(--mrb-sans);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.06em;
	color: var(--mrb-body);
	cursor: pointer;
	user-select: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.mrb .mrb-slot:hover {
	border-color: #C9A96A;
	color: var(--mrb-ink-deep);
}

.mrb .mrb-slot.is-off {
	border-color: #E4E0DA;
	background: #F4F2EF;
	color: #B9B2A9;
	text-decoration: line-through;
	cursor: default;
	pointer-events: none;
}

.mrb .mrb-slot.is-active,
.mrb .mrb-slot.is-active:hover {
	border-color: #C9A96A;
	background: #C9A96A;
	color: #FFFFFF;
	font-weight: 600;
}

/* ---------- step four ---------- */

.mrb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}

.mrb-field {
	display: block;
	margin-bottom: 18px;
	text-align: left;
}

.mrb-grid .mrb-field {
	margin-bottom: 0;
}

.mrb-input {
	width: 100%;
	border: 1px solid var(--mrb-line);
	background: #FFFFFF;
	padding: 13px 16px;
	font-family: var(--mrb-sans);
	font-size: 14px;
	color: var(--mrb-ink);
	transition: border-color .2s ease;
}

.mrb-input:focus {
	border-color: var(--mrb-accent);
	outline: none;
}

.mrb-input::placeholder {
	color: #BCAC9A;
}

textarea.mrb-input {
	resize: vertical;
	line-height: 1.7;
}

.mrb-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 6px;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--mrb-body);
	text-align: left;
}

.mrb-consent input {
	margin-top: 4px;
	accent-color: var(--mrb-ink-deep);
}

/* ---------- buttons ---------- */

.mrb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--mrb-ink-deep);
	background: var(--mrb-ink-deep);
	padding: 17px 40px;
	font-family: var(--mrb-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	color: #F6F2EA;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.mrb-btn:hover {
	background: var(--mrb-accent);
	border-color: var(--mrb-accent);
	color: var(--mrb-ink-deep);
}

.mrb-btn--block {
	width: 100%;
}

/* ---------- thank you ---------- */

.mrb-thanks {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
	padding: clamp(30px, 6vw, 70px) 0;
}

.mrb-thanks__mark {
	width: 56px;
	height: auto;
	margin: 0 auto 26px;
	display: block;
}

.mrb-thanks__title {
	margin: 0 0 14px;
	font-family: var(--mrb-serif);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 300;
	line-height: 1.12;
	color: var(--mrb-ink-deep);
}

.mrb-thanks__body {
	margin: 0 0 34px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--mrb-body);
}

.mrb-summary {
	margin: 0 0 36px;
	text-align: left;
}

.mrb-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid var(--mrb-line-soft);
	padding: 13px 0;
}

.mrb-summary dt {
	margin: 0;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mrb-label);
}

.mrb-summary dd {
	margin: 0;
	font-size: 14px;
	text-align: right;
	color: var(--mrb-ink);
}

/* ---------- virtual provider ---------- */

.mrb-provider {
	margin-top: 18px;
	max-width: 320px;
}

.mrb-provider[hidden],
.mrb-studio[hidden] {
	display: none;
}

.mrb-studio {
	margin-top: 16px;
	border-left: 1px solid var(--mrb-line);
	padding-left: 16px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--mrb-body);
}

.mrb-studio strong {
	display: block;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mrb-muted);
	margin-bottom: 6px;
}
