/* mein-fretus · Ausrüstung (Shop). Gross genug für Handschuhe und Sonne,
   wie lo- und die übrigen Module. Variablen aus index.html (--fa-*). */
.sh-wrap{padding:4px 0 24px}
.sh-wrap h2{margin:0 0 10px;font-size:19px}
.sh-dim{font-size:12px;color:var(--fa-muted);line-height:1.45}
.sh-rechts{text-align:right;margin:2px 0 10px}
.sh-hinweis{background:#f4f8fa;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5;color:var(--fa-muted);margin:0 0 12px}
.sh-hinweis.sh-stop{background:#fdecea;color:#b13a2a}
.sh-hinweis.sh-ok{background:#e8f5e9;color:#256029}
.sh-hinweis.sh-warn{background:#fff7e0;color:#8a5a00}

/* Kontingent */
.sh-kont{background:#fff;border:1px solid #e3e9ee;border-radius:12px;padding:12px 14px;margin-bottom:12px}
.sh-kont.sh-temp{font-size:13px;color:var(--fa-muted);line-height:1.5}
.sh-kont-zeile{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.sh-kont-zeile b{font-size:18px}
.sh-balken{height:8px;border-radius:4px;background:#e8eef2;margin:8px 0 6px;overflow:hidden}
.sh-balken span{display:block;height:100%;background:var(--fa-cyan);border-radius:4px}

/* Reiter */
.sh-tabs{display:flex;gap:6px;overflow-x:auto;margin:0 0 14px;padding-bottom:2px;-webkit-overflow-scrolling:touch}
.sh-tab{flex:0 0 auto;border:1px solid var(--fa-border);background:#fff;color:var(--fa-text);border-radius:999px;
  font:inherit;font-size:13px;padding:8px 14px;cursor:pointer;white-space:nowrap}
.sh-tab.on{background:var(--fa-cyan);border-color:var(--fa-cyan);color:#fff;font-weight:600}

/* Katalog */
.sh-kat{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--fa-muted);margin:14px 0 8px}
.sh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sh-karte{display:flex;flex-direction:column;align-items:stretch;text-align:left;background:#fff;border:1px solid #e3e9ee;
  border-radius:12px;padding:8px;cursor:pointer;font:inherit;color:inherit}
.sh-karte:active{transform:scale(.99)}
.sh-bild{aspect-ratio:1/1;border-radius:8px;background:#eef3f6;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:34px}
.sh-bild img{width:100%;height:100%;object-fit:cover}
.sh-name{font-size:14px;font-weight:600;margin:8px 2px 2px;line-height:1.3}
.sh-preis{font-size:13px;color:var(--fa-muted);margin:0 2px}

/* Detail-Blatt */
.sh-sheet-bg{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:900}
.sh-sheet{position:fixed;left:0;right:0;bottom:0;z-index:901;background:#fff;border-radius:16px 16px 0 0;
  padding:16px 16px calc(16px + env(safe-area-inset-bottom));max-height:88vh;overflow:auto;box-shadow:0 -6px 24px rgba(0,0,0,.15)}
.sh-sheet h3{margin:6px 0 2px;font-size:18px}
.sh-sheet-bild{width:100%;max-height:240px;object-fit:contain;border-radius:10px;background:#eef3f6}
.sh-label{display:block;font-size:12px;color:var(--fa-muted);margin:14px 0 6px}
.sh-groessen{display:flex;flex-wrap:wrap;gap:8px}
.sh-gr{min-width:52px;border:1px solid var(--fa-border);background:#fff;border-radius:10px;padding:10px 12px;font:inherit;font-size:15px;cursor:pointer}
.sh-gr.on{border-color:var(--fa-cyan);background:var(--fa-cyan);color:#fff;font-weight:600}
.sh-menge{display:flex;align-items:center;gap:16px}
.sh-menge b{min-width:24px;text-align:center;font-size:17px}
.sh-rund{width:42px;height:42px;border-radius:50%;border:1px solid var(--fa-border);background:#fff;font-size:20px;cursor:pointer}
.sh-menge.sh-klein{gap:8px}
.sh-menge.sh-klein .sh-rund{width:34px;height:34px;font-size:17px}

/* Knöpfe */
.sh-btn{border:0;border-radius:10px;background:var(--fa-cyan);color:#fff;font:inherit;font-size:15px;font-weight:600;padding:13px 20px;cursor:pointer}
.sh-btn:disabled{opacity:.5}
.sh-voll{display:block;width:100%;margin-top:16px}
.sh-link{display:block;margin:10px auto 0;border:0;background:none;color:var(--fa-muted);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;padding:8px}

/* Warenkorb */
.sh-zeile{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e9ee;border-radius:12px;padding:10px 12px;margin-bottom:8px}
.sh-zeile-text{flex:1;min-width:0;display:flex;flex-direction:column}
.sh-zeile-text b{font-size:14px}
.sh-summe{min-width:78px;text-align:right;font-size:13px;font-variant-numeric:tabular-nums}
.sh-total{display:flex;justify-content:space-between;font-size:16px;margin:12px 2px 0}
.sh-text,.sh-input{width:100%;box-sizing:border-box;border:1px solid var(--fa-border);border-radius:10px;padding:11px 12px;font:inherit;font-size:15px;background:#fff}

/* Bestellungen */
.sh-best{background:#fff;border:1px solid #e3e9ee;border-radius:12px;padding:12px 14px;margin-bottom:10px}
.sh-best-kopf,.sh-best-fuss{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}
.sh-best-fuss{margin-top:6px}
.sh-best-fuss .sh-link{margin:0;padding:4px 0}
.sh-pos{display:flex;justify-content:space-between;gap:8px;font-size:14px;padding:6px 0;border-top:1px solid #f0f3f5}
.sh-st,.sh-ps{font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap;background:#eef1f4;color:#57534e;align-self:center}
.sh-st-freigabe{background:#fef3c7;color:#92400e}
.sh-st-bewilligt{background:#dbeafe;color:#1d4ed8}
.sh-st-teilweise_ausgegeben{background:#e0f2fe;color:#0369a1}
.sh-st-ausgegeben,.sh-ps-ausgegeben{background:#dcfce7;color:#166534}
.sh-st-abgelehnt{background:#fee2e2;color:#b91c1c}
.sh-ps-bereit{background:#dcfce7;color:#166534}
.sh-ps-beim_lieferanten{background:#e0f2fe;color:#0369a1}
.sh-ps-storniert{text-decoration:line-through}

/* Grössen */
.sh-feld{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}
.sh-feld span{font-size:13px;color:var(--fa-muted)}
