/* ms-storefront/static/css/storefront.css
 * Erstellt: 2026-11-04 12:45 CET
 * Mobile-first (375 px), Farben ausschliesslich ueber die Tokens aus
 * /theme.css (--sf-*), Fallbacks fuer Seiten ohne Shop (404/503).
 * Reihenfolge in base.html: diese Datei VOR /theme.css (Theme gewinnt). */
:root {
  --sf-primary: #198754;
  --sf-accent: #0d6efd;
  --sf-bg: #ffffff;
  --sf-fg: #1d2430;
  --sf-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.sf-body {
  background: var(--sf-bg);
  color: var(--sf-fg);
  font-family: var(--sf-font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sf-main { flex: 1; }

.sf-header { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.sf-brand {
  color: var(--sf-fg);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.sf-lang { display: flex; gap: 0.35rem; }
.sf-lang .btn { min-width: 2.75rem; min-height: 2.75rem; }

.sf-hero { padding-top: 3rem; padding-bottom: 2.5rem; }
.sf-hero-title { font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 700; margin-bottom: 0.75rem; }
.sf-hero-lead { font-size: 1.15rem; opacity: 0.8; margin-bottom: 1.5rem; }
.sf-hero-gallery { letter-spacing: 0.01em; }
.sf-hero-gallery .sf-hero-title { font-weight: 300; }

.sf-btn-primary {
  background: var(--sf-primary);
  border-color: var(--sf-primary);
  color: #fff;
  min-height: 3.25rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.sf-btn-primary:hover, .sf-btn-primary:focus { filter: brightness(0.92); color: #fff; }
.sf-btn-xl { width: 100%; }
@media (min-width: 576px) { .sf-btn-xl { width: auto; } }

.sf-section { padding-top: 2rem; padding-bottom: 2rem; }
.sf-section-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 1rem; }
.sf-center { text-align: center; padding-top: 4rem; }
.sf-muted { opacity: 0.7; }

.sf-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  height: 100%;
  border-top: 4px solid var(--sf-accent);
}
.sf-card-title { font-size: 1.1rem; margin: 0; }
.sf-card-text { margin: 0.5rem 0 0; opacity: 0.8; }

.sf-footer { border-top: 1px solid rgba(0, 0, 0, 0.08); opacity: 0.75; }

/* --- Geändert: 2026-11-04 22:10 CET — Katalog, Detail, Warenkorb, Buchung, Owner --- */
.sf-narrow { max-width: 720px; }
.sf-chip { border-radius: 2rem; min-height: 2.75rem; }
.sf-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .sf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sf-product { display: block; color: var(--sf-fg); text-decoration: none; }
.sf-product-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.5rem; background: #eee; display: block; }
.sf-product-noimg { background: linear-gradient(135deg, var(--sf-accent), var(--sf-primary)); opacity: 0.25; }
.sf-product-body { padding: 0.5rem 0.1rem; }
.sf-product-name { font-weight: 600; }
.sf-product-meta { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.9rem; }
.sf-price { font-weight: 600; }
.sf-price-lg { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.25rem; }
.sf-detail-img { width: 100%; border-radius: 0.5rem; }
.sf-detail-title { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 600; }
.sf-edition { font-weight: 600; color: var(--sf-primary); }
.sf-attrs { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; }
.sf-attrs dd { margin: 0; }
.sf-variant { min-height: 3.25rem; }
.sf-wall { width: 100%; height: auto; border-radius: 0.5rem; }
.sf-row { padding-top: 0.9rem; padding-bottom: 0.9rem; }
.sf-qty { width: 5.5rem; }
.sf-totals td { padding-left: 0; padding-right: 0; }
.sf-step { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.sf-check { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.sf-check .form-check-input { width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; }
.sf-check .form-check-label { padding-left: 0.4rem; }
.sf-option { border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.5rem; padding: 0.75rem 0.75rem 0.75rem 2.25rem; margin-bottom: 0.5rem; }
.sf-days { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; }
.sf-day { min-width: 4.5rem; line-height: 1.2; }
.sf-slots { display: grid; gap: 0.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 576px) { .sf-slots { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sf-slot { min-height: 3.5rem; font-weight: 600; }
.sf-btn-tall { min-height: 3.75rem; font-size: 1.15rem; }
.sf-square { min-width: 3.25rem; min-height: 3.25rem; }
.sf-tiles { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-tile { display: block; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 0.75rem; padding: 1rem;
  color: var(--sf-fg); text-decoration: none; min-height: 6rem; }
.sf-tile-value { font-size: 1.6rem; font-weight: 700; }
.sf-owner-nav { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

/* --- Geändert: 2026-11-04 22:15 CET — Navigation (alle Stile), Stil "plain" fuer Barbershops --- */
.sf-navbtn { min-height: 2.75rem; display: inline-flex; align-items: center; border: 1px solid var(--sf-fg); color: var(--sf-fg); background: transparent; }
.sf-navbtn.active, .sf-navbtn:hover { background: var(--sf-fg); color: var(--sf-bg); }
.sf-navbtn-primary { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
.sf-badge { display: inline-flex; min-width: 1.3rem; height: 1.3rem; padding: 0 0.35rem; border-radius: 1rem; margin-left: 0.4rem;
  background: var(--sf-accent); color: #fff; font-size: 0.75rem; font-weight: 700; align-items: center; justify-content: center; }
.sf-hero-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.sf-credit { font-size: 0.75rem; opacity: 0.65; }
.sf-credit a { color: inherit; }
/* Barbershop schlicht (Claude-Design Barbershop · 1): dunkle Kopfzeile, Primaerfarbe auf Weiss */
.sf-style-plain.sf-pack-barber .sf-header { background: #212529; border: 0; }
.sf-style-plain.sf-pack-barber .sf-brand { color: #fff; }
.sf-style-plain.sf-pack-barber .sf-navbtn { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.sf-style-plain.sf-pack-barber .sf-navbtn.active, .sf-style-plain.sf-pack-barber .sf-navbtn:hover { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
.sf-style-plain.sf-pack-barber .sf-navbtn-primary { background: var(--sf-primary); border-color: var(--sf-primary); }
.sf-style-plain.sf-pack-barber .sf-main { background: #f8f9fa; }
.sf-style-plain.sf-pack-barber .sf-hero-barber { background: #fff; border-bottom: 1px solid #dee2e6; padding-top: 0; }
.sf-team { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-member { background: #fff; border: 1px solid #dee2e6; border-radius: 0.5rem; padding: 0.9rem 0.5rem; text-align: center; }
.sf-avatar { width: 56px; height: 56px; border-radius: 50%; background: #ced4da; color: #495057; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
