
.wsa-app {
  --wsa-green:#28594d;
  --wsa-green-dark:#183c35;
  --wsa-gold:#b89b5e;
  --wsa-ink:#202522;
  --wsa-muted:#66716b;
  --wsa-line:#dce2de;
  --wsa-paper:#f6f7f4;
  color:var(--wsa-ink);
  background:var(--wsa-paper);
  font-family:Arial,Helvetica,sans-serif;
  width:100%;
}
.wsa-app * { box-sizing:border-box; }
.wsa-wrap { width:min(1500px,90%); margin:0 auto; }

.wsa-brandbar {
  display:flex; align-items:center; justify-content:center;
  gap:clamp(18px,4vw,56px); flex-wrap:wrap;
  background:#fff; padding:18px 5vw; border-bottom:1px solid var(--wsa-line);
}
.wsa-brand {
  min-height:56px; display:flex; align-items:center; justify-content:center;
  text-decoration:none!important; color:inherit!important;
}
.wsa-brand img { display:block; max-height:58px; max-width:220px; width:auto; height:auto; }
.wsa-brand-text { flex-direction:column; line-height:1.02; text-align:center; }
.wsa-brand-text strong { font-size:22px; color:var(--wsa-green-dark); }
.wsa-brand-text small,.wsa-brand-fallback-text small {
  display:block; font-size:10px; letter-spacing:.11em; text-transform:uppercase;
  color:var(--wsa-muted); margin-top:5px;
}
.wsa-brand-wolkenraum strong { font-size:28px; font-weight:500; }
.wsa-brand-fallback-text { display:none; font-size:20px; font-weight:700; color:var(--wsa-green-dark); text-align:center; }
.wsa-brand-fallback .wsa-brand-fallback-text { display:block; }

.wsa-hero {
  background:linear-gradient(135deg,var(--wsa-green-dark),var(--wsa-green));
  color:#fff; padding:38px 0 34px;
}
.wsa-eyebrow { font-size:12px; letter-spacing:.14em; text-transform:uppercase; opacity:.78; }
.wsa-hero h1 { margin:8px 0; color:#fff; font-size:clamp(30px,5vw,58px); line-height:1; }
.wsa-hero p { margin:0; max-width:900px; font-size:16px; line-height:1.55; opacity:.92; }

.wsa-toolbar {
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.96); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--wsa-line); padding:12px 0;
}
body.admin-bar .wsa-toolbar { top:32px; }
.wsa-toolbar-inner { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.wsa-toolbar input[type=search], .wsa-toolbar select {
  min-height:44px; border:1px solid #bcc8c1; border-radius:10px;
  background:#fff; padding:0 13px; font-size:15px;
}
.wsa-toolbar input[type=search] { flex:1; min-width:240px; }
.wsa-toolbar select { min-width:210px; }
.wsa-btn {
  min-height:44px; border:0; border-radius:10px; padding:0 15px;
  font-weight:700; cursor:pointer; background:var(--wsa-green); color:#fff!important;
  text-decoration:none!important; display:inline-flex; align-items:center; justify-content:center; gap:7px;
}
.wsa-btn:hover { filter:brightness(.95); }
.wsa-btn:disabled { opacity:.45; cursor:not-allowed; }
.wsa-btn-secondary { background:#eef2ef; color:var(--wsa-green-dark)!important; border:1px solid var(--wsa-line); }
.wsa-counter { font-weight:700; color:var(--wsa-green); white-space:nowrap; }

.wsa-catalog {
  padding:26px 0 90px;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(390px,1fr)); gap:18px;
}
.wsa-product-card {
  background:#fff; border:1px solid var(--wsa-line); border-radius:16px;
  overflow:hidden; display:grid; grid-template-columns:170px 1fr; min-height:270px;
  box-shadow:0 4px 18px rgba(20,50,42,.05);
}
.wsa-product-media {
  position:relative; background:#eff2ef; border-right:1px solid var(--wsa-line);
  min-height:270px; display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.wsa-product-media img { width:100%; height:100%; object-fit:cover; display:block; }
.wsa-image-fallback { display:none; padding:20px; text-align:center; color:#7b857f; }
.wsa-product-media.is-missing .wsa-image-fallback { display:flex; flex-direction:column; gap:7px; }
.wsa-image-fallback span { font-weight:800; text-transform:uppercase; }
.wsa-image-fallback small { font-size:11px; line-height:1.35; }

.wsa-product-body { position:relative; padding:18px 18px 80px; min-width:0; }
.wsa-product-topline { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.wsa-badges { display:flex; flex-wrap:wrap; gap:5px; align-items:center; }
.wsa-category { font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--wsa-green); }
.wsa-subgroup {
  font-size:10px; font-weight:700; color:#765f2e; background:#f5efe1;
  border:1px solid #eadfca; border-radius:999px; padding:3px 7px;
}
.wsa-select-pill {
  border:1px solid var(--wsa-line); border-radius:999px; padding:6px 9px;
  font-size:12px; background:#fff; cursor:pointer; white-space:nowrap;
}
.wsa-select-pill input { vertical-align:middle; margin:0 4px 0 0; }
.wsa-publish-pill:has(input:checked) { border-color:var(--wsa-green); background:#eef6f3; color:var(--wsa-green-dark); }

.wsa-product-card h3 { font-size:19px; line-height:1.2; margin:10px 0 9px; color:var(--wsa-ink); }
.wsa-description { font-size:14px; line-height:1.45; margin:0 0 12px; color:#323a35; }
.wsa-meta { display:flex; flex-direction:column; gap:3px; font-size:12px; color:var(--wsa-muted); line-height:1.35; }
.wsa-price { position:absolute; right:18px; bottom:50px; font-size:22px; font-weight:900; color:var(--wsa-green); text-align:right; }
.wsa-price small { display:block; font-size:10px; font-weight:400; color:#778079; margin-top:3px; }

.wsa-buy-row {
  position:absolute; left:18px; right:18px; bottom:12px;
  display:flex; align-items:flex-end; gap:10px;
}
.wsa-buy-row label { display:flex; flex-direction:column; gap:3px; font-size:10px; color:var(--wsa-muted); font-weight:700; }
.wsa-buy-row input {
  width:70px; height:42px; border:1px solid #bcc8c1; border-radius:9px; padding:0 8px; font-size:15px;
}
.wsa-buy-row .wsa-btn { flex:1; min-height:42px; }

.wsa-empty { display:none; grid-column:1/-1; text-align:center; background:#fff; border:1px solid var(--wsa-line); border-radius:14px; padding:32px; }
.wsa-empty-public {
  margin:32px 0 70px; text-align:center; background:#fff; border:1px solid var(--wsa-line);
  border-radius:14px; padding:34px; color:var(--wsa-muted);
}
.wsa-card-hidden { display:none!important; }

.wsa-order-success,.wsa-order-error {
  margin:20px 0 0; padding:14px 16px; border-radius:12px;
}
.wsa-order-success { background:#edf8f3; border:1px solid #b9ddcc; color:#1c5b45; }
.wsa-order-error { background:#fff1f1; border:1px solid #e6bcbc; color:#8d2525; }

/* Cart / order drawer */
.wsa-cart-backdrop {
  position:fixed; inset:0; background:rgba(0,0,0,.38); z-index:99998;
}
.wsa-cart {
  position:fixed; top:0; right:0; bottom:0; width:min(520px,100vw);
  background:#fff; z-index:99999; box-shadow:-16px 0 40px rgba(0,0,0,.18);
  transform:translateX(102%); transition:transform .22s ease;
  overflow:auto; padding:0 22px 28px;
}
.wsa-cart.is-open { transform:translateX(0); }
.wsa-cart-head {
  position:sticky; top:0; z-index:2; background:#fff;
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 0 16px; border-bottom:1px solid var(--wsa-line);
}
.wsa-cart-head small { color:var(--wsa-green); text-transform:uppercase; font-weight:800; letter-spacing:.1em; }
.wsa-cart-head h2 { margin:4px 0 0; color:var(--wsa-green-dark); }
.wsa-cart-close { border:0; background:transparent; font-size:34px; cursor:pointer; line-height:1; }
.wsa-cart-items { padding:16px 0; border-bottom:1px solid var(--wsa-line); }
.wsa-cart-empty { color:var(--wsa-muted); }
.wsa-cart-row {
  display:grid; grid-template-columns:1fr auto; gap:10px; padding:10px 0; border-bottom:1px solid #eef1ef;
}
.wsa-cart-row:last-child { border-bottom:0; }
.wsa-cart-row strong { display:block; line-height:1.3; }
.wsa-cart-row small { color:var(--wsa-muted); }
.wsa-cart-controls { display:flex; gap:6px; align-items:center; }
.wsa-cart-controls input { width:58px; height:36px; border:1px solid #bcc8c1; border-radius:8px; padding:0 6px; }
.wsa-remove { border:0; background:#f5eeee; color:#8d2525; border-radius:8px; height:36px; padding:0 9px; cursor:pointer; }

.wsa-order-form { display:grid; gap:14px; padding-top:18px; }
.wsa-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.wsa-order-form label > span { display:block; font-size:12px; font-weight:700; margin-bottom:5px; color:#37413b; }
.wsa-order-form input[type=text],
.wsa-order-form input[type=email],
.wsa-order-form input[type=tel],
.wsa-order-form input[type=datetime-local],
.wsa-order-form textarea {
  width:100%; border:1px solid #bcc8c1; border-radius:9px; padding:10px 11px; font-size:15px; background:#fff;
}
.wsa-consent { display:flex; gap:8px; align-items:flex-start; font-size:12px; color:var(--wsa-muted); }
.wsa-consent > span { font-weight:400!important; }
.wsa-order-submit { width:100%; }
.wsa-order-hint { margin:0; font-size:11px; color:var(--wsa-muted); line-height:1.4; }
.wsa-honeypot { position:absolute!important; left:-99999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }

/* Frontend admin */
.wsa-admin-savebar {
  position:sticky; bottom:0; z-index:30; background:rgba(255,255,255,.97);
  border-top:1px solid var(--wsa-line); box-shadow:0 -6px 20px rgba(0,0,0,.06);
}
.wsa-admin-savebar-inner { min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.wsa-admin-app .wsa-product-card { min-height:245px; }
.wsa-admin-app .wsa-product-body { padding-bottom:60px; }
.wsa-admin-app .wsa-price { bottom:14px; }

/* Login */
.wsa-login-shell {
  min-height:65vh; display:grid; place-items:center; padding:48px 20px;
  background:linear-gradient(135deg,#183c35,#28594d);
}
.wsa-login-card {
  width:min(480px,100%); background:#fff; border-radius:18px; padding:30px;
  box-shadow:0 18px 55px rgba(0,0,0,.18);
}
.wsa-login-kicker { color:#28594d; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.wsa-login-card h2 { color:#183c35; font-size:28px; line-height:1.15; margin:8px 0 10px; }
.wsa-login-card p { color:#66716b; line-height:1.5; margin:0 0 20px; }
.wsa-login-form { display:grid; gap:14px; }
.wsa-login-form label span { display:block; font-weight:700; color:#202522; margin-bottom:6px; }
.wsa-login-form input { width:100%; min-height:46px; border:1px solid #bcc8c1; border-radius:10px; padding:0 12px; font-size:16px; background:#fff; }
.wsa-login-form .wsa-btn { margin-top:4px; width:100%; }
.wsa-login-error { background:#fff1f1; color:#8d2525; border:1px solid #e6bcbc; border-radius:10px; padding:10px 12px; margin:0 0 16px; }

@media (max-width:782px) {
  body.admin-bar .wsa-toolbar { top:46px; }
}
@media (max-width:700px) {
  .wsa-wrap { width:calc(100% - 28px); }
  .wsa-catalog { grid-template-columns:1fr; }
  .wsa-product-card { grid-template-columns:125px 1fr; min-height:255px; }
  .wsa-product-media { min-height:255px; }
  .wsa-product-body { padding:15px 14px 82px; }
  .wsa-select-pill span { display:none; }
  .wsa-brandbar { justify-content:space-around; gap:14px; }
  .wsa-brand img { max-width:150px; max-height:48px; }
  .wsa-toolbar { position:relative; top:auto!important; }
  .wsa-form-grid { grid-template-columns:1fr; }
  .wsa-price { right:14px; bottom:53px; font-size:19px; }
  .wsa-buy-row { left:14px; right:14px; }
  .wsa-admin-savebar-inner { flex-direction:column; align-items:stretch; padding:10px 0; }
}



/* V002 2.4.1 – eindeutiger Schalter für den Onlineverkauf */
.wsa-online-toggle {
  display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:4px 9px 4px 5px;
  border:1px solid var(--wsa-line); border-radius:999px; background:#f5f6f5; cursor:pointer;
  user-select:none; white-space:nowrap; font-size:11px; font-weight:800; color:#747b77;
}
.wsa-online-toggle input { position:absolute; opacity:0; pointer-events:none; }
.wsa-online-toggle-track {
  position:relative; width:36px; height:20px; flex:0 0 36px; border-radius:999px; background:#b8bfbb;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06); transition:.18s ease;
}
.wsa-online-toggle-knob {
  position:absolute; top:3px; left:3px; width:14px; height:14px; border-radius:50%; background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.22); transition:.18s ease;
}
.wsa-online-toggle .wsa-online-on { display:none; }
.wsa-online-toggle .wsa-online-off { display:inline; }
.wsa-online-toggle:has(input:checked) {
  border-color:#8eb6a8; background:#eef6f3; color:var(--wsa-green-dark);
}
.wsa-online-toggle:has(input:checked) .wsa-online-toggle-track { background:var(--wsa-green); }
.wsa-online-toggle:has(input:checked) .wsa-online-toggle-knob { transform:translateX(16px); }
.wsa-online-toggle:has(input:checked) .wsa-online-on { display:inline; }
.wsa-online-toggle:has(input:checked) .wsa-online-off { display:none; }
.wsa-online-toggle:has(input:disabled) { opacity:.55; cursor:not-allowed; }
.wsa-product-card.is-admin-zero-stock .wsa-online-toggle { opacity:.58; }


/* V002 2.1.0 – Bestandsanzeige */
.wsa-admin-product-controls {
  display:flex;
  flex-direction:column;
  gap:7px;
  align-items:flex-end;
}
.wsa-stock-input {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  color:var(--wsa-muted);
}
.wsa-stock-input input {
  width:76px;
  height:34px;
  border:1px solid #bcc8c1;
  border-radius:8px;
  padding:0 7px;
  font-size:14px;
  background:#fff;
}
.wsa-stock-status {
  position:absolute;
  left:18px;
  bottom:54px;
  font-size:12px;
  font-weight:700;
  color:#21634d;
}
.wsa-stock-status.is-zero {
  color:#8a3a3a;
}
.wsa-product-card.is-sold-out {
  opacity:.55;
  filter:grayscale(.5);
}
.wsa-product-card.is-sold-out .wsa-product-media::after {
  content:"Nicht verfügbar";
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  background:rgba(255,255,255,.94);
  border:1px solid #d8d8d8;
  border-radius:8px;
  padding:8px 10px;
  text-align:center;
  font-size:12px;
  font-weight:800;
  color:#6f3b3b;
}
.wsa-product-card.is-sold-out .wsa-btn {
  background:#999;
}
@media (max-width:700px) {
  .wsa-stock-status { left:14px; bottom:56px; }
  .wsa-admin-product-controls { align-items:flex-end; }
}


/* V002 2.1.1 – Bestandsprüfung im Gesamtkatalog */
.wsa-product-card.is-admin-zero-stock {
  background:#f7f7f7;
}
.wsa-product-card.is-admin-zero-stock .wsa-product-media {
  filter:grayscale(.35);
  opacity:.72;
}
.wsa-product-card.is-admin-zero-stock .wsa-publish-pill {
  opacity:.6;
}
.wsa-zero-stock-warning {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 8px;
  border-radius:999px;
  background:#fff0f0;
  border:1px solid #e2b6b6;
  color:#9a3030;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.wsa-zero-stock-warning[hidden] {
  display:none !important;
}


/* V002 2.2.0 – Bestellzeiten */
.wsa-order-window {
  margin:18px 0 0;
  padding:13px 16px;
  border-radius:12px;
  font-size:14px;
  line-height:1.45;
}
.wsa-order-window.is-open {
  background:#edf8f3;
  border:1px solid #b9ddcc;
  color:#1c5b45;
}
.wsa-order-window.is-closed {
  background:#fff4e8;
  border:1px solid #e7c79a;
  color:#7a4d16;
}
.wsa-service-slot {
  border:1px solid #cbd7d0;
  border-radius:10px;
  padding:10px 12px;
  background:#f4f8f5;
  min-height:74px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.wsa-service-slot > span {
  display:block;
  font-size:12px;
  font-weight:700;
  color:#37413b;
  margin-bottom:3px;
}
.wsa-service-slot strong {
  display:block;
  font-size:17px;
  color:var(--wsa-green-dark);
}
.wsa-service-slot small {
  display:block;
  margin-top:4px;
  color:var(--wsa-muted);
  font-size:11px;
}


/* V002 2.2.1 – Vorbestellung Folgetage */
.wsa-service-slot input[type="date"] {
  width:100%;
  min-height:40px;
  margin:4px 0 2px;
  border:1px solid #bcc8c1;
  border-radius:8px;
  padding:7px 9px;
  background:#fff;
  color:inherit;
  font:inherit;
}


/* V002 2.3.0 – Zahlungsarten / Mollie */
.wsa-payment-box {
  margin:16px 0;
  border:1px solid #cbd7d0;
  border-radius:12px;
  padding:13px;
  background:#f8faf9;
}
.wsa-payment-box > strong {
  display:block;
  margin-bottom:8px;
}
.wsa-payment-option {
  display:flex;
  gap:9px;
  align-items:flex-start;
  padding:9px 8px;
  margin:0;
  border-radius:8px;
}
.wsa-payment-option:hover {
  background:#fff;
}
.wsa-payment-option input {
  margin-top:3px;
}
.wsa-payment-option span,
.wsa-payment-option b,
.wsa-payment-option small {
  display:block;
}
.wsa-payment-option small,
.wsa-payment-note,
.wsa-payment-warning {
  color:var(--wsa-muted);
  font-size:11px;
}
.wsa-payment-warning {
  color:#9a4b19;
  margin:6px 8px;
}
.wsa-cart-total {
  margin-top:10px;
  border-top:1px solid #d9e1dc;
  padding-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.wsa-cart-total strong {
  font-size:18px;
  color:var(--wsa-green-dark);
}


/* V002 2.3.2 – Kartenfuß: Menge / Bestand sauber trennen */
.wsa-product-body {
  padding-bottom:112px;
}
.wsa-stock-status {
  bottom:82px;
  line-height:1.25;
}
.wsa-buy-row {
  bottom:12px;
  align-items:flex-end;
}
.wsa-buy-row label {
  min-width:70px;
  gap:4px;
}
.wsa-buy-row label > span {
  display:block;
  line-height:1.2;
  margin:0 0 1px;
  white-space:nowrap;
}
@media (max-width:700px) {
  .wsa-product-body {
    padding-bottom:114px;
  }
  .wsa-stock-status {
    bottom:84px;
  }
}


/* V002 2.3.7 – Bestellungen direkt auf /speiseauswahl/admin/ */
.wsa-front-orders-section {
  padding:26px 0 8px;
}
.wsa-front-orders-title {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:14px;
}
.wsa-front-orders-title h2 {
  margin:2px 0 4px;
  font-size:28px;
}
.wsa-front-orders-title p {
  margin:0;
  color:var(--wsa-muted);
}
.wsa-front-orders-list {
  display:grid;
  gap:14px;
}
.wsa-front-order-card {
  background:#fff;
  border:1px solid #d8e0db;
  border-radius:14px;
  padding:16px 18px;
  box-shadow:0 2px 8px rgba(0,0,0,.035);
}
.wsa-front-order-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding-bottom:12px;
  border-bottom:1px solid #edf0ee;
}
.wsa-front-order-number {
  font-size:12px;
  font-weight:800;
  color:var(--wsa-green-dark);
  letter-spacing:.03em;
}
.wsa-front-order-customer {
  margin-top:3px;
  font-size:19px;
  font-weight:800;
}
.wsa-front-order-badges {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.wsa-order-badge {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid #d1d8d4;
  background:#f5f7f6;
  font-size:11px;
  font-weight:800;
}
.wsa-order-badge.payment-paid,
.wsa-order-badge.status-bestätigt {
  background:#eaf7f0;
  border-color:#b7d9c7;
  color:#176346;
}
.wsa-order-badge.payment-open,
.wsa-order-badge.payment-pending {
  background:#fff4e8;
  border-color:#e7c79a;
  color:#7a4d16;
}
.wsa-front-order-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:13px 0;
}
.wsa-front-order-grid > div {
  background:#f8faf9;
  border-radius:9px;
  padding:9px 10px;
}
.wsa-front-order-grid strong,
.wsa-front-order-grid span {
  display:block;
}
.wsa-front-order-grid strong {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--wsa-muted);
  margin-bottom:3px;
}
.wsa-front-order-grid span {
  font-size:13px;
  font-weight:700;
  overflow-wrap:anywhere;
}
.wsa-front-order-items {
  margin:12px 0;
}
.wsa-front-order-items > strong,
.wsa-front-order-note > strong {
  display:block;
  margin-bottom:5px;
}
.wsa-front-order-items ul {
  list-style:none;
  padding:0;
  margin:0;
}
.wsa-front-order-items li {
  display:flex;
  gap:7px;
  padding:5px 0;
  border-bottom:1px dotted #dde3df;
  font-size:13px;
}
.wsa-front-order-items li span {
  margin-left:auto;
  font-weight:700;
  white-space:nowrap;
}
.wsa-front-order-note {
  margin:10px 0;
  padding:10px 12px;
  background:#fff9e9;
  border-radius:9px;
  font-size:13px;
}
.wsa-front-order-note span {
  display:block;
}
.wsa-front-order-actions {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #edf0ee;
}
.wsa-front-confirm-form {
  margin:0;
}
.wsa-front-confirm-btn {
  min-width:210px;
}
.wsa-front-confirmed {
  color:#176346;
  font-weight:800;
  text-align:right;
}
.wsa-front-confirmed small {
  display:block;
  margin-top:2px;
  font-weight:500;
  color:var(--wsa-muted);
}
.wsa-front-payment-wait {
  max-width:520px;
  padding:8px 11px;
  border-radius:9px;
  background:#fff4e8;
  color:#7a4d16;
  font-size:12px;
  font-weight:700;
}
.wsa-front-orders-empty {
  padding:22px;
  border:1px dashed #cad4ce;
  border-radius:12px;
  text-align:center;
  color:var(--wsa-muted);
  background:#fafbfa;
}
@media (max-width:820px) {
  .wsa-front-order-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:560px) {
  .wsa-front-order-head {
    flex-direction:column;
  }
  .wsa-front-order-badges {
    justify-content:flex-start;
  }
  .wsa-front-order-grid {
    grid-template-columns:1fr;
  }
  .wsa-front-order-actions {
    justify-content:stretch;
  }
  .wsa-front-confirm-form,
  .wsa-front-confirm-btn {
    width:100%;
  }
}


/* V002 2.3.9 – Tagesübersicht Bestellungen */
.wsa-day-overview-section {
  padding:26px 0 4px;
}
.wsa-day-overview-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:14px;
}
.wsa-day-overview-head h2 {
  margin:2px 0 4px;
  font-size:28px;
}
.wsa-day-overview-head p {
  margin:0;
  color:var(--wsa-muted);
}
.wsa-day-selector {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.wsa-day-selector label {
  font-size:12px;
  font-weight:800;
  color:var(--wsa-muted);
}
.wsa-day-selector select {
  min-width:190px;
  height:42px;
  border:1px solid #cbd5cf;
  border-radius:9px;
  background:#fff;
  padding:0 34px 0 11px;
  font:inherit;
}
.wsa-day-today {
  min-height:42px;
  display:inline-flex;
  align-items:center;
}
.wsa-day-stats {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.wsa-day-stat {
  background:#fff;
  border:1px solid #d8e0db;
  border-radius:12px;
  padding:12px 14px;
  box-shadow:0 2px 8px rgba(0,0,0,.025);
}
.wsa-day-stat span {
  display:block;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
  color:var(--wsa-muted);
  margin-bottom:3px;
}
.wsa-day-stat strong {
  display:block;
  font-size:23px;
  line-height:1.1;
}
.wsa-day-kitchen-summary {
  background:#f4f7f5;
  border:1px solid #d8e0db;
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:14px;
}
.wsa-day-kitchen-summary > strong {
  display:block;
  margin-bottom:8px;
}
.wsa-day-kitchen-chips {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.wsa-day-kitchen-chips span {
  background:#fff;
  border:1px solid #d5ded8;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
}
.wsa-day-table-wrap {
  overflow-x:auto;
  background:#fff;
  border:1px solid #d8e0db;
  border-radius:13px;
}
.wsa-day-table {
  width:100%;
  border-collapse:collapse;
  min-width:900px;
}
.wsa-day-table th {
  text-align:left;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--wsa-muted);
  background:#f7f9f8;
  padding:10px 11px;
  border-bottom:1px solid #dfe5e1;
}
.wsa-day-table td {
  vertical-align:top;
  padding:11px;
  border-bottom:1px solid #edf1ee;
  font-size:12px;
}
.wsa-day-table tbody tr:last-child td {
  border-bottom:0;
}
.wsa-day-table td small {
  display:block;
  margin-top:3px;
  color:var(--wsa-muted);
}
.wsa-day-items {
  list-style:none;
  margin:0;
  padding:0;
}
.wsa-day-items li {
  margin:0 0 3px;
  line-height:1.35;
}
.wsa-day-items li:last-child {
  margin-bottom:0;
}
.wsa-day-qty {
  text-align:center !important;
  white-space:nowrap;
}
.wsa-day-money {
  text-align:right !important;
  white-space:nowrap;
}
@media (max-width:900px) {
  .wsa-day-stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .wsa-day-overview-head {
    align-items:flex-start;
    flex-direction:column;
  }
}
@media (max-width:560px) {
  .wsa-day-stats {
    grid-template-columns:1fr 1fr;
  }
  .wsa-day-stat:last-child {
    grid-column:1 / -1;
  }
  .wsa-day-selector {
    width:100%;
  }
  .wsa-day-selector select {
    flex:1 1 auto;
    min-width:0;
  }
}


/* V002 2.4.0 – Stornierung auf geschützter Admin-Seite */
.wsa-front-payment-wait-wrap {
  width:100%;
  display:grid;
  gap:10px;
}
.wsa-front-cancel-form {
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:9px;
  flex-wrap:wrap;
  margin:0;
}
.wsa-front-cancel-form label {
  flex:1 1 300px;
  max-width:520px;
}
.wsa-front-cancel-form label span {
  display:block;
  margin-bottom:4px;
  font-size:11px;
  font-weight:800;
  color:var(--wsa-muted);
}
.wsa-front-cancel-form input[type="text"] {
  width:100%;
  min-height:42px;
  border:1px solid #cbd5cf;
  border-radius:9px;
  padding:8px 10px;
  font:inherit;
  background:#fff;
}
.wsa-front-cancel-btn {
  min-height:42px;
  background:#a61b1b !important;
  border-color:#a61b1b !important;
  color:#fff !important;
}
.wsa-front-cancel-btn:hover {
  background:#861616 !important;
  border-color:#861616 !important;
}
@media (max-width:620px) {
  .wsa-front-cancel-form {
    align-items:stretch;
  }
  .wsa-front-cancel-form label,
  .wsa-front-cancel-btn {
    width:100%;
    max-width:none;
  }
}


/* V002 2.4.3 – EK/VK direkt im geschützten Gesamtkatalog bearbeiten */
.wsa-admin-app .wsa-product-card { min-height:285px; }
.wsa-admin-app .wsa-product-body { padding-bottom:82px; }
.wsa-admin-price-editor {
  position:absolute;
  left:18px;
  right:18px;
  bottom:14px;
  display:flex;
  gap:10px;
  align-items:flex-end;
}
.wsa-admin-price-editor label {
  display:grid;
  grid-template-columns:auto minmax(72px,100px) auto;
  align-items:center;
  gap:5px;
  min-width:0;
  font-size:11px;
  font-weight:800;
  color:var(--wsa-muted);
}
.wsa-admin-price-editor input {
  width:100%;
  height:36px;
  border:1px solid #bcc8c1;
  border-radius:8px;
  padding:0 8px;
  font-size:14px;
  font-weight:700;
  background:#fff;
  color:var(--wsa-ink);
}
.wsa-admin-price-editor label:last-child input {
  color:var(--wsa-green-dark);
}
.wsa-admin-price-editor input.is-imported {
  background:#fff3a8;
  border-color:#d5ad24;
  box-shadow:inset 0 0 0 1px rgba(213,173,36,.08);
}
.wsa-admin-price-editor input.is-reviewed {
  background:#dff3e6;
  border-color:#4f8a63;
  box-shadow:inset 0 0 0 1px rgba(79,138,99,.08);
}
.wsa-admin-price-editor input.is-reviewed:focus {
  border-color:#39734f;
}
.wsa-admin-price-editor input.is-imported:focus {
  border-color:#b58e11;
}
.wsa-admin-price-editor small {
  font-size:12px;
  font-weight:700;
  color:var(--wsa-muted);
}
@media (max-width:700px) {
  .wsa-admin-app .wsa-product-card { min-height:305px; }
  .wsa-admin-app .wsa-product-media { min-height:305px; }
  .wsa-admin-app .wsa-product-body { padding-bottom:116px; }
  .wsa-admin-price-editor {
    left:14px;
    right:14px;
    bottom:12px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .wsa-admin-price-editor label {
    grid-template-columns:24px minmax(70px,1fr) 14px;
  }
}

/* V002 2.4.5 – saubere deutsche Worttrennung im Katalog */
.wsa-app .wsa-product-card h3,
.wsa-app .wsa-description,
.wsa-app .wsa-meta {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Kategorien dürfen an deutschen Trennstellen bzw. vorhandenen Leerzeichen umbrechen,
   aber niemals willkürlich mitten im Wort. */
.wsa-app .wsa-category,
.wsa-app .wsa-subgroup {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Kurze Bedien- und Preiskennzeichnungen niemals zerlegen. */
.wsa-app .wsa-online-toggle-label,
.wsa-app .wsa-stock-input > span,
.wsa-app .wsa-order-input > span,
.wsa-app .wsa-zero-stock-warning,
.wsa-app .wsa-admin-price-editor label > span,
.wsa-app .wsa-admin-price-editor small {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

/* EK/VK bekommen eine feste kurze Beschriftungsspalte, damit E/K bzw. V/K
   auch bei schmalen Karten stets nebeneinander stehen. */
.wsa-admin-price-editor label {
  flex: 1 1 0;
  grid-template-columns: 22px minmax(58px, 1fr) 12px;
}

/* In der Admin-Kopfzeile lieber die Steuerelemente umbrechen als Wörter zerhacken. */
.wsa-admin-app .wsa-product-topline {
  flex-wrap: wrap;
}
.wsa-admin-app .wsa-badges {
  min-width: 72px;
  flex: 1 1 72px;
}
.wsa-admin-app .wsa-admin-product-controls {
  flex: 0 0 auto;
  margin-left: auto;
}

/* V002 2.4.6 – Kategorien nie innerhalb eines Wortes trennen */
.wsa-app .wsa-category,
.wsa-app .wsa-subgroup {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

/* Im Admin bekommt die Kategorie ihre eigene Zeile. So bleibt z. B.
   „VORSPEISEN“ immer vollständig lesbar, auch bei schmalen Karten. */
.wsa-admin-app .wsa-product-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.wsa-admin-app .wsa-badges {
  width: 100%;
  min-width: 0;
  flex: none;
}
.wsa-admin-app .wsa-admin-product-controls {
  width: 100%;
  margin-left: 0;
  flex: none;
  align-items: flex-end;
}


/* 2.4.7: frisch bestätigte Bestellung in der Tagesübersicht hervorheben */
.wsa-day-table tr.wsa-day-row-focus > td,
.wsa-day-table tr:target > td {
    background: #eef8f4;
}
.wsa-day-table tr.wsa-day-row-focus > td:first-child,
.wsa-day-table tr:target > td:first-child {
    box-shadow: inset 4px 0 0 #1f5f4f;
}

/* V002 2.4.9 – Lieferanfragen bei Bestand 0 */
.wsa-inquiry-row {
  position:absolute;
  left:18px;
  right:18px;
  bottom:12px;
  display:flex;
  align-items:flex-end;
  gap:10px;
}
.wsa-inquiry-row[hidden] { display:none!important; }
.wsa-inquiry-row label {
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:70px;
  font-size:10px;
  color:var(--wsa-muted);
  font-weight:700;
}
.wsa-inquiry-row label > span { white-space:nowrap; }
.wsa-inquiry-row input {
  width:70px;
  height:42px;
  border:1px solid #bcc8c1;
  border-radius:9px;
  padding:0 8px;
  font-size:15px;
  background:#fff;
}
.wsa-inquiry-row .wsa-btn { flex:1; min-height:42px; }

/* Bestand 0 soll weiterhin erkennbar sein, die Anfrage aber aktiv wirken. */
.wsa-product-card.is-sold-out {
  opacity:1;
  filter:none;
  background:#fbfcfb;
}
.wsa-product-card.is-sold-out .wsa-product-media {
  opacity:.58;
  filter:grayscale(.45);
}
.wsa-product-card.is-sold-out .wsa-product-media::after {
  content:"Auf Anfrage";
  color:#6f5425;
  border-color:#dccb9f;
  background:rgba(255,250,235,.96);
}
.wsa-product-card.is-sold-out .wsa-inquiry-open {
  background:var(--wsa-green);
  color:#fff;
  border-color:var(--wsa-green);
  opacity:1;
}
.wsa-product-card.is-sold-out .wsa-inquiry-open:hover {
  background:var(--wsa-green-dark);
}

.wsa-inquiry-backdrop {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.38);
  z-index:99998;
}
.wsa-inquiry-summary {
  margin:18px 0 0;
  padding:14px 15px;
  border:1px solid #d8e0db;
  border-radius:12px;
  background:#f7faf8;
}
.wsa-inquiry-summary strong,
.wsa-inquiry-summary span,
.wsa-inquiry-summary b,
.wsa-inquiry-summary small {
  display:block;
}
.wsa-inquiry-summary strong {
  font-size:18px;
  color:var(--wsa-green-dark);
  margin-bottom:12px;
}
.wsa-inquiry-summary span {
  font-size:11px;
  color:var(--wsa-muted);
}
.wsa-inquiry-summary b {
  margin-top:3px;
  font-size:16px;
}
.wsa-inquiry-summary small {
  margin-top:8px;
  color:var(--wsa-muted);
  line-height:1.45;
}
.wsa-order-form input[type=date],
.wsa-order-form input[type=number] {
  width:100%;
  border:1px solid #bcc8c1;
  border-radius:9px;
  padding:10px 11px;
  min-height:42px;
  font-size:15px;
  background:#fff;
}

.wsa-front-inquiries-section {
  padding-top:26px;
  padding-bottom:4px;
}
.wsa-front-inquiry-card {
  border-left:4px solid #c59d45;
}
.wsa-front-inquiry-actions {
  display:grid;
  grid-template-columns:minmax(260px,360px) 1fr;
  gap:16px;
  align-items:end;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #edf0ee;
}
.wsa-front-inquiry-actions label > span,
.wsa-front-inquiry-actions label > small {
  display:block;
}
.wsa-front-inquiry-actions label > span {
  font-size:11px;
  font-weight:800;
  margin-bottom:5px;
}
.wsa-front-inquiry-actions label > small {
  margin-top:4px;
  color:var(--wsa-muted);
  font-size:10px;
}
.wsa-front-inquiry-actions input[type=date] {
  width:100%;
  min-height:40px;
  border:1px solid #bcc8c1;
  border-radius:9px;
  padding:7px 10px;
  background:#fff;
}
.wsa-front-inquiry-buttons {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

@media (max-width:700px) {
  .wsa-inquiry-row { left:14px; right:14px; }
  .wsa-front-inquiry-actions { grid-template-columns:1fr; }
  .wsa-front-inquiry-buttons { justify-content:stretch; }
  .wsa-front-inquiry-buttons .wsa-btn { width:100%; }
}


/* V002 2.4.10 – saubere Darstellung der Lieferanfrage bei Bestand 0 */
.wsa-stock-status > span {
  display:block;
}
.wsa-stock-delivery {
  margin-top:3px;
  font-weight:700;
  line-height:1.3;
}
.wsa-stock-delivery[hidden] {
  display:none !important;
}

.wsa-product-card.is-sold-out {
  min-height:340px;
}
.wsa-product-card.is-sold-out .wsa-product-media {
  min-height:340px;
}
.wsa-product-card.is-sold-out .wsa-product-body {
  padding-bottom:205px;
}
.wsa-product-card.is-sold-out .wsa-price {
  bottom:166px;
}
.wsa-product-card.is-sold-out .wsa-stock-status {
  left:18px;
  right:18px;
  bottom:116px;
  line-height:1.3;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row {
  left:18px;
  right:18px;
  bottom:12px;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  align-items:stretch;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row label {
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:auto 70px;
  align-items:center;
  justify-content:start;
  gap:8px;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row label > span {
  margin:0;
  line-height:1.2;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row input {
  width:70px;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row .wsa-btn {
  width:100%;
  min-height:42px;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

@media (max-width:700px) {
  .wsa-product-card.is-sold-out {
    min-height:360px;
  }
  .wsa-product-card.is-sold-out .wsa-product-media {
    min-height:360px;
  }
  .wsa-product-card.is-sold-out .wsa-product-body {
    padding-bottom:210px;
  }
  .wsa-product-card.is-sold-out .wsa-price {
    right:14px;
    bottom:170px;
  }
  .wsa-product-card.is-sold-out .wsa-stock-status {
    left:14px;
    right:14px;
    bottom:118px;
  }
  .wsa-product-card.is-sold-out .wsa-inquiry-row {
    left:14px;
    right:14px;
  }
}


/* V002 2.4.11 – Bestand-0-Karten ohne Überlagerungen */
/* Verborgene Bestellzeilen müssen trotz eigener display-Regeln wirklich verschwinden. */
.wsa-buy-row[hidden],
.wsa-inquiry-row[hidden] {
  display:none !important;
}

/* Der alte Bildhinweis "Auf Anfrage" entfällt; es gibt nur noch die Lieferanfrage im Kartenfuß. */
.wsa-product-card.is-sold-out .wsa-product-media::after {
  content:none !important;
  display:none !important;
}

/* Bestand-0-Karten: Preis, Lieferstatus, Menge und Button laufen im normalen Dokumentfluss. */
.wsa-product-card.is-sold-out {
  min-height:270px;
}
.wsa-product-card.is-sold-out .wsa-product-media {
  min-height:270px;
}
.wsa-product-card.is-sold-out .wsa-product-body {
  display:flex;
  flex-direction:column;
  padding:18px;
  min-height:270px;
}
.wsa-product-card.is-sold-out .wsa-price {
  position:static;
  order:20;
  align-self:flex-end;
  margin-top:auto;
  padding-top:12px;
}
.wsa-product-card.is-sold-out .wsa-stock-status {
  position:static;
  order:30;
  margin-top:10px;
  line-height:1.35;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row {
  position:static;
  order:40;
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  align-items:stretch;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row label {
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:auto 70px;
  align-items:center;
  justify-content:start;
  gap:8px;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row label > span {
  margin:0;
  line-height:1.2;
  white-space:nowrap;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row input {
  width:70px;
}
.wsa-product-card.is-sold-out .wsa-inquiry-row .wsa-btn {
  width:100%;
  min-height:42px;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

@media (max-width:700px) {
  .wsa-product-card.is-sold-out {
    min-height:0;
  }
  .wsa-product-card.is-sold-out .wsa-product-media {
    min-height:230px;
  }
  .wsa-product-card.is-sold-out .wsa-product-body {
    min-height:0;
    padding:16px 14px;
  }
  .wsa-product-card.is-sold-out .wsa-price {
    padding-top:10px;
  }
  .wsa-product-card.is-sold-out .wsa-stock-status,
  .wsa-product-card.is-sold-out .wsa-inquiry-row {
    margin-top:9px;
  }
}


/* V002 2.4.14 – Produktbilder vollständig anzeigen */
.wsa-product-media {
  background:#fff;
}
.wsa-product-media img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  box-sizing:border-box;
  padding:6px;
  background:#fff;
}
@media (max-width:700px) {
  .wsa-product-media img {
    padding:4px;
  }
}

/* V002 2.4.16 – ruhige, überlagerungsfreie Darstellung des öffentlichen Katalogs */
/* Admin-Katalog und Preisbearbeitung bleiben bewusst unverändert. */
.wsa-app:not(.wsa-admin-app) .wsa-catalog {
  grid-template-columns:repeat(auto-fit,minmax(520px,1fr));
  gap:22px;
  align-items:stretch;
}

.wsa-app:not(.wsa-admin-app) .wsa-product-card {
  grid-template-columns:210px minmax(0,1fr);
  min-height:300px;
  border-radius:18px;
  box-shadow:0 5px 20px rgba(20,50,42,.055);
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.wsa-app:not(.wsa-admin-app) .wsa-product-card:hover {
  border-color:#c8d4cd;
  box-shadow:0 9px 28px rgba(20,50,42,.09);
  transform:translateY(-1px);
}

.wsa-app:not(.wsa-admin-app) .wsa-product-media {
  min-height:300px;
  background:#fff;
  padding:10px;
}
.wsa-app:not(.wsa-admin-app) .wsa-product-media img {
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
  padding:0;
  background:#fff;
}

/* Auch bei Bestand 0 bleibt das Produktbild klar sichtbar. */
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-product-media {
  opacity:1;
  filter:none;
}

/* Karteninhalt im normalen Dokumentfluss: kein Überdecken langer Texte. */
.wsa-app:not(.wsa-admin-app) .wsa-product-body,
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-product-body {
  display:flex;
  flex-direction:column;
  min-height:300px;
  padding:20px;
}
.wsa-app:not(.wsa-admin-app) .wsa-product-card h3 {
  margin:10px 0 9px;
  font-size:20px;
  line-height:1.22;
}
.wsa-app:not(.wsa-admin-app) .wsa-description {
  margin-bottom:14px;
  line-height:1.5;
}

.wsa-app:not(.wsa-admin-app) .wsa-stock-status,
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-stock-status {
  position:static;
  order:20;
  left:auto;
  right:auto;
  bottom:auto;
  margin-top:auto;
  padding-top:14px;
  font-size:12px;
  line-height:1.35;
}

.wsa-app:not(.wsa-admin-app) .wsa-price,
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-price {
  position:static;
  order:30;
  align-self:flex-end;
  right:auto;
  bottom:auto;
  margin-top:8px;
  padding:0;
  font-size:24px;
  line-height:1.05;
}

.wsa-app:not(.wsa-admin-app) .wsa-buy-row,
.wsa-app:not(.wsa-admin-app) .wsa-inquiry-row,
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-inquiry-row {
  position:static;
  order:40;
  left:auto;
  right:auto;
  bottom:auto;
  margin-top:12px;
}

.wsa-app:not(.wsa-admin-app) .wsa-buy-row {
  display:flex;
  align-items:flex-end;
  gap:10px;
}
.wsa-app:not(.wsa-admin-app) .wsa-buy-row[hidden],
.wsa-app:not(.wsa-admin-app) .wsa-inquiry-row[hidden] {
  display:none !important;
}

.wsa-app:not(.wsa-admin-app) .wsa-inquiry-row,
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-inquiry-row {
  display:flex;
  align-items:flex-end;
  gap:10px;
}
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-inquiry-row label {
  width:auto;
  min-width:70px;
  display:flex;
  grid-template-columns:none;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:4px;
}
.wsa-app:not(.wsa-admin-app) .wsa-inquiry-row .wsa-btn,
.wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-inquiry-row .wsa-btn {
  flex:1;
  width:auto;
}

@media (max-width:1180px) {
  .wsa-app:not(.wsa-admin-app) .wsa-catalog {
    grid-template-columns:1fr;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-product-card {
    grid-template-columns:230px minmax(0,1fr);
  }
}

@media (max-width:700px) {
  .wsa-app:not(.wsa-admin-app) .wsa-catalog {
    gap:16px;
    padding-top:18px;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-product-card,
  .wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out {
    grid-template-columns:1fr;
    min-height:0;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-product-media,
  .wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-product-media {
    min-height:230px;
    height:230px;
    border-right:0;
    border-bottom:1px solid var(--wsa-line);
    padding:12px;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-product-body,
  .wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-product-body {
    min-height:0;
    padding:16px 15px 17px;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-product-card h3 {
    font-size:19px;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-price,
  .wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-price {
    font-size:22px;
  }
  .wsa-app:not(.wsa-admin-app) .wsa-buy-row,
  .wsa-app:not(.wsa-admin-app) .wsa-inquiry-row,
  .wsa-app:not(.wsa-admin-app) .wsa-product-card.is-sold-out .wsa-inquiry-row {
    margin-top:10px;
  }
}


/* V002 2.4.17 – Versionsanzeige im grünen Admin-Kopf */
.wsa-admin-app .wsa-hero h1 .wsa-admin-version {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.42em;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.82;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .wsa-admin-app .wsa-hero h1 .wsa-admin-version {
    margin-left: 6px;
    font-size: 0.38em;
  }
}


/* V002 2.4.21 – vereinfachte Kundenkategorien + Kennzeichen „Leicht gewürzt“ */
.wsa-app:not(.wsa-admin-app) .wsa-mild-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:24px;
  padding:3px 8px;
  border:1px solid #d7a83f;
  border-radius:999px;
  background:#fff3c9;
  color:#714700;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}
.wsa-app:not(.wsa-admin-app) .wsa-mild-dot {
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-radius:50%;
  background:#d39a16;
  box-shadow:0 0 0 2px rgba(211,154,22,.16);
}


/* V002 2.4.25 – internes Bestellmengenfeld im Admin-Katalog */
.wsa-admin-app .wsa-order-input input[type="number"] {
  border-color:#c7b76b;
  background:#fffdf2;
}
.wsa-admin-app .wsa-order-input > span {
  color:#6e5b13;
}


/* V002 2.4.28 – harte Aktivierungssperre bei VK 0,00 EUR */
.wsa-product-card.is-admin-zero-vk .wsa-online-toggle {
  opacity:.5;
  cursor:not-allowed;
}
.wsa-zero-price-warning {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 8px;
  border-radius:999px;
  background:#fff4d8;
  border:1px solid #e2c36e;
  color:#7a5600;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.wsa-zero-price-warning[hidden] {
  display:none !important;
}
