/* Südkäse Weihnachtsbestellung – alle Regeln unter .skb, damit das Theme unberührt bleibt. */
.skb {
	--skb-accent: #b5482a;
	--skb-accent-dark: #8f3720;
	--skb-cream: #f6f1e7;
	--skb-line: #e5e0d8;
	--skb-text: #2b2620;
	--skb-muted: #6b6358;
	--skb-radius: 10px;
	color: var(--skb-text);
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.45;
}
.skb *, .skb *::before, .skb *::after { box-sizing: border-box; }

.skb-step { margin: 0 0 32px; }
.skb-h {
	display: flex; align-items: center; gap: 10px;
	font-size: 1.25em; margin: 0 0 10px; line-height: 1.2;
}
.skb-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--skb-accent); color: #fff; font-size: 15px; font-weight: 700; flex: none;
}
.skb-help { color: var(--skb-muted); font-size: 14px; margin: 0 0 12px; }
.skb-small { font-size: 13px; margin-top: 10px; }

/* Kategorien */
.skb-cat {
	border: 1px solid var(--skb-line); border-radius: var(--skb-radius);
	margin: 0 0 10px; background: #fff; overflow: hidden;
}
.skb-cat > summary {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 14px 16px; cursor: pointer; font-weight: 700; list-style: none;
	background: var(--skb-cream);
}
.skb-cat > summary::-webkit-details-marker { display: none; }
.skb-cat > summary::after {
	content: ""; width: 9px; height: 9px; flex: none; margin-left: auto;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .15s;
}
.skb-cat[open] > summary::after { transform: rotate(-135deg); }
.skb-cat-count {
	background: var(--skb-accent); color: #fff; border-radius: 999px;
	font-size: 12px; min-width: 22px; height: 22px; padding: 0 7px;
	display: inline-flex; align-items: center; justify-content: center;
}
.skb-cat-count[hidden] { display: none; }

.skb-items { list-style: none; margin: 0; padding: 0; }
.skb-item {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px; border-top: 1px solid var(--skb-line); margin: 0;
}
.skb-item.is-selected { background: #fdf6ee; }
.skb-item-text { display: flex; flex-direction: column; min-width: 0; cursor: pointer; margin: 0; }
.skb-item-name { font-weight: 600; }
.skb-item-price { color: var(--skb-muted); font-size: 14px; }

.skb-stepper { display: flex; align-items: center; flex: none; }
.skb-btn-step {
	width: 40px; height: 40px; border: 1px solid var(--skb-line); background: #fff;
	color: var(--skb-text); font-size: 20px; line-height: 1; cursor: pointer; padding: 0;
	border-radius: 8px; margin: 0;
}
.skb-btn-step:hover { border-color: var(--skb-accent); color: var(--skb-accent); }
.skb .skb-qty {
	width: 46px; height: 40px; text-align: center; font-size: 16px; font-weight: 700;
	border: none; background: transparent; padding: 0; margin: 0 2px;
	-moz-appearance: textfield; appearance: textfield;
}
.skb .skb-qty::-webkit-outer-spin-button,
.skb .skb-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Felder */
.skb-field { display: block; margin: 0 0 14px; }
.skb-field > span { display: block; font-weight: 600; margin-bottom: 5px; }
.skb-field small { font-weight: 400; color: var(--skb-muted); }
.skb .skb-field input,
.skb .skb-field select,
.skb .skb-field textarea {
	width: 100%; font-size: 16px; padding: 11px 12px; color: var(--skb-text);
	border: 1px solid #cfc8bd; border-radius: 8px; background: #fff; margin: 0;
	font-family: inherit;
}
.skb .skb-field input:focus,
.skb .skb-field select:focus,
.skb .skb-field textarea:focus { outline: 2px solid var(--skb-accent); outline-offset: 1px; border-color: var(--skb-accent); }
.skb .is-invalid { border-color: #b32d2e !important; background: #fff6f6 !important; }

.skb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 14px 0; }
.skb-check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--skb-accent); }
.skb-check a { color: var(--skb-accent); }

/* Übersicht */
.skb-summary {
	border: 1px solid var(--skb-line); border-radius: var(--skb-radius);
	padding: 12px 16px; background: var(--skb-cream); font-size: 15px;
}
.skb-summary-empty { margin: 0; color: var(--skb-muted); }
.skb-summary table { width: 100%; border-collapse: collapse; margin: 0; }
.skb-summary td { padding: 4px 0; border: none; vertical-align: top; }
.skb-summary td:first-child { white-space: nowrap; padding-right: 10px; font-weight: 700; }
.skb-summary td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.skb-summary tr.skb-total td { border-top: 1px solid #d8cfc0; padding-top: 8px; font-weight: 700; }
.skb-summary-note { margin: 8px 0 0; font-size: 13px; color: var(--skb-muted); }

.skb-error {
	background: #fff1f0; border: 1px solid #e3b2ae; color: #8a1f1b;
	border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-size: 15px;
}
.skb-error[hidden] { display: none; }

.skb .skb-submit {
	display: block; width: 100%; padding: 15px; border: none; border-radius: var(--skb-radius);
	background: var(--skb-accent); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer;
}
.skb .skb-submit:hover { background: var(--skb-accent-dark); }
.skb .skb-submit[disabled] { opacity: .6; cursor: wait; }

/* Leiste unten mit Zwischensumme */
.skb-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: var(--skb-text); color: #fff; font-size: 15px;
	box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.skb-bar[hidden] { display: none; }
.skb .skb-bar-btn {
	background: var(--skb-accent); color: #fff; text-decoration: none; font-weight: 700;
	padding: 9px 18px; border-radius: 8px; white-space: nowrap;
}
.skb-form.has-bar { padding-bottom: 64px; }

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

.skb-notice, .skb-danke {
	border: 1px solid var(--skb-line); border-radius: var(--skb-radius);
	background: var(--skb-cream); padding: 20px;
}
.skb-danke h2 { margin-top: 0; font-size: 1.3em; }

@media (max-width: 480px) {
	.skb-item { padding: 10px 12px; }
	.skb-cat > summary { padding: 13px 12px; }
	.skb-btn-step { width: 36px; height: 36px; }
	.skb .skb-qty { width: 38px; }
}
