:root {
  --xfo-color-primary: #b82f16;
  --xfo-color-primary-hover: #9f2711;
  --xfo-color-secondary: #111111;
  --xfo-color-bg: #fffaf7;
  --xfo-color-surface: #ffffff;
  --xfo-color-text: #1b1b1b;
  --xfo-color-text-muted: #6b6b6b;
  --xfo-color-border: rgba(17, 17, 17, 0.10);
  --xfo-color-soft: #fff0eb;
  --xfo-color-success: #1f9d55;
  --xfo-color-warning: #f5a524;
  --xfo-shadow-card: 0 20px 55px rgba(17, 17, 17, 0.08);
  --xfo-shadow-soft: 0 12px 30px rgba(17, 17, 17, 0.06);
  /* v0.8.31: eigene, dunkle Weinrot-Markenfarbe für Header/Hero (Döner/Grill-passend, nicht Marktplatz-Pink kopiert) */
  --xfo-color-wine: #3d1220;
  --xfo-color-wine-deep: #2a0c17;
  --xfo-font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --xfo-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --xfo-font-button: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --xfo-radius-sm: 10px;
  --xfo-radius-md: 16px;
  --xfo-radius-lg: 24px;
  --xfo-radius-xl: 32px;
  --xfo-container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.xfo-body,
body:has(.xfo-app) {
  margin: 0;
  background: var(--xfo-color-bg);
  color: var(--xfo-color-text);
  font-family: var(--xfo-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.xfo-app { min-height: 100vh; background: radial-gradient(circle at 12% 0%, rgba(240,78,48,.10), transparent 28%), var(--xfo-color-bg); }

.xfo-loading-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 18px;
  color: var(--xfo-color-text-muted);
}

.xfo-loading-mark {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--xfo-color-primary);
  color: #fff;
  font: 900 36px/1 var(--xfo-font-heading);
  box-shadow: var(--xfo-shadow-card);
}

.xfo-shell { min-height: 100vh; }
.xfo-container { width: min(var(--xfo-container), calc(100% - 40px)); margin: 0 auto; }

.xfo-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--xfo-color-wine), var(--xfo-color-wine-deep));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.xfo-topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}

.xfo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.xfo-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--xfo-color-primary), var(--xfo-color-primary-hover));
  box-shadow: 0 14px 25px rgba(240,78,48,.28);
  font: 900 13px/1 var(--xfo-font-heading);
  letter-spacing: .04em;
}

.xfo-brand-text strong { display: block; font-family: var(--xfo-font-heading); font-size: 18px; letter-spacing: .02em; white-space: nowrap; }
.xfo-brand-text span { display: block; color: rgba(255,255,255,.68); font-size: 12px; margin-top: 2px; }

.xfo-nav { display: flex; justify-content: center; gap: 8px; }
.xfo-nav a { color: rgba(255,255,255,.76); text-decoration: none; padding: 12px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.xfo-nav a:hover, .xfo-nav a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.xfo-mobile-nav{display:none;position:relative}
.xfo-mobile-nav summary{min-width:48px;min-height:44px;align-items:center;justify-content:center;padding:0 12px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-weight:800;list-style:none;touch-action:manipulation}
.xfo-mobile-nav summary::-webkit-details-marker{display:none}
.xfo-mobile-nav summary:focus-visible{outline:3px solid #fff;outline-offset:3px}
.xfo-mobile-nav[open] summary{background:rgba(255,255,255,.16)}
.xfo-mobile-nav nav{position:absolute;top:calc(100% + 10px);right:0;z-index:100;display:grid;min-width:250px;padding:10px;border:1px solid var(--xfo-color-border);border-radius:16px;background:#fff;box-shadow:var(--xfo-shadow-card)}
.xfo-mobile-nav nav a{display:flex;min-height:44px;align-items:center;padding:9px 12px;border-radius:10px;color:var(--xfo-color-text);font-size:15px;font-weight:800;text-decoration:none}
.xfo-mobile-nav nav a:hover,.xfo-mobile-nav nav a:focus-visible{background:var(--xfo-color-soft);color:var(--xfo-color-primary);outline:none}

.xfo-header-actions { display: flex; align-items: center; gap: 12px; }
.xfo-location { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.07); }
.xfo-location span { font-size: 11px; color: rgba(255,255,255,.62); }
.xfo-location strong { font-size: 13px; color: #fff; }

.xfo-cart-trigger,
.xfo-button {
  border: 0;
  cursor: pointer;
  font-family: var(--xfo-font-button);
  font-weight: 900;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.xfo-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 13px 18px; }
.xfo-button-primary { background: var(--xfo-color-primary); color: #fff; box-shadow: 0 16px 30px rgba(240,78,48,.22); }
.xfo-button-primary:hover { background: var(--xfo-color-primary-hover); transform: translateY(-1px); }
.xfo-button-secondary { background: var(--xfo-color-secondary); color: #fff; }
.xfo-button-ghost { background: #fff; color: var(--xfo-color-text); border: 1px solid var(--xfo-color-border); }
.xfo-button-block { width: 100%; }
.xfo-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.xfo-cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--xfo-color-primary);
  color: #fff;
}
.xfo-cart-count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: #fff; color: var(--xfo-color-primary); font-size: 12px; }

.xfo-hero { padding: 56px 0 34px; }
.xfo-hero-card {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 34px;
  align-items: center;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--xfo-color-border);
  border-radius: var(--xfo-radius-xl);
  box-shadow: var(--xfo-shadow-card);
  padding: 32px;
  overflow: hidden;
}

.xfo-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: var(--xfo-color-soft); color: var(--xfo-color-primary); font-size: 13px; font-weight: 900; }
.xfo-hero h1 { margin: 18px 0 14px; font: 900 clamp(38px, 5vw, 74px)/.95 var(--xfo-font-heading); letter-spacing: -.04em; }
.xfo-hero h1 span { color: var(--xfo-color-primary); display: block; }
.xfo-hero p { max-width: 620px; color: var(--xfo-color-text-muted); font-size: 17px; line-height: 1.65; margin: 0 0 24px; }

.xfo-searchbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px; border: 1px solid var(--xfo-color-border); border-radius: 999px; background: #fff; box-shadow: var(--xfo-shadow-soft); max-width: 720px; }
.xfo-searchbar input { min-width: 0; min-height: 44px; border: 0; outline: 0; padding: 0 14px; font: 700 16px/1.35 var(--xfo-font-body); }

.xfo-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.xfo-benefit { background: #fff; border: 1px solid var(--xfo-color-border); border-radius: var(--xfo-radius-md); padding: 14px; }
.xfo-benefit strong { display: block; font-size: 13px; }
.xfo-benefit span { display: block; color: var(--xfo-color-text-muted); font-size: 12px; margin-top: 3px; }

.xfo-hero-visual { position: relative; min-height: 400px; aspect-ratio: 1 / 1; border-radius: var(--xfo-radius-xl); overflow: hidden; background: #1b1b1b; }
.xfo-hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; filter: saturate(1.05) contrast(1.03); }
.xfo-floating-stat { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.93); border-radius: 22px; padding: 14px 16px; box-shadow: var(--xfo-shadow-card); }
.xfo-floating-stat strong { display: block; color: var(--xfo-color-primary); font: 900 24px/1 var(--xfo-font-heading); }
.xfo-floating-stat span { display: block; color: var(--xfo-color-text-muted); font-size: 12px; margin-top: 4px; }

.xfo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding: 26px 0 72px; }
.xfo-main { min-width: 0; }

.xfo-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 0 0 18px; }
.xfo-section-head h2 { margin: 0; font: 900 34px/1.05 var(--xfo-font-heading); letter-spacing: -.025em; }
.xfo-section-head p { margin: 7px 0 0; color: var(--xfo-color-text-muted); }

.xfo-category-bar {
  position: sticky;
  top: 78px;
  z-index: 40;
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 14px 0;
  border-bottom: 1px solid var(--xfo-color-border);
  background: linear-gradient(180deg, var(--xfo-color-bg) 72%, rgba(255,250,247,0));
  scrollbar-width: none;
}
.xfo-category-bar::-webkit-scrollbar { display: none; }
.xfo-chip {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--xfo-color-text-muted);
  padding: 8px 4px 9px;
  border-radius: 0;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  min-width: 44px;
  min-height: 46px;
}
.xfo-chip.is-active { background: transparent; color: var(--xfo-color-text); border-color: var(--xfo-color-primary); }

/* v0.8.31: Produktliste als volle Zeilen statt Karten-Grid (Referenzstil, siehe KEEP-REFACTOR-REPLACE) */
.xfo-menu-grid { display: flex; flex-direction: column; }
.xfo-product-card {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 16px;
  padding: 18px 2px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--xfo-color-border);
  box-shadow: none;
  cursor: pointer;
  transition: opacity .15s ease;
}
.xfo-product-card:last-child { border-bottom: 0; }
.xfo-product-card:hover, .xfo-product-card:focus-within { opacity: .82; }
.xfo-product-card:focus { outline: 3px solid rgba(240,78,48,.22); outline-offset: 3px; }
.xfo-product-info { display: flex; flex-direction: column; min-width: 0; justify-content: center; }
.xfo-product-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.xfo-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 900; background: var(--xfo-color-soft); color: var(--xfo-color-primary); }
.xfo-item-number, .xfo-item-category { color: var(--xfo-color-text-muted); font-weight: 900; font-size: 12px; }
.xfo-product-card h3 { margin: 0; font: 800 16px/1.25 var(--xfo-font-heading); letter-spacing: -.01em; }
.xfo-product-card p { margin: 5px 0 0; color: var(--xfo-color-text-muted); font-size: 13px; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xfo-product-bottom { margin-top: 8px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.xfo-product-actions { display: inline-flex; align-items: center; gap: 8px; }
/* v0.8.26.3: Currency/price layout stabilizer – price and Euro sign must never split. */
.xfo-price {
  font: 800 15px/1 var(--xfo-font-heading);
  color: var(--xfo-color-text);
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.xfo-add { width: 44px; height: 44px; border-radius: 15px; border: 0; background: var(--xfo-color-primary); color: #fff; font-size: 22px; font-weight: 900; cursor: pointer; touch-action: manipulation; }
.xfo-details { height: 44px; border-radius: 15px; border: 1px solid var(--xfo-color-border); background: #fff; color: var(--xfo-color-text); padding: 0 14px; font-weight: 900; cursor: pointer; }
.xfo-details:hover { border-color: var(--xfo-color-primary); color: var(--xfo-color-primary); }
.xfo-product-image { position: relative; width: 96px; height: 96px; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #eee; align-self: center; flex: 0 0 96px; }
.xfo-product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.xfo-product-image .xfo-add {
  position: absolute;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: #fff;
  color: var(--xfo-color-text);
  box-shadow: 0 6px 16px rgba(17,17,17,.22);
  border: 2px solid #fff;
}
.xfo-product-image-empty { display: grid; place-items: center; background: var(--xfo-color-soft); }
.xfo-cart-line-qty { margin-top: 10px; padding: 4px; }
.xfo-cart-line-qty button { width: 44px; height: 44px; font-size: 16px; }

.xfo-sidebar { position: sticky; top: 102px; }
.xfo-cart-panel { border-radius: var(--xfo-radius-xl); background: var(--xfo-color-surface); border: 1px solid var(--xfo-color-border); box-shadow: var(--xfo-shadow-card); overflow: hidden; }
.xfo-cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--xfo-color-border); }
.xfo-cart-head h2 { margin: 0; font: 900 24px/1 var(--xfo-font-heading); }
.xfo-cart-items { display: grid; gap: 12px; padding: 16px; max-height: 380px; overflow: auto; }
.xfo-empty { text-align: center; color: var(--xfo-color-text-muted); padding: 32px 18px; }
.xfo-cart-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(17,17,17,.035); }
.xfo-cart-line strong { display: block; font-size: 14px; }
.xfo-cart-line small { display: block; color: var(--xfo-color-text-muted); margin-top: 5px; line-height: 1.45; }
.xfo-line-price { font-weight: 900; }
.xfo-cart-total { display: grid; gap: 10px; padding: 18px 20px 20px; border-top: 1px solid var(--xfo-color-border); }
.xfo-total-row { display: flex; justify-content: space-between; align-items: center; color: var(--xfo-color-text-muted); }
.xfo-total-row strong { font-size: 24px; color: var(--xfo-color-text); }
.xfo-fulfillment { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 16px; border-top: 1px solid var(--xfo-color-border); background: var(--xfo-color-soft); border-radius: 0; }
.xfo-toggle {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--xfo-color-text-muted);
  border-radius: 999px;
  padding: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.xfo-toggle.is-active { background: #fff; color: var(--xfo-color-text); box-shadow: 0 4px 10px rgba(17,17,17,.12); }

.xfo-customer-form { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--xfo-color-border); }
.xfo-field { display: grid; gap: 6px; }
.xfo-field label { font-size: 12px; color: var(--xfo-color-text-muted); font-weight: 900; }
.xfo-field input, .xfo-field textarea, .xfo-field select {
  width: 100%;
  border: 1px solid var(--xfo-color-border);
  border-radius: 14px;
  background: #fff;
  padding: 12px 13px;
  color: var(--xfo-color-text);
  font: 700 16px/1.35 var(--xfo-font-body);
  outline: none;
}
.xfo-field textarea { min-height: 74px; resize: vertical; }
.xfo-field select { appearance: auto; cursor: pointer; }

.xfo-alert { border-radius: 16px; padding: 13px 14px; font-size: 13px; line-height: 1.45; }
.xfo-alert-error { background: #fff0f0; color: #a11b1b; border: 1px solid rgba(161,27,27,.16); }
.xfo-alert-info { background: var(--xfo-color-soft); color: var(--xfo-color-text); border: 1px solid rgba(240,78,48,.16); }

.xfo-modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(17,17,17,.58); backdrop-filter: blur(10px); }
.xfo-modal-backdrop.is-open { display: flex; }
.xfo-modal { width: min(860px, 100%); max-height: min(88vh, 900px); overflow: auto; background: var(--xfo-color-bg); border-radius: 30px; box-shadow: 0 40px 110px rgba(0,0,0,.35); }
.xfo-modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; background: rgba(255,250,247,.93); border-bottom: 1px solid var(--xfo-color-border); backdrop-filter: blur(14px); }
.xfo-modal-title { margin: 0; font: 900 28px/1.1 var(--xfo-font-heading); }
.xfo-product-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.xfo-product-detail-meta span { display: inline-flex; border-radius: 999px; padding: 5px 9px; background: #fff; border: 1px solid var(--xfo-color-border); color: var(--xfo-color-text-muted); font-size: 12px; font-weight: 900; }
.xfo-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--xfo-color-border); background: #fff; font-size: 22px; cursor: pointer; touch-action: manipulation; }
.xfo-modal-body { padding: 22px; display: grid; grid-template-columns: 320px 1fr; gap: 22px; }
.xfo-modal-image { border-radius: 24px; overflow: hidden; background: #eee; width: 100%; aspect-ratio: 1 / 1; min-height: 0; }
.xfo-modal-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.xfo-option-groups { display: grid; gap: 14px; }
.xfo-option-group { background: #fff; border: 1px solid var(--xfo-color-border); border-radius: 22px; padding: 16px; }
.xfo-option-group h3 { margin: 0 0 5px; font: 900 18px/1.2 var(--xfo-font-heading); }
.xfo-option-group p { margin: 0 0 12px; color: var(--xfo-color-text-muted); font-size: 13px; }
.xfo-options { display: grid; gap: 8px; }
.xfo-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--xfo-color-border); border-radius: 15px; cursor: pointer; }
.xfo-option input { accent-color: var(--xfo-color-primary); }
.xfo-option-price { color: var(--xfo-color-primary); font-weight: 900; white-space: nowrap; }
.xfo-modal-foot { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--xfo-color-border); background: rgba(255,250,247,.95); backdrop-filter: blur(14px); }
.xfo-qty { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--xfo-color-border); border-radius: 999px; padding: 7px; }
.xfo-qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; font-weight: 900; }
.xfo-qty span { min-width: 26px; text-align: center; font-weight: 900; }
.xfo-cutlery-option { display:flex; align-items:flex-start; gap:10px; margin:14px 0; padding:12px; border:1px solid var(--xfo-color-border); border-radius:14px; background:var(--xfo-color-soft); cursor:pointer; }
.xfo-cutlery-option input { width:22px; height:22px; margin-top:2px; accent-color:var(--xfo-color-primary); }
.xfo-cutlery-option span { display:flex; flex-direction:column; gap:3px; }
.xfo-cutlery-option small { color:var(--xfo-color-muted); line-height:1.35; }

.xfo-footer { background: var(--xfo-color-secondary); color: rgba(255,255,255,.78); padding: 44px 0; }
.xfo-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 22px; }
.xfo-footer h3, .xfo-footer h4 { margin: 0 0 12px; color: #fff; font-family: var(--xfo-font-heading); }
.xfo-footer a { color: rgba(255,255,255,.68); text-decoration: none; display: block; margin: 7px 0; }

@media (max-width: 1100px) {
  .xfo-hero-card, .xfo-layout { grid-template-columns: 1fr; }
  .xfo-sidebar { position: static; }
  .xfo-menu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .xfo-container { width: min(100% - 24px, var(--xfo-container)); }
  .xfo-topbar-inner { grid-template-columns: minmax(0,1fr) auto auto; gap:8px; min-height: 66px; }
  .xfo-nav, .xfo-location { display: none; }
  .xfo-mobile-nav{display:block}
  .xfo-hero { padding-top: 28px; }
  .xfo-hero-card { padding: 18px; border-radius: 22px; }
  .xfo-hero h1 { font-size: 42px; }
  .xfo-searchbar { border-radius: 22px; grid-template-columns: 1fr; }
  .xfo-benefits { grid-template-columns: 1fr 1fr; }
  .xfo-product-card { grid-template-columns: 1fr 78px; }
  .xfo-details { display: none; }
  .xfo-product-image { width: 78px; height: 78px; flex-basis: 78px; }
  .xfo-modal-body { grid-template-columns: 1fr; }
  .xfo-modal-foot { grid-template-columns: 1fr; }
  .xfo-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .xfo-brand-text strong{max-width:160px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .xfo-brand-text span{display:none}
  .xfo-cart-trigger strong{display:none}
}

/* v0.8.0 Frontend Stabilization & UX Pass */
.xfo-alert-warning {
  background: #fff8e6;
  color: #7a4c00;
  border: 1px solid rgba(244, 163, 0, .22);
}

.xfo-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px;
  border-radius: var(--xfo-radius-xl);
  background: var(--xfo-color-surface);
  border: 1px dashed var(--xfo-color-border);
  color: var(--xfo-color-text-muted);
}
.xfo-empty-state strong { display: block; color: var(--xfo-color-text); font: 900 24px/1.1 var(--xfo-font-heading); }
.xfo-empty-state span { display: block; max-width: 520px; line-height: 1.55; }

.xfo-skeleton-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xfo-skeleton-grid > div {
  min-height: 158px;
  border-radius: var(--xfo-radius-lg);
  background: linear-gradient(90deg, rgba(255,255,255,.6), rgba(255,255,255,.95), rgba(255,255,255,.6));
  background-size: 180% 100%;
  animation: xfoSkeleton 1.25s ease-in-out infinite;
  border: 1px solid var(--xfo-color-border);
}
@keyframes xfoSkeleton { 0% { background-position: 0 0; } 100% { background-position: -180% 0; } }

.xfo-modal-errors { margin: 16px 22px 0; }
.xfo-option-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.xfo-option-counter { font-size: 12px; font-weight: 900; color: var(--xfo-color-text-muted); background: rgba(17,17,17,.05); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.xfo-badge-muted { background: rgba(17,17,17,.06); color: var(--xfo-color-text-muted); }
.xfo-option-group.has-error { border-color: rgba(161, 27, 27, .32); box-shadow: 0 0 0 3px rgba(161, 27, 27, .07); }
.xfo-option.is-selected { border-color: rgba(240, 78, 48, .45); background: var(--xfo-color-soft); }
.xfo-option:hover { border-color: rgba(240, 78, 48, .35); }
.xfo-safe-note { display: block; text-align: center; color: var(--xfo-color-text-muted); font-size: 12px; line-height: 1.4; }

.xfo-mobile-cartbar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--xfo-color-border);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.xfo-mobile-cartbar strong { display: block; font: 900 14px/1 var(--xfo-font-heading); }
.xfo-mobile-cartbar span { display: block; margin-top: 4px; color: var(--xfo-color-primary); font-weight: 900; }

@media (max-width: 1100px) {
  .xfo-skeleton-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 94px; }
  .xfo-mobile-cartbar { display: flex; }
  .xfo-cart-trigger span:first-child { display: none; }
  .xfo-modal-backdrop { padding: 8px; align-items: stretch; }
  .xfo-modal { max-height: calc(100vh - 16px); border-radius: 22px; }
  .xfo-modal-head, .xfo-modal-foot { padding: 14px; }
  .xfo-modal-body { padding: 14px; gap: 14px; }
  .xfo-modal-title { font-size: 23px; }
  .xfo-option { align-items: flex-start; }
}

/* v0.8.6 address field refinement */

.xfo-address-fields {
  display: grid;
  grid-template-columns: 1fr 0.42fr 0.58fr;
  gap: 10px;
}
.xfo-address-fields .xfo-field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .xfo-address-fields { grid-template-columns: 1fr; }
  .xfo-address-fields .xfo-field-wide { grid-column: auto; }
}


/* v0.8.7 WhatsApp delivery UX polish */
.xfo-delivery-note {
  border: 1px solid rgba(240,78,48,.18);
  background: var(--xfo-color-soft);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--xfo-color-text);
  font-size: 12px;
  font-weight: 800;
}
.xfo-cart-line small { line-height: 1.35; }
.xfo-button-secondary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.xfo-button-secondary:hover { filter: brightness(1.05); }

/* v0.8.8 Frontend UI Polish & Cart Layout */
.xfo-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: 30px;
}

.xfo-menu-grid.is-single {
  grid-template-columns: minmax(0, 520px);
}

.xfo-product-card {
  position: relative;
  isolation: isolate;
}

.xfo-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(240,78,48,.055), transparent 38%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
  z-index: -1;
}
.xfo-product-card:hover::before,
.xfo-product-card:focus-within::before { opacity: 1; }

.xfo-image-chip {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(17,17,17,.78);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.xfo-product-image { position: relative; }
.xfo-product-card:hover .xfo-image-chip,
.xfo-product-card:focus-within .xfo-image-chip { opacity: 1; transform: translateY(0); }

.xfo-cart-panel {
  border-radius: 28px;
  overflow: clip;
}
.xfo-cart-head {
  background: linear-gradient(135deg, #fff, rgba(240,78,48,.045));
}
.xfo-cart-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--xfo-color-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.xfo-cart-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 14px 16px 0;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(17,17,17,.035);
  border: 1px solid var(--xfo-color-border);
}
.xfo-cart-status strong { font: 900 14px/1 var(--xfo-font-heading); }
.xfo-cart-status span { color: var(--xfo-color-text-muted); font-size: 12px; font-weight: 800; }
.xfo-order-steps { display:flex; gap:6px; padding:10px 14px; border-bottom:1px solid var(--xfo-color-border); background:rgba(255,255,255,.7); }
.xfo-order-steps span { flex:1; display:flex; align-items:center; gap:5px; color:var(--xfo-color-text-muted); font-size:11px; font-weight:800; }
.xfo-order-steps b { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--xfo-color-border); color:var(--xfo-color-text); }
.xfo-order-steps .is-done, .xfo-order-steps .is-active { color:var(--xfo-color-text); }
.xfo-order-steps .is-done b, .xfo-order-steps .is-active b { background:var(--xfo-color-primary); color:#fff; }
.xfo-cart-panel.is-empty .xfo-cart-status { opacity: .7; }

.xfo-empty {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 120px;
  border: 1px dashed var(--xfo-color-border);
  border-radius: 20px;
  background: rgba(17,17,17,.025);
}
.xfo-empty strong { color: var(--xfo-color-text); font: 900 16px/1.1 var(--xfo-font-heading); }
.xfo-empty span { max-width: 230px; line-height: 1.4; }

.xfo-cart-line {
  border: 1px solid var(--xfo-color-border);
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,17,17,.045);
}
.xfo-cart-line-main small {
  padding-left: 10px;
  border-left: 3px solid rgba(240,78,48,.18);
}
.xfo-cart-line-side {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 8px;
}
.xfo-cart-line-side .xfo-close {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.xfo-form-title {
  display: grid;
  gap: 4px;
  margin-bottom: 2px;
}
.xfo-form-title strong { font: 900 16px/1.1 var(--xfo-font-heading); }
.xfo-form-title span { color: var(--xfo-color-text-muted); font-size: 12px; line-height: 1.35; }
.xfo-field input:focus,
.xfo-field textarea:focus,
.xfo-field select:focus {
  border-color: rgba(240,78,48,.45);
  box-shadow: 0 0 0 4px rgba(240,78,48,.08);
}
.xfo-customer-form {
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
}
.xfo-ready-box {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(31,157,85,.08);
  border: 1px solid rgba(31,157,85,.18);
  color: var(--xfo-color-text);
}
.xfo-ready-box strong { color: var(--xfo-color-success); font-size: 13px; }
.xfo-ready-box span { font-size: 12px; line-height: 1.35; color: var(--xfo-color-text-muted); }
.xfo-product-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17,17,17,.035);
  color: var(--xfo-color-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (min-width: 1101px) {
  .xfo-cart-panel {
    max-height: calc(100vh - 126px);
    display: flex;
    flex-direction: column;
  }
  .xfo-cart-items {
    max-height: 260px;
  }
  .xfo-customer-form {
    overflow: auto;
  }
}

@media (max-width: 1100px) {
  .xfo-menu-grid.is-single { grid-template-columns: 1fr; }
  .xfo-layout { grid-template-columns: 1fr; }
  .xfo-sidebar { max-width: 560px; width: 100%; justify-self: center; }
}

@media (max-width: 760px) {
  .xfo-cart-status { margin: 12px; }
  .xfo-menu-grid.is-single { grid-template-columns: 1fr; }
  .xfo-image-chip { display: none; }
}


/* v0.8.9 Customizer Hero Slider */
.xfo-hero-visual { position: relative; }
.xfo-hero-slider-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.xfo-hero-slider-controls > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(17,17,17,.72);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
}
.xfo-hero-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(17,17,17,.62);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.xfo-hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.xfo-hero-dots button.is-active { width: 20px; background: #fff; }


/* v0.8.10 normal WordPress content/page routing */
.xfo-page-shell{min-height:100vh;background:var(--xfo-color-bg)}
.xfo-server-topbar{position:sticky;top:0;z-index:50}
.admin-bar .xfo-server-topbar{top:32px}
.xfo-content-page{padding:64px 20px 96px}
.xfo-content-card{max-width:980px;margin:0 auto;padding:42px;border:1px solid var(--xfo-color-border,#ece7e2);border-radius:28px;background:var(--xfo-color-surface,#fff);box-shadow:0 20px 60px rgba(17,17,17,.08)}
.xfo-content-head h1{margin:0 0 22px;font-family:var(--xfo-font-heading);font-size:clamp(34px,5vw,64px);line-height:.95;color:var(--xfo-color-text)}
.xfo-content-body{font-size:17px;line-height:1.75;color:var(--xfo-color-text-muted)}
.xfo-content-body h2,.xfo-content-body h3{color:var(--xfo-color-text);font-family:var(--xfo-font-heading);line-height:1.12}
.xfo-content-body a{color:var(--xfo-color-primary);font-weight:800}
.xfo-content-body ol,.xfo-content-body ul{padding-left:1.4em}
.xfo-server-footer{margin-top:0}
@media(max-width:782px){.admin-bar .xfo-server-topbar{top:46px}.xfo-content-page{padding:32px 14px 64px}.xfo-content-card{padding:26px;border-radius:22px}}


/* v0.8.11 Global Footer + App Shortcode Routing Fix */
.xfo-page-shell{display:flex;min-height:100vh;flex-direction:column;background:var(--xfo-color-bg)}
.xfo-page-shell > .xfo-footer{margin-top:auto}
.xfo-footer{background:#0b0b0c;color:#fff;padding:46px 0 44px;border-top:1px solid rgba(255,255,255,.06)}
.xfo-footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:56px;align-items:start}
.xfo-footer-column h3,.xfo-footer-column h4{margin:0 0 14px;font:900 18px/1.1 var(--xfo-font-heading);letter-spacing:-.02em;color:#fff}
.xfo-footer-column p{margin:0;max-width:330px;color:rgba(255,255,255,.72);font-size:14px;line-height:1.65}
.xfo-footer-column nav{display:grid;gap:9px}
.xfo-footer-column a{color:rgba(255,255,255,.74);text-decoration:none;font-weight:750;font-size:14px}
.xfo-footer-column a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--xfo-color-primary);text-underline-offset:4px}
.xfo-content-page{width:100%;padding:64px 20px 92px}
.xfo-content-card{overflow:hidden}
.xfo-content-body .wp-block-image img{max-width:100%;height:auto;border-radius:22px}
.xfo-content-body input,.xfo-content-body textarea,.xfo-content-body select{max-width:100%;border:1px solid var(--xfo-color-border);border-radius:12px;padding:10px 12px}
.xfo-content-body textarea{min-height:110px}
.xfo-app + .xfo-footer,.xfo-shell .xfo-footer{margin-top:0}
@media(max-width:900px){.xfo-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.xfo-footer{padding:34px 0}}
@media(max-width:640px){.xfo-footer-grid{grid-template-columns:1fr}.xfo-footer-column p{max-width:none}.xfo-content-page{padding:32px 14px 64px}}

/* v0.8.30.15 Karriere / Jobs */
.xfo-careers-page{display:block;min-height:0;background:transparent}
.xfo-careers-page h2{margin:38px 0 16px;font-size:clamp(26px,4vw,38px)}
.xfo-careers-page h3{margin:8px 0 12px;font-size:clamp(21px,3vw,27px)}
.xfo-careers-page h4{margin:22px 0 8px;color:var(--xfo-color-text);font:800 16px/1.3 var(--xfo-font-body)}
.xfo-careers-page p{max-width:72ch}
.xfo-careers-intro{margin:-8px -8px 34px;padding:clamp(24px,5vw,44px);border-radius:24px;background:var(--xfo-color-wine);color:#fff}
.xfo-careers-intro h2{margin:8px 0 14px;color:#fff}
.xfo-careers-intro .xfo-careers-kicker{color:#ffd9cf!important}
.xfo-careers-intro p{color:rgba(255,255,255,.86)}
.xfo-careers-kicker,.xfo-job-label{margin:0!important;color:var(--xfo-color-primary)!important;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.xfo-job-grid{margin:0}
.xfo-job-grid>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.xfo-job-grid>.wp-block-group__inner-container>.xfo-job-card{min-width:0;margin:0!important;padding:26px;border:1px solid var(--xfo-color-border);border-radius:20px;background:var(--xfo-color-surface);box-shadow:var(--xfo-shadow-soft)}
.xfo-job-card:last-child{grid-column:1/-1}
.xfo-job-card ul{margin:8px 0 0;padding-left:1.25em}
.xfo-job-card li+li{margin-top:7px}
.xfo-shift-box,.xfo-application-box{margin-top:28px;padding:clamp(22px,4vw,34px);border-radius:20px}
.xfo-shift-box{border:1px solid color-mix(in srgb,var(--xfo-color-primary) 28%,transparent);background:var(--xfo-color-soft)}
.xfo-shift-box h2,.xfo-application-box h2{margin-top:0}
.xfo-shift-box .wp-block-columns{gap:16px;margin:18px 0}
.xfo-shift-box .wp-block-column{padding:18px;border-radius:16px;background:#fff}
.xfo-shift-time{margin:0!important;color:var(--xfo-color-text)!important;font:900 clamp(22px,3vw,30px)/1.1 var(--xfo-font-heading)}
.xfo-application-box{border:1px solid var(--xfo-color-border);background:#fff}
.xfo-application-box a{overflow-wrap:anywhere}
.xfo-application-note{margin-top:22px;padding:14px 16px;border-left:4px solid var(--xfo-color-primary);background:var(--xfo-color-soft);color:var(--xfo-color-text)!important}
@media(max-width:1280px) and (min-width:761px){.xfo-topbar-inner{gap:14px}.xfo-nav{gap:2px}.xfo-nav a{padding:10px 8px;font-size:13px}.xfo-header-address{display:none}}
@media(max-width:1100px) and (min-width:761px){.xfo-topbar-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:10px}.xfo-nav,.xfo-location{display:none}.xfo-mobile-nav{display:block}.xfo-brand-text strong{max-width:220px;overflow:hidden;text-overflow:ellipsis}.xfo-brand-text span{white-space:nowrap}}
@media(max-width:1500px) and (min-width:1101px){.xfo-header-address{display:none}}
@media(max-width:720px){.xfo-job-grid>.wp-block-group__inner-container{grid-template-columns:1fr}.xfo-job-card:last-child{grid-column:auto}.xfo-job-card{padding:20px}.xfo-careers-intro{margin:-4px -4px 26px;padding:24px 20px}.xfo-shift-box .wp-block-columns{display:grid}.xfo-careers-page h2{margin-top:30px}}

/* v0.8.12 legal footer/profile polish */
.xfo-brand-logo{width:48px;height:48px;object-fit:contain;border-radius:12px;background:#fff}.xfo-footer-grid{grid-template-columns:1.3fr repeat(4,minmax(0,1fr))}.xfo-legal-warning{border:1px solid #ffd0c8;background:#fff4f1;border-radius:14px;padding:14px 16px;color:#8b2515;font-weight:600}.xfo-content-body a{color:var(--xfo-color-primary);font-weight:700}.xfo-content-body h2,.xfo-content-body h3{letter-spacing:-.02em}@media(max-width:960px){.xfo-footer-grid{grid-template-columns:1fr 1fr}.xfo-brand-logo{width:44px;height:44px}}@media(max-width:640px){.xfo-footer-grid{grid-template-columns:1fr}}


/* v0.8.13 Menu Section Blocks */
.xfo-menu-sections{display:flex;flex-direction:column;gap:28px;margin-top:18px}
.xfo-menu-section{background:rgba(255,255,255,.55);border:1px solid rgba(17,17,17,.06);border-radius:24px;padding:18px;box-shadow:0 18px 50px rgba(17,17,17,.045)}
.xfo-menu-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.xfo-menu-section-head h3{font-family:var(--xfo-font-heading);font-size:28px;line-height:1.1;margin:4px 0 4px;color:var(--xfo-color-text)}
.xfo-menu-section-head p{margin:0;color:var(--xfo-color-text-muted);font-size:14px}
.xfo-section-badge{display:inline-flex;align-items:center;border-radius:999px;background:rgba(240,78,48,.10);color:var(--xfo-color-primary);font-weight:800;font-size:11px;letter-spacing:.02em;padding:6px 10px;text-transform:uppercase}
.xfo-section-count{white-space:nowrap;border-radius:999px;background:#f5f5f5;color:#555;font-weight:800;font-size:12px;padding:8px 12px}
.xfo-section-grid{grid-template-columns:repeat(var(--xfo-section-cols,3),minmax(0,1fr))}
.xfo-drinks-list,.xfo-compact-list{display:grid;grid-template-columns:1fr;gap:10px}
.xfo-drink-line,.xfo-compact-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid rgba(17,17,17,.08);border-radius:16px;background:#fff;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.xfo-drink-line:hover,.xfo-compact-line:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(17,17,17,.08);border-color:rgba(240,78,48,.28)}
.xfo-drink-line strong,.xfo-compact-line strong{display:block;font-size:15px;color:var(--xfo-color-text)}
.xfo-drink-line span,.xfo-compact-line span{font-size:12px;color:var(--xfo-color-text-muted)}
.xfo-drink-line>div:last-child,.xfo-compact-line>div:last-child{display:flex;align-items:center;gap:12px;white-space:nowrap}
.xfo-section-note{font-size:12px;color:var(--xfo-color-text-muted);margin:12px 2px 0}
.xfo-combo-grid{display:grid;grid-template-columns:repeat(var(--xfo-section-cols,2),minmax(0,1fr));gap:14px}
.xfo-combo-card{display:grid;grid-template-columns:130px 1fr;gap:16px;border:1px solid rgba(17,17,17,.08);border-radius:20px;background:#fff;padding:12px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.xfo-combo-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(17,17,17,.08);border-color:rgba(240,78,48,.28)}
.xfo-combo-image{aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#f5f5f5}
.xfo-combo-image img{width:100%;height:100%;object-fit:cover;display:block}
.xfo-combo-content h3{margin:8px 0 6px;font-size:19px;line-height:1.15}
.xfo-combo-content p{margin:0 0 14px;color:var(--xfo-color-text-muted);font-size:13px}
.xfo-promo-section{display:grid;gap:12px}
.xfo-promo-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid rgba(240,78,48,.20);background:linear-gradient(135deg,rgba(240,78,48,.10),rgba(255,255,255,.95));border-radius:22px;padding:18px 20px;cursor:pointer}
.xfo-promo-card h3{font-size:22px;margin:8px 0 4px}.xfo-promo-card p{margin:0;color:var(--xfo-color-text-muted)}.xfo-promo-card strong{display:block;font-size:24px;margin-bottom:10px;color:var(--xfo-color-primary)}
@media (max-width:900px){.xfo-section-grid,.xfo-combo-grid{grid-template-columns:repeat(var(--xfo-section-cols-mobile,1),minmax(0,1fr))}.xfo-menu-section{padding:14px;border-radius:20px}.xfo-menu-section-head{flex-direction:column}.xfo-combo-card{grid-template-columns:92px 1fr}.xfo-promo-card{align-items:flex-start;flex-direction:column}.xfo-section-count{display:none}}


/* v0.8.14 Restaurant Menu Layout */
/* v0.8.31: dunkles Weinrot statt hellem Verlauf (eigene Markenidentität, siehe Design-Referenz-Analyse) */
.xfo-restaurant-menu-hero{padding:42px 0 18px;background:linear-gradient(160deg,var(--xfo-color-wine),var(--xfo-color-wine-deep));}
.xfo-restaurant-back{display:flex;gap:12px;align-items:center;margin:0 0 14px;color:rgba(255,255,255,.68);font-size:13px;font-weight:700;}
.xfo-restaurant-back a{color:#fff;text-decoration:none;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:8px 12px;border-radius:999px;}
.xfo-restaurant-profile-card{display:grid;grid-template-columns:minmax(260px,380px) 1fr;background:#fff;border:1px solid var(--xfo-color-border);border-radius:26px;box-shadow:var(--xfo-shadow-card);overflow:hidden;}
.xfo-restaurant-cover{position:relative;min-height:235px;background:#111;}
.xfo-restaurant-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.xfo-restaurant-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:130px;height:130px;border-radius:50%;background:rgba(17,17,17,.78);border:6px solid rgba(255,255,255,.86);display:flex;align-items:center;justify-content:center;box-shadow:0 24px 50px rgba(0,0,0,.28);overflow:hidden;color:#fff;font-weight:900;font-size:48px;}
.xfo-restaurant-logo img{width:100%;height:100%;object-fit:cover;}
.xfo-restaurant-info{padding:30px;display:flex;flex-direction:column;gap:16px;}
.xfo-restaurant-title-row{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--xfo-color-border);padding-bottom:18px;}
.xfo-restaurant-title-row h1{font-size:clamp(28px,3vw,42px);line-height:1;margin:0 0 7px;letter-spacing:-.04em;}
.xfo-restaurant-title-row p,.xfo-restaurant-description{margin:0;color:var(--xfo-color-text-muted);line-height:1.6;}
.xfo-open-badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#e9f8ef;color:#147a3b;font-weight:900;border-radius:999px;padding:8px 12px;font-size:13px;}
.xfo-open-badge:before{content:'';width:8px;height:8px;border-radius:50%;background:#22c55e;}
.xfo-open-badge.is-preorder{background:#fff4d6;color:#805700;}
.xfo-open-badge.is-preorder:before{background:#e7a300;}
.xfo-open-badge.is-closed{background:#f4e8eb;color:#7f1d2d;}
.xfo-open-badge.is-closed:before{background:#b4233c;}
.xfo-open-badge.is-checking{background:#eef1f4;color:#4b5563;}
.xfo-open-badge.is-checking:before{background:#7b8794;}
.xfo-restaurant-stats{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));border:1px solid var(--xfo-color-border);border-radius:18px;overflow:hidden;background:#fff;}
.xfo-restaurant-stats div{padding:14px 16px;border-right:1px solid var(--xfo-color-border);}
.xfo-restaurant-stats div:last-child{border-right:0;}
.xfo-restaurant-stats strong{display:block;font-size:17px;font-weight:900;color:var(--xfo-color-text);}
.xfo-restaurant-stats span{display:block;font-size:12px;color:var(--xfo-color-text-muted);font-weight:700;margin-top:3px;}
.xfo-restaurant-notice{background:#ecf9ef;border:1px solid rgba(31,157,85,.16);color:#176236;border-radius:14px;padding:12px 14px;font-weight:800;font-size:13px;}
.xfo-layout.is-restaurant-menu{align-items:flex-start;padding-top:20px;}
.xfo-layout.is-restaurant-menu .xfo-main{min-width:0;}
.xfo-layout.is-restaurant-menu .xfo-sidebar{position:sticky;top:96px;align-self:flex-start;}
.xfo-layout.is-restaurant-menu .xfo-section-head{margin-top:8px;}
.xfo-layout.is-restaurant-menu .xfo-menu-section{scroll-margin-top:96px;}
.xfo-header-address strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.xfo-total-row.is-muted{font-size:13px;color:var(--xfo-color-text-muted);}
.xfo-total-row.is-muted strong{font-size:13px;}
@media (max-width:1100px){.xfo-restaurant-profile-card{grid-template-columns:1fr}.xfo-restaurant-cover{min-height:260px}.xfo-restaurant-stats{grid-template-columns:repeat(2,1fr)}.xfo-restaurant-stats div:nth-child(2){border-right:0}.xfo-restaurant-stats div:nth-child(1),.xfo-restaurant-stats div:nth-child(2){border-bottom:1px solid var(--xfo-color-border)}.xfo-header-address{display:none}.xfo-layout.is-restaurant-menu .xfo-sidebar{position:static}}
@media (max-width:720px){.xfo-restaurant-menu-hero{padding-top:24px}.xfo-restaurant-info{padding:20px}.xfo-restaurant-title-row{display:block}.xfo-open-badge{margin-top:14px}.xfo-restaurant-stats{grid-template-columns:1fr}.xfo-restaurant-stats div{border-right:0!important;border-bottom:1px solid var(--xfo-color-border)}.xfo-restaurant-stats div:last-child{border-bottom:0}.xfo-restaurant-logo{width:96px;height:96px}.xfo-restaurant-back{overflow:auto}.xfo-restaurant-profile-card{border-radius:20px}.xfo-restaurant-cover{min-height:210px}}


/* v0.8.15 Checkout UX Polish / Mindestbestellwert & Lieferkostenlogik */
.xfo-min-order-box {
  display: grid;
  gap: 4px;
  border-radius: 16px;
  padding: 11px 12px;
  border: 1px solid var(--xfo-color-border);
  background: rgba(17,17,17,.035);
  font-size: 12px;
}
.xfo-min-order-box strong { font: 900 13px/1.15 var(--xfo-font-heading); color: var(--xfo-color-text); }
.xfo-min-order-box span { color: var(--xfo-color-text-muted); line-height: 1.35; }
.xfo-min-order-box.is-blocking {
  border-color: rgba(240,78,48,.35);
  background: rgba(240,78,48,.075);
}
.xfo-min-order-box.is-ok {
  border-color: rgba(37,165,91,.30);
  background: rgba(37,165,91,.075);
}
.xfo-total-row.is-grand {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--xfo-color-border);
  color: var(--xfo-color-text);
}
.xfo-total-row.is-grand span { font-weight: 900; }
.xfo-total-row.is-grand strong { color: var(--xfo-color-primary); font-size: 28px; }
.xfo-button[disabled] { opacity: .52; cursor: not-allowed; filter: grayscale(.18); }

.xfo-delivery-zone-box{margin:10px 0;padding:12px 14px;border:1px solid var(--xfo-color-border);border-radius:14px;background:#fff;font-size:13px;color:var(--xfo-color-text-muted)}.xfo-delivery-zone-box .xfo-osm-credit{display:block;margin-top:6px;font-size:11px;opacity:.85}.xfo-delivery-zone-box .xfo-osm-credit a{color:inherit;text-decoration:underline}.xfo-delivery-zone-box strong{display:block;color:var(--xfo-color-text);margin-bottom:3px}.xfo-delivery-zone-box.is-ok{border-color:rgba(37,165,91,.25);background:#eefaf3;color:#1d7f48}.xfo-delivery-zone-box.is-blocking{border-color:rgba(230,57,70,.25);background:#fff1f1;color:#a8202c}.xfo-min-order-box.is-ok{border-color:rgba(37,165,91,.25);background:#eefaf3;color:#1d7f48}


/* v0.8.17 Layout containment, responsive cards and cart readability */
.xfo-shell > .xfo-topbar + .xfo-topbar,
.xfo-shell > .xfo-footer + .xfo-footer { display:none !important; }
.xfo-layout.is-restaurant-menu{grid-template-columns:minmax(0,1fr) 380px;gap:30px;}
.xfo-section-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));}
.xfo-section-grid.is-single{grid-template-columns:minmax(0,1fr);}
.xfo-section-grid.is-two{grid-template-columns:repeat(2,minmax(0,1fr));}
.xfo-section-grid.is-single .xfo-product-card{grid-template-columns:minmax(0,1fr) 176px;min-height:176px;width:100%;}
.xfo-section-grid.is-single .xfo-product-image{width:158px;height:158px;flex-basis:158px;}
.xfo-section-grid.is-single .xfo-product-card h3{font-size:24px;}
.xfo-section-grid.is-single .xfo-product-card p{font-size:15px;-webkit-line-clamp:3;}
.xfo-section-grid.is-single .xfo-price{font-size:24px;}
.xfo-cart-panel{max-height:calc(100vh - 132px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;}
.xfo-cart-panel::-webkit-scrollbar{width:8px}.xfo-cart-panel::-webkit-scrollbar-thumb{background:rgba(17,17,17,.18);border-radius:999px}
.xfo-cart-items{max-height:none;overflow:visible;padding:14px 16px;gap:10px;}
.xfo-cart-line{grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:12px 14px;border:1px solid rgba(17,17,17,.055);}
.xfo-cart-line-main{min-width:0;}
.xfo-cart-line-main strong{font-size:14px;line-height:1.2;word-break:break-word;}
.xfo-cart-options{display:grid;gap:3px;margin-top:7px;}
.xfo-cart-option,.xfo-cart-note{display:block;margin:0!important;color:var(--xfo-color-text-muted);font-size:12px;line-height:1.35;word-break:break-word;}
.xfo-cart-line-side{display:grid;grid-template-columns:auto 44px;align-items:start;gap:8px;white-space:nowrap;}
.xfo-line-price{font-size:14px;}
.xfo-close{width:44px;height:44px;display:grid;place-items:center;}
.xfo-customer-form{border-top:1px solid var(--xfo-color-border);}
@media(max-width:1100px){.xfo-layout.is-restaurant-menu{grid-template-columns:1fr}.xfo-cart-panel{max-height:none;overflow:visible}.xfo-sidebar{position:static}}
@media(max-width:760px){.xfo-section-grid,.xfo-section-grid.is-single,.xfo-section-grid.is-two{grid-template-columns:1fr}.xfo-section-grid.is-single .xfo-product-card,.xfo-product-card{grid-template-columns:minmax(0,1fr) 112px;min-height:150px}.xfo-section-grid.is-single .xfo-product-image,.xfo-product-image{width:112px;height:112px;flex-basis:112px}.xfo-section-grid.is-single .xfo-product-card h3,.xfo-product-card h3{font-size:19px}.xfo-section-grid.is-single .xfo-price,.xfo-price{font-size:20px}.xfo-menu-section{padding:14px}.xfo-product-card{padding:14px;gap:12px}.xfo-product-actions{gap:8px}.xfo-details{height:44px;padding:0 12px}.xfo-add{width:44px;height:44px;border-radius:13px}}
@media(max-width:430px){.xfo-product-card,.xfo-section-grid.is-single .xfo-product-card{grid-template-columns:1fr 96px}.xfo-product-image,.xfo-section-grid.is-single .xfo-product-image{width:96px;height:96px;flex-basis:96px}.xfo-product-card p{font-size:13px}.xfo-product-bottom{align-items:flex-end}.xfo-details{font-size:12px}.xfo-add{width:44px;height:44px}}


/* v0.8.18 Cart Form Auto Height & Split Scroll UX
   Goal: no mini-scroll trap inside customer form. Only the article list may scroll when many cart lines exist. */
.xfo-cart-panel {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
}
.xfo-cart-panel .xfo-customer-form {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: grid;
  gap: 12px;
}
.xfo-cart-panel .xfo-cart-total {
  position: relative;
  z-index: 2;
  background: var(--xfo-color-surface);
}
.xfo-cart-panel .xfo-cart-items {
  max-height: none !important;
  overflow: visible !important;
  scrollbar-gutter: stable;
}
.xfo-cart-panel.has-many-cart-lines .xfo-cart-items {
  max-height: min(340px, 32vh) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 14px;
}
.xfo-cart-panel.has-many-cart-lines .xfo-cart-items::-webkit-scrollbar { width: 8px; }
.xfo-cart-panel.has-many-cart-lines .xfo-cart-items::-webkit-scrollbar-thumb { background: rgba(17,17,17,.18); border-radius: 999px; }
.xfo-cart-panel.has-many-cart-lines .xfo-cart-items::-webkit-scrollbar-track { background: rgba(17,17,17,.035); border-radius: 999px; }
.xfo-cart-panel.has-normal-cart-lines .xfo-cart-items {
  padding-bottom: 10px;
}
.xfo-field textarea {
  min-height: 86px;
}
.xfo-address-fields {
  display: grid;
  grid-template-columns: 1.35fr .65fr 1fr;
  gap: 10px;
}
.xfo-address-fields .xfo-field-wide {
  grid-column: auto;
}
@media (min-width: 1101px) {
  .xfo-layout.is-restaurant-menu .xfo-sidebar {
    position: sticky;
    top: 104px;
    align-self: flex-start;
  }
  .xfo-layout.is-restaurant-menu .xfo-cart-panel {
    width: 100%;
  }
  .xfo-cart-panel.has-many-cart-lines .xfo-cart-items {
    max-height: 300px !important;
  }
}
@media (max-width: 1100px) {
  .xfo-cart-panel,
  .xfo-cart-panel.has-many-cart-lines .xfo-cart-items {
    max-height: none !important;
    overflow: visible !important;
  }
}
@media (max-width: 760px) {
  .xfo-address-fields {
    grid-template-columns: 1fr;
  }
  .xfo-cart-panel .xfo-customer-form {
    padding: 14px;
  }
}

/* =========================================================
 * XAPAY FoodOrder v0.8.21 – Stabilization Gate
 * Ziel: Layout-Containment, Produktkarten-Breiten, Warenkorb-Lesbarkeit
 * und Bestelldaten ohne irritierende Mini-Scroll-Fallen stabilisieren.
 * ======================================================= */
.xfo-app .xfo-menu-layout,
.xfo-app .xfo-order-layout,
.xfo-app .xfo-restaurant-menu-layout {
  align-items: flex-start;
  overflow: visible;
}

.xfo-app .xfo-menu-main,
.xfo-app .xfo-menu-sections,
.xfo-app .xfo-section-content {
  min-width: 0;
}

.xfo-app .xfo-product-grid,
.xfo-app .xfo-section-grid,
.xfo-app .xfo-menu-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.xfo-app .xfo-product-grid:has(.xfo-product-card:only-child),
.xfo-app .xfo-section-grid:has(.xfo-product-card:only-child),
.xfo-app .xfo-menu-products:has(.xfo-product-card:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.xfo-app .xfo-product-card {
  min-width: 0;
  width: 100%;
  height: 100%;
}

.xfo-app .xfo-product-card-media,
.xfo-app .xfo-product-image,
.xfo-app .xfo-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.xfo-app .xfo-product-card-media img,
.xfo-app .xfo-product-image img,
.xfo-app .xfo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.xfo-app .xfo-cart-panel,
.xfo-app .xfo-cart-card,
.xfo-app .xfo-checkout-panel {
  height: auto;
  max-height: none;
  overflow: visible;
}

.xfo-app .xfo-cart-items,
.xfo-app .xfo-cart-lines {
  max-height: min(42vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.xfo-app .xfo-checkout-fields,
.xfo-app .xfo-customer-fields,
.xfo-app .xfo-order-fields,
.xfo-app .xfo-delivery-fields {
  height: auto;
  max-height: none;
  overflow: visible;
}

.xfo-app .xfo-cart-summary,
.xfo-app .xfo-cart-actions {
  position: relative;
  z-index: 2;
  background: var(--xfo-color-surface, #fff);
}

@media (max-width: 980px) {
  .xfo-app .xfo-product-grid,
  .xfo-app .xfo-section-grid,
  .xfo-app .xfo-menu-products {
    grid-template-columns: 1fr;
  }

  .xfo-app .xfo-cart-items,
  .xfo-app .xfo-cart-lines {
    max-height: none;
    overflow: visible;
  }
}

.xfo-mini-badge.is-discount{background:#fff1df;color:#d5481f;border-color:#ffd1bd}.xfo-price-stack{display:inline-flex;gap:8px;align-items:baseline;flex-wrap:nowrap;white-space:nowrap;word-break:keep-all;font-variant-numeric:tabular-nums}.xfo-price-stack del{font-size:.82em;color:var(--xfo-color-text-muted);font-weight:600;white-space:nowrap}.xfo-option-counter{min-width:44px;text-align:center}.xfo-cart-line-main{min-width:0}.xfo-cart-options{display:flex;flex-direction:column;gap:2px}.xfo-cart-option{line-height:1.35}


/* =========================================================
 * XAPAY FoodOrder v0.8.26.1 – Category Tabs Horizontal Scroll & Anchor UX Fix
 * Ziel: Viele Kategorien sauber horizontal scrollen, aktive Kategorie sichtbar halten,
 * keine abgeschnittenen Tabs und kein irritierender Sprung in die Seite.
 * ======================================================= */
.xfo-category-bar-wrap {
  position: sticky;
  top: 78px;
  z-index: 44;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  background: linear-gradient(180deg, var(--xfo-color-bg) 78%, rgba(255,250,247,0));
}
.xfo-category-bar-wrap .xfo-category-bar {
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 4px 6px;
  background: transparent !important;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.xfo-category-bar-wrap .xfo-category-bar::-webkit-scrollbar { display: none; }
.xfo-category-bar-wrap .xfo-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  max-width: min(260px, 74vw);
  overflow: hidden;
  text-overflow: ellipsis;
}
.xfo-tab-scroll {
  width: 44px;
  height: 44px;
  border: 1px solid var(--xfo-color-border);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--xfo-color-text);
  box-shadow: var(--xfo-shadow-soft);
  cursor: pointer;
  font: 900 22px/1 var(--xfo-font-heading);
  display: grid;
  place-items: center;
}
.xfo-tab-scroll:hover { border-color: rgba(240,78,48,.28); color: var(--xfo-color-primary); }
.xfo-chip[aria-selected="true"] { outline: 2px solid rgba(240,78,48,.20); outline-offset: 2px; }
@media (max-width: 760px) {
  .xfo-category-bar-wrap {
    top: 64px;
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 0;
  }
  .xfo-tab-scroll { display: none; }
  .xfo-category-bar-wrap .xfo-category-bar {
    gap: 8px;
    padding-inline: 2px;
  }
  .xfo-category-bar-wrap .xfo-chip { padding: 10px 14px; }
}


/* =========================================================
 * XAPAY FoodOrder v0.8.26.2 – Search UX Polish & Result Layout Stabilizer
 * Ziel: Suche eindeutig führen, Reset/Alle-Gerichte anbieten, Kartenhöhe stabilisieren
 * und Footer bei wenigen Treffern nicht zu früh in den sichtbaren Bereich ziehen.
 * ======================================================= */
.xfo-main {
  min-height: clamp(520px, 58vh, 820px);
}
.xfo-searchbar {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}
.xfo-searchbar.has-query input {
  padding-right: 4px;
}
.xfo-search-clear-mini {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.08);
  background: rgba(17,17,17,.045);
  color: var(--xfo-color-text-muted);
  cursor: pointer;
  font: 900 20px/1 var(--xfo-font-heading);
  display: grid;
  place-items: center;
}
.xfo-search-clear-mini:hover,
.xfo-search-clear-mini:focus {
  color: var(--xfo-color-primary);
  border-color: rgba(240,78,48,.24);
  background: rgba(240,78,48,.08);
  outline: none;
}
.xfo-search-mode {
  min-height: clamp(360px, 46vh, 640px);
}
.xfo-search-ux-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(240,78,48,.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(240,78,48,.075), rgba(255,255,255,.92));
  box-shadow: var(--xfo-shadow-soft);
}
.xfo-search-ux-panel strong {
  display: block;
  margin-top: 6px;
  font: 900 19px/1.15 var(--xfo-font-heading);
  color: var(--xfo-color-text);
}
.xfo-search-ux-panel small {
  display: block;
  margin-top: 5px;
  color: var(--xfo-color-text-muted);
  line-height: 1.45;
  max-width: 680px;
}
.xfo-search-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.xfo-search-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--xfo-color-border);
  color: var(--xfo-color-text);
  font-weight: 900;
  white-space: nowrap;
}
.xfo-button.xfo-button-soft {
  border: 1px solid rgba(240,78,48,.18);
  background: rgba(240,78,48,.08);
  color: var(--xfo-color-primary);
}
.xfo-button.xfo-button-soft:hover,
.xfo-button.xfo-button-soft:focus {
  background: rgba(240,78,48,.13);
  border-color: rgba(240,78,48,.30);
}
.xfo-search-mode .xfo-menu-section {
  background: rgba(255,255,255,.76);
}
.xfo-search-mode .xfo-section-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 18px;
}
.xfo-search-mode .xfo-product-card {
  min-height: 182px;
  grid-template-columns: minmax(0, 1fr) 138px;
  align-items: stretch;
}
.xfo-search-mode .xfo-product-info {
  min-height: 148px;
}
.xfo-search-mode .xfo-product-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xfo-search-mode .xfo-product-card p {
  -webkit-line-clamp: 2;
}
.xfo-search-mode .xfo-product-image {
  width: 138px;
  height: 138px;
  flex-basis: 138px;
}
.xfo-search-mode .xfo-product-bottom {
  margin-top: 16px;
}
.xfo-search-mode .xfo-product-actions {
  flex-shrink: 0;
}
.xfo-empty-state.is-search-empty {
  min-height: 280px;
  border: 1px dashed rgba(240,78,48,.22);
  background: rgba(255,255,255,.72);
}
.xfo-empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .xfo-search-ux-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .xfo-search-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .xfo-main {
    min-height: auto;
  }
  .xfo-searchbar {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .xfo-search-clear-mini,
  .xfo-searchbar .xfo-button {
    width: 100%;
    height: 44px;
  }
  .xfo-search-mode .xfo-product-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    min-height: 156px;
  }
  .xfo-search-mode .xfo-product-info {
    min-height: 128px;
  }
  .xfo-search-mode .xfo-product-image {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }
}
@media (max-width: 430px) {
  .xfo-search-mode .xfo-product-card {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
  .xfo-search-mode .xfo-product-image {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }
  .xfo-search-actions,
  .xfo-empty-actions {
    display: grid;
    width: 100%;
  }
}


/* v0.8.26.3 – Price Typography & Euro No-Wrap Fix
   Verhindert, dass z. B. „8,90 €“ in Produktkarten als „8,90“ und „€“ in zwei Zeilen erscheint. */
.xfo-price,
.xfo-line-price,
.xfo-option-price,
.xfo-cart-line-side,
.xfo-total-row strong,
.xfo-modal-footer .xfo-price,
.xfo-drink-line .xfo-price,
.xfo-compact-line .xfo-price,
.xfo-product-bottom .xfo-price,
.xfo-product-bottom .xfo-price-stack {
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}
.xfo-product-bottom {
  flex-wrap: nowrap;
}
.xfo-product-bottom > .xfo-price,
.xfo-product-bottom > .xfo-price-stack {
  flex: 0 0 auto;
  min-width: 74px;
  max-width: max-content;
}
.xfo-product-actions {
  flex: 0 0 auto;
}
.xfo-drink-line > div:last-child,
.xfo-compact-line > div:last-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .xfo-product-bottom > .xfo-price,
  .xfo-product-bottom > .xfo-price-stack {
    min-width: 68px;
  }
}

/* v0.8.27-dev/xapay-food-order-management: Bestellstatus-Seite */
.xfo-status-shell {
  max-width: 480px;
  margin: 48px auto;
  padding: 0 20px;
}
.xfo-status-shell h1 { font-size: 24px; margin-bottom: 8px; }
.xfo-status-shell form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.xfo-status-shell label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.xfo-status-shell input {
  border: 1px solid var(--xfo-border-color, #d8d8d8);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}
.xfo-status-shell button {
  background: var(--xfo-color-primary, #b82f16);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
}
.xfo-status-error {
  background: #fdeceb;
  color: #a3242a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
.xfo-status-current { font-size: 16px; margin: 12px 0 20px; }
.xfo-status-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.xfo-status-steps li {
  padding: 10px 14px;
  border-radius: 10px;
  background: #f2f2f2;
  color: #8a8a8a;
  font-weight: 600;
}
.xfo-status-steps li.is-reached {
  background: #fde3cf;
  color: #8a3b00;
}
.xfo-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.xfo-status-shell > button {
  background: transparent;
  color: var(--xfo-text-color, #1a1a1a);
  border: 1px solid var(--xfo-border-color, #d8d8d8);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

/* v0.8.30.24 – release-readiness: consistent controls, icons and reduced motion. */
.xfo-toggle-icon,
.xfo-qty-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}
.xfo-cart-line-qty .xfo-qty-icon {
  width: 18px;
  height: 18px;
}
.xfo-add:focus-visible,
.xfo-close:focus-visible,
.xfo-tab-scroll:focus-visible,
.xfo-chip:focus-visible,
.xfo-toggle:focus-visible,
.xfo-search-clear-mini:focus-visible,
.xfo-searchbar input:focus-visible,
.xfo-status-shell button:focus-visible,
.xfo-status-shell input:focus-visible {
  outline: 3px solid rgba(240, 78, 48, .42);
  outline-offset: 3px;
}
.xfo-status-shell input,
.xfo-status-shell button {
  min-height: 44px;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Server-rendered app shell (visible without JavaScript and while the menu loads) and narrow-phone head wrapping. */
.xfo-loading-shell { padding: 24px 16px; align-content: center; }
.xfo-loading-copy { max-width: 34rem; text-align: center; display: grid; gap: 10px; }
.xfo-loading-copy h1, .xfo-loading-copy .xfo-loading-title { margin: 0; font: 900 clamp(26px, 8vw, 38px)/1.1 var(--xfo-font-heading); color: var(--xfo-color-text); }
.xfo-loading-copy p { margin: 0; }
.xfo-loading-copy a { color: inherit; text-decoration: underline; }
.xfo-loading-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.xfo-loading-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.xfo-section-head { flex-wrap: wrap; }
/* min-height + aspect-ratio forced the hero card to 400 px on phones; keep it inside its column. */
.xfo-hero-visual { width: 100%; max-width: 100%; min-width: 0; }
.xfo-floating-stat { max-width: calc(100% - 44px); }
@media (max-width: 420px) {
  .xfo-section-head { align-items: flex-start; }
  .xfo-section-head h2 { font-size: 28px; }
}

/* Company orders: names on the dishes. */
.xfo-company-box { margin-top: 4px; }
.xfo-label-inputs { display: grid; gap: 6px; margin: 8px 0 4px; }
.xfo-label-title { font-size: 13px; font-weight: 700; color: var(--xfo-color-text-muted); }
.xfo-label-field input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--xfo-color-border, #ddd); border-radius: 12px; font: inherit; }

/* Design & SEO: banner and style options (classes set from the Design & SEO settings) */
.xfo-banner { text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 700; line-height: 1.45; }
.xfo-banner a { margin-left: 6px; font-weight: 800; text-decoration: underline; }

body.xfo-btn-rounded .xfo-button, body.xfo-btn-rounded .xfo-toggle, body.xfo-btn-rounded .xfo-cart-trigger, body.xfo-btn-rounded .xfo-chip { border-radius: 12px; }
body.xfo-btn-square .xfo-button, body.xfo-btn-square .xfo-toggle, body.xfo-btn-square .xfo-cart-trigger, body.xfo-btn-square .xfo-chip { border-radius: 4px; }

body.xfo-cards-border .xfo-hero-card, body.xfo-cards-border .xfo-benefit, body.xfo-cards-border .xfo-cart, body.xfo-cards-border .xfo-content-card { box-shadow: none; border: 1px solid var(--xfo-color-border); }
body.xfo-cards-flat .xfo-hero-card, body.xfo-cards-flat .xfo-benefit, body.xfo-cards-flat .xfo-cart, body.xfo-cards-flat .xfo-content-card { box-shadow: none; border-color: transparent; background: transparent; }

body.xfo-hero-left .xfo-hero-card { grid-template-columns: .96fr 1.04fr; }
body.xfo-hero-left .xfo-hero-card > div:first-child { order: 2; }
body.xfo-hero-center .xfo-hero-card, body.xfo-hero-none .xfo-hero-card { grid-template-columns: 1fr; }
body.xfo-hero-center .xfo-hero-visual, body.xfo-hero-none .xfo-hero-visual { display: none; }
body.xfo-hero-center .xfo-hero-card { text-align: center; }
body.xfo-hero-center .xfo-hero p { margin-left: auto; margin-right: auto; }
body.xfo-hero-center .xfo-searchbar, body.xfo-hero-center .xfo-benefits { margin-left: auto; margin-right: auto; }

body.xfo-header-light .xfo-topbar { background: #fff; color: var(--xfo-color-text); border-bottom: 1px solid var(--xfo-color-border); }
body.xfo-header-light .xfo-topbar a, body.xfo-header-light .xfo-brand, body.xfo-header-light .xfo-nav a, body.xfo-header-light .xfo-location, body.xfo-header-light .xfo-mobile-nav summary { color: var(--xfo-color-text); }
body.xfo-header-light .xfo-mobile-nav nav { background: #fff; }
body.xfo-header-primary .xfo-topbar { background: var(--xfo-color-primary); color: #fff; }

.xfo-receipt-error{display:block;margin-top:6px;font-size:13px;color:#a8202c}
