/**
 * Franx reservation form (arminum-toolkit) 1.3.0
 *
 * Button selectors use ".franx-res .franx-res__form button.…" on purpose: the Elementor kit
 * styles all buttons via ".elementor-kit-6 button(:hover)" and must be outranked.
 *
 * Everything is scoped to .franx-res – no global resets, safe inside Elementor.
 * Colors use the Elementor kit globals with the Franx values as fallback.
 * Popup box (red background, padding, close button, heading) comes from the Elementor popup itself.
 */

.franx-res {
	--fr-red: var(--e-global-color-primary, #CC3C17);
	--fr-olive: var(--e-global-color-secondary, #9D882E);
	--fr-dark: var(--e-global-color-text, #252525);
	--fr-pink: var(--e-global-color-accent, #F2A4BF);
	--fr-cream: var(--e-global-color-c7c9549, #F1EDE1);
	--fr-ok: #3E8E4F;
	--fr-error: #8E1F0D;
	--fr-border: 3px;
	--fr-gap: 1.5rem;
	--fr-bleed: 2rem; /* = horizontal padding of the popup container */
	--fr-font: 'CabinetGrotesk', 'Cabinet Grotesk', sans-serif;
	--fr-font-display: 'Palmore', serif;

	color: var(--fr-cream);
	font-family: var(--fr-font);
}

.franx-res *,
.franx-res *::before,
.franx-res *::after {
	box-sizing: border-box;
}

.franx-res [hidden] {
	display: none !important;
}

/* ===== Layout ===== */
.franx-res__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem var(--fr-gap);
	margin-bottom: 2rem;
}

.franx-res__field {
	min-width: 0;
}

.franx-res__field--full {
	grid-column: 1 / -1;
}

@media (max-width: 560px) {
	.franx-res__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* ===== Labels ===== */
.franx-res__label {
	display: block;
	padding: 0 0 0.5rem;
	font-family: var(--fr-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fr-cream);
}

/* ===== Inputs ===== */
.franx-res input[type="text"],
.franx-res input[type="email"],
.franx-res input[type="tel"],
.franx-res input[type="number"],
.franx-res input[type="date"],
.franx-res select,
.franx-res textarea {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0.6rem 0.75rem;
	background-color: var(--fr-cream);
	color: var(--fr-dark);
	border: 0;
	border-bottom: var(--fr-border) solid var(--fr-dark);
	border-radius: 0;
	box-shadow: none;
	font-family: var(--fr-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
}

.franx-res textarea {
	height: auto;
	min-height: 112px;
	resize: vertical;
}

.franx-res input:focus,
.franx-res select:focus,
.franx-res textarea:focus {
	outline: none;
	border-bottom-color: var(--fr-pink);
}

.franx-res input:focus-visible,
.franx-res select:focus-visible,
.franx-res textarea:focus-visible,
.franx-res button:focus-visible {
	outline: 2px solid var(--fr-pink);
	outline-offset: 2px;
}

.franx-res [aria-invalid="true"] {
	border-bottom-color: var(--fr-pink) !important;
	box-shadow: inset 0 0 0 2px var(--fr-pink) !important;
}

.franx-res ::placeholder {
	color: var(--fr-dark);
	opacity: 0.45;
}

.franx-res select {
	padding-right: 2.2rem;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23252525' d='M10 14l-6-6h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.6rem center;
	background-size: 1em;
	cursor: pointer;
}

.franx-res input[type="number"] {
	-moz-appearance: textfield;
}

.franx-res input[type="number"]::-webkit-inner-spin-button,
.franx-res input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ===== Date row ===== */
.franx-res__date-row {
	display: flex;
	align-items: stretch;
}

.franx-res__date-row > input {
	flex: 1;
	min-width: 0;
}

.franx-res__date-row .flatpickr-wrapper {
	display: block;
	flex: 1;
	min-width: 0;
}

.franx-res__date-row input {
	cursor: pointer;
}

.franx-res .franx-res__form button.franx-res__date-nav {
	flex: 0 0 44px;
	width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	background-color: var(--fr-cream);
	color: var(--fr-dark);
	border: 0;
	border-bottom: var(--fr-border) solid var(--fr-dark);
	border-radius: 0;
	font-family: var(--fr-font);
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s;
}

.franx-res .franx-res__form button.franx-res__date-nav:hover {
	background-color: var(--fr-pink);
	color: var(--fr-red);
}

/* ===== Slots ===== */
.franx-res__slots-field {
	margin: 0 0 2rem;
	padding: 0;
	border: 0;
	min-width: 0;
}

.franx-res__slots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	min-height: 64px;
}

.franx-res__slots[aria-busy="true"] {
	opacity: 0.5;
}

@media (max-width: 420px) {
	.franx-res__slots {
		grid-template-columns: repeat(2, 1fr);
	}
}

.franx-res__slot-wrap {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.franx-res .franx-res__form button.franx-res__slot {
	display: block;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 9px 12px;
	background-color: var(--fr-cream);
	color: var(--fr-dark);
	border: 0;
	border-bottom: var(--fr-border) solid var(--fr-dark);
	border-radius: 0;
	font-family: var(--fr-font);
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}

.franx-res .franx-res__form button.franx-res__slot strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
}

.franx-res .franx-res__form button.franx-res__slot small {
	display: block;
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.3;
	opacity: 0.7;
}

.franx-res .franx-res__form button.franx-res__slot:hover:not(:disabled) {
	border-bottom-color: var(--fr-red);
}

.franx-res .franx-res__form button.franx-res__slot.is-available {
	background-color: #2E7D32;
	color: #FFF8EC;
}

.franx-res .franx-res__form button.franx-res__slot.is-available small {
	color: inherit;
	opacity: 0.9;
}

.franx-res .franx-res__form button.franx-res__slot.is-request small {
	color: var(--fr-olive);
	opacity: 1;
}

.franx-res .franx-res__form button.franx-res__slot.is-selected {
	background-color: var(--fr-olive);
	color: var(--fr-cream);
}

.franx-res .franx-res__form button.franx-res__slot.is-selected small {
	color: var(--fr-cream);
	opacity: 0.85;
}

.franx-res .franx-res__form button.franx-res__slot.is-selected.is-request {
	background-color: var(--fr-pink);
	color: var(--fr-dark);
}

.franx-res .franx-res__form button.franx-res__slot.is-selected.is-request small {
	color: var(--fr-red);
}

.franx-res .franx-res__form button.franx-res__slot:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.franx-res .franx-res__form button.franx-res__slot.is-unavailable:disabled {
	background-color: #C62828;
	color: #FFF8EC;
	opacity: 1;
}

.franx-res .franx-res__form button.franx-res__slot.is-unavailable small {
	color: inherit;
	opacity: 0.9;
}

.franx-res .franx-res__form button.franx-res__slot.is-selected.is-available {
	background-color: #1B5E20;
	color: #FFF8EC;
}

/* ===== Status / result messages ===== */
.franx-res__state,
.franx-res__result {
	margin: 0 0 2rem;
	padding: 0.5rem 0.75rem;
	background-color: var(--fr-olive);
	color: var(--fr-cream);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
}

.franx-res__result {
	margin: 1rem 0 0;
}

.franx-res__result:focus {
	outline: none;
}

.franx-res [data-kind="ok"] {
	background-color: var(--fr-ok);
}

.franx-res [data-kind="error"] {
	background-color: var(--fr-error);
}

.franx-res__state a,
.franx-res__result a,
.franx-res__notice a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

/* ===== Booking band (full bleed inside the popup) ===== */
.franx-res__band {
	margin: 1rem calc(var(--fr-bleed) * -1) 2rem;
	padding: 1.5rem var(--fr-bleed) 1.3rem;
	background-color: var(--fr-olive);
	text-align: center;
}

.franx-res__band-title {
	font-family: var(--fr-font-display);
	font-size: 2.6rem;
	font-weight: 300;
	line-height: 1;
	text-transform: uppercase;
	color: var(--fr-cream);
}

.franx-res__band-time {
	margin-top: 0.3rem;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fr-cream);
}

.franx-res__band-copy {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fr-cream);
	opacity: 0.85;
}

.franx-res__band-copy:empty {
	display: none;
}

.franx-res__band.is-request {
	background-color: var(--fr-pink);
}

.franx-res__band.is-request .franx-res__band-title,
.franx-res__band.is-request .franx-res__band-time,
.franx-res__band.is-request .franx-res__band-copy {
	color: var(--fr-red);
}

.franx-res__band.is-closed .franx-res__band-title {
	margin-bottom: 0.5rem;
}

@media (max-width: 560px) {
	.franx-res__band-title {
		font-size: 1.9rem;
	}
}

/* ===== Phone hint ===== */
.franx-res__hint {
	padding: 10px 12px;
	border: 1px solid rgba(241, 237, 225, 0.3);
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--fr-cream);
}

.franx-res__hint b {
	display: block;
	margin-bottom: 2px;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ===== Captcha ===== */
.franx-res__captcha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.franx-res__captcha-q {
	font-weight: 600;
	white-space: nowrap;
	color: var(--fr-cream);
}

.franx-res .franx-res__captcha input {
	width: 90px;
	text-align: center;
}

.franx-res .franx-res__form button.franx-res__captcha-refresh {
	margin: 0;
	padding: 5px 10px;
	background: none;
	color: var(--fr-cream);
	border: 1px solid rgba(241, 237, 225, 0.4);
	border-radius: 0;
	font: inherit;
	font-size: 0.85rem;
	cursor: pointer;
}

.franx-res .franx-res__form button.franx-res__captcha-refresh:hover {
	border-color: var(--fr-pink);
	background: none;
	color: var(--fr-cream);
}

/* ===== Checkboxes ===== */
.franx-res__checks {
	margin-bottom: 2rem;
}

.franx-res__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 1rem;
}

.franx-res__check:last-child {
	margin-bottom: 0;
}

.franx-res__check input[type="checkbox"] {
	flex-shrink: 0;
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--fr-dark);
	cursor: pointer;
}

.franx-res__check label {
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fr-cream);
	cursor: pointer;
}

.franx-res__check a {
	color: var(--fr-pink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ===== Honeypot ===== */
.franx-res__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* ===== Submit ===== */
.franx-res .franx-res__form button.franx-res__submit {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.7rem 1rem 0.5rem;
	background-color: var(--fr-pink);
	color: var(--fr-red);
	border: 0;
	border-radius: 0;
	font-family: var(--fr-font-display);
	font-size: 2.7rem;
	font-weight: 400;
	line-height: 0.8;
	letter-spacing: 0;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.15s;
}

.franx-res .franx-res__form button.franx-res__submit:hover:not(:disabled),
.franx-res .franx-res__form button.franx-res__submit:focus:not(:disabled) {
	background-color: var(--fr-pink);
	color: var(--fr-red);
	opacity: 0.92;
}

.franx-res .franx-res__form button.franx-res__submit:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

@media (max-width: 560px) {
	.franx-res .franx-res__form button.franx-res__submit {
		font-size: 2rem;
	}
}

/* ===== Flatpickr theme (static calendar inside the form) ===== */
.franx-res .flatpickr-calendar.franx-res__cal {
	background: var(--fr-cream);
	border: 0;
	border-bottom: var(--fr-border) solid var(--fr-dark);
	border-radius: 0;
	box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
	font-family: var(--fr-font);
	z-index: 20;
}

.franx-res .franx-res__cal::before,
.franx-res .franx-res__cal::after {
	display: none;
}

.franx-res .franx-res__cal .flatpickr-months .flatpickr-month {
	height: 44px;
	background: var(--fr-dark);
	color: var(--fr-cream);
	fill: var(--fr-cream);
	border-radius: 0;
}

.franx-res .franx-res__cal .flatpickr-current-month {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	height: 44px;
	padding: 0;
	font-family: var(--fr-font);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.franx-res .franx-res__cal .flatpickr-current-month .flatpickr-monthDropdown-months,
.franx-res .franx-res__cal .flatpickr-current-month input.cur-year {
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0 0.25rem;
	background: var(--fr-dark);
	color: var(--fr-cream);
	border: 0;
	box-shadow: none;
	font-family: var(--fr-font);
	font-size: inherit;
	font-weight: 600;
	letter-spacing: inherit;
	text-transform: inherit;
}

.franx-res .franx-res__cal .flatpickr-current-month .numInputWrapper {
	width: 5.5ch;
}

.franx-res .franx-res__cal .flatpickr-prev-month,
.franx-res .franx-res__cal .flatpickr-next-month {
	padding: 12px;
	color: var(--fr-cream);
	fill: var(--fr-cream);
}

.franx-res .franx-res__cal .flatpickr-prev-month:hover svg,
.franx-res .franx-res__cal .flatpickr-next-month:hover svg {
	fill: var(--fr-pink);
}

.franx-res .franx-res__cal .flatpickr-weekdays,
.franx-res .franx-res__cal span.flatpickr-weekday {
	background: var(--fr-dark);
	color: var(--fr-cream);
}

.franx-res .franx-res__cal span.flatpickr-weekday {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.franx-res .franx-res__cal .flatpickr-day {
	color: var(--fr-dark);
	font-weight: 600;
	border-radius: 0;
}

.franx-res .franx-res__cal .flatpickr-day:hover,
.franx-res .franx-res__cal .flatpickr-day:focus {
	background: var(--fr-pink);
	border-color: var(--fr-pink);
	color: var(--fr-red);
}

.franx-res .franx-res__cal .flatpickr-day.today {
	border-color: var(--fr-olive);
}

.franx-res .franx-res__cal .flatpickr-day.selected,
.franx-res .franx-res__cal .flatpickr-day.selected:hover {
	background: var(--fr-olive);
	border-color: var(--fr-olive);
	color: var(--fr-cream);
}

.franx-res .franx-res__cal .flatpickr-day.flatpickr-disabled,
.franx-res .franx-res__cal .flatpickr-day.flatpickr-disabled:hover {
	background: none;
	border-color: transparent;
	color: rgba(37, 37, 37, 0.25);
}

.franx-res .franx-res__cal .flatpickr-day.prevMonthDay,
.franx-res .franx-res__cal .flatpickr-day.nextMonthDay {
	color: rgba(37, 37, 37, 0.4);
}

@media (prefers-reduced-motion: reduce) {
	.franx-res *,
	.franx-res .flatpickr-calendar.animate.open {
		transition: none !important;
		animation: none !important;
	}
}

/* =====================================================================
 * Success screen (design by Franx). Lives outside .franx-res once moved into
 * the Elementor dialog, so it carries its own tokens.
 * ===================================================================== */
.franx-res-success {
	--frs-red: var(--e-global-color-primary, #CC3C17);
	--frs-olive: var(--e-global-color-secondary, #9D882E);
	--frs-pink: var(--e-global-color-accent, #F2A4BF);
	--frs-cream: var(--e-global-color-c7c9549, #F1EDE1);
	--frs-font: 'CabinetGrotesk', 'Cabinet Grotesk', sans-serif;
	--frs-font-display: 'Palmore', serif;

	position: absolute;
	inset: 0;
	z-index: 10;
	display: grid;
	place-items: center;
	padding: 1rem;
	overflow-y: auto;
	background: var(--frs-cream);
	font-family: var(--frs-font);
}

.franx-res-success[hidden] {
	display: none !important;
}

/* Not inside a popup (e.g. shortcode on a regular page): show in place. */
.franx-res-success.is-inline {
	position: static;
}

.franx-res-success *,
.franx-res-success *::before,
.franx-res-success *::after {
	box-sizing: border-box;
}

.franx-res-success__band {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 760px;
	min-height: min(70vh, 100%);
	padding: 3rem 2rem 2.5rem;
	background-color: var(--frs-olive);
	color: var(--frs-cream);
	text-align: center;
}

.franx-res-success__band.is-request {
	background-color: var(--frs-pink);
	color: var(--frs-red);
}

.franx-res-success__title {
	margin: 0;
	font-family: var(--frs-font-display);
	font-size: 5rem;
	font-weight: 300;
	line-height: 1;
	text-transform: uppercase;
	color: inherit;
}

.franx-res-success__title:focus {
	outline: none;
}

.franx-res-success__sub {
	margin: 1.2rem 0 0;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: inherit;
}

.franx-res-success__summary {
	display: flex;
	justify-content: center;
	gap: 3rem;
	max-width: 640px;
	margin: 3rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(241, 237, 225, 0.35);
}

.franx-res-success__band.is-request .franx-res-success__summary {
	border-top-color: rgba(204, 60, 23, 0.35);
}

.franx-res-success__summary > div {
	text-align: center;
}

.franx-res-success__summary dt {
	margin: 0 0 0.3rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.75;
}

.franx-res-success__summary dd {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Outranks ".elementor-kit-6 button" (see top of file). */
.franx-res-success .franx-res-success__band button.franx-res-success__close,
.franx-res-success .franx-res-success__band button.franx-res-success__close:hover,
.franx-res-success .franx-res-success__band button.franx-res-success__close:focus {
	display: block;
	width: 100%;
	max-width: 280px;
	margin: 3rem auto 0;
	padding: 0.8rem 0.5rem;
	background-color: #fff;
	color: var(--frs-olive);
	border: 0;
	border-radius: 0;
	font-family: var(--frs-font-display);
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	cursor: pointer;
}

.franx-res-success .franx-res-success__band.is-request button.franx-res-success__close {
	color: var(--frs-red);
}

.franx-res-success .franx-res-success__band button.franx-res-success__close:hover {
	opacity: 0.92;
}

.franx-res-success .franx-res-success__band button.franx-res-success__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media (max-width: 560px) {
	.franx-res-success__title {
		font-size: 3.2rem;
	}

	.franx-res-success__summary {
		gap: 1.2rem;
	}

	.franx-res-success .franx-res-success__band button.franx-res-success__close {
		font-size: 1.5rem;
	}
}

/* =====================================================================
 * Guided two-step modal (November 2026, approved cream-summary variant).
 * The structure is created by franx-reservation.js from the existing
 * shortcode markup; no PHP/template change is required.
 * ===================================================================== */
.dialog-widget-content.franx-res-dialog {
	width: min(980px, calc(100vw - 64px)) !important;
	height: min(936px, calc(100dvh - 64px)) !important;
	max-width: none !important;
	max-height: none !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #CC3C17 !important;
}

.dialog-message.franx-res-dialog-message {
	width: 100% !important;
	height: 100% !important;
	max-width: 100vw !important;
	max-height: 100dvh !important;
	overflow: hidden !important;
}

.franx-res-dialog > .elementor,
.franx-res-dialog .e-parent,
.franx-res-dialog .e-con-inner,
.franx-res-dialog .elementor-widget-shortcode,
.franx-res-dialog .elementor-shortcode {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.franx-res-dialog .dialog-close-button {
	z-index: 20;
	color: #F1EDE1;
}

.franx-res-dialog.franx-res-success-open {
	overflow: hidden !important;
}

.franx-res.franx-res--guided {
	position: relative;
	width: 100%;
	max-width: 980px;
	height: min(936px, calc(100dvh - 64px));
	margin: 0 auto;
	overflow: hidden;
	background: var(--fr-red);
	color: var(--fr-cream);
	font-size: 16px;
	line-height: 1.5;
}

.franx-res-dialog .franx-res.franx-res--guided {
	height: 100%;
}

.franx-res--guided .franx-res__form {
	width: 100%;
	height: 100%;
	margin: 0;
}

.franx-res--guided .franx-res__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 316px;
	height: 100%;
	min-height: 0;
}

.franx-res--guided .franx-res__pane {
	min-width: 0;
	min-height: 0;
	padding: 34px 34px 40px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: var(--fr-pink) var(--fr-red);
	scrollbar-width: thin;
}

.franx-res--guided .franx-res__pane-head {
	margin-bottom: 26px;
}

.franx-res--guided .franx-res__stepline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.franx-res--guided .franx-res__progress {
	width: 54px;
	height: 3px;
	background: rgba(241, 237, 225, 0.3);
}

.franx-res--guided .franx-res__progress > span {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--fr-cream);
	transform: scaleX(0.5);
	transform-origin: left center;
	transition: transform 0.2s;
}

.franx-res--guided .franx-res__title {
	margin: 44px 0 0;
	font-family: var(--fr-font-display);
	font-size: 46px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--fr-cream);
}

.franx-res--guided .franx-res__title:focus {
	outline: none;
}

.franx-res--guided .franx-res__subtitle {
	max-width: 48ch;
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.5;
}

.franx-res--guided .franx-res__grid {
	grid-template-columns: 1fr 1fr;
	gap: 22px 24px;
	margin: 0;
}

.franx-res--guided .franx-res__step--contact .franx-res__grid {
	margin-bottom: 22px;
}

.franx-res--guided .franx-res__slots-field {
	margin: 28px 0 0;
}

.franx-res--guided .franx-res__slots {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.franx-res--guided .franx-res__date-row input {
	padding-right: 2.4rem;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23252525' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 18px 18px;
}

.franx-res--guided .franx-res__form button.franx-res__captcha-refresh {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
}

.franx-res--guided .franx-res__captcha-refresh svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.franx-res--guided .franx-res__check label {
	min-height: 44px;
}

.franx-res--guided .franx-res__form button.franx-res__slot {
	min-height: 62px;
	padding: 9px 11px;
	border-bottom-color: var(--fr-dark);
	background-color: #E5EEE1;
	color: var(--fr-dark);
	transition: background-color 0.15s, box-shadow 0.15s;
}

.franx-res--guided .franx-res__form button.franx-res__slot strong {
	font-size: 19px;
	font-variant-numeric: tabular-nums;
	color: var(--fr-dark);
}

.franx-res--guided .franx-res__form button.franx-res__slot small {
	margin-top: 3px;
	font-size: 12px;
	font-weight: 600;
	opacity: 1;
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-available,
.franx-res--guided .franx-res__form button.franx-res__slot.is-selected.is-available {
	background-color: #E5EEE1;
	color: var(--fr-dark);
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-available small,
.franx-res--guided .franx-res__form button.franx-res__slot.is-selected.is-available small {
	color: #1B5E20;
	opacity: 1;
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-request,
.franx-res--guided .franx-res__form button.franx-res__slot.is-selected.is-request {
	background-color: #F7E1E8;
	color: var(--fr-dark);
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-request small,
.franx-res--guided .franx-res__form button.franx-res__slot.is-selected.is-request small {
	color: var(--fr-red);
	opacity: 1;
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-unavailable:disabled,
.franx-res--guided .franx-res__form button.franx-res__slot.is-error:disabled {
	background-color: #F3E2DC;
	color: var(--fr-dark);
	opacity: 1;
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-unavailable small,
.franx-res--guided .franx-res__form button.franx-res__slot.is-error small {
	color: #C62828;
	opacity: 1;
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-selected {
	box-shadow: inset 0 0 0 var(--fr-border) var(--fr-dark);
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-available:hover:not(:disabled) {
	border-bottom-color: var(--fr-dark);
	background-color: #D8E4D3;
}

.franx-res--guided .franx-res__form button.franx-res__slot.is-request:hover:not(:disabled) {
	border-bottom-color: var(--fr-dark);
	background-color: #F2CFDC;
}

.franx-res--guided .franx-res__state {
	margin: 18px 0 0;
}

.franx-res--guided .franx-res__checks {
	margin-top: 0;
}

.franx-res--guided .franx-res__summary {
	--fr-rail-line: rgba(204, 60, 23, 0.24);
	--fr-rail-muted: rgba(37, 37, 37, 0.78);
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	min-width: 0;
	min-height: 0;
	padding: 112px 28px 28px;
	border-left: 1px solid var(--fr-rail-line);
	background: var(--fr-cream);
	color: var(--fr-dark);
}

.franx-res--guided .franx-res__summary-body {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.franx-res--guided .franx-res__summary-title {
	margin: 0;
	font-family: var(--fr-font-display);
	font-size: 28px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--fr-red);
}

.franx-res--guided .franx-res__summary-list {
	margin: 18px 0 0;
	border-top: 1px solid var(--fr-rail-line);
}

.franx-res--guided .franx-res__summary-list > div {
	padding: 15px 0;
	border-bottom: 1px solid var(--fr-rail-line);
}

.franx-res--guided .franx-res__summary-list dt {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fr-rail-muted);
}

.franx-res--guided .franx-res__summary-list dd {
	margin: 6px 0 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.01em;
	overflow-wrap: anywhere;
	color: var(--fr-dark);
}

.franx-res--guided .franx-res__summary-list dd.is-pending {
	font-weight: 400;
	color: var(--fr-rail-muted);
}

.franx-res--guided .franx-res__summary-foot {
	padding-top: 20px;
}

.franx-res--guided .franx-res__bar-summary {
	display: none;
}

.franx-res--guided .franx-res__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.franx-res--guided .franx-res__form button.franx-res__submit,
.franx-res--guided .franx-res__form button.franx-res__next {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0.7rem 1rem 0.55rem;
	border: 0;
	border-radius: 0;
	background: var(--fr-pink);
	color: var(--fr-dark);
	font-family: var(--fr-font-display);
	font-size: 38px;
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
}

.franx-res--guided .franx-res__form button.franx-res__next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.franx-res--guided .franx-res__form button.franx-res__submit:hover:not(:disabled),
.franx-res--guided .franx-res__form button.franx-res__next:hover:not(:disabled) {
	background: #F8BDD0;
	color: var(--fr-dark);
}

.franx-res--guided .franx-res__form button.franx-res__submit:focus-visible,
.franx-res--guided .franx-res__form button.franx-res__next:focus-visible {
	outline-color: var(--fr-red);
}

.franx-res--guided .franx-res__form button.franx-res__back {
	min-height: 44px;
	margin: 0;
	padding: 13px 18px;
	border: 1px solid var(--fr-red);
	border-radius: 0;
	background: transparent;
	color: var(--fr-dark);
	font-family: var(--fr-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.franx-res--guided .franx-res__form button.franx-res__back:hover:not(:disabled) {
	border-color: var(--fr-dark);
	background: var(--fr-dark);
	color: var(--fr-cream);
}

.franx-res--guided .franx-res__summary-note {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--fr-rail-muted);
}

/* The success surface is fully olive, including the dialog backdrop. */
.franx-res-success {
	display: block;
	padding: 1rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--frs-olive);
}

.franx-res-success.is-request {
	background: var(--frs-pink);
}

.franx-res-success__band {
	width: 100%;
	max-width: 760px;
	min-height: 100%;
	margin: 0 auto;
}

.franx-res-success__band > * {
	flex-shrink: 0;
}

.franx-res--guided .franx-res-success.is-inline {
	position: absolute;
}

@media (max-height: 600px) {
	.franx-res-success__band {
		justify-content: flex-start;
		padding-top: 2rem;
		padding-bottom: 4rem;
	}
}

@media (max-width: 1040px) and (min-width: 761px) {
	.franx-res--guided .franx-res__layout {
		grid-template-columns: minmax(0, 1fr) 284px;
	}

	.franx-res--guided .franx-res__slots {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.franx-res--guided .franx-res__form button.franx-res__submit,
	.franx-res--guided .franx-res__form button.franx-res__next {
		font-size: 32px;
	}
}

@media (max-width: 760px) {
	.dialog-widget-content.franx-res-dialog {
		width: 100vw !important;
		height: 100dvh !important;
		max-height: none !important;
	}

	.franx-res.franx-res--guided {
		height: 100dvh;
	}

	.franx-res--guided .franx-res__layout {
		display: flex;
		flex-direction: column;
	}

	.franx-res--guided .franx-res__pane {
		flex: 1;
		padding: 22px 20px 28px;
	}

	.franx-res--guided .franx-res__pane-head {
		margin-bottom: 22px;
		padding-right: 52px;
	}

	.franx-res--guided .franx-res__title {
		margin-top: 38px;
		font-size: clamp(30px, 11vw, 42px);
	}

	.franx-res--guided .franx-res__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.franx-res--guided .franx-res__slots-field {
		margin-top: 24px;
	}

	.franx-res--guided .franx-res__slots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.franx-res--guided .franx-res__summary {
		display: block;
		flex: 0 0 auto;
		padding: 12px 20px max(14px, env(safe-area-inset-bottom));
		border-top: 1px solid var(--fr-rail-line);
		border-left: 0;
	}

	.franx-res--guided .franx-res__summary-body,
	.franx-res--guided .franx-res__summary-note {
		display: none;
	}

	.franx-res--guided .franx-res__summary-foot {
		padding-top: 0;
	}

	.franx-res--guided .franx-res__bar-summary {
		display: block;
		margin: 0 0 10px;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.35;
		text-align: center;
		color: var(--fr-dark);
	}

	.franx-res--guided .franx-res__actions {
		flex-direction: row-reverse;
		align-items: stretch;
		gap: 10px;
	}

	.franx-res--guided .franx-res__form button.franx-res__submit,
	.franx-res--guided .franx-res__form button.franx-res__next {
		flex: 1;
		min-width: 0;
		min-height: 60px;
		padding: 0.6rem 0.8rem 0.45rem;
		font-size: clamp(28px, 9vw, 36px);
	}

	.franx-res--guided .franx-res__form button.franx-res__back {
		flex: 0 0 auto;
		padding: 13px 14px;
	}
}

@media (max-width: 380px) {
	.franx-res--guided .franx-res__slots {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.franx-res--guided .franx-res__progress > span {
		transition: none;
	}
}
