/* 28er Projects - Warenkorb (22.10.2026). Farben aus dem Shop-Design (--sd-a, --surface, --text ...). */
.wk-nav { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; margin-right: 8px;
  border-radius: var(--nav-klein, var(--sd-r-klein, 9px)); border: 1px solid var(--line, rgba(255,255,255,.1)); background: var(--surface-strong, #1a1d27);
  color: var(--text, #eef2ff); font-family: inherit; font-weight: 700; font-size: .9rem; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s; }
.wk-nav svg { width: 20px; height: 20px; }
.wk-nav:hover { border-color: var(--sd-a, #3b82f6); color: var(--sd-a2, #22d3ee); }
/* 22.10.2026: in der Kopfleiste links neben Anmelden/Konto, gleiche Rundung und Farben wie die Kopfleiste */
nav .wk-nav-leiste { width: 42px; padding: 0; justify-content: center; margin: 0 -10px 0 0; flex: none; }
nav .wk-nav-leiste:hover { border-color: rgba(var(--nav-a-rgb, 59, 130, 246), .45); background: rgba(var(--nav-a-rgb, 59, 130, 246), .10); color: var(--text, #eef2ff); }
nav .wk-nav-leiste .wk-zahl { background: linear-gradient(120deg, var(--nav-a, #3b82f6), var(--nav-a2, #22d3ee)); color: #fff; }
.wk-nav-leiste .wk-nav-text { display: none; }
.wk-nav-mobil { width: 100%; justify-content: flex-start; height: 44px; margin: 8px 0 0; }
.wk-zahl { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--sd-a, #3b82f6); color: var(--sd-knopftext, #0a0f1c); font-family: inherit; font-weight: 800; font-size: .72rem; line-height: 19px; text-align: center; }
.wk-nav-mobil .wk-zahl { position: static; margin-left: auto; }

.wk-hinten, .wk-fenster-hinten { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); z-index: 1000; }
.wk-hinten[hidden], .wk-fenster-hinten[hidden] { display: none; }
html.wk-offen { overflow: hidden; }
.wk-leiste { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 1001; display: flex; flex-direction: column;
  background: var(--bg, #0b0d14); color: var(--text, #eef2ff); border-left: 1px solid var(--line, rgba(255,255,255,.1));
  box-shadow: -20px 0 50px rgba(0,0,0,.45); transform: translateX(105%); transition: transform .25s ease; }
.wk-leiste.offen { transform: none; }
.wk-kopf { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line, rgba(255,255,255,.1)); }
.wk-kopf h2 { margin: 0; font-size: 1.15rem; letter-spacing: .02em; }
.wk-zu { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted, #9aa3b5); font-size: 1rem; cursor: pointer; }
.wk-zu:hover { color: #f43f5e; background: rgba(244,63,94,.1); }
.wk-inhalt { flex: 1; overflow-y: auto; padding: 12px 20px; }
.wk-fuss { padding: 14px 20px 20px; border-top: 1px solid var(--line, rgba(255,255,255,.1)); display: grid; gap: 8px; }
.wk-leer { color: var(--muted, #9aa3b5); text-align: center; padding: 26px 0 10px; margin: 0; }

.wk-zeile { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); }
.wk-bild { width: 64px; height: 40px; border-radius: var(--sd-r-klein, 8px); overflow: hidden; background: var(--surface, #141824); display: block; }
.wk-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-text { display: grid; gap: 2px; min-width: 0; }
.wk-name { color: var(--text, #eef2ff); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-name:hover { color: var(--sd-a2, #22d3ee); }
.wk-preis { color: var(--muted, #9aa3b5); font-size: .88rem; font-weight: 700; }
.wk-preis s { opacity: .7; font-weight: 500; }
.wk-weg { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted, #9aa3b5); cursor: pointer; }
.wk-weg:hover { color: #f43f5e; background: rgba(244,63,94,.1); }
.wk-dazu { height: 30px; padding: 0 10px; border-radius: var(--sd-r-klein, 8px); border: 1px solid var(--sd-a, #3b82f6); background: transparent;
  color: var(--sd-a, #3b82f6); font-weight: 800; font-size: .8rem; cursor: pointer; white-space: nowrap; }
.wk-dazu:hover { background: var(--sd-a, #3b82f6); color: var(--sd-knopftext, #0a0f1c); }
.wk-dazu-titel { margin: 18px 0 2px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #9aa3b5); }
.wk-haken { color: #4ade80; font-weight: 900; font-size: 1.1rem; padding: 0 6px; }
.wk-aktion { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 999px; background: rgba(244,63,94,.14); color: #fb7185;
  font-size: .74rem; font-weight: 800; }
.wk-aktion.gross { margin: 6px 0 0; font-size: .82rem; }

.wk-gutschein { display: flex; gap: 8px; }
.wk-gutschein input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--sd-r-klein, 8px); border: 1px solid var(--line, rgba(255,255,255,.12));
  background: var(--surface, #141824); color: var(--text, #eef2ff); font: inherit; text-transform: none; }
.wk-gutschein input:focus { outline: none; border-color: var(--sd-a, #3b82f6); }
.wk-gutschein button { height: 40px; padding: 0 14px; border-radius: var(--sd-r-klein, 8px); border: 1px solid var(--line, rgba(255,255,255,.12));
  background: var(--surface-strong, #1a1d27); color: var(--text, #eef2ff); font-weight: 800; cursor: pointer; }
.wk-ghinweis { margin: 0; min-height: 1em; font-size: .82rem; color: #4ade80; }
.wk-ghinweis.schlecht { color: #fb7185; }
.wk-summe { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted, #9aa3b5); }
.wk-summe.gut { color: #4ade80; }
.wk-summe.gesamt { color: var(--text, #eef2ff); font-size: 1.2rem; padding-top: 6px; border-top: 1px solid var(--line, rgba(255,255,255,.08)); }
.wk-klein { margin: 0; font-size: .76rem; line-height: 1.45; color: var(--muted, #9aa3b5); }

.wk-knopf { display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 18px; border-radius: var(--sd-r-klein, 9px); border: 0;
  background: linear-gradient(135deg, var(--sd-a, #3b82f6), var(--sd-a2, #22d3ee)); color: var(--sd-knopftext, #0a0f1c);
  font-family: inherit; font-weight: 800; font-size: .95rem; line-height: 1; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.wk-knopf:hover { filter: brightness(1.08); transform: translateY(-1px); }
.wk-knopf.zweit { background: transparent; color: var(--text, #eef2ff); border: 1px solid var(--line, rgba(255,255,255,.14)); }
.wk-knopf.zweit:hover { border-color: var(--sd-a, #3b82f6); }

.wk-fenster-hinten { display: grid; place-items: center; padding: 16px; z-index: 1002; }
.wk-fenster { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 22px 18px; border-radius: var(--sd-r, 14px);
  background: var(--bg, #0b0d14); color: var(--text, #eef2ff); border: 1px solid var(--line, rgba(255,255,255,.12)); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.wk-fenster h3 { margin: 0 34px 10px 0; font-size: 1.15rem; }
.wk-fenster .wk-zu { position: absolute; top: 14px; right: 14px; }
.wk-fenster p { color: var(--muted, #9aa3b5); line-height: 1.5; }
.wk-fenster code { background: var(--surface, #141824); padding: 1px 5px; border-radius: 4px; }
.wk-frage { margin: 16px 0 0; color: var(--text, #eef2ff) !important; font-weight: 800; }
.wk-fenster-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.wk-fenster-knoepfe .wk-knopf:only-child { grid-column: 1 / -1; }

.wk-seite-knopf, .wk-karte-knopf { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 800; transition: all .15s; }
.wk-seite-knopf { width: 100%; height: 46px; margin-top: 10px; border-radius: var(--sd-r-klein, 9px); border: 1px solid var(--sd-a, #3b82f6);
  background: transparent; color: var(--sd-a, #3b82f6); font-size: .95rem; }
.wk-seite-knopf svg, .wk-karte-knopf svg { width: 18px; height: 18px; }
.wk-seite-knopf:hover { background: var(--sd-a, #3b82f6); color: var(--sd-knopftext, #0a0f1c); }
.wk-karte-knopf { width: 100%; height: 36px; margin-top: 8px; border-radius: var(--sd-r-klein, 9px); border: 1px solid var(--line, rgba(255,255,255,.14));
  background: transparent; color: var(--text, #eef2ff); font-size: .84rem; }
.wk-karte-knopf:hover { border-color: var(--sd-a, #3b82f6); color: var(--sd-a2, #22d3ee); }
.wk-seite-knopf.drin, .wk-karte-knopf.drin { border-color: #4ade80; color: #4ade80; }
.sk-fuss .wk-aktion { margin-top: 6px; }

@media (max-width: 860px) { nav .wk-nav-leiste { width: 44px; height: 44px; margin: 0; } }
@media (min-width: 861px) { .wk-nav-mobil { display: none; } }
@media (max-width: 420px) { .wk-fenster-knoepfe { grid-template-columns: 1fr; } }
/* 22.10.2026: Creator Code */
.wk-creator { margin-top: 2px; }
.wk-creator input { flex: 1; }
/* 22.10.2026: Hinzufügen und Upselling im Seitenfenster rechts (kein Fenster in der Mitte mehr) */
.wk-neu { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--sd-r-klein, 8px);
  background: rgba(var(--sd-a-rgb, 59, 130, 246), .12); border: 1px solid rgba(var(--sd-a-rgb, 59, 130, 246), .35); font-weight: 700; font-size: .9rem; }
.wk-neu b { color: var(--sd-a2, #22d3ee); }
.wk-angebot { margin: 0 0 14px; padding: 12px; border-radius: var(--sd-r, 12px); border: 1px solid rgba(var(--sd-a2-rgb, 34, 211, 238), .45);
  background: rgba(var(--sd-a2-rgb, 34, 211, 238), .07); }
.wk-angebot h4 { margin: 0 0 4px; font-size: 1rem; }
.wk-angebot p { margin: 0 0 6px; color: var(--muted, #9aa3b5); font-size: .85rem; }
.wk-angebot .wk-zeile:last-of-type { border-bottom: 0; }
.wk-gutschein input::placeholder { text-transform: none; }

/* 22.10.2026: Kassen-Seite /shop/kasse/ */
.ks-seite { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding-top: 110px; padding-bottom: 70px; }
.ks-titel { text-align: center; margin: 10px 0 28px; }
.ks-titel h1 { margin: 0; font-family: "Poppins", "Segoe UI", sans-serif; font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); }
.ks-titel p { margin: 6px 0 0; color: var(--muted, #9aa3b5); }
.ks-raster { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.ks-links { display: grid; gap: 18px; min-width: 0; }
.ks-karte { background: var(--surface, #141824); border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: var(--sd-r, 14px);
  box-shadow: 0 14px 34px rgba(0,0,0,.32); padding: 20px 22px; min-width: 0; }
.ks-leer { grid-column: 1 / -1; text-align: center; display: grid; gap: 10px; justify-items: center; padding: 40px 22px; }
.ks-leer h2 { margin: 0; }
.ks-leer .wk-knopf { width: auto; padding: 0 22px; }
.ks-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: -2px 0 14px; }
.ks-kopf h2 { margin: 0; font-family: "Poppins", "Segoe UI", sans-serif; font-size: 1.15rem; font-weight: 900; }
.ks-kopf span { color: var(--muted, #9aa3b5); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ks-liste { display: grid; }
.ks-zeile { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 34px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line, rgba(255,255,255,.08)); }
.ks-bild { display: block; width: 76px; aspect-ratio: 16 / 9; border-radius: var(--sd-r-klein, 8px); overflow: hidden; background: rgba(127,127,127,.15); }
.ks-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-text { display: grid; gap: 2px; min-width: 0; }
.ks-text a { color: var(--text, #eef2ff); font-weight: 800; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-text a:hover { color: var(--sd-a2, #22d3ee); }
.ks-sale { color: var(--sd-rabatt-hell, #f87171); font-weight: 800; font-size: .76rem; }
.ks-preis { display: grid; justify-items: end; font-weight: 900; white-space: nowrap; }
.ks-preis s { color: var(--muted, #9aa3b5); font-weight: 700; font-size: .8rem; }
.ks-weg { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted, #9aa3b5); cursor: pointer; font-size: 1rem; }
.ks-weg:hover { background: rgba(127,127,127,.15); color: var(--text, #eef2ff); }
.ks-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line, rgba(255,255,255,.08)); }
.ks-knopf2 { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line, rgba(255,255,255,.14));
  background: transparent; color: var(--text, #eef2ff); font-family: inherit; font-weight: 800; font-size: .88rem; text-decoration: none; cursor: pointer; }
.ks-knopf2:hover { border-color: var(--sd-a, #3b82f6); }
.ks-knopf2.rot { color: var(--sd-rabatt-hell, #f87171); border-color: rgba(220, 38, 38, .4); background: rgba(220, 38, 38, .08); }
.ks-feld { display: flex; gap: 10px; }
.ks-feld input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: var(--sd-r-klein, 9px); border: 1px solid var(--line, rgba(255,255,255,.14));
  background: var(--bg, #0b0e16); color: var(--text, #eef2ff); font: inherit; }
.ks-feld input:focus { outline: none; border-color: var(--sd-a, #3b82f6); }
.ks-feld button { height: 46px; padding: 0 20px; border-radius: var(--sd-r-klein, 9px); border: 1px solid var(--line, rgba(255,255,255,.14));
  background: var(--surface-strong, #1b2030); color: var(--text, #eef2ff); font-weight: 800; cursor: pointer; }
.ks-feld button:hover { border-color: var(--sd-a, #3b82f6); }
.ks-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ks-chip { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 12px; border-radius: 999px; font-weight: 800; font-size: .86rem;
  background: rgba(var(--sd-a-rgb, 59, 130, 246), .14); border: 1px solid rgba(var(--sd-a-rgb, 59, 130, 246), .45); }
.ks-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1rem; padding: 0 6px; opacity: .7; }
.ks-hinweis { margin: 10px 0 0; color: var(--muted, #9aa3b5); font-size: .84rem; line-height: 1.5; }
.ks-link { border: 0; background: none; padding: 0; color: var(--sd-a2, #22d3ee); text-decoration: underline; cursor: pointer; font: inherit; }
.ks-rechts { position: sticky; top: 100px; display: grid; gap: 4px; }
.ks-summe { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); color: var(--muted, #9aa3b5); }
.ks-summe span:last-child { color: var(--text, #eef2ff); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.ks-summe.gut span:last-child { color: var(--sd-gut, #22c55e); }
.ks-summe.gesamt { border-bottom: 0; padding-top: 16px; color: var(--text, #eef2ff); font-weight: 900; font-size: 1.1rem; }
.ks-summe.gesamt span:last-child { font-size: 1.7rem; color: var(--sd-a2, #22d3ee); font-family: "Poppins", "Segoe UI", sans-serif; font-weight: var(--sd-fw-preis, 900); }
.ks-summe.gesamt span:first-child { font-family: "Poppins", "Segoe UI", sans-serif; }
.ks-preis b { font-family: "Poppins", "Segoe UI", sans-serif; }
.wk-summe.gesamt span:last-child { font-family: "Poppins", "Segoe UI", sans-serif; font-weight: var(--sd-fw-preis, 900); }
.ks-bezahlen { margin-top: 12px; height: 56px; border: 0; border-radius: var(--sd-r-klein, 10px); cursor: pointer; font: 900 1.05rem "Poppins", "Segoe UI", sans-serif;
  background: linear-gradient(120deg, var(--sd-a, #3b82f6), var(--sd-a2, #22d3ee)); color: var(--sd-knopftext, #0a0f1c); box-shadow: 0 10px 26px rgba(var(--sd-a-rgb, 59,130,246), .35); }
.ks-bezahlen:hover { transform: translateY(-1px); }
.ks-info { margin-top: 12px; padding: 12px 14px; border-radius: var(--sd-r-klein, 10px); border: 1px solid var(--line, rgba(255,255,255,.1)); background: rgba(127,127,127,.06);
  color: var(--muted, #9aa3b5); font-size: .84rem; line-height: 1.5; }
.ks-info b { color: var(--text, #eef2ff); }
.ks-sicher { margin: 10px 0 0; text-align: center; color: var(--muted, #9aa3b5); font-size: .8rem; }
@media (max-width: 900px) {
  .ks-raster { grid-template-columns: 1fr; }
  .ks-rechts { position: static; }
}
@media (max-width: 560px) {
  .ks-zeile { grid-template-columns: 60px minmax(0, 1fr) 30px; }
  .ks-bild { width: 60px; }
  .ks-preis { grid-column: 2; justify-items: start; }
  .ks-weg { grid-row: 1; grid-column: 3; }
  .ks-feld { flex-direction: column; }
}
a.wk-knopf { text-decoration: none; }

/* 22.10.2026: Einzelposten in der Bestellübersicht */
.ks-posten { display: grid; gap: 8px; padding: 4px 0 12px; border-bottom: 1px dashed var(--line, rgba(255,255,255,.18)); }
.ks-posten-zeile { display: flex; justify-content: space-between; gap: 12px; }
.ks-posten-zeile span:first-child { color: var(--text, #eef2ff); min-width: 0; overflow-wrap: anywhere; }
.ks-posten-zeile span:last-child { white-space: nowrap; font-weight: 700; }
.ks-posten-zeile s { color: var(--muted, #9aa3b5); font-weight: 400; font-size: .85em; margin-right: 4px; }

/* 22.10.2026: kurzer Hinweis nach "+ Warenkorb" (statt Seitenleiste) */
.wk-hinweis { position: fixed; left: 50%; bottom: 22px; z-index: 1200; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: calc(100% - 24px);
  padding: 12px 14px 12px 18px; border-radius: var(--sd-r, 14px); background: var(--surface, #141824); border: 1px solid rgba(var(--sd-a-rgb, 59, 130, 246), .5);
  box-shadow: 0 18px 44px rgba(0,0,0,.5); color: var(--text, #eef2ff); transform: translate(-50%, 140%); opacity: 0; transition: transform .25s, opacity .25s; pointer-events: none; }
.wk-hinweis.an { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.wk-hinweis a { padding: 8px 14px; border-radius: var(--sd-r-klein, 9px); background: linear-gradient(120deg, var(--sd-a, #3b82f6), var(--sd-a2, #22d3ee));
  color: var(--sd-knopftext, #0a0f1c); font-weight: 800; text-decoration: none; white-space: nowrap; }

/* 20.11.2026: Kleiner Flug ins Warenkorb-Symbol. Beim Klick loest sich das
   Produktbild kurz aus der Seite, macht einen Bogen nach oben rechts und
   verschwindet im Korb - der Korb stupst einmal nach. Wer Bewegung abgestellt
   hat (prefers-reduced-motion), bekommt nichts davon zu sehen.
   Small fly-to-cart animation; skipped for reduced motion. */
.wk-flug {
    position: fixed; z-index: 3000; pointer-events: none;
    border-radius: 14px; overflow: hidden;
    background-size: cover; background-position: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
    will-change: transform, opacity;
}
.wk-flug.leer {
    display: grid; place-items: center;
    background: linear-gradient(130deg, var(--sd-a, #3b82f6), var(--sd-a2, #22d3ee));
    color: var(--sd-knopftext, #0a0f1c);
    font-family: "Poppins", "Segoe UI", sans-serif; font-weight: 900; font-size: 1.1rem;
    border-radius: 999px;
}
.wk-nav.wk-stups { animation: wkStups .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes wkStups {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.22); }
    65%  { transform: scale(.94); }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .wk-flug { display: none; }
    .wk-nav.wk-stups { animation: none; }
}
