/* ms-storefront/static/css/food.css
 * Erstellt: 2026-11-27 (Dini-Zmorge, Breakfast-Shop-Design)
 * Geändert: 2026-11-29 17:00 CET — Neues Design nach Mockup: Emoji-Kacheln, Warenkorb-Spalte (Web/iPad),
 *   Leiste unten (iPhone), Lieferfenster mit Status, Countdown, PLZ-Check, Checkout mit Grusskarte/Abo/Alter,
 *   Bestellstatus, Abo-Seite, Owner-Lieferungen. Alle Klassen fz-* (bzw. food-*, pcard), keine Inline-Stile (CSP).
 */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../vendor/fonts/bricolage.4ca43b123136.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}

.sf-pack-food {
  --fz-bg: #fffbf3; --fz-card: #ffffff; --fz-ink: #2b1d14; --fz-muted: #6b5a4e; --fz-line: #f0e4d0;
  --fz-soft: #f6eedf; --fz-cream: #fff3da; --fz-yolk: #ffb020; --fz-yolk-dark: #e89a00; --fz-warn: #8a4b12;
  --fz-ok: #3f6b2e; --fz-danger: #b3261e; --fz-radius: 24px;
  --fz-display: "Bricolage Grotesque", system-ui, sans-serif;
  background: var(--fz-bg); color: var(--fz-ink);
}
.sf-pack-food a:not(.btn):not(.fz-cartbtn):not(.go):not(.sf-owner-tab) { color: var(--fz-ink); }
.sf-pack-food .sf-main { padding-bottom: 6rem; }
.fz-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.fz-display, .sf-pack-food h1, .sf-pack-food h2 { font-family: var(--fz-display); letter-spacing: -0.02em; }
.fz-muted { color: var(--fz-muted); }
.fz-small { font-size: 0.875rem; }
.visually-hidden-focusable:not(:focus) { position: absolute; left: -9999px; }

/* Kopfzeile ------------------------------------------------------------- */
.fz-header { background: var(--fz-card); border-bottom: 1px solid var(--fz-line); position: sticky; top: 0; z-index: 30; }
.fz-header .fz-wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.fz-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--fz-display);
  font-weight: 800; font-size: 1.3rem; }
.fz-logo { width: 44px; height: 44px; border-radius: 14px; background: var(--fz-yolk); display: inline-flex;
  align-items: center; justify-content: center; font-size: 24px; }
.fz-nav { display: flex; gap: 4px; flex: 1 1 auto; }
.fz-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.fz-nav a.active, .fz-nav a:hover { background: var(--fz-cream); }
.food-lang { display: inline-flex; padding: 4px; background: var(--fz-soft); border-radius: 12px; }
.food-lang a { min-width: 44px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; font-weight: 700; font-size: 0.82rem; color: var(--fz-muted); text-decoration: none; }
.food-lang a.on { background: var(--fz-card); color: var(--fz-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.fz-cartbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px;
  background: var(--fz-ink); color: #fff !important; text-decoration: none; font-weight: 600; }
.fz-cartbtn svg { width: 20px; height: 20px; }
.fz-badge { min-width: 22px; height: 22px; border-radius: 99px; background: var(--fz-yolk); color: var(--fz-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; padding: 0 6px; }
.fz-lock { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--fz-line); color: var(--fz-muted) !important; }
.fz-lock svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .fz-nav { order: 5; flex-basis: 100%; overflow-x: auto; padding-bottom: 8px; }
  .fz-brand span.fz-name { font-size: 1.1rem; }
  .fz-cartbtn .fz-carttotal { display: none; }
  .fz-header .fz-lock { display: none; }
}

/* Hero, Hinweise ---------------------------------------------------------- */
.food-hero { padding: 32px 0 8px; }
.food-hero .fz-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.food-hero h1 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.05; margin: 0; }
.food-hero .lead { margin: 12px 0 18px; font-size: 1.1rem; color: var(--fz-muted); max-width: 560px; }
.food-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 16px;
  background: var(--fz-yolk); color: var(--fz-ink) !important; font-weight: 700; text-decoration: none; border: 0; }
.food-cta:hover { background: var(--fz-yolk-dark); }
.fz-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--fz-line); background: var(--fz-card); font-weight: 600; text-decoration: none; color: var(--fz-ink); }
.fz-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fz-pill { padding: 9px 14px; border-radius: 999px; background: var(--fz-card); border: 1px solid var(--fz-line);
  font-size: 0.875rem; font-weight: 500; }
.fz-card { background: var(--fz-card); border: 1px solid var(--fz-line); border-radius: var(--fz-radius); padding: 20px; }
.fz-card + .fz-card { margin-top: 16px; }
.fz-card h2, .fz-card h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 12px; }
.fz-dark { background: var(--fz-ink); color: #fff; border-color: var(--fz-ink); }
.fz-dark .fz-muted { color: #e8dccb; }
.fz-countdown { font-family: var(--fz-display); font-size: 1.6rem; font-weight: 800; }
.fz-zip { display: flex; gap: 8px; margin-top: 12px; }
.fz-zip input { flex: 1 1 auto; min-height: 48px; border-radius: 12px; border: 1px solid var(--fz-line); padding: 0 14px;
  font-size: 1rem; }
.fz-note { border-radius: 16px; padding: 12px 14px; font-weight: 600; }
.fz-note.ok { background: #ddefd9; }
.fz-note.no { background: #fbdcd6; }
.fz-note.info { background: var(--fz-cream); }
@media (max-width: 860px) { .food-hero .fz-wrap { grid-template-columns: 1fr; } }

/* Kategorien + Kacheln ----------------------------------------------------- */
.fz-section { padding: 18px 0; }
.fz-section > .fz-wrap > h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 14px; }
.fz-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.fz-chips::-webkit-scrollbar { display: none; }
.fz-chip { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px;
  border: 1px solid #e5d6be; background: var(--fz-card); font-weight: 600; text-decoration: none; }
.fz-chip.active { background: var(--fz-ink); border-color: var(--fz-ink); color: #fff !important; }
.fz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.fz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.pcard { background: var(--fz-card); border: 1px solid var(--fz-line); border-radius: var(--fz-radius); padding: 12px;
  display: flex; flex-direction: column; gap: 10px; position: relative; }
.pcard a.fz-tilelink { text-decoration: none; color: inherit; display: block; }
.fz-tilebox { position: relative; height: 150px; border-radius: 18px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; background: var(--fz-cream); }
.fz-tilebox img { width: 100%; height: 100%; object-fit: cover; }
.fz-emoji { font-size: 64px; line-height: 1; }
.fz-tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: var(--fz-ink);
  color: #fff; font-size: 0.7rem; font-weight: 700; }
.fz-tag.age { left: auto; right: 10px; background: var(--fz-danger); }
.pcard h3 { font-size: 0.98rem; font-weight: 600; margin: 0; line-height: 1.3; }
.pcard .fz-unit { font-size: 0.82rem; color: var(--fz-muted); }
.fz-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fz-price { font-weight: 800; white-space: nowrap; }
.pcard .fz-row { flex-wrap: wrap; row-gap: 6px; }
.tile-0 { background: var(--fz-cream); } .tile-1 { background: #fce9cf; } .tile-2 { background: #fbdcd6; }
.tile-3 { background: #ddefd9; } .tile-4 { background: #e9e1f6; } .tile-5 { background: #fde3a7; }
.tile-6 { background: #e3ecf7; }
.fz-add, .fz-step button { border: 0; font-weight: 800; color: var(--fz-ink); }
.fz-add { width: 44px; height: 44px; border-radius: 14px; background: var(--fz-yolk); font-size: 1.4rem; line-height: 1; }
.fz-add:hover { background: var(--fz-yolk-dark); }
.fz-step { display: inline-flex; align-items: center; gap: 2px; background: var(--fz-cream); border-radius: 12px; padding: 2px; }
.fz-step form { margin: 0; }
.fz-step button { width: 40px; height: 40px; border-radius: 10px; background: var(--fz-card); font-size: 1.15rem; }
.fz-step button.plus { background: var(--fz-yolk); }
.fz-step .n { min-width: 22px; text-align: center; font-weight: 800; }
.fz-soldout { font-size: 0.8rem; font-weight: 700; color: var(--fz-danger); }

/* Warenkorb-Spalte / Leiste ---------------------------------------------- */
.fz-aside { position: sticky; top: 88px; }
.fz-lines { display: flex; flex-direction: column; gap: 10px; }
.fz-line { display: flex; align-items: center; gap: 12px; }
.fz-line .fz-chipicon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: inline-flex;
  align-items: center; justify-content: center; font-size: 24px; }
.fz-line .fz-grow { flex: 1 1 auto; min-width: 0; }
.fz-line .fz-name { font-weight: 600; font-size: 0.92rem; }
.fz-progress { width: 100%; height: 8px; border: 0; border-radius: 99px; background: var(--fz-line); overflow: hidden;
  appearance: none; -webkit-appearance: none; }
.fz-progress::-webkit-progress-bar { background: var(--fz-line); border-radius: 99px; }
.fz-progress::-webkit-progress-value { background: var(--fz-yolk); border-radius: 99px; }
.fz-progress::-moz-progress-bar { background: var(--fz-yolk); border-radius: 99px; }
.fz-totals { border-top: 1px dashed #e5d6be; margin-top: 14px; padding-top: 12px; }
.fz-totals .fz-row { padding: 3px 0; }
.fz-totals .fz-total { font-size: 1.15rem; font-weight: 800; }
.fz-btn { width: 100%; min-height: 56px; border-radius: 16px; border: 0; background: var(--fz-yolk); color: var(--fz-ink);
  font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; }
.fz-btn:hover { background: var(--fz-yolk-dark); color: var(--fz-ink); }
.fz-btn.dark { background: var(--fz-ink); color: #fff; }
.fz-btn.ghost { background: var(--fz-card); border: 1px solid var(--fz-line); }
.fz-btn[disabled] { opacity: .5; }
.pin { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; }
.pin .bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px;
  background: var(--fz-ink); color: #fff; box-shadow: 0 12px 30px rgba(43, 29, 20, .25); }
.pin .bar .grow { flex: 1 1 auto; min-width: 0; }
.pin .bar b { display: block; }
.pin .bar small { display: block; opacity: .8; font-size: .78rem; }
.pin .go { min-height: 48px; padding: 0 18px; border-radius: 14px; background: var(--fz-yolk); color: var(--fz-ink) !important;
  font-weight: 800; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }

/* Lieferfenster ------------------------------------------------------------ */
.fz-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fz-slot { min-height: 56px; border-radius: 14px; border: 2px solid var(--fz-line); background: var(--fz-card);
  padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; font-weight: 700; }
.fz-slot small { font-weight: 600; font-size: 0.75rem; }
.fz-slot.is-free small { color: var(--fz-ok); }
.fz-slot.is-low small { color: var(--fz-warn); }
.fz-slot.is-full { opacity: .55; text-decoration: line-through; }
.fz-slot.is-full small { color: var(--fz-danger); text-decoration: none; }
.fz-radio { position: absolute; opacity: 0; pointer-events: none; }
.fz-radio:checked + label.fz-slot { border-color: var(--fz-yolk); background: var(--fz-cream); }
.fz-radio:focus-visible + label.fz-slot { outline: 3px solid var(--fz-ink); }
.fz-radio:disabled + label.fz-slot { cursor: not-allowed; }
label.fz-slot { cursor: pointer; margin: 0; }
.fz-daylabel { font-weight: 800; margin: 14px 0 8px; }
@media (min-width: 700px) { .fz-checkout .fz-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Formulare, Checkout -------------------------------------------------------- */
.fz-form label.fz-label { display: block; font-size: 0.85rem; font-weight: 700; margin: 0 0 6px; }
.fz-form .fz-input, .fz-form textarea, .fz-form select { width: 100%; min-height: 52px; border-radius: 14px;
  border: 1px solid #e5d6be; padding: 12px 14px; font-size: 1rem; background: var(--fz-card); color: var(--fz-ink); }
.fz-form textarea { min-height: 96px; }
.fz-form .fz-two { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.fz-form .fz-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fz-form .fz-field { margin-bottom: 12px; }
.fz-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--fz-soft);
  margin: 0 0 10px; cursor: pointer; }
.fz-check input { width: 24px; height: 24px; flex: none; accent-color: var(--fz-ink); margin-top: 2px; }
.fz-check.warn { background: #fbdcd6; }
.fz-details summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; list-style: none; }
.fz-details summary::-webkit-details-marker { display: none; }
.fz-details summary::before { content: "+"; display: inline-flex; width: 28px; height: 28px; margin-right: 10px;
  border-radius: 8px; background: var(--fz-cream); align-items: center; justify-content: center; }
.fz-details[open] summary::before { content: "−"; }
.fz-paylogos { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.fz-paylogos span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--fz-line); background: var(--fz-card);
  font-size: 0.8rem; font-weight: 700; }
.fz-error { background: #fbdcd6; color: var(--fz-danger); border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.fz-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 640px) { .fz-form .fz-pair { grid-template-columns: 1fr; } }

/* Bestellung, Abo ------------------------------------------------------------- */
.fz-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fz-steps li { text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--fz-muted); }
.fz-steps li::before { content: ""; display: block; height: 8px; border-radius: 99px; background: var(--fz-line); margin-bottom: 8px; }
.fz-steps li.done { color: var(--fz-ink); }
.fz-steps li.done::before { background: var(--fz-yolk); }
.fz-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 800;
  padding: 10px 14px; border-radius: 12px; background: var(--fz-cream); display: inline-block; letter-spacing: .06em; }
.fz-gift { background: #fbdcd6; border-radius: 18px; padding: 14px 16px; }
.fz-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fz-week { border-radius: 14px; border: 1px solid var(--fz-line); background: var(--fz-card); padding: 10px; text-align: center; }
.fz-week.skipped { opacity: .55; text-decoration: line-through; }
.fz-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }

/* Owner: Lieferungen / Dashboard ---------------------------------------- */
.fz-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.fz-kpi { background: var(--fz-card); border: 1px solid var(--fz-line); border-radius: 20px; padding: 16px 18px; }
.fz-kpi .v { font-family: var(--fz-display); font-weight: 800; font-size: 1.8rem; line-height: 1.1; }
.fz-kpi .l { font-size: 0.82rem; font-weight: 600; color: var(--fz-muted); }
.fz-bars { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding-top: 18px; }
.fz-bars .b { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.fz-bars .b i { display: block; width: 100%; max-width: 44px; border-radius: 10px 10px 4px 4px; background: #e8d3b0; }
.fz-bars .b.cur i { background: var(--fz-yolk); }
.fz-bars .b span { font-size: 0.72rem; font-weight: 600; color: var(--fz-muted); }
.h-0 { height: 2px; } .h-1 { height: 10%; } .h-2 { height: 20%; } .h-3 { height: 30%; } .h-4 { height: 40%; }
.h-5 { height: 50%; } .h-6 { height: 60%; } .h-7 { height: 70%; } .h-8 { height: 80%; } .h-9 { height: 90%; } .h-10 { height: 100%; }
.fz-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.fz-table th { text-align: left; font-size: 0.78rem; color: var(--fz-muted); font-weight: 700; padding: 10px; border-bottom: 1px solid var(--fz-line); }
.fz-table td { padding: 12px 10px; border-bottom: 1px solid var(--fz-soft); vertical-align: top; }
.fz-table .tot { font-weight: 800; background: var(--fz-cream); border-radius: 8px; padding: 4px 10px; }
.fz-scroll { overflow-x: auto; }
.fz-meter { width: 100%; height: 10px; }
.fz-stop { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0;
  border-top: 1px solid var(--fz-soft); }
.fz-stop .no { font-family: var(--fz-display); font-weight: 800; font-size: 1.4rem; }
.fz-flag { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; margin: 4px 4px 0 0; }
.fz-flag.gift { background: #fbdcd6; } .fz-flag.age { background: var(--fz-danger); color: #fff; }
.fz-flag.abo { background: #e3ecf7; } .fz-flag.st { background: var(--fz-soft); }
.fz-emojis { display: flex; flex-wrap: wrap; gap: 6px; }
.fz-emojis input, .fz-swatches input { position: absolute; opacity: 0; }
.fz-emojis label { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--fz-line); display: inline-flex;
  align-items: center; justify-content: center; font-size: 24px; cursor: pointer; background: var(--fz-card); }
.fz-emojis input:checked + label { border: 2px solid var(--fz-yolk); background: var(--fz-cream); }
.fz-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.fz-swatches label { width: 40px; height: 40px; border-radius: 99px; border: 1px solid #e5d6be; cursor: pointer; }
.fz-swatches input:checked + label { outline: 3px solid var(--fz-ink); outline-offset: 2px; }
.fz-prodrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.fz-prodrow .fz-tilebox { height: 72px; border-radius: 16px; }
.fz-prodrow .fz-emoji { font-size: 36px; }

/* Breakpoints: iPad (Hoch/Quer) und iPhone -------------------------------- */
@media (max-width: 1100px) { .fz-layout { grid-template-columns: minmax(0, 1fr) 300px; } .fz-checkout { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 900px) {
  .fz-layout, .fz-checkout { grid-template-columns: 1fr; }
  .fz-aside.fz-desktop { display: none; }
  .pin { display: block; }
  .fz-aside { position: static; }
}
@media (max-width: 560px) {
  .fz-wrap { padding: 0 14px; }
  .fz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { padding: 10px; border-radius: 20px; }
  .fz-tilebox { height: 112px; border-radius: 16px; }
  .fz-emoji { font-size: 48px; }
  .fz-step button { width: 36px; height: 36px; }
  .fz-steps li { font-size: 0.7rem; }
  .fz-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
