/* ============================================================
   STERI24 — Kategorie "Zubehör" (ID 3): externes CSS
   GENERIERT von scratchpad/build_zubehoer.py — nicht editieren.
   Quelle: zub_data.py + build_zubehoer.py. Upload nach /media/css/kategorie-zubehoer.css im Shop.
   Grund fuer Auslagerung: mit allen Artikeln sprengte das inline <style>
   das 65.535-Byte-TEXT-Feldlimit von Gambio (description+descriptionBottom
   kombiniert). CSS extern -> in beiden Feldern nur noch ein <link>.
   ============================================================ */
.s24zub-wrap { width:100%; max-width:100%; box-sizing:border-box !important; }
@media (max-width:767px){ .s24zub-wrap { padding-left:8px !important; padding-right:8px !important; } }
.s24zub, .s24zub *, .s24zub *::before, .s24zub *::after { box-sizing:border-box; margin:0; padding:0; }
.s24zub { font-family:"Fira Sans",Arial,sans-serif; color:#1a1a1a; }
#main .s24zub .s24zub-head__title, .s24zub .s24zub-head__title { text-align:center !important; font-weight:700 !important; text-transform:none !important; }
.s24zub-head__title { font-size:clamp(22px,3vw,30px); font-weight:700; letter-spacing:-.02em; color:#1a1a1a; line-height:1.15; }

/* ============================================================
   Filter-Shell .s24zbf — 1:1 Stil-/Verhaltens-Uebernahme von .s24ktf der
   Autoklav-Kategorien: Mobil eingeklappt hinter rotem Pill-Button (Bottom-
   Sheet), Desktop eingeklappt hinter weisser Zusammenfassungs-Bar (Panel
   klappt darunter auf). Chips/Boxen bleiben .s24zub-chip/.s24zub-box.
   ============================================================ */
.s24zbf { margin:0 0 22px; }
.s24zbf .s24zub-head__title { margin:10px auto 18px !important; }
.s24zbf__bar { background:#f4f4f5; border:1px solid #dcdcdc; border-radius:14px; padding:20px 22px; }
.s24zbf__toggle, .s24zbf__sheethead, .s24zbf__sheetfoot, .s24zbf__mobsum { display:none; }
.s24zbf__groups { display:grid; grid-template-columns:repeat(2,1fr); align-items:start; gap:24px 26px; }
.s24zbf__group { border:0; margin:0; padding:0 0 0 22px; border-left:2px solid #d8d8d9; min-width:0; }
.s24zbf__lbl { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; font:800 14px/1.4 "Fira Sans",Arial,sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#5f5f5f; margin:0 0 10px; padding:0; float:none; cursor:pointer; user-select:none; }
.s24zbf__lblmeta { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.s24zbf__lblbadge { display:inline-flex; align-items:center; justify-content:center; min-width:19px; height:19px; padding:0 5px; border-radius:999px; background:#A30027; color:#fff; font:800 11px/1 "Fira Sans",Arial,sans-serif; letter-spacing:0; }
.s24zbf__lblbadge[hidden] { display:none; }
.s24zbf__lbl:focus-visible { outline:2px solid #A30027; outline-offset:3px; border-radius:3px; }
.s24zbf__grpchev { width:13px; height:13px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:2.6; transition:transform .15s; }
.s24zbf__group.is-open .s24zbf__grpchev { transform:rotate(180deg); }
.s24zbf__group:not(.is-open) .s24zub-filter__chips { display:none; }
.s24zub-filter__chips { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; min-width:0; }
.s24zbf__foot { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:18px; padding:0 4px; border:0; }
.s24zbf__count { margin:0; padding:0; font:800 17px/1.35 "Fira Sans",Arial,sans-serif; letter-spacing:-.01em; color:#1a1a1a; }
.s24zbf__reset { display:none; align-items:center; gap:7px; margin-left:auto; padding:9px 15px; font:700 14.5px/1 "Fira Sans",Arial,sans-serif; color:#A30027; background:#fff; border:1.5px solid #A30027; border-radius:9px; cursor:pointer; text-decoration:none; }
.s24zbf__reset svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; }
.s24zbf__reset:hover { background:#A30027; color:#fff; }
.s24zbf.is-filtered .s24zbf__reset { display:inline-flex; }
.s24zbf__reset:focus-visible { outline:2px solid #A30027; outline-offset:3px; border-radius:4px; }

@media (max-width:767px) {
  .s24zbf { margin-bottom:20px; }
  .s24zbf .s24zub-head__title { margin:8px auto 14px !important; }
  .s24zbf__bar { padding:0 0 1px; background:transparent; border:0; }
  .s24zbf__toggle { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:52px; padding:0 16px; border:2px solid #A30027; border-radius:11px; background:#fff; font:700 16.5px/1 "Fira Sans",Arial,sans-serif; color:#A30027; cursor:pointer; box-shadow:0 2px 8px rgba(163,0,39,.12); }
  .s24zbf__toggle svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; }
  .s24zbf.is-filtered .s24zbf__toggle { border-color:#A30027; color:#A30027; }
  .s24zbf__mobsum { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0 0; padding-bottom:14px; }
  .s24zbf__mobsum .s24zbf__count { width:100%; font-size:14.5px; color:#4a4a4a; }
  .s24zbf__panel { position:fixed; left:0; right:auto; bottom:0; top:auto; z-index:9999; width:100vw; max-width:100vw; max-height:78vh; display:flex; flex-direction:column; overflow:hidden; background:#fff; border-radius:18px 18px 0 0; box-shadow:0 -8px 40px rgba(0,0,0,.28); transform:translateY(101%); transition:transform .26s ease; padding:0; }
  .s24zbf.is-open .s24zbf__panel { transform:translateY(0); }
  .s24zbf__backdrop { position:fixed; left:0; top:0; width:100vw; height:100%; z-index:9998; background:rgba(20,20,20,.45); opacity:0; visibility:hidden; transition:opacity .26s ease,visibility .26s; }
  .s24zbf.is-open .s24zbf__backdrop { opacity:1; visibility:visible; }
  .s24zbf__groups::-webkit-scrollbar { width:6px; }
  .s24zbf__groups::-webkit-scrollbar-thumb { background:#cfcfcf; border-radius:3px; }
  .s24zbf__sheethead { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:20px 20px 14px !important; border-bottom:1px solid #eee; font:800 17px/1.2 "Fira Sans",Arial,sans-serif; color:#1a1a1a; flex:0 0 auto; }
  .s24zbf__close { flex:0 0 auto; width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:50%; background:#f2f2f2; cursor:pointer; padding:0; margin-right:-2px; }
  .s24zbf__close svg { width:14px; height:14px; stroke:#555; stroke-width:2.6; fill:none; }
  .s24zbf__groups { display:block; grid-template-columns:none; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#c9c9c9 transparent; padding:16px 20px 28px !important; flex:1 1 auto; -webkit-overflow-scrolling:touch; min-height:0; }
  .s24zbf__group { margin-bottom:0; padding-left:0; padding-top:0; border-left:0; }
  .s24zbf__lbl { margin:0; padding:14px 2px; min-height:46px; font-size:13.5px; border-bottom:1px solid #e9e9e9; }
  .s24zbf__group.is-open .s24zbf__lbl { padding-bottom:10px; }
  .s24zbf__group.is-open .s24zub-filter__chips { padding-bottom:14px; }
  .s24zbf__grpchev { width:16px; height:16px; }
  .s24zub-filter__chips { grid-template-columns:minmax(0,1fr); gap:8px; }
  .s24zub-chip { min-height:50px; }
  .s24zbf__foot { display:none; }
  .s24zbf__sheetfoot { position:relative; display:flex; flex-direction:column; gap:6px; width:100%; padding:12px 20px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid #eee; background:#fff; box-shadow:0 -6px 18px rgba(0,0,0,.06); flex:0 0 auto; z-index:2; }
  .s24zbf__apply { width:100%; min-height:50px; border:0; border-radius:12px; background:#A30027; color:#fff; font:700 16px/1 "Fira Sans",Arial,sans-serif; cursor:pointer; }
  .s24zbf__apply[disabled] { background:#c9c9c9; cursor:default; }
  .s24zbf__sheetreset { display:block; width:100%; min-height:40px; padding:8px 6px; border:0; background:transparent; color:#b9b9b9; font:600 14.5px/1.2 "Fira Sans",Arial,sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:default; pointer-events:none; }
  .s24zbf.is-filtered .s24zbf__sheetreset { color:#A30027; cursor:pointer; pointer-events:auto; }
}
@media (min-width:768px) {
  .s24zbf__backdrop { display:none !important; }
  .s24zbf__panel { display:none; }
  .s24zbf.is-open .s24zbf__panel { display:block; }
  .s24zbf__dsum { display:flex; align-items:center; gap:18px; width:100%; padding:14px 18px; border:1.5px solid #dcdcdc; border-radius:12px; background:#fff; cursor:pointer; text-align:left; transition:border-color .15s,box-shadow .15s; }
  .s24zbf__dsum:hover { border-color:#A30027; box-shadow:0 2px 10px rgba(20,20,20,.07); }
  .s24zbf__dsum:focus-visible { outline:2px solid #A30027; outline-offset:2px; }
  .s24zbf.is-open .s24zbf__dsum { border-color:#A30027; border-bottom-left-radius:0; border-bottom-right-radius:0; margin-bottom:-1px; }
  .s24zbf__dsumitems { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; flex:1 1 auto; min-width:0; }
  .s24zbf__dsumitem { display:flex; flex-direction:column; gap:3px; min-width:0; }
  .s24zbf__dsumitem b { font:700 11px/1.3 "Fira Sans",Arial,sans-serif; letter-spacing:.07em; text-transform:uppercase; color:#9a9a9a; }
  .s24zbf__dsumitem span { font:700 15px/1.3 "Fira Sans",Arial,sans-serif; color:#1a1a1a; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .s24zbf__dsumcta { display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; font:700 14px/1 "Fira Sans",Arial,sans-serif; color:#A30027; }
  .s24zbf__dsumcta svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.4; transition:transform .2s; }
  .s24zbf.is-open .s24zbf__dsumcta svg { transform:rotate(180deg); }
  .s24zbf.is-open .s24zbf__bar { background:#f4f4f5; border-color:#dcdcdc; }
  .s24zbf__bar { background:transparent; border:0; padding:0; }
  .s24zbf.is-open .s24zbf__panel { border:1.5px solid #A30027; border-top:1px solid #e6d3d8; border-radius:0 0 12px 12px; padding:20px 22px; background:#fafafa; }
}
@media (max-width:767px) { .s24zbf__dsum { display:none; } }
@media (prefers-reduced-motion:reduce) { .s24zbf__panel, .s24zbf__backdrop, .s24zbf__grpchev { transition:none; } }

/* ---- Chips (unveraendert aus der Vorversion) ---- */
.s24zub-chip { position:relative; overflow:hidden; display:flex; align-items:center; gap:11px; min-height:48px; width:100%; padding:8px 15px; border:1.5px solid #e0e0e0; border-radius:10px; background:#fff; cursor:pointer; font:600 16px/1.25 "Fira Sans",Arial,sans-serif; color:#333; user-select:none; transition:border-color .15s,background .15s,color .15s,box-shadow .15s; }
.s24zub-chip input { position:absolute !important; left:0 !important; top:0 !important; right:auto !important; bottom:auto !important; width:100% !important; height:100% !important; margin:0 !important; padding:0 !important; border:0 !important; opacity:0 !important; -webkit-appearance:none; appearance:none; cursor:pointer; z-index:1; }
.s24zub-chip > * { position:relative; z-index:2; }
.s24zub-box { position:relative; z-index:0; display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; min-width:22px; border:1.5px solid #c4c4c4; border-radius:5px; background:#fff; box-sizing:border-box; transition:background .15s,border-color .15s; flex:0 0 auto; }
.s24zub-box svg { width:14px; height:14px; stroke:#fff; stroke-width:3.6; fill:none; opacity:0; transition:opacity .15s; }
.s24zub-chip:hover { border-color:#A30027; background:#fdf7f8; box-shadow:0 4px 10px rgba(20,20,20,.13); }
.s24zub-chip:has(input:focus-visible) { outline:2px solid #A30027; outline-offset:2px; }
.s24zub-chip input:checked + .s24zub-box { background:#A30027; border-color:#A30027; }
.s24zub-chip input:checked + .s24zub-box svg { opacity:1; }
.s24zub-chip:has(input:checked) { border-color:#A30027; background:#f7dde4; color:#1a1a1a; font-weight:700; box-shadow:0 0 0 2px #A30027 inset,0 4px 10px rgba(163,0,39,.22); }
.s24zub-chip input:focus-visible + .s24zub-box { box-shadow:0 0 0 3px rgba(163,0,39,.25); }
.s24zub-chip__n { margin-left:auto; color:#9a9a9a; font-weight:600; font-size:13px; }
.s24zub-chip:has(input:checked) .s24zub-chip__n { color:#8a4a5c; }

/* ---- Gruppen & Karten ---- */
.s24zub-group { margin:0 0 34px; }
.s24zub-group.is-empty { display:none; }
.s24zub-group__title { display:flex; align-items:center; gap:10px; font-size:19px; font-weight:800; letter-spacing:-.01em; color:#1a1a1a; margin:0 0 14px; padding-bottom:10px; border-bottom:2px solid #f0f0f0; }
.s24zub-group__n { font-size:13px; font-weight:700; line-height:1; color:#A30027; background:#fdf2f5; border-radius:999px; padding:3px 9px 2px; }
.s24zub-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }

/* ---- Karte: 3 unabhaengige Direkt-Kinder (media-link, body, cartform) ----
   Klare Hierarchie: Name -> Preis -> dezenter "Details ansehen"-Link -> EINE
   gruene Hauptaktion "Hinzufuegen". Kein verschachteltes <a> mehr um Bild+
   Body (frueher .s24zub-card__link) - dadurch auch auf Mobil kein
   display:contents-Workaround mehr noetig (s.u.). */
.s24zub-card { position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid #ececec; border-radius:14px; overflow:hidden; box-shadow:0 1px 2px rgba(20,20,20,.04); transition:box-shadow .2s,transform .2s,border-color .2s; }
.s24zub-card.is-hidden { display:none !important; }
.s24zub-card:hover { box-shadow:0 8px 22px rgba(20,20,20,.12); transform:translateY(-2px); border-color:rgba(163,0,39,.28); }
.s24zub-card__media { position:relative; display:block; aspect-ratio:1/1; background:#fff; border-bottom:1px solid #f0f0f0; overflow:hidden; }
.s24zub-card__media:focus-visible { outline:3px solid #A30027; outline-offset:-3px; }
/* object-fit:contain zeigt IMMER das komplette Foto ohne Zoom/Beschnitt -
   nur "fit", auch wenn dabei sichtbarer Leerraum im quadratischen bzw.
   kartenhohen Rahmen entsteht. */
.s24zub-card__img { display:block; width:100%; height:100%; object-fit:contain; }
.s24zub-card__noimgwrap { display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:#f4f4f5; }
.s24zub-card__noimgwrap svg { width:44px; height:44px; stroke:#b8b8b8; stroke-width:1.6; fill:none; }
.s24zub-card__badge { position:absolute; top:8px; left:8px; z-index:2; background:#A30027; color:#fff; font:800 12px/1 "Fira Sans",Arial,sans-serif; padding:5px 9px; border-radius:999px; }
.s24zub-card__body { display:flex; flex-direction:column; gap:5px; padding:12px 14px 2px; flex:1 1 auto; }
.s24zub-card__name { font-size:14.5px; font-weight:700; line-height:1.35; color:#1a1a1a !important; text-decoration:none !important; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.s24zub-card__name:hover { color:#A30027 !important; }
.s24zub-card__name:focus-visible { outline:2px solid #A30027; outline-offset:2px; }
.s24zub-card__compat { font-size:12px; font-weight:600; color:#1a5c33; }
.s24zub-card__price { margin-top:2px; font-size:15px; font-weight:800; color:#1a1a1a; }
.s24zub-card__was { font-size:13px; font-weight:600; color:#9a9a9a; text-decoration:line-through; margin-right:4px; }
.s24zub-card__now { color:#A30027; }
.s24zub-card__detail { align-self:flex-start; margin-top:auto; padding-top:6px; display:inline-flex; align-items:center; gap:5px; min-height:20px; font:600 13px/1.3 "Fira Sans",Arial,sans-serif; color:#6b6b6b !important; text-decoration:none !important; }
.s24zub-card__detail svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:2.4; }
.s24zub-card__detail:hover { color:#A30027 !important; }
.s24zub-card__detail:focus-visible { outline:2px solid #A30027; outline-offset:2px; border-radius:3px; }
.s24zub-card__cartform { position:relative; padding:10px 14px 14px; }
.s24zub-card__btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:44px; padding:11px 14px; border:0; border-radius:9px; background:#1a5c33; color:#fff !important; font:700 14.5px/1 "Fira Sans",Arial,sans-serif; text-decoration:none !important; cursor:pointer; transition:background .15s,transform .15s; }
.s24zub-card__btn svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2.2; flex:0 0 auto; }
.s24zub-card__btn:hover { background:#144a29; }
.s24zub-card__btn:focus-visible { outline:2px solid #144a29; outline-offset:2px; }
.s24zub-card__btn[disabled] { opacity:.8; cursor:default; }
.s24zub-card__btn.is-done { background:#144a29; }
.s24zub-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* Mobil: 1 Karte je Zeile, Bild links statt oben. .s24zub-card ist bereits
   im Markup ein Grid aus genau 3 Direkt-Kindern (media/body/cartform) - kein
   display:contents-Workaround mehr noetig, da hier nicht mehr um ein
   verschachteltes <a> herumgebaut werden muss. Bildbox spannt die gesamte
   Kartenhoehe und liegt randfuellend an der linken Kartenkante (kein
   Margin/Rahmen/eigener Radius; die Kartenecken werden vom overflow:hidden
   der Karte gekappt). Bildformat ist immer 1:1 - object-fit:contain (statt
   cover) zeigt das komplette Quadrat OHNE Beschnitt, auch wenn die Bildbox
   (fest ~100px breit) hoeher als breit ist; dabei bleibt oben/unten etwas
   Hintergrundflaeche der Box sichtbar statt dass Bildinhalt wegfaellt.
   (Eine variable, an der Kartenhoehe orientierte Bildbreite via
   aspect-ratio:1/1 wurde getestet, fuehrte aber zu einer Rueckkopplungs-
   schleife: schmalere Textspalte -> mehr Zeilenumbrueche -> hoehere Karte ->
   noch breiteres Bild -> noch schmalere Textspalte usw. - deshalb feste
   Breite.) */
@media (max-width:767px) {
  .s24zub-chip { font-size:15px; }
  .s24zub-grid { grid-template-columns:1fr; gap:12px; }
  .s24zub-card { display:grid; grid-template-columns:100px 1fr; grid-template-rows:auto auto; grid-template-areas:"media body" "media cart"; column-gap:12px; row-gap:0; border-radius:12px; box-shadow:none; }
  .s24zub-card:hover { transform:none; box-shadow:none; }
  .s24zub-card__media { grid-area:media; align-self:stretch; width:100px; height:100%; margin:0; border:0; border-radius:0; overflow:hidden; }
  .s24zub-card__media img { width:100%; height:100%; object-fit:contain; }
  .s24zub-card__body { grid-area:body; padding:12px 12px 2px 0; gap:4px; }
  .s24zub-card__cartform { grid-area:cart; padding:6px 12px 12px 0; }
  .s24zub-card__name { font-size:13.5px; }
  .s24zub-card__detail { font-size:12.5px; padding-top:4px; }
  .s24zub-card__price { font-size:14px; }
  .s24zub-card__btn { font-size:13.5px; padding:7px 10px; min-height:38px; }
  .s24zub-card__btntxt { overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion:reduce) {
  .s24zub-card { transition:none; }
  .s24zub-card:hover { transform:none; }
}
