/* Fasssauna Buchung – Formular. Schrift und Grundfarben erbt das Formular vom Theme. */

.fsb-booking {
	--fsb-accent: #7c5f50;
	--fsb-accent-dark: #5f473b;
	--fsb-free: #0a7c50;
	--fsb-free-dark: #076541;
	--fsb-taken: #c40f47;
	--fsb-off: #ececec;
	--fsb-off-text: #8a8a8a;
	--fsb-select: #22262c;
	--fsb-border: #cfcfcf;
	--fsb-soft: #f7f4f2;
	--fsb-error: #b3261e;
	--fsb-radius: 3px;
	max-width: 100%;
	color: inherit;
	font: inherit;
	line-height: 1.5;
}

.fsb-booking *,
.fsb-booking *::before,
.fsb-booking *::after {
	box-sizing: border-box;
}

.fsb-booking [hidden] {
	display: none !important;
}

.fsb-section {
	margin: 0 0 2.25em;
}

.fsb-booking .fsb-heading {
	margin: 0 0 0.75em;
	padding: 0;
	color: var(--fsb-accent);
	font-size: 1.35em;
	font-weight: 400;
	line-height: 1.3;
}

.fsb-booking p {
	margin: 0 0 0.75em;
}

.fsb-note,
.fsb-hint {
	color: #6b6f76;
	font-size: 0.9em;
}

/* ---------- Kalender ---------- */

.fsb-calendar {
	min-height: 320px;
}

.fsb-loading {
	padding: 3em 0;
	text-align: center;
	color: #6b6f76;
}

.fsb-cal-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.fsb-booking .fsb-nav {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--fsb-border);
	border-radius: var(--fsb-radius);
	background: #fff;
	color: var(--fsb-accent);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.fsb-booking .fsb-nav:hover:not(:disabled) {
	background: var(--fsb-soft);
	border-color: var(--fsb-accent);
}

.fsb-booking .fsb-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.fsb-booking .fsb-month-select {
	flex: 0 1 240px;
	width: auto;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--fsb-border);
	border-radius: var(--fsb-radius);
	background-color: #fff;
	color: inherit;
	font: inherit;
}

.fsb-months {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}

.fsb-months-2 {
	grid-template-columns: repeat(2, 1fr);
}

.fsb-months-3 {
	grid-template-columns: repeat(3, 1fr);
}

.fsb-month-title {
	margin-bottom: 8px;
	font-weight: 600;
	text-align: center;
}

.fsb-weekdays,
.fsb-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.fsb-weekdays span {
	padding: 4px 0;
	color: #6b6f76;
	font-size: 0.75em;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}

.fsb-booking .fsb-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 0;
	padding: 2px 0;
	border: 0;
	border-radius: var(--fsb-radius);
	font: inherit;
	line-height: 1.15;
	text-align: center;
	box-shadow: none;
}

.fsb-num {
	font-size: 0.95em;
	font-weight: 600;
}

.fsb-price {
	font-size: 0.68em;
	opacity: 0.92;
}

.fsb-booking .fsb-day.fsb-a {
	background: var(--fsb-free);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.fsb-booking .fsb-day.fsb-a:hover {
	background: var(--fsb-free-dark);
}

.fsb-booking .fsb-day.fsb-b {
	background: var(--fsb-taken);
	color: #fff;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.fsb-booking .fsb-day.fsb-u {
	background: var(--fsb-off);
	color: var(--fsb-off-text);
}

.fsb-booking .fsb-day.fsb-preview {
	background: var(--fsb-free-dark);
	box-shadow: inset 0 0 0 2px var(--fsb-select);
}

.fsb-booking .fsb-day.fsb-sel,
.fsb-booking .fsb-day.fsb-sel:hover {
	background: var(--fsb-select);
	color: #fff;
}

.fsb-booking .fsb-day:focus-visible,
.fsb-booking .fsb-nav:focus-visible,
.fsb-booking .fsb-month-select:focus-visible {
	outline: 3px solid #f0b429;
	outline-offset: 1px;
}

.fsb-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 14px 0 6px;
	padding: 0;
	list-style: none;
	font-size: 0.85em;
}

.fsb-booking .fsb-legend li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fsb-swatch {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 2px;
}

.fsb-swatch-a { background: var(--fsb-free); }
.fsb-swatch-b { background: var(--fsb-taken); }
.fsb-swatch-u { background: var(--fsb-off); border: 1px solid #d5d5d5; }
.fsb-swatch-s { background: var(--fsb-select); }

.fsb-dates {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 36px;
	margin-top: 14px;
	padding: 14px 16px;
	background: var(--fsb-soft);
	border-radius: var(--fsb-radius);
}

.fsb-dates-label {
	display: block;
	color: #6b6f76;
	font-size: 0.8em;
}

.fsb-dates strong {
	font-size: 1.05em;
	font-variant-numeric: tabular-nums;
}

.fsb-booking .fsb-link {
	margin: 0 0 0 auto;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--fsb-accent);
	font: inherit;
	font-size: 0.9em;
	text-decoration: underline;
	cursor: pointer;
	box-shadow: none;
}

/* ---------- Felder ---------- */

.fsb-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px 20px;
}

.fsb-field { grid-column: span 6; }
.fsb-half { grid-column: span 3; }
.fsb-third { grid-column: span 2; }
.fsb-twothirds { grid-column: span 4; }

.fsb-booking .fsb-label {
	display: block;
	margin: 0 0 4px;
	font-size: 0.95em;
	font-weight: 600;
}

.fsb-req {
	color: var(--fsb-error);
	text-decoration: none;
	border: 0;
	cursor: default;
}

.fsb-booking input[type="text"],
.fsb-booking input[type="email"],
.fsb-booking input[type="tel"],
.fsb-booking input[type="number"],
.fsb-booking textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid var(--fsb-border);
	border-radius: var(--fsb-radius);
	background: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.4;
	box-shadow: none;
}

.fsb-booking textarea {
	min-height: 110px;
	resize: vertical;
}

.fsb-booking input:focus,
.fsb-booking textarea:focus {
	border-color: var(--fsb-accent);
	outline: 2px solid rgba(124, 95, 80, 0.3);
	outline-offset: 0;
}

.fsb-booking [aria-invalid="true"] {
	border-color: var(--fsb-error);
}

.fsb-booking .fsb-error {
	margin: 5px 0 0;
	color: var(--fsb-error);
	font-size: 0.88em;
}

.fsb-booking .fsb-error-global {
	margin: 0 0 1em;
	padding: 12px 14px;
	border-left: 4px solid var(--fsb-error);
	background: #fdf1f0;
	font-size: 0.95em;
}

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

.fsb-delivery-fields {
	margin: 6px 0 0 30px;
	padding: 14px 16px;
	background: var(--fsb-soft);
	border-radius: var(--fsb-radius);
}

.fsb-booking .fsb-delivery-fields .fsb-note {
	margin: 0;
}

.fsb-booking .fsb-field {
	position: relative;
}

.fsb-booking .fsb-suggest {
	position: absolute;
	z-index: 20;
	left: 0;
	right: 0;
	margin: 2px 0 0;
	padding: 4px 0;
	border: 1px solid var(--fsb-border);
	border-radius: var(--fsb-radius);
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	list-style: none;
}

.fsb-booking .fsb-suggest li {
	margin: 0;
	padding: 10px 12px;
	list-style: none;
	line-height: 1.35;
	cursor: pointer;
}

.fsb-booking .fsb-suggest li:hover,
.fsb-booking .fsb-suggest li.fsb-active {
	background: var(--fsb-soft);
}

.fsb-booking .fsb-suggest li.fsb-suggest-credit {
	padding: 4px 12px 2px;
	color: #8a8a8a;
	font-size: 0.75em;
	text-align: right;
	cursor: default;
	background: none;
}

/* Abstand (Leerzeile) vor „Abholung oder Lieferung“ */
.fsb-booking .fsb-section.fsb-section-delivery {
	margin-top: 2.5em;
	padding-top: 1.5em;
}

/* ---------- Zubehör ---------- */

.fsb-extra {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #e8e4e1;
}

.fsb-extra:first-child {
	border-top: 1px solid #e8e4e1;
}

.fsb-extra-text {
	min-width: 0;
}

.fsb-booking .fsb-extra-label {
	display: block;
	margin: 0;
	font-weight: 600;
}

.fsb-extra-desc {
	display: block;
	color: #6b6f76;
	font-size: 0.88em;
}

.fsb-stepper {
	display: flex;
	flex: 0 0 auto;
	align-items: stretch;
}

.fsb-booking .fsb-stepper button {
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--fsb-border);
	background: var(--fsb-soft);
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.fsb-booking .fsb-stepper button:first-child {
	border-radius: var(--fsb-radius) 0 0 var(--fsb-radius);
}

.fsb-booking .fsb-stepper button:last-child {
	border-radius: 0 var(--fsb-radius) var(--fsb-radius) 0;
}

.fsb-booking .fsb-stepper button:hover {
	background: #ece6e2;
}

.fsb-booking .fsb-stepper input[type="number"] {
	width: 56px;
	padding: 0;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.fsb-booking .fsb-stepper input::-webkit-outer-spin-button,
.fsb-booking .fsb-stepper input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.fsb-switch,
.fsb-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.fsb-switch {
	flex: 0 0 auto;
	align-items: center;
	min-height: 44px;
	font-size: 0.92em;
}

.fsb-booking .fsb-switch input,
.fsb-booking .fsb-check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--fsb-accent);
}

.fsb-booking .fsb-switch input {
	margin: 0;
}

.fsb-check {
	margin: 0 0 10px;
}

.fsb-booking a {
	color: var(--fsb-accent);
	text-decoration: underline;
}

/* ---------- Rabattcode ---------- */

.fsb-coupon {
	display: flex;
	gap: 10px;
	max-width: 520px;
}

.fsb-booking .fsb-btn-secondary {
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--fsb-accent);
	border-radius: var(--fsb-radius);
	background: #fff;
	color: var(--fsb-accent);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}

.fsb-booking .fsb-btn-secondary:hover {
	background: var(--fsb-soft);
}

.fsb-booking .fsb-coupon-msg {
	margin-top: 6px;
	color: var(--fsb-error);
	font-size: 0.9em;
}

.fsb-booking .fsb-coupon-msg.fsb-ok {
	color: var(--fsb-free-dark);
}

/* ---------- Warenkorb ---------- */

.fsb-cart {
	padding: 16px 18px;
	background: var(--fsb-soft);
	border-radius: var(--fsb-radius);
	transition: opacity 0.15s ease;
}

.fsb-cart.fsb-busy {
	opacity: 0.55;
}

.fsb-cart .fsb-note {
	margin: 0;
}

.fsb-booking .fsb-cart-period {
	margin: 0 0 8px;
	font-weight: 600;
}

.fsb-booking .fsb-cart-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
}

.fsb-booking .fsb-cart-table td,
.fsb-booking .fsb-cart-table th {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid #e3ddd9;
	background: none;
	text-align: left;
	vertical-align: top;
}

.fsb-booking .fsb-cart-table .fsb-cart-sum {
	padding-left: 16px;
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.fsb-cart-qty {
	display: block;
	color: #6b6f76;
	font-size: 0.86em;
}

.fsb-cart-discount td {
	color: var(--fsb-free-dark);
}

.fsb-booking .fsb-cart-table tfoot th,
.fsb-booking .fsb-cart-table tfoot td {
	padding-top: 12px;
	border-bottom: 0;
	font-size: 1.15em;
	font-weight: 700;
}

/* ---------- Absenden ---------- */

.fsb-booking .fsb-submit {
	display: inline-block;
	min-height: 52px;
	margin: 0;
	padding: 0 32px;
	border: 0;
	border-radius: var(--fsb-radius);
	background: var(--fsb-accent);
	color: #fff;
	font: inherit;
	font-size: 1.1em;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.12s ease;
}

.fsb-booking .fsb-submit:hover:not(:disabled) {
	background: var(--fsb-accent-dark);
}

.fsb-booking .fsb-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.fsb-booking .fsb-submit:focus-visible,
.fsb-booking .fsb-btn-secondary:focus-visible,
.fsb-booking .fsb-stepper button:focus-visible,
.fsb-booking .fsb-link:focus-visible {
	outline: 3px solid #f0b429;
	outline-offset: 2px;
}

.fsb-submit-note {
	margin-top: 10px;
}

.fsb-success {
	padding: 24px 26px;
	border-left: 4px solid var(--fsb-free);
	background: #eef7f2;
	border-radius: var(--fsb-radius);
}

.fsb-success:focus {
	outline: none;
}

.fsb-success p:last-child {
	margin-bottom: 0;
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 600px) {
	.fsb-delivery-fields {
		margin-left: 0;
	}

	.fsb-half,
	.fsb-third,
	.fsb-twothirds {
		grid-column: span 6;
	}

	.fsb-coupon {
		flex-direction: column;
	}

	.fsb-booking .fsb-link {
		margin-left: 0;
	}

	.fsb-booking .fsb-submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fsb-booking * {
		transition: none !important;
	}
}

.fsb-booking .fsb-fee {
	margin: 0 0 0.75em;
	padding: 10px 14px;
	border-left: 4px solid var(--fsb-accent);
	background: var(--fsb-soft);
	font-size: 0.95em;
}
