/* ms-storefront/static/css/style-bento.css
 * Erstellt: 2026-11-04 22:00 CET
 * Stil "bento" (Pack food, Claude-Design Zmorge · 3): Kacheln mit 28px-Rundung,
 * Bricolage Grotesque, Gelb + Dunkelgruen, Glas-Leiste unten mit Warenkorb-Total.
 * Farben ueber Tokens: --sf-primary (dunkelgruen), --sf-accent (gelb), --sf-bg, --sf-fg.
 * Schrift: Bricolage Grotesque (SIL OFL 1.1, static/vendor/fonts/OFL-bricolagegrotesque.txt). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../vendor/fonts/bricolage.4ca43b123136.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}

.sf-style-bento {
  --bn-radius: 28px;
  --bn-tile: #ffffff;
  --bn-soft: color-mix(in srgb, var(--sf-fg) 6%, var(--sf-bg));
  --bn-line: color-mix(in srgb, var(--sf-fg) 12%, transparent);
  font-family: "Bricolage Grotesque", var(--sf-font);
  letter-spacing: -0.005em;
}
.sf-style-bento .sf-header { border: 0; }
.sf-style-bento .sf-brand { font-weight: 800; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 0.5rem; }
.sf-style-bento .sf-brand::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sf-accent); box-shadow: 0 0 0 3px var(--sf-primary);
}
.sf-style-bento .sf-navbtn { border-radius: 14px; border: 0; background: var(--bn-tile); color: var(--sf-fg); min-height: 44px; }
.sf-style-bento .sf-navbtn.active, .sf-style-bento .sf-navbtn:hover { background: var(--sf-fg); color: var(--sf-accent); }
.sf-style-bento .sf-footer { border: 0; padding-bottom: 6rem; }
.sf-style-bento .sf-main { padding-bottom: 7rem; }

/* Buttons */
.sf-style-bento .sf-btn-primary { background: var(--sf-fg); border-color: var(--sf-fg); color: #fff; border-radius: 16px; font-weight: 600; }
.sf-style-bento .sf-btn-accent { background: var(--sf-accent); border-color: var(--sf-accent); color: var(--sf-fg); border-radius: 16px; font-weight: 600; min-height: 3.25rem; padding: 0 1.4rem; }
.sf-style-bento .sf-btn-accent:hover { filter: brightness(0.95); color: var(--sf-fg); }
.sf-style-bento .btn-outline-dark { border-radius: 14px; }
.sf-style-bento .form-control, .sf-style-bento .form-select { border-radius: 14px; min-height: 3rem; }
.sf-style-bento .list-group { --bs-list-group-border-radius: var(--bn-radius); }

.bn-split { display: flex; flex-direction: column; gap: 0.75rem; }

/* Kacheln */
.bn-wrap { display: flex; flex-direction: column; gap: 0.75rem; }
.bn-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bn-tile {
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
  border-radius: var(--bn-radius); background: var(--bn-tile); padding: 1.1rem; color: var(--sf-fg);
  text-decoration: none; overflow: hidden; min-width: 0;
}
a.bn-tile:hover { color: var(--sf-fg); transform: translateY(-1px); }
.bn-tile.is-accent { background: var(--sf-accent); }
.bn-tile.is-dark { background: var(--sf-primary); color: var(--sf-bg); }
.bn-wide { grid-column: span 2; }
.bn-kick { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.bn-hero-title { font-weight: 800; font-size: clamp(2.1rem, 8vw, 3.9rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0; }
.bn-num { font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -0.04em; }
.bn-num-sm { font-size: 1.6rem; }
.bn-title { font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0; }
.bn-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; background: var(--bn-soft); }
.bn-img-hero { aspect-ratio: 16 / 10; }
.bn-img-sq { aspect-ratio: 1 / 1; }
.bn-name { font-weight: 600; font-size: 1.02rem; line-height: 1.15; }
.bn-price { font-weight: 800; font-size: 1.15rem; }
.bn-add {
  position: absolute; right: 0.75rem; bottom: 0.75rem; width: 44px; height: 44px; border-radius: 14px;
  background: var(--sf-fg); color: var(--sf-accent); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 600; border: 0;
}
.bn-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.bn-chip {
  flex: none; min-height: 44px; padding: 0 1rem; border-radius: 14px; background: var(--bn-tile);
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--sf-fg); text-decoration: none;
}
.bn-chip.active, .bn-chip:hover { background: var(--sf-fg); color: var(--sf-accent); }
.bn-muted { opacity: 0.65; font-size: 0.85rem; }
.bn-credit { font-size: 0.7rem; opacity: 0.6; }
.bn-credit a { color: inherit; }

/* Auswahl (Konfitueren), Menge */
.bn-options { display: grid; gap: 0.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-option { position: relative; }
.bn-option input { position: absolute; opacity: 0; inset: 0; }
.bn-option label {
  min-height: 64px; border-radius: 18px; background: var(--bn-soft); border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.4rem;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.bn-option input:checked + label { background: var(--sf-accent); border-color: var(--sf-fg); }
.bn-option input:focus-visible + label { outline: 3px solid var(--sf-primary); outline-offset: 2px; }
.bn-qty { max-width: 7rem; text-align: center; font-weight: 700; }

/* Warenkorb */
.bn-line { display: flex; gap: 0.75rem; align-items: center; }
.bn-thumb { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; flex: none; background: var(--bn-soft); }
.bn-progress { width: 100%; height: 8px; border-radius: 4px; overflow: hidden; appearance: none; border: 0; background: color-mix(in srgb, var(--sf-fg) 12%, transparent); }
.bn-progress::-webkit-progress-bar { background: color-mix(in srgb, var(--sf-fg) 12%, transparent); }
.bn-progress::-webkit-progress-value { background: var(--sf-primary); border-radius: 4px; }
.bn-progress::-moz-progress-bar { background: var(--sf-primary); border-radius: 4px; }
.bn-iconbtn { min-width: 44px; min-height: 44px; border-radius: 14px; border: 0; background: var(--bn-soft); color: var(--sf-fg); font-weight: 600; }

/* Glas-Leiste unten */
.bn-dock {
  position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 20; min-height: 72px; border-radius: 24px;
  background: color-mix(in srgb, var(--sf-fg) 84%, transparent); color: #fff;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 10px 10px 10px 20px;
}
.bn-dock-total { font-size: 1.25rem; font-weight: 800; display: block; line-height: 1.1; }
.bn-dock-label { font-size: 0.8rem; opacity: 0.75; }

@media (min-width: 768px) {
  .bn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .bn-hero { grid-column: span 3; grid-row: span 2; }
  .bn-half { grid-column: span 2; }
  .bn-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; align-items: start; }
  .bn-dock { left: auto; right: 24px; width: 460px; }
}
@media (min-width: 768px) { .bn-grid.bn-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bn-grid-products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Geändert: 2026-11-29 19:10 CET — Emoji-Kachel statt Foto (Zmorge ohne eigene Bilder) */
.bn-emoji { display: flex; align-items: center; justify-content: center; font-size: 4rem; line-height: 1; }
