/*
 * SchlemmerPizza v0.10.31 — Kundenoberfläche „Tresen & Ofen“
 * Letzte Ebene über customer-ui-v3.css (body.customer-v4).
 *
 * Idee: Das Essen ist der Star. Ein großes Foto mit warmem Espresso-Verlauf
 * trägt die Startseite, darunter ruhige, helle Flächen wie eine gedruckte
 * Speisekarte. Eine warme Serifenschrift (Young Serif) für Überschriften,
 * Inter für alles, was gelesen und bedient wird. Tomatenrot = Handlung,
 * Safran = Markierung, Basilikum = „geöffnet“/Telefon.
 * Schriften liegen lokal auf dem Server (keine Drittanbieter).
 */

@font-face { font-family: "Schlemmer Serif"; src: url("/assets/fonts/young-serif.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Schlemmer Sans"; src: url("/assets/fonts/inter-regular-latin.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0329, U+1E00-1EFF, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schlemmer Sans"; src: url("/assets/fonts/inter-semibold-latin.woff") format("woff"); font-weight: 500 650; font-style: normal; font-display: swap; unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0329, U+1E00-1EFF, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schlemmer Sans"; src: url("/assets/fonts/inter-bold-latin.woff") format("woff"); font-weight: 651 950; font-style: normal; font-display: swap; unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0329, U+1E00-1EFF, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schlemmer Sans"; src: url("/assets/fonts/inter-regular-cyrillic.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+20B4, U+20BD; }
@font-face { font-family: "Schlemmer Sans"; src: url("/assets/fonts/inter-semibold-cyrillic.woff") format("woff"); font-weight: 500 650; font-style: normal; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+20B4, U+20BD; }
@font-face { font-family: "Schlemmer Sans"; src: url("/assets/fonts/inter-bold-cyrillic.woff") format("woff"); font-weight: 651 950; font-style: normal; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+20B4, U+20BD; }

/* ------------------------------------------------------------------ Tokens */
body.customer-v4 {
  --v3-ink: #22150e;
  --v3-text: #3b2b21;
  --v3-muted: #6b5647;
  --v3-red: #b8281f;
  --v3-red-dark: #8f1d16;
  --v3-red-soft: #fcebe8;
  --v3-green: #23683b;
  --v3-green-soft: #e5f3e9;
  --v3-amber-soft: #fff2d9;
  --v3-yellow: #f0a32a;
  --v3-yellow-soft: #fff3dc;
  --v3-cream: #fbf6ee;
  --v3-card: #ffffff;
  --v3-line: #ebe0cf;
  --v3-line-strong: #d6c3aa;
  --v4-espresso: #1f130c;
  --v4-saffron: #f2a93b;
  --v4-saffron-light: #ffc865;
  --v4-paper: #fffdf9;
  --v3-radius: 16px;
  --v3-radius-lg: 24px;
  --v3-shadow: 0 1px 2px rgba(50, 28, 12, .05), 0 8px 24px -12px rgba(50, 28, 12, .18);
  --v3-display: "Schlemmer Serif", "Young Serif", Georgia, "Times New Roman", serif;
  --v4-sans: "Schlemmer Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--v4-sans) !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--v3-cream) !important;
  color: var(--v3-text);
}
body.customer-v4 :where(button, input, select, textarea, .btn) { font-family: var(--v4-sans) !important; }
html:has(body.customer-v4) { overflow-x: clip; }

/* Überschriften: eine Serifenschrift, ein Gewicht – kein künstliches Fettschreiben */
body.customer-v4 :where(h1, h2, .v3CatHeading, .v3OrderSummaryTitle, .pageTitle h1) {
  font-family: var(--v3-display) !important; font-weight: 400 !important; letter-spacing: -.012em !important; color: var(--v3-ink);
}
body.customer-v4 :where(h3) { font-family: var(--v4-sans) !important; letter-spacing: -.01em; }
body.customer-v4 #modal .modalTop h2 { font-weight: 400 !important; letter-spacing: -.01em !important; }

/* Hinweiszeilen über Überschriften: Satzschreibweise, Rot */
body.customer-v4 :where(.v3Eyebrow, .menuHead .eyebrow, .zoneCopy .eyebrow, .pageTitle .eyebrow) {
  font-family: var(--v4-sans) !important; font-weight: 700 !important; font-size: 1rem !important; color: var(--v3-red) !important;
}

/* ------------------------------------------------------------------ Buttons */
body.customer-v4 .btn,
body.customer-v4 button.btn,
body.customer-v4 a.btn {
  border-radius: 999px !important; font-weight: 700 !important; border-width: 1.5px !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
body.customer-v4 .btn.primary,
body.customer-v4 button.btn.primary,
body.customer-v4 a.btn.primary { box-shadow: 0 6px 16px -8px rgba(143, 29, 22, .7) !important; }
body.customer-v4 .btn.primary:hover { box-shadow: 0 8px 20px -8px rgba(143, 29, 22, .8) !important; }
body.customer-v4 .btn.v3BtnPhone { background: var(--v3-green-soft) !important; border-color: #a9d3b6 !important; color: #134427 !important; }

/* ------------------------------------------------------------------ Header */
body.customer-v4 header.v3Topbar {
  background: rgba(255, 253, 249, .96) !important; border-bottom: 1px solid var(--v3-line) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px -14px rgba(50, 28, 12, .35) !important;
}
@supports (backdrop-filter: blur(8px)) {
  body.customer-v4 header.v3Topbar { background: rgba(255, 253, 249, .88) !important; backdrop-filter: saturate(1.4) blur(10px) !important; }
}
body.customer-v4 header.v3Topbar .mainNav a,
body.customer-v4 header.v3Topbar .mainNav .orderGuideNavButton { font-weight: 600 !important; border-radius: 999px !important; }
body.customer-v4 header.v3Topbar .mainNav a:hover,
body.customer-v4 header.v3Topbar .mainNav .orderGuideNavButton:hover,
body.customer-v4 header.v3Topbar .mainNav a[aria-current="page"] { background: var(--v3-yellow-soft) !important; }
body.customer-v4 .v3HeaderPhone { border-width: 1.5px; font-weight: 700; }
body.customer-v4 .v3LangButton { border-width: 1.5px; font-weight: 700; }

/* ------------------------------------------------------------------ Hero */
body.customer-v4 .v3Hero.v4Hero {
  position: relative; isolation: isolate; display: flex !important; align-items: center;
  min-height: clamp(540px, 46vw, 640px); margin: clamp(10px, 1.6vw, 20px) 0 0 !important;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px) calc(clamp(40px, 5vw, 72px) + 34px) !important;
  border: 0 !important; border-radius: 28px !important; overflow: hidden;
  background: var(--v4-espresso) !important; box-shadow: 0 30px 60px -40px rgba(31, 19, 12, .8) !important; color: #fff;
  grid-template-columns: none !important;
}
.v4HeroPhoto { position: absolute; inset: 0; z-index: -2; margin: 0; }
.v4HeroPhoto picture, .v4HeroPhoto img { display: block; width: 100%; height: 100%; }
.v4HeroPhoto img { object-fit: cover; object-position: 62% 50%; }
body.customer-v4 .v4Hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 13, 7, .94) 0%, rgba(24, 13, 7, .86) 30%, rgba(24, 13, 7, .5) 52%, rgba(24, 13, 7, .08) 72%, rgba(24, 13, 7, 0) 100%),
    linear-gradient(0deg, rgba(24, 13, 7, .55) 0%, rgba(24, 13, 7, 0) 28%);
}
body.customer-v4 .v4HeroCopy { position: relative; max-width: 590px; padding: 0 !important; align-self: center; }
body.customer-v4 .v4Hero .v3Eyebrow { color: var(--v4-saffron-light) !important; margin-bottom: .6rem !important; }
body.customer-v4 .v4Hero h1 {
  margin: 0 !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  font-size: clamp(2.7rem, 5.4vw, 4.75rem) !important; line-height: 1.02 !important; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
body.customer-v4 .v4HeroTagline {
  margin: .35rem 0 1.15rem; font-family: var(--v3-display); font-weight: 400; color: var(--v4-saffron);
  font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.005em;
}
body.customer-v4 .v4Hero .v3HeroLead { color: rgba(255, 255, 255, .88) !important; font-size: clamp(1.08rem, 1.3vw, 1.2rem) !important; line-height: 1.6; max-width: 34rem !important; margin: 0 0 1.35rem !important; }
body.customer-v4 .v4Hero .v3Status {
  display: inline-flex !important; margin: 0 0 1.5rem !important; padding: .65rem 1.05rem .65rem .9rem !important; border-radius: 16px !important;
  background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .24) !important; color: #fff;
}
@supports (backdrop-filter: blur(6px)) { body.customer-v4 .v4Hero .v3Status { backdrop-filter: blur(8px); } }
body.customer-v4 .v4Hero .v3Status strong { color: #fff !important; }
body.customer-v4 .v4Hero .v3Status small { color: rgba(255, 255, 255, .82) !important; }
body.customer-v4 .v4Hero .v3Status .heroStatusDot { background: #57d17f !important; box-shadow: 0 0 0 4px rgba(87, 209, 127, .22) !important; }
body.customer-v4 .v4Hero .v3Status.is-preorder .heroStatusDot { background: var(--v4-saffron) !important; box-shadow: 0 0 0 4px rgba(242, 169, 59, .25) !important; }
body.customer-v4 .v4Hero .v3HeroActions { display: flex !important; flex-wrap: wrap; gap: .75rem !important; margin: 0 0 .9rem !important; }
body.customer-v4 .v4Hero .v3HeroActions .btn { min-height: 58px !important; padding-inline: 1.5rem !important; font-size: 1.1rem !important; }
body.customer-v4 .v4Hero .btn.v3BtnPhone { background: #fff !important; border-color: #fff !important; color: var(--v3-ink) !important; }
body.customer-v4 .v4Hero .btn.v3BtnPhone:hover { background: var(--v3-yellow-soft) !important; border-color: var(--v3-yellow-soft) !important; }
body.customer-v4 .v4Hero .btn.v3BtnWhatsapp { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .45) !important; color: #fff !important; }
body.customer-v4 .v4Hero .v3HelpLink { margin: 0 !important; color: #fff !important; font-weight: 600 !important; text-decoration-color: rgba(255, 255, 255, .55) !important; }
body.customer-v4 .v4Hero .v3HelpLink:hover { text-decoration-color: #fff !important; }

/* Vorteile: helle Leiste, die unten in das Foto hineinragt */
body.customer-v4 .v4Benefits {
  position: relative; z-index: 2; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important;
  width: calc(100% - clamp(32px, 6vw, 112px)); margin: -34px auto 2.75rem !important; padding: .35rem !important; list-style: none;
  border-radius: 20px; background: var(--v4-paper); border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow);
}
body.customer-v4 .v4Benefits li {
  position: relative; display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .7rem 1.1rem !important;
  color: var(--v3-ink); font-weight: 600; font-size: 1.02rem; line-height: 1.3;
}
body.customer-v4 .v4Benefits li + li { border-left: 1px solid var(--v3-line); }
body.customer-v4 .v4Benefits li::before {
  content: "✓"; position: static !important; flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--v3-green-soft); color: var(--v3-green); font-size: .95rem; font-weight: 900;
}

@media (max-width: 1024px) and (min-width: 761px) {
  body.customer-v4 .v4Hero::before {
    background: linear-gradient(90deg, rgba(24, 13, 7, .94) 0%, rgba(24, 13, 7, .84) 45%, rgba(24, 13, 7, .35) 75%, rgba(24, 13, 7, .15) 100%);
  }
  body.customer-v4 .v4HeroCopy { max-width: 520px; }
  body.customer-v4 .v4Benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.customer-v4 .v4Benefits li:nth-child(3) { border-left: 0; }
  body.customer-v4 .v4Benefits li:nth-child(n + 3) { border-top: 1px solid var(--v3-line); }
}

/* Smartphone: Foto oben, Text darunter auf dunklem Grund – gut lesbar, nichts überlagert */
@media (max-width: 760px) {
  body.customer-v4 .homeShell { padding-top: 0 !important; }
  body.customer-v4 .v3Hero.v4Hero {
    display: block !important; min-height: 0; margin: 10px 0 0 !important; padding: 0 !important; border-radius: 22px !important;
  }
  body.customer-v4 .v4HeroPhoto { position: relative; inset: auto; z-index: 0; height: clamp(200px, 56vw, 300px); }
  body.customer-v4 .v4HeroPhoto img { object-position: 50% 55%; }
  body.customer-v4 .v4Hero::before {
    inset: auto 0 auto 0; top: 0; height: clamp(200px, 56vw, 300px); z-index: 1;
    background: linear-gradient(180deg, rgba(24, 13, 7, 0) 45%, rgba(31, 19, 12, .85) 90%, var(--v4-espresso) 100%);
  }
  body.customer-v4 .v4HeroCopy { position: relative; z-index: 2; max-width: none; margin-top: -2.6rem !important; padding: 0 20px 26px !important; }
  body.customer-v4 .v4Hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem) !important; }
  body.customer-v4 .v4HeroTagline { margin-bottom: .9rem; }
  body.customer-v4 .v4Hero .v3HeroLead { font-size: 1.06rem !important; }
  body.customer-v4 .v4Hero .v3Status { display: flex !important; }
  body.customer-v4 .v4Hero .v3HeroActions { flex-direction: column; }
  body.customer-v4 .v4Hero .v3HeroActions .btn { width: 100%; }
  body.customer-v4 .v4Benefits {
    width: auto; margin: 12px 0 2rem !important; grid-template-columns: 1fr 1fr; padding: .25rem !important; border-radius: 18px;
  }
  body.customer-v4 .v4Benefits li { min-height: 0; padding: .75rem .8rem !important; font-size: .95rem; align-items: flex-start; }
  body.customer-v4 .v4Benefits li::before { flex-basis: 24px; width: 24px; height: 24px; font-size: .8rem; }
  body.customer-v4 .v4Benefits li:nth-child(3) { border-left: 0; }
  body.customer-v4 .v4Benefits li:nth-child(n + 3) { border-top: 1px solid var(--v3-line); }
}
@media (max-width: 380px) {
  body.customer-v4 .v4Benefits { grid-template-columns: 1fr; }
  body.customer-v4 .v4Benefits li + li { border-left: 0; border-top: 1px solid var(--v3-line); }
}
@media (min-width: 761px) {
  body.customer-v4 .v4Hero .v3HeroActions { width: max-content; max-width: min(820px, 100%); }
}
@media (max-width: 760px) {
  body.customer-v4 .v4Hero .btn.v3BtnPhone { gap: .75rem; }
  body.customer-v4 .v4PhoneText { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
  body.customer-v4 .v4PhoneSep { display: none; }
  body.customer-v4 .v4PhoneLabel { font-size: .9rem; font-weight: 600; color: var(--v3-muted); }
  body.customer-v4 .v4PhoneNumber { font-size: 1.18rem; }
}
@media (min-width: 761px) {
  body.customer-v4 .v4Hero .v3HeroActions { max-width: calc(100vw - 160px) !important; }
}

/* ------------------------------------------------------------------ Bestellschritte */
body.customer-v4 .quickSteps.orderQuickSteps article > span { background: var(--v4-espresso) !important; color: var(--v4-saffron-light) !important; font-weight: 800 !important; }
body.customer-v4 .quickSteps.orderQuickSteps strong { font-weight: 700 !important; }
@media (min-width: 901px) {
  body.customer-v4 .quickSteps.orderQuickSteps article::after { background: repeating-linear-gradient(90deg, var(--v3-line-strong) 0 6px, transparent 6px 12px) !important; height: 2px; }
}

/* ------------------------------------------------------------------ Speisekarte */
body.customer-v4 .v3CatHeading {
  font-family: var(--v3-display) !important; font-weight: 400 !important; font-size: clamp(1.55rem, 2.3vw, 2rem) !important;
  margin: 2.2rem 0 .1rem !important; padding: 0 0 .55rem !important; border-bottom: 1px solid var(--v3-line-strong) !important; color: var(--v3-ink) !important;
}
body.customer-v4 .v3CatHeading:first-child { margin-top: .6rem !important; }
body.customer-v4 .v3CatHeading small { font-family: var(--v4-sans) !important; font-size: .95rem !important; font-weight: 600 !important; color: var(--v3-muted) !important; }
body.customer-v4 .menuHead h2 { font-size: clamp(2.1rem, 3.2vw, 2.8rem) !important; }

/* Gerichte als ruhige Zeilen wie auf der gedruckten Karte: Bild links, Text, Preis + Knopf */
body.customer-v4.customerHome #productGrid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 410px), 1fr)) !important; gap: 12px !important;
}
body.customer-v4.customerHome #productGrid .productCard.productCard {
  grid-template-columns: 88px minmax(0, 1fr) !important; grid-template-rows: auto 1fr auto !important;
  grid-template-areas: "art meta" "art body" "art bottom" !important; column-gap: 1rem !important; row-gap: 0 !important;
  padding: 14px 16px 14px 14px !important; border-radius: 18px !important; border: 1px solid var(--v3-line) !important;
  background: #fff !important; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
body.customer-v4.customerHome #productGrid .productCard:hover { border-color: var(--v3-line-strong) !important; box-shadow: 0 12px 28px -18px rgba(50, 28, 12, .45) !important; }
body.customer-v4.customerHome #productGrid .productCard .productTop { display: contents !important; }
body.customer-v4.customerHome #productGrid .productCard .productCardArtworkPicture,
body.customer-v4.customerHome #productGrid .productCard .productCardVisual {
  grid-area: art !important; align-self: start; display: grid !important; place-items: center; width: 88px !important; height: 88px !important;
  margin: 0 !important; border-radius: 16px !important; overflow: hidden; position: relative !important;
  background: radial-gradient(circle at 50% 45%, #fbefdc 0 60%, #f6e6cf 100%) !important; box-shadow: none !important; border: 0 !important;
}
body.customer-v4.customerHome #productGrid .productCard .productCardVisual { font-size: 2.1rem !important; line-height: 1; }
body.customer-v4.customerHome #productGrid .productCard.hasProductArtwork .productCardVisual { display: none !important; }
body.customer-v4.customerHome #productGrid .productCard .productCardArtwork {
  position: absolute !important; inset: 4px !important; width: calc(100% - 8px) !important; height: calc(100% - 8px) !important; object-fit: contain !important;
  filter: drop-shadow(0 6px 8px rgba(60, 30, 10, .2)) !important;
}
body.customer-v4.customerHome #productGrid .productCard .productMeta { grid-area: meta !important; margin: 0 0 .15rem !important; }
body.customer-v4.customerHome #productGrid .productCard .productMeta .cat { margin: 0 !important; color: var(--v3-red) !important; font-size: .88rem !important; font-weight: 700 !important; }
body.customer-v4.customerHome #productGrid .productCard .productBody { grid-area: body !important; padding: 0 !important; }
body.customer-v4.customerHome #productGrid .productCard .productBody h3 { margin: 0 0 .2rem !important; font-size: 1.14rem !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--v3-ink) !important; }
body.customer-v4.customerHome #productGrid .productCard .productBody p { -webkit-line-clamp: 2 !important; font-size: .98rem !important; line-height: 1.45 !important; color: var(--v3-muted) !important; }
body.customer-v4.customerHome #productGrid .productCard .cardBottom { grid-area: bottom !important; padding: .7rem 0 0 !important; gap: .75rem !important; }
body.customer-v4.customerHome #productGrid .productCard .cardBottom .price.price { font-size: 1.12rem !important; font-weight: 700 !important; color: var(--v3-ink) !important; font-variant-numeric: tabular-nums; }
body.customer-v4.customerHome .productCard .cardBottom .productCardCta.productCardCta {
  min-height: 46px !important; padding: 0 1.15rem !important; border-radius: 999px !important; border: 1.5px solid transparent !important;
  background: var(--v3-red-soft) !important; color: var(--v3-red-dark) !important; font-size: 1rem !important; font-weight: 700 !important; box-shadow: none !important;
}
body.customer-v4.customerHome .productCard:hover .cardBottom .productCardCta.productCardCta,
body.customer-v4.customerHome .productCard .cardBottom .productCardCta.productCardCta:focus-visible { background: var(--v3-red) !important; color: #fff !important; }
@media (max-width: 640px) {
  body.customer-v4.customerHome #productGrid .productCard.productCard,
  body.customer-v4.customerHome #productGrid .productCard.productCard.hasProductArtwork {
    grid-template-columns: 72px minmax(0, 1fr) !important; grid-template-rows: auto 1fr auto !important; grid-template-areas: "art meta" "art body" "art bottom" !important;
    padding: 12px !important; column-gap: .85rem !important;
  }
  body.customer-v4.customerHome #productGrid .productCard .productCardArtworkPicture,
  body.customer-v4.customerHome #productGrid .productCard .productCardVisual,
  body.customer-v4.customerHome #productGrid .productCard.hasProductArtwork .productCardArtworkPicture { width: 72px !important; height: 72px !important; margin: 0 !important; font-size: 1.8rem !important; }
}

/* v0.10.32+: größerer Bildausschnitt – Bild füllt die linke Kartenseite, Karte bleibt gleich hoch */
body.customer-v4.customerHome #productGrid .productCard.productCard {
  grid-template-columns: 136px minmax(0, 1fr) !important; padding: 14px 16px 14px 0 !important; column-gap: 1.05rem !important; overflow: hidden;
  min-height: 0 !important; height: auto !important; padding-bottom: 14px !important;
  contain-intrinsic-size: auto 150px !important; /* Platzhalter für noch nicht gezeichnete Karten ≈ echte Höhe → kein Springen beim Scrollen */
}
body.customer-v4.customerHome #productGrid .productCard .productCardArtworkPicture,
body.customer-v4.customerHome #productGrid .productCard .productCardVisual {
  align-self: stretch !important; width: 136px !important; height: auto !important; min-height: 122px; margin: -14px 0 !important;
  border-radius: 17px 0 0 17px !important; background: radial-gradient(120% 90% at 50% 40%, #fdf3e3 0 45%, #f3dfc3 100%) !important;
}
body.customer-v4.customerHome #productGrid .productCard .productCardVisual { font-size: 2.6rem !important; }
body.customer-v4.customerHome #productGrid .productCard .productCardArtwork {
  inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 50% !important;
  transform: scale(1.2); filter: drop-shadow(0 4px 6px rgba(60, 30, 10, .16)) !important;
}
/* Beschreibung sauber auf zwei Zeilen kürzen (lief bei langen Texten in den Preis) */
body.customer-v4.customerHome #productGrid .productCard .productBody p {
  display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; line-clamp: 2; overflow: hidden !important; max-height: none !important;
}
/* Mit Container-Einheiten: Motiv füllt die Fläche („cover“), höchstens 1,2× größer als ganz sichtbar („contain“) –
   so bleibt das Gericht erkennbar (Pizza, Flasche, Schale) und wird nur am Rand angeschnitten. */
@supports (width: 1cqw) {
  body.customer-v4.customerHome #productGrid .productCard .productCardArtworkPicture { container-type: size; }
  body.customer-v4.customerHome #productGrid .productCard .productCardArtwork {
    --fit-w: calc(100cqw / var(--bw, .88)); --fit-h: calc(100cqh / var(--bh, .68));
    inset: auto !important; left: 50% !important; top: 50% !important; height: auto !important; aspect-ratio: 1; object-fit: contain !important;
    width: min(max(var(--fit-w), var(--fit-h)), calc(1.2 * min(var(--fit-w), var(--fit-h)))) !important; max-width: none !important; max-height: none !important;
    transform: none !important; translate: -50% -50% !important; transition: scale .35s ease;
  }
  body.customer-v4.customerHome #productGrid .productCard:hover .productCardArtwork { scale: 1.05; }
}
@media (prefers-reduced-motion: reduce) { body.customer-v4.customerHome #productGrid .productCard .productCardArtwork { transition: none !important; scale: none !important; } }
@media (max-width: 640px) {
  body.customer-v4.customerHome #productGrid .productCard.productCard,
  body.customer-v4.customerHome #productGrid .productCard.productCard.hasProductArtwork { grid-template-columns: 112px minmax(0, 1fr) !important; padding: 12px 12px 12px 0 !important; column-gap: .85rem !important; min-height: 0 !important; }
  body.customer-v4.customerHome #productGrid .productCard .productCardArtworkPicture,
  body.customer-v4.customerHome #productGrid .productCard .productCardVisual,
  body.customer-v4.customerHome #productGrid .productCard.hasProductArtwork .productCardArtworkPicture { width: 112px !important; height: auto !important; min-height: 112px; margin: -12px 0 !important; font-size: 2.2rem !important; }
}
@media (max-width: 360px) {
  body.customer-v4.customerHome #productGrid .productCard.productCard,
  body.customer-v4.customerHome #productGrid .productCard.productCard.hasProductArtwork { grid-template-columns: 96px minmax(0, 1fr) !important; }
  body.customer-v4.customerHome #productGrid .productCard .productCardArtworkPicture,
  body.customer-v4.customerHome #productGrid .productCard .productCardVisual,
  body.customer-v4.customerHome #productGrid .productCard.hasProductArtwork .productCardArtworkPicture { width: 96px !important; }
}

/* Seitenleiste */
@media (min-width: 1025px) {
  body.customer-v4 .categoryChips .chip { background: transparent !important; font-weight: 600 !important; border-radius: 12px !important; }
  body.customer-v4 .categoryChips .chip:hover { background: #fff !important; }
  body.customer-v4 .categoryChips .chip.active { background: #fff !important; box-shadow: inset 3px 0 0 var(--v4-saffron), 0 1px 2px rgba(50, 28, 12, .06) !important; font-weight: 700 !important; }
  body.customer-v4 .categoryChips .chip.is-current:not(.active) { background: transparent !important; box-shadow: none !important; color: var(--v3-red-dark) !important; font-weight: 700 !important; }
  body.customer-v4 .categoryChips .chipCount { background: #f4ebdd !important; font-weight: 600 !important; }
}
body.customer-v4 #search { border: 0 !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important; }
body.customer-v4.customerHome #productGrid .productCard .productBody { padding: 0 !important; }
body.customer-v4 .menuSearchField.menuSearchField { border: 1.5px solid var(--v3-line-strong) !important; border-radius: 999px !important; background: #fff !important; box-shadow: none !important; padding: 0 .4rem 0 .9rem !important; }
body.customer-v4 .menuSearchField.menuSearchField:focus-within { border-color: var(--v3-ink) !important; box-shadow: 0 0 0 4px rgba(242, 169, 59, .3) !important; }
body.customer-v4 .menuSearchField #search:focus-visible { outline: 0 !important; box-shadow: none !important; }
body.customer-v4.customer-app .productCard .cardBottom .productCardCta.productCardCta:disabled { background: #f1ece5 !important; color: #6b5647 !important; }
@media (min-width: 1025px) {
  body.customer-v4 .categoryChips .chip.spotlight:not(.active) { background: transparent !important; }
  body.customer-v4 .categoryChips .chip.spotlight:not(.active):hover { background: #fff !important; }
}

/* Smartphone: Vorteile als ruhige Liste, Schritte in einer Karte, schlanke Menüleiste */
@media (max-width: 560px) {
  body.customer-v4 .v4Benefits { grid-template-columns: 1fr !important; }
  body.customer-v4 .v4Benefits li { align-items: center; padding: .6rem .85rem !important; font-size: 1rem; }
  body.customer-v4 .v4Benefits li + li { border-left: 0 !important; border-top: 1px solid var(--v3-line) !important; }
}
@media (max-width: 900px) {
  body.customer-v4 .quickSteps.orderQuickSteps {
    grid-template-columns: 1fr !important; gap: 0 !important; padding: .25rem 1rem !important; border-radius: 20px !important;
    background: #fff !important; border: 1px solid var(--v3-line) !important; margin-bottom: 2rem !important;
  }
  body.customer-v4 .quickSteps.orderQuickSteps article { border: 0 !important; border-radius: 0 !important; padding: .85rem 0 !important; background: none !important; }
  body.customer-v4 .quickSteps.orderQuickSteps article + article { border-top: 1px solid var(--v3-line) !important; }
}
@media (max-width: 1024px) {
  body.customer-v4.customerHome #menu .categoryRail.categoryRail {
    padding: .55rem .6rem .5rem !important; margin-inline: 0 !important; width: auto !important; max-width: 100% !important; box-sizing: border-box !important; border-radius: 0 0 18px 18px !important;
    background: rgba(251, 246, 238, .97) !important; border: 1px solid var(--v3-line) !important; border-top: 0 !important; box-shadow: 0 8px 16px -14px rgba(50, 28, 12, .5) !important;
  }
  body.customer-v4 .categoryRail .menuSearchBlock { padding: 0 !important; margin: 0 0 .5rem !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  body.customer-v4 .categoryRail .searchLabel, body.customer-v4 .categoryRail .menuSearchMeta { display: none !important; }
  body.customer-v4 .menuSearchField.menuSearchField { min-height: 48px !important; }
  body.customer-v4 #search { min-height: 44px !important; }
  body.customer-v4 .categoryChips { gap: .4rem !important; padding-bottom: .1rem !important; }
  body.customer-v4.customerHome #menu .categoryRail::before { display: none !important; }
  body.customer-v4.customerHome #menu .categoryChips .chip.chip {
    display: inline-flex !important; align-items: center; gap: .45rem; width: auto !important; white-space: nowrap; grid-template-columns: none !important;
    min-height: 44px !important; padding: .3rem .85rem !important; border-radius: 999px !important; background: #fff !important; color: var(--v3-ink) !important;
    border: 1.5px solid var(--v3-line-strong) !important; box-shadow: none !important; font-weight: 600 !important;
  }
  body.customer-v4.customerHome #menu .categoryChips .chip.chip.is-current:not(.active) { background: var(--v3-yellow-soft) !important; border-color: var(--v4-saffron) !important; color: var(--v3-ink) !important; }
  body.customer-v4.customerHome #menu .categoryChips .chip.chip.active {
    background: var(--v4-espresso) !important; border-color: var(--v4-espresso) !important; color: #fff !important;
  }
  body.customer-v4 .categoryChips .chipMarker { display: none !important; }
  body.customer-v4 .categoryChips .chipCount { background: rgba(0, 0, 0, .06) !important; color: inherit !important; opacity: .85; }
  body.customer-v4 .categoryChips .chip.active .chipCount { background: rgba(255, 255, 255, .16) !important; }
}

/* ------------------------------------------------------------------ Footer */
body.customer-v4 footer.v3Footer { background: var(--v4-espresso) !important; padding-top: clamp(40px, 5vw, 64px) !important; padding-bottom: 28px !important; margin-top: clamp(24px, 3vw, 40px) !important; border-top: 0 !important; }
body.customer-v4 footer.v3Footer .v4FooterLogo { display: block; width: 132px; height: auto; margin: 0 0 1rem; }
body.customer-v4 footer.v3Footer .v3FooterGrid > section > strong { font-family: var(--v3-display) !important; font-weight: 400 !important; font-size: 1.25rem !important; color: #fff !important; letter-spacing: 0; }
body.customer-v4 footer.v3Footer a:not(.v3FooterPhone) { color: #f6d7a8 !important; font-weight: 600 !important; text-decoration-color: rgba(246, 215, 168, .45) !important; text-underline-offset: 3px; }
body.customer-v4 footer.v3Footer a:not(.v3FooterPhone):hover { color: #fff !important; text-decoration-color: #fff !important; }
body.customer-v4 footer.v3Footer .v3FooterPhone { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .3rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; font-weight: 700; text-decoration: none !important; }
body.customer-v4 footer.v3Footer .v3FooterPhone:hover { background: rgba(255, 255, 255, .18); }
body.customer-v4 footer.v3Footer address, body.customer-v4 footer.v3Footer p { color: rgba(255, 255, 255, .78) !important; }
body.customer-v4 footer.v3Footer .v3FooterLegal { margin-top: 2rem !important; border-top-color: rgba(255, 255, 255, .12) !important; }
body.customer-v4 footer.v3Footer .v3FooterLegal .legalConsentButton { color: #f6d7a8 !important; font-weight: 600 !important; }
@media (min-width: 901px) { body.customer-v4 .v3FooterGrid { grid-template-columns: 1.1fr .9fr 1.4fr .8fr !important; gap: 2rem !important; } }

/* ------------------------------------------------------------------ Produktfenster */
body.customer-v4 #modal .modalBackdrop { background: rgba(31, 19, 12, .55) !important; backdrop-filter: blur(3px); }
body.customer-v4 #modal .modalCard { border-radius: 26px !important; background: var(--v4-paper) !important; border: 0 !important; box-shadow: 0 40px 80px -30px rgba(31, 19, 12, .6) !important; }
body.customer-v4 #modal .modalTop { background: none !important; border: 0 !important; border-bottom: 1px solid var(--v3-line) !important; border-radius: 0 !important; padding-bottom: 1rem !important; box-shadow: none !important; }
body.customer-v4 #modal .modalTop h2 { font-size: clamp(1.75rem, 2.6vw, 2.2rem) !important; color: var(--v3-ink) !important; }
body.customer-v4 #modal .modalTop .cat { color: var(--v3-red) !important; font-weight: 700 !important; }
body.customer-v4 #modal .modalTop button[aria-label="Schließen"] { border-radius: 999px !important; width: 48px; height: 48px; border: 1.5px solid var(--v3-line-strong) !important; font-size: 1.4rem; }
body.customer-v4 #modal :where(fieldset, .optionGroup) legend,
body.customer-v4 #modal .optionGroupTitle, body.customer-v4 #modal #addForm h3 { font-family: var(--v4-sans) !important; font-weight: 700 !important; }
body.customer-v4 #modal #addForm label:has(input:checked) { border-color: var(--v3-red) !important; background: var(--v3-red-soft) !important; }
body.customer-v4 #modal #addForm label { border-radius: 14px !important; border-width: 1.5px !important; }
body.customer-v4 #modal #addForm button[type="submit"] { border-radius: 999px !important; }
/* Bestellknopf im Produktfenster: eigener heller Streifen, damit Optionen nicht durchscheinen */
body.customer-v4 #modal #addForm > button[type="submit"] {
  bottom: 12px !important; z-index: 3;
  box-shadow: 0 0 0 12px var(--v4-paper), 0 -28px 24px -8px var(--v4-paper), 0 10px 22px -10px rgba(143, 29, 22, .7) !important;
}

/* ------------------------------------------------------------------ Warenkorb & Unterseiten */
body.customer-v4 .pageTitle h1 { max-width: 22ch !important; font-size: clamp(2.1rem, 3.6vw, 3rem) !important; line-height: 1.08 !important; }
body.customer-v4.customer-checkout .pageTitle h1 { max-width: none !important; }
body.customer-v4 .pageTitle { background: none !important; border-radius: 0 !important; box-shadow: none !important; }
body.customer-v4 .pageTitle::before, body.customer-v4 .pageTitle::after { display: none !important; }
@media (max-width: 760px) {
  body.customer-v4 .pageTitle { border: 0 !important; padding: .5rem 0 1rem !important; }
}
body.customer-v4 #checkout .checkoutJourney { background: #fff !important; border: 1px solid var(--v3-line) !important; border-radius: 999px !important; padding: .35rem !important; box-shadow: none !important; }
body.customer-v4 #checkout .checkoutJourney > span { border-radius: 999px !important; padding: .4rem .8rem !important; color: var(--v3-muted) !important; font-weight: 600 !important; background: none !important; }
body.customer-v4 #checkout .checkoutJourney > span.isActive { background: var(--v3-yellow-soft) !important; color: var(--v3-ink) !important; font-weight: 700 !important; }
body.customer-v4 #checkout .checkoutJourney b { background: #efe6d8 !important; color: var(--v3-ink) !important; box-shadow: none !important; }
body.customer-v4 #checkout .checkoutJourney .isActive b { background: var(--v4-espresso) !important; color: var(--v4-saffron-light) !important; }
body.customer-v4 #checkout .checkoutSection { background: #fff !important; border: 1px solid var(--v3-line) !important; border-radius: 20px !important; box-shadow: none !important; }
body.customer-v4 #checkout .checkoutSection > header > span {
  background: var(--v4-espresso) !important; color: var(--v4-saffron-light) !important; border-radius: 50% !important; box-shadow: none !important; font-weight: 800 !important;
  width: 2.1rem !important; height: 2.1rem !important; display: grid !important; place-items: center;
}
body.customer-v4 #checkout .checkoutSection > header strong { font-family: var(--v3-display) !important; font-weight: 400 !important; font-size: 1.35rem !important; }
body.customer-v4 #checkout :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-width: 1.5px !important; border-radius: 12px !important; background-color: #fff !important;
}
body.customer-v4 #checkout :where(input, select, textarea):focus { border-color: var(--v3-ink) !important; box-shadow: 0 0 0 4px rgba(242, 169, 59, .3) !important; }
body.customer-v4 .v3OrderSummary > .cartItem > .cartItemBottom > button {
  background: #fff !important; border: 1.5px solid var(--v3-line-strong) !important; color: var(--v3-ink) !important; border-radius: 999px !important; font-weight: 600 !important;
}
body.customer-v4 .v3OrderSummary > .cartItem > .cartItemBottom > button:last-child { color: var(--v3-red-dark) !important; border-color: #efc9c4 !important; }
body.customer-v4 .v3OrderSummary > .cartTotal { background: var(--v3-yellow-soft) !important; border-color: #f1d7a6 !important; font-weight: 700 !important; }
body.customer-v4 .v3Facts dt { text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; font-weight: 600 !important; color: var(--v3-muted) !important; }
body.customer-v4 .v3Facts > div { border-radius: 18px !important; border: 1px solid var(--v3-line) !important; background: #fff !important; box-shadow: none !important; }
body.customer-v4 .v3PageHead { background: none !important; border: 0 !important; box-shadow: none !important; padding-inline: 0 !important; }
body.customer-v4 .v3MenuOrder {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.15rem !important; border-radius: 999px !important; border: 0 !important;
  background: var(--v3-red-soft) !important; color: var(--v3-red-dark) !important; font-weight: 700 !important; text-decoration: none !important; box-shadow: none !important;
}
body.customer-v4 .v3MenuOrder:hover { background: var(--v3-red) !important; color: #fff !important; }
body.customer-v4 .legalTitle { border: 0 !important; background: none !important; box-shadow: none !important; padding-inline: 0 !important; }
body.customer-v4 .legalPanel { background: #fff !important; border: 1px solid var(--v3-line) !important; border-radius: 24px !important; box-shadow: none !important; }
body.customer-v4 .legalPanel h2 { font-size: clamp(1.4rem, 2vw, 1.75rem) !important; }
body.customer-v4 .v3Popular, body.customer-v4 .v3OtherZones, body.customer-v4 .v3MenuSection { border-radius: 24px !important; border: 1px solid var(--v3-line) !important; box-shadow: none !important; background: #fff !important; }
body.customer-v4 .v3Popular a, body.customer-v4 .v3Popular li > * { border-radius: 14px !important; border-width: 1px !important; }

/* ------------------------------------------------------------------ Kurzanleitung & Hinweise */
body.customer-v4 .orderGuideDialog { border-radius: 26px !important; background: var(--v4-paper) !important; border: 0 !important; box-shadow: 0 40px 80px -30px rgba(31, 19, 12, .6) !important; }
body.customer-v4 .orderGuideDialog::backdrop { background: rgba(31, 19, 12, .55); backdrop-filter: blur(3px); }
body.customer-v4 .orderGuideCard header p { text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important; font-weight: 700 !important; color: var(--v3-red) !important; }
body.customer-v4 .orderGuideCard header h2 { font-weight: 400 !important; }
body.customer-v4 .orderGuideSteps article { border-radius: 18px !important; border: 1px solid var(--v3-line) !important; background: #fff !important; box-shadow: none !important; }
body.customer-v4 .orderGuideSteps article > span { background: var(--v4-espresso) !important; color: var(--v4-saffron-light) !important; border-radius: 50% !important; box-shadow: none !important; }
body.customer-v4 .orderGuideClose { border-radius: 999px !important; }
@media (max-width: 600px) {
  body.customer-v4 .orderGuideDialog { margin: auto auto 0 !important; width: 100% !important; max-width: 100% !important; max-height: calc(100dvh - 24px) !important; border-radius: 26px 26px 0 0 !important; inset: auto 0 0 0 !important; }
}
body.customer-v4 .v3PrivacyNote { border-radius: 20px !important; background: var(--v4-espresso) !important; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6) !important; }
body.customer-v4.v3-cart-empty { padding-bottom: 0 !important; }
body.customer-v4.v3-cart-empty footer.v3Footer { padding-bottom: max(28px, env(safe-area-inset-bottom)) !important; }
@media (max-width: 900px) { body.customer-v4 .v3FooterGrid { row-gap: 2rem !important; } }

/* ------------------------------------------------------------------ Schwebender Warenkorb */
body.customer-v4 .floatingCart.floatingCart {
  display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; align-items: center !important; gap: .8rem !important;
  min-height: 64px !important; padding: .5rem .6rem .5rem .55rem !important; border-radius: 999px !important; border: 0 !important;
  background: var(--v4-espresso) !important; color: #fff !important; box-shadow: 0 18px 40px -16px rgba(31, 19, 12, .75) !important; text-decoration: none !important;
  right: max(16px, env(safe-area-inset-right)) !important; bottom: max(16px, env(safe-area-inset-bottom)) !important; width: auto !important; min-width: 260px; max-width: calc(100vw - 32px) !important;
  backdrop-filter: none !important;
}
body.customer-v4 .floatingCart::before, body.customer-v4 .floatingCart::after { display: none !important; }
body.customer-v4 .floatingCart .floatingCartIcon {
  display: grid !important; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1) !important; font-size: 1.3rem !important; box-shadow: none !important;
}
body.customer-v4 .floatingCart .floatingCartCopy { display: grid !important; line-height: 1.2; text-align: left; }
body.customer-v4 .floatingCart .floatingCartCopy strong { color: #fff !important; font-weight: 700 !important; font-size: 1.05rem !important; }
body.customer-v4 .floatingCart .floatingCartCopy small { display: block !important; color: rgba(255, 255, 255, .72) !important; font-size: .9rem !important; font-weight: 500 !important; }
body.customer-v4 .floatingCart .floatingCartTotal {
  display: inline-flex !important; align-items: center; min-height: 48px; padding: 0 1.1rem !important; border-radius: 999px !important;
  background: var(--v4-saffron) !important; color: var(--v4-espresso) !important; font-weight: 800 !important; font-size: 1.05rem !important; font-variant-numeric: tabular-nums; box-shadow: none !important;
}
body.customer-v4 .floatingCart #floatingCartCount { display: none !important; }
body.customer-v4 .floatingCart:hover .floatingCartTotal { background: var(--v4-saffron-light) !important; }
@media (max-width: 760px) {
  body.customer-v4 .floatingCart.floatingCart { left: 12px !important; right: 12px !important; max-width: none !important; min-width: 0; }
}
body.customer-v4.v3-cart-empty .floatingCart.floatingCart, body.customer-v4.customer-checkout .floatingCart.floatingCart { display: none !important; }
body.customer-v4 .floatingCart .floatingCartCopy { justify-items: start !important; justify-self: start !important; }

/* ------------------------------------------------------------------ Liefergebiete & Info */
body.customer-v4 #zone.zoneMapPanel { border-radius: 28px !important; border: 1px solid var(--v3-line) !important; background: #fff !important; }
body.customer-v4 #zone .zoneCompactList button { border-radius: 14px !important; border: 1.5px solid var(--v3-line) !important; background: var(--v4-paper) !important; font-weight: 700 !important; }
body.customer-v4 #zone .zoneCompactList button:hover { border-color: var(--v3-line-strong) !important; background: #fff !important; }
body.customer-v4 #zone .zoneCompactList button[aria-pressed="true"], body.customer-v4 #zone .zoneCompactList button.active, body.customer-v4 #zone .zoneCompactList button.is-active {
  border-color: var(--v4-espresso) !important; background: var(--v4-espresso) !important; color: #fff !important;
}
body.customer-v4 #zone .zoneCompactList button[aria-pressed="true"] small, body.customer-v4 #zone .zoneCompactList button.active small, body.customer-v4 #zone .zoneCompactList button.is-active small { color: rgba(255, 255, 255, .75) !important; }
body.customer-v4 #zone .deliveryMap { border-radius: 20px !important; border: 1px solid var(--v3-line) !important; }
body.customer-v4 .v3InfoCard, body.customer-v4 .v3Faq { border-radius: 24px !important; border: 1px solid var(--v3-line) !important; box-shadow: none !important; background: #fff !important; }
body.customer-v4 .v3InfoCard h3, body.customer-v4 .v3InfoCard > strong:first-child { font-family: var(--v3-display) !important; font-weight: 400 !important; font-size: 1.35rem !important; }
body.customer-v4 .v3Faq summary { font-weight: 600 !important; }
body.customer-v4 .v3Faq summary::after { background: var(--v3-yellow-soft) !important; }

/* Filter/Suche blenden Karten per style="display:none" aus – das muss jede Layout-Regel schlagen. */
body.customer-v4.customerHome #productGrid .productCard.productCard[style*="display: none"],
body.customer-v4.customerHome #productGrid .productCard.productCard[style*="display:none"],
body.customer-v4.customerHome #productGrid .productCard.productCard[hidden],
body.customer-v3.customerHome #productGrid .productCard.productCard[style*="display: none"],
body.customer-v3.customerHome #productGrid .productCard.productCard[hidden] { display: none !important; }
/* Bei offenem Produktfenster, Warenkorb-Schublade oder Dialog darf der schwebende Warenkorb nichts verdecken. */
body.customer-v4.modal-open .floatingCart.floatingCart,
body.customer-v4.cart-open .floatingCart.floatingCart,
body.customer-v4:has(dialog[open]) .floatingCart.floatingCart { display: none !important; }
body.customer-v4 .floatingCart.floatingCart { z-index: 70 !important; }
@media (max-width: 760px) {
  body.customer-v4 .v4HeroPhoto { line-height: 0; overflow: hidden; }
  body.customer-v4 .v4Hero::before { height: calc(clamp(200px, 56vw, 300px) + 2px); }
}

/* ------------------------------------------------------------------ Direktpreis & Ersparnis (v0.10.31) */
.v4SrOnly { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.customer-v4 .price.v4Price { display: inline-flex !important; flex-direction: column; align-items: flex-start; gap: .05rem; line-height: 1.15 !important; }
body.customer-v4 .v4PriceNow { font-weight: 700; color: var(--v3-ink); }
body.customer-v4 .v4PriceWas, body.customer-v4 .v4ItemWas, body.customer-v4 .v4VarPrice s {
  font-size: .86em; font-weight: 500 !important; color: var(--v3-muted); text-decoration-thickness: 1.5px; text-decoration-color: rgba(143, 29, 22, .65);
}
body.customer-v4 .v4VarPrice b { color: var(--v3-ink); }
body.customer-v4 .v4VarPrice s { margin-left: .2rem; }

/* Bonus-Hinweis im Kopfbereich */
body.customer-v4 .v4BonusBadge {
  display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 1.3rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px;
  background: var(--v4-saffron); color: var(--v4-espresso); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
body.customer-v4 .v4BonusValue { display: grid; place-items: center; flex: none; white-space: nowrap; min-width: 3.6rem; height: 2.6rem; padding: 0 .6rem; border-radius: 999px; background: var(--v4-espresso); color: var(--v4-saffron-light); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
body.customer-v4 .v4BonusBadge strong { display: block; font-size: 1.02rem; line-height: 1.2; }
body.customer-v4 .v4BonusBadge small { display: block; font-size: .9rem; font-weight: 600; opacity: .85; line-height: 1.25; }
@media (max-width: 760px) { body.customer-v4 .v4BonusBadge { display: flex; border-radius: 18px; padding-right: .8rem; } body.customer-v4 .v4BonusValue { min-width: 4.2rem; } }

/* Produktfenster: Ersparnis direkt über dem Bestellknopf */
body.customer-v4 #modal .v4ModalSaving:empty { display: none; }
body.customer-v4 #modal .v4ModalSaving {
  display: flex; align-items: center; gap: .6rem; margin: .75rem 0 .5rem !important; padding: .6rem .8rem; border-radius: 14px;
  background: var(--v3-green-soft); color: #134427; font-weight: 600; font-size: 1rem; line-height: 1.35;
}
body.customer-v4 .v4ModalSavingBadge { flex: 0 0 auto; padding: .15rem .55rem; border-radius: 999px; background: var(--v3-green); color: #fff; font-weight: 800; font-size: .9rem; }

/* Warenkorb: Normalpreis, Bonus, Zwischensumme, Ersparnis */
body.customer-v4 .v4Totals { display: grid; gap: .35rem; margin: .4rem 0 0; padding: .2rem 0 .5rem; border-top: 1px solid var(--v3-line); }
body.customer-v4 .v4TotalRow { display: flex; justify-content: space-between; gap: 1rem; font-size: 1rem; color: var(--v3-muted); font-variant-numeric: tabular-nums; padding-top: .45rem; }
body.customer-v4 .v4TotalBonus { color: var(--v3-green) !important; font-weight: 700; }
body.customer-v4 .cartTotal.v4TotalPay { font-weight: 800 !important; }
body.customer-v4 .v4SavingsBanner {
  display: flex; align-items: center; gap: .7rem; margin: .7rem 0 .2rem; padding: .8rem 1rem; border-radius: 16px;
  background: var(--v3-green); color: #fff; font-size: 1.05rem; line-height: 1.35; box-shadow: 0 12px 24px -18px rgba(20, 70, 40, .9);
}
body.customer-v4 .v4SavingsBanner strong { font-weight: 800; }
body.customer-v4 .v4SavingsIcon { font-size: 1.4rem; }
body.customer-v4 .v4SavingsNote { margin: .1rem 0 .4rem !important; font-size: .82rem !important; color: var(--v3-muted) !important; line-height: 1.4; }
body.customer-v4 .v3OrderSummary > .v4Totals { border-top: 1px solid var(--v3-line); }
body.customer-v4 .v4ItemWas { margin-right: .3rem; }
body.customer-v4 .cartTotal.v4TotalPay, body.customer-v4 .v3OrderSummary > .cartTotal { display: flex !important; justify-content: space-between; align-items: baseline; gap: 1rem; }
body.customer-v4 .v3OrderSummary > .cartTotal strong { font-variant-numeric: tabular-nums; }
body.customer-v4 #modal #addForm > .v4ModalSaving { position: sticky; bottom: 84px; z-index: 3; margin: .5rem 0 .4rem !important; box-shadow: 0 0 0 6px var(--v4-paper); }
@media (max-width: 600px) { body.customer-v4 #modal #addForm > .v4ModalSaving { font-size: .95rem; padding: .5rem .7rem; } }

/* Kategorie-Überschrift: Anzahl direkt hinter dem Namen statt am rechten Rand */
body.customer-v4 .v3CatHeading:not([hidden]):not([style*="display: none"]) { display: block !important; }
body.customer-v4 .v3CatHeading small { display: inline !important; margin-left: .45rem !important; white-space: nowrap; }
