/*
 * La Cocina Storno & Umbuchung – Frontend
 *
 * Gestaltung nach dem Vorbild iOS-Formulare: eine getönte Sammelfläche,
 * darin weiße Gruppen mit Haarlinien, Icon-Kacheln links, Fußnoten in Grau.
 * Akzentfarbe ist das Weinrot aus dem hauseigenen Kursplugin.
 *
 * Das Woodmart-Theme zentriert und überschreibt Formularelemente kräftig,
 * deshalb setzt dieses Stylesheet Ausrichtung, Rahmen und Hintergründe
 * bewusst mit Nachdruck.
 */

.lcs {
	--lcs-accent: #9c2229;
	--lcs-accent-dark: #7d1a20;
	--lcs-accent-soft: #cd667a;
	--lcs-tint: #f7ecee;

	--lcs-bg: #f2f2f7;
	--lcs-surface: #ffffff;
	--lcs-label: #1c1c1e;
	--lcs-secondary: #8a8a8e;
	--lcs-separator: #e4e4e8;

	--lcs-green: #2f855a;
	--lcs-green-bg: #e9f5ee;
	--lcs-amber: #8a5a12;
	--lcs-amber-bg: #fdf3e3;

	--lcs-radius-sheet: 20px;
	--lcs-radius-group: 14px;
	--lcs-radius-control: 12px;

	max-width: 560px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--lcs-label);
	text-align: left !important;
	-webkit-font-smoothing: antialiased;
}

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

.lcs p,
.lcs h3,
.lcs h4,
.lcs label,
.lcs span,
.lcs div,
.lcs ul,
.lcs li {
	text-align: left;
}

/* ---------------------------------------------------------- Sammelfläche - */

.lcs-sheet {
	background: var(--lcs-bg);
	border-radius: var(--lcs-radius-sheet);
	padding: 1.5rem 1.25rem 1.35rem;
}

/* ------------------------------------------------------------- Kopfzeile - */

.lcs-hero {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin: 0 0 1.35rem;
	padding: 0 0.25rem;
}

.lcs-hero__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--lcs-accent);
	color: #fff;
	box-shadow: 0 2px 6px -2px rgba(156, 34, 41, 0.55);
}

.lcs-hero__icon .lcs-icon {
	width: 24px;
	height: 24px;
}

.lcs-hero__icon--ok {
	background: var(--lcs-green);
	box-shadow: 0 2px 6px -2px rgba(47, 133, 90, 0.5);
}

.lcs-hero__icon--info {
	background: #8a8a8e;
	box-shadow: none;
}

.lcs-hero__text {
	min-width: 0;
	padding-top: 0.1rem;
}

.lcs-hero__title {
	margin: 0 0 0.15rem;
	font-size: 1.32rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--lcs-label);
	text-transform: none;
}

.lcs-hero__sub {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--lcs-secondary);
}

/* ---------------------------------------------------------------- Icons -- */

.lcs-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.lcs-tile {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--lcs-accent);
	color: #fff;
}

.lcs-tile .lcs-icon {
	width: 17px;
	height: 17px;
}

.lcs-tile--soft {
	background: var(--lcs-accent-soft);
}

.lcs-tile--grey {
	background: #a5a5aa;
}

.lcs-tile--green {
	background: var(--lcs-green);
}

/* --------------------------------------------------------------- Gruppe -- */

.lcs-group {
	background: var(--lcs-surface);
	border-radius: var(--lcs-radius-group);
	overflow: hidden;
	margin: 0 0 0.5rem;
}

.lcs-group + .lcs-caption {
	margin-top: -0.15rem;
}

.lcs-caption {
	display: block;
	margin: 0 0 1.15rem;
	padding: 0 1rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--lcs-secondary);
}

.lcs-caption:last-child {
	margin-bottom: 0;
}

.lcs-grouptitle {
	display: block;
	margin: 1.35rem 0 0.4rem;
	padding: 0 1rem;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lcs-secondary);
}

.lcs-grouptitle:first-child {
	margin-top: 0;
}

/* ---------------------------------------------------------------- Zeile -- */

.lcs-line {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 1rem;
	position: relative;
}

.lcs-line + .lcs-line::before {
	content: "";
	position: absolute;
	top: 0;
	left: 3.05rem;
	right: 0;
	height: 1px;
	background: var(--lcs-separator);
}

.lcs-line__key {
	flex: 0 0 auto;
	font-size: 0.94rem;
	color: var(--lcs-secondary);
	min-width: 7.2rem;
}

.lcs-line__val {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--lcs-label);
	word-break: break-word;
}

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

.lcs-field {
	margin: 0 0 1.15rem;
}

.lcs-field__box {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 1rem;
	background: var(--lcs-surface);
	border-radius: var(--lcs-radius-group);
	transition: box-shadow 0.15s ease;
}

.lcs-field__box:focus-within {
	box-shadow: 0 0 0 3px rgba(156, 34, 41, 0.22);
}

.lcs-field__main {
	flex: 1 1 auto;
	min-width: 0;
	display: block;
}

.lcs-field__label {
	display: block !important;
	margin: 0 0 0.05rem !important;
	padding: 0 !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	color: var(--lcs-secondary) !important;
	line-height: 1.3;
}

.lcs-field__box input[type="text"],
.lcs-field__box input[type="email"] {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: inherit !important;
	font-size: 1.06rem !important;
	line-height: 1.4 !important;
	font-weight: 500 !important;
	color: var(--lcs-label) !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	text-align: left !important;
	-webkit-appearance: none;
	appearance: none;
}

.lcs-field__box input::placeholder {
	color: #b9b9be !important;
	font-weight: 400;
}

.lcs-field__suffix {
	flex: 0 0 auto;
	font-size: 1.02rem;
	color: var(--lcs-secondary);
}

.lcs-field__help {
	display: block;
	margin: 0.4rem 0 0;
	padding: 0 1rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--lcs-secondary);
	text-align: left;
}

.lcs-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* -------------------------------------------------------------- Buttons -- */

.lcs-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	margin: 0;
	padding: 0.95rem 1.25rem !important;
	font-family: inherit !important;
	font-size: 1.02rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none;
	color: #fff !important;
	background: var(--lcs-accent) !important;
	border: 0 !important;
	border-radius: var(--lcs-radius-control) !important;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.08s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lcs-btn:hover,
.lcs-btn:focus {
	background: var(--lcs-accent-dark) !important;
	color: #fff !important;
}

.lcs-btn:active {
	transform: scale(0.985);
}

.lcs-btn[disabled] {
	background: #c9c9ce !important;
	cursor: not-allowed;
}

.lcs-btn .lcs-icon {
	width: 18px;
	height: 18px;
}

.lcs-btn--go {
	background: var(--lcs-green) !important;
}

.lcs-btn--go:hover,
.lcs-btn--go:focus {
	background: #26694a !important;
}

.lcs-btn--ghost {
	color: var(--lcs-accent) !important;
	background: var(--lcs-surface) !important;
}

.lcs-btn--ghost:hover,
.lcs-btn--ghost:focus {
	color: var(--lcs-accent-dark) !important;
	background: var(--lcs-tint) !important;
}

.lcs-actions {
	margin: 1.25rem 0 0;
}

.lcs-back {
	margin: 0.9rem 0 0;
	text-align: center !important;
}

.lcs-back button {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0 auto;
	padding: 0.4rem 0.6rem !important;
	font-family: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	text-transform: none !important;
	color: var(--lcs-accent) !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.lcs-back button:hover {
	color: var(--lcs-accent-dark) !important;
}

.lcs-back .lcs-icon {
	width: 15px;
	height: 15px;
}

/* --------------------------------------------------------- Auswahlzeilen - */

.lcs-choices {
	margin: 0;
}

.lcs-choice-form {
	margin: 0;
}

.lcs-choice {
	display: flex !important;
	align-items: center;
	gap: 0.8rem;
	width: 100%;
	padding: 0.95rem 1rem !important;
	text-align: left !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: var(--lcs-label) !important;
	background: var(--lcs-surface) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.12s ease;
	-webkit-appearance: none;
	appearance: none;
}

.lcs-choice:hover:not([disabled]),
.lcs-choice:focus:not([disabled]) {
	background: #f7f7fa !important;
}

.lcs-choice[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

.lcs-choice-form + .lcs-choice-form .lcs-choice {
	border-top: 1px solid var(--lcs-separator) !important;
}

.lcs-choice__text {
	flex: 1 1 auto;
	min-width: 0;
}

.lcs-choice__name {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.1rem;
}

.lcs-choice__desc {
	display: block;
	font-size: 0.84rem;
	line-height: 1.4;
	font-weight: 400;
	color: var(--lcs-secondary);
}

.lcs-choice__chevron {
	flex: 0 0 auto;
	color: #c2c2c7;
}

.lcs-choice__chevron .lcs-icon {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------------- Terminauswahl - */

.lcs-dates {
	margin: 0 0 0.5rem;
	padding: 0;
	list-style: none;
	background: var(--lcs-surface);
	border-radius: var(--lcs-radius-group);
	overflow: hidden;
}

.lcs-date {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lcs-date + .lcs-date {
	border-top: 1px solid var(--lcs-separator);
}

.lcs-date__label {
	display: flex !important;
	align-items: center;
	gap: 0.8rem;
	margin: 0 !important;
	padding: 0.85rem 1rem;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.lcs-date__label:hover {
	background: #f7f7fa;
}

.lcs-date input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.lcs-date__check {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid #cfcfd4;
	color: transparent;
	transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.lcs-date__check .lcs-icon {
	width: 13px;
	height: 13px;
}

.lcs-date__label:has(input:checked) {
	background: var(--lcs-tint);
}

.lcs-date__label:has(input:checked) .lcs-date__check {
	background: var(--lcs-accent);
	border-color: var(--lcs-accent);
	color: #fff;
}

.lcs-date input:focus-visible + .lcs-date__check {
	box-shadow: 0 0 0 3px rgba(156, 34, 41, 0.25);
}

.lcs-date__text {
	flex: 1 1 auto;
	min-width: 0;
}

.lcs-date__day {
	display: block;
	font-size: 0.99rem;
	font-weight: 600;
	line-height: 1.3;
}

.lcs-date__meta {
	display: block;
	margin-top: 0.05rem;
	font-size: 0.83rem;
	color: var(--lcs-secondary);
}

.lcs-seats {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.22rem 0.55rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--lcs-green);
	background: var(--lcs-green-bg);
	border-radius: 999px;
	white-space: nowrap;
}

.lcs-seats .lcs-icon {
	width: 13px;
	height: 13px;
}

.lcs-seats--tight {
	color: var(--lcs-amber);
	background: var(--lcs-amber-bg);
}

/* ------------------------------------------------------------ Meldungen -- */

.lcs-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 0 1.15rem;
	padding: 0.85rem 1rem;
	background: var(--lcs-surface);
	border-radius: var(--lcs-radius-group);
	font-size: 0.9rem;
	line-height: 1.45;
}

.lcs-notice .lcs-icon {
	width: 19px;
	height: 19px;
	margin-top: 0.1rem;
}

.lcs-notice p {
	margin: 0;
	font-size: 0.9rem;
}

.lcs-notice p + p {
	margin-top: 0.25rem;
	color: var(--lcs-secondary);
}

.lcs-notice--error {
	color: #97252b;
}

.lcs-notice--error .lcs-icon {
	color: #97252b;
}

.lcs-notice--success {
	color: var(--lcs-green);
}

.lcs-notice--info .lcs-icon {
	color: var(--lcs-accent-soft);
}

/* ------------------------------------------------------------- Gutschein - */

.lcs-voucher {
	margin: 0 0 0.5rem;
	padding: 1.5rem 1rem 1.3rem;
	text-align: center !important;
	background: var(--lcs-surface);
	border-radius: var(--lcs-radius-group);
}

.lcs-voucher > * {
	text-align: center !important;
}

.lcs-voucher__cap {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--lcs-secondary);
}

.lcs-voucher__code {
	display: block;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	color: var(--lcs-accent);
	word-break: break-all;
}

.lcs-voucher__amount {
	display: block;
	margin-top: 0.45rem;
	font-size: 1rem;
	color: var(--lcs-secondary);
}

.lcs-copy {
	display: inline-flex !important;
	align-items: center;
	gap: 0.35rem;
	width: auto !important;
	margin: 1rem auto 0;
	padding: 0.5rem 1.05rem !important;
	font-family: inherit !important;
	font-size: 0.87rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
	color: var(--lcs-accent) !important;
	background: var(--lcs-tint) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	cursor: pointer;
}

.lcs-copy:hover {
	background: #f0dfe2 !important;
}

.lcs-copy .lcs-icon {
	width: 15px;
	height: 15px;
}

/* --------------------------------------------------------- Kaufangebot --- */

.lcs-promo {
	margin: 0 0 1.15rem;
	padding: 1.35rem 1.2rem 1.25rem;
	background: var(--lcs-surface);
	border: 2px solid var(--lcs-green);
	border-radius: 16px;
	box-shadow: 0 8px 22px -14px rgba(47, 133, 90, 0.55);
}

.lcs-promo__head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.05rem;
}

.lcs-promo__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--lcs-green);
	color: #fff;
}

.lcs-promo__icon .lcs-icon {
	width: 22px;
	height: 22px;
}

.lcs-promo__titles {
	min-width: 0;
}

.lcs-promo__title {
	display: block;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--lcs-label);
}

.lcs-promo__sub {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.86rem;
	color: var(--lcs-secondary);
}

.lcs-promo__benefits {
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.lcs-promo__benefit {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	font-size: 0.93rem;
	line-height: 1.4;
	list-style: none;
}

.lcs-promo__benefit .lcs-icon {
	width: 17px;
	height: 17px;
	margin-top: 0.16rem;
	color: var(--lcs-green);
}

.lcs-promo__price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0 0 1.1rem;
	padding: 0.95rem 1.05rem;
	background: var(--lcs-green-bg);
	border-radius: 12px;
}

.lcs-promo__amount {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--lcs-green);
}

.lcs-promo__amount .woocommerce-Price-amount,
.lcs-promo__amount bdi {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.lcs-promo__calc {
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--lcs-secondary);
	text-align: right !important;
}

.lcs-promo__tax {
	display: block;
	font-size: 0.78rem;
}

/* -------------------------------------------------------- Terminvergleich */

.lcs-swap {
	background: var(--lcs-surface);
	border-radius: var(--lcs-radius-group);
	overflow: hidden;
	margin: 0 0 0.5rem;
}

.lcs-swap__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
}

.lcs-swap__item + .lcs-swap__item {
	border-top: 1px solid var(--lcs-separator);
}

.lcs-swap__text {
	flex: 1 1 auto;
	min-width: 0;
}

.lcs-swap__cap {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lcs-secondary);
}

.lcs-swap__val {
	display: block;
	font-size: 0.99rem;
	font-weight: 600;
	line-height: 1.35;
}

.lcs-swap__item--old .lcs-swap__val {
	color: var(--lcs-secondary);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

/* --------------------------------------------------------------- Fußzeile */

.lcs-foot {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 1.25rem 0 0;
	padding: 0 0.35rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--lcs-secondary);
}

.lcs-foot .lcs-icon {
	width: 15px;
	height: 15px;
	margin-top: 0.12rem;
	color: var(--lcs-accent-soft);
}

.lcs-lede {
	margin: 0 0 1.1rem;
	padding: 0 0.35rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #4a4a4f;
}

.lcs-lede:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------- Schmalbild */

@media (max-width: 520px) {
	.lcs-sheet {
		padding: 1.25rem 0.9rem 1.15rem;
		border-radius: 16px;
	}

	.lcs-hero__title {
		font-size: 1.2rem;
	}

	.lcs-line {
		flex-wrap: wrap;
		gap: 0.15rem 0.75rem;
	}

	.lcs-line__key {
		min-width: 0;
		flex: 1 1 100%;
		font-size: 0.78rem;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.lcs-line + .lcs-line::before {
		left: 1rem;
	}

	.lcs-date__label {
		flex-wrap: wrap;
	}

	.lcs-seats {
		margin-left: 2.8rem;
	}

	.lcs-voucher__code {
		font-size: 1.3rem;
	}

	.lcs-promo {
		padding: 1.15rem 1rem 1.1rem;
	}

	.lcs-promo__price {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.2rem;
	}

	.lcs-promo__calc {
		text-align: left !important;
	}

	.lcs-promo__amount {
		font-size: 1.55rem;
	}
}
