/* Approved cream menu: typography and product cutouts remain separate. */
main[data-screen-label="Produkte"] #speisekarte {
  --menu-paper: #f7f4ed;
  --menu-ink: #1b1815;
  --menu-red: #c90916;
  background: var(--menu-paper) !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-poster] {
  max-width: 1520px !important;
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-poster-heading] {
  grid-template-columns: minmax(0, 1fr) auto !important;
  margin-bottom: 40px !important;
  padding-bottom: 0 !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-poster-heading] > div > div {
  display: none;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-poster-heading] h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(48px, 6.7vw, 100px) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  line-height: 1.1 !important;
  max-width: none;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-poster-heading] h2::after {
  content: '';
  display: block;
  width: 112px;
  height: 3px;
  margin-top: 22px;
  background: var(--menu-red);
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-tabs] {
  top: 72px;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 0;
  border: 0 !important;
  border-radius: 0;
  background: rgba(247, 244, 237, .96) !important;
  box-shadow: none;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-tab] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px !important;
  padding: 0 18px !important;
  color: #403c37 !important;
  border: 1px solid #d9d2c9 !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.2;
  text-decoration: none;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-tab][aria-current="location"],
main[data-screen-label="Produkte"] #speisekarte [data-menu-tab]:hover,
main[data-screen-label="Produkte"] #speisekarte [data-menu-tab]:focus-visible {
  color: var(--menu-red) !important;
  border-color: var(--menu-red) !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-tab][aria-current="false"]:not(:hover):not(:focus-visible) {
  color: #403c37 !important;
  border-color: #d9d2c9 !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-tab]:focus-visible {
  outline: 2px solid var(--menu-red);
  outline-offset: 3px;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-category] {
  padding: 50px 0 72px;
  scroll-margin-top: 164px !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-category]:first-child {
  padding-top: 0;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-category] [data-product-category-head] {
  position: absolute !important;
  width: 1px !important;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 60px clamp(24px, 4vw, 64px) !important;
  overflow: visible !important;
  padding: 0 !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card],
main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] {
  display: block !important;
  min-width: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] {
  grid-column: 1 / -1 !important;
  width: min(620px, 100%);
  justify-self: center;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin: 0;
  text-align: center;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] h4 {
  color: var(--menu-ink);
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card] figure,
main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] figure {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: auto !important;
  aspect-ratio: 1 !important;
  margin: 0;
  overflow: hidden !important;
  background: transparent !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card] figure::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 94%;
  aspect-ratio: 1;
  top: 3%;
  left: 3%;
  border-radius: 50%;
  background: #f1ebe1;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card] figure img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  height: 74%;
  min-height: 0;
  padding: 0 !important;
  object-fit: contain !important;
  filter: none !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card-body],
main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] [data-product-card-body] {
  min-height: 0;
  padding: 14px 24px 0 !important;
  border-top: 1px solid #cfc6bb !important;
  border-left: 0 !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-variant] {
  grid-template-columns: 1fr 1fr auto;
  min-height: 39px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-variant-price] {
  font-size: 16px;
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-variant-size],
main[data-screen-label="Produkte"] #speisekarte [data-menu-variant-price],
main[data-screen-label="Produkte"] #speisekarte [data-product-card-title] strong {
  color: var(--menu-red) !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card-title] strong {
  margin-top: 20px;
  font-size: 34px !important;
}

main[data-screen-label="Produkte"] #speisekarte [data-product-card-body] > p {
  margin: 16px auto 0 !important;
  font-size: 16px !important;
  line-height: 1.5;
}

/* Round dishes have a smaller silhouette than wide sandwiches. */
main[data-screen-label="Produkte"] #speisekarte #teller figure img,
main[data-screen-label="Produkte"] #speisekarte figure img[src$="pur-beef.webp"] {
  width: 73%;
  height: 73%;
}

main[data-screen-label="Produkte"] #speisekarte #beilagen figure img {
  width: 74%;
  height: 74%;
}

main[data-screen-label="Produkte"] #speisekarte #sossen figure img {
  width: 66%;
  height: 66%;
}

main[data-screen-label="Produkte"] #speisekarte #zutaten figure img {
  width: 72%;
  height: 72%;
}

main[data-screen-label="Produkte"] #speisekarte figure [data-menu-combo] {
  position: relative;
  width: 82%;
  height: 70%;
}

main[data-screen-label="Produkte"] #speisekarte figure [data-menu-combo] img {
  position: absolute;
  height: auto;
  transform: none;
  left: auto;
  padding: 0;
}

main[data-screen-label="Produkte"] #speisekarte figure [data-menu-combo] [data-combo-drink] {
  width: 18%;
  height: 82%;
  top: 0;
  right: 3%;
}

main[data-screen-label="Produkte"] #speisekarte figure [data-menu-combo] [data-combo-back] {
  width: 65%;
  top: 27%;
  left: 0;
}

main[data-screen-label="Produkte"] #speisekarte figure [data-menu-combo] [data-combo-front] {
  width: 68%;
  top: 39%;
  right: 0;
}

@media (max-width: 920px) {
  main[data-screen-label="Produkte"] #speisekarte [data-menu-poster-heading] {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  main[data-screen-label="Produkte"] #speisekarte [data-menu-poster] {
    padding: 0 24px !important;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-menu-tabs] {
    gap: 10px;
    margin-bottom: 8px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-menu-tab] {
    flex: 0 0 auto;
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] {
    min-height: 72px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] h4 {
    font-size: 34px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-category-head] h3 {
    font-size: 32px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-category] {
    padding-bottom: 48px;
  }
}

/* Keep every category mounted; selection changes only its presentation. */
main[data-screen-label="Produkte"] #speisekarte [data-product-category][data-menu-active="false"] {
  display: none !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-category][data-menu-active="true"] {
  padding-top: 0;
  border-top: 0;
  animation: menu-category-enter 180ms ease-out;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-tabs] {
  scroll-margin-top: 84px;
}
@keyframes menu-category-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  main[data-screen-label="Produkte"] #speisekarte [data-product-category] { animation: none !important; }
}

/* Horizontal product rows: three cards on desktop, two on tablet, one on mobile. */
main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
  --product-gap: clamp(24px, 4vw, 64px);
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--product-gap)) / 3);
  gap: var(--product-gap) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: start;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid]::-webkit-scrollbar {
  display: none;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card] {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
main[data-screen-label="Produkte"] #speisekarte #nimm-2 [data-product-card-grid] {
  grid-auto-columns: 100%;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] {
  grid-column: auto !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid]:focus-visible {
  outline: 2px solid var(--menu-red);
  outline-offset: 4px;
}
@media (max-width: 920px) {
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    grid-template-columns: none !important;
    grid-auto-columns: calc((100% - var(--product-gap)) / 2);
  }
}
@media (max-width: 620px) {
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    grid-template-columns: none !important;
    grid-auto-columns: 90%;
    --product-gap: 16px;
  }
}

/* Compact menu cards, including their artwork and price lists. */
main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
  --product-gap: 24px;
  grid-auto-columns: calc((100% - 3 * var(--product-gap)) / 3.5);
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] {
  min-height: 60px;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] h4 {
  font-size: clamp(23px, 2.2vw, 32px);
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-body],
main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] [data-product-card-body] {
  padding: 8px 14px 0 !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-variant] {
  min-height: 29px;
  font-size: 14px;
  line-height: 1.3;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-variant-price] {
  font-size: 14px;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-title] strong {
  margin-top: 10px;
  font-size: 26px !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card-body] > p {
  margin-top: 10px !important;
  font-size: 14px !important;
  line-height: 1.4;
}
main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] {
  width: min(460px, 100%);
}
@media (max-width: 920px) {
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    --product-gap: 20px;
    grid-auto-columns: calc((100% - 2 * var(--product-gap)) / 2.25);
  }
}
@media (max-width: 620px) {
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    --product-gap: 16px;
    grid-auto-columns: 78%;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] {
    min-height: 52px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] h4 {
    font-size: 25px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-menu-variant],
  main[data-screen-label="Produkte"] #speisekarte [data-menu-variant-price] {
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-grid] {
    grid-auto-columns: min(68vw, 240px);
    --product-gap: 14px;
  }
  main[data-screen-label="Produkte"] #speisekarte #nimm-2 [data-product-card-grid] {
    grid-auto-columns: min(76vw, 280px);
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card],
  main[data-screen-label="Produkte"] #speisekarte [data-product-card][data-product-card-size="wide"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] {
    min-height: 44px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-heading] h4 {
    font-size: 21px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-menu-variant] {
    min-height: 25px;
    gap: 8px;
    font-size: 12px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-menu-variant-price] {
    font-size: 12px;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-title] strong {
    font-size: 23px !important;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-product-card-body] > p {
    font-size: 12px !important;
  }
}

main[data-screen-label="Produkte"] #speisekarte #beilagen [data-product-card-heading] h4 {
  white-space: nowrap;
  text-wrap: nowrap;
}

/* Bleed the carousel to the viewport; keep product sizes compact. */
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] [data-product-card-grid] {
  --edge-inset: clamp(20px, 4vw, 64px);
  box-sizing: border-box;
  padding: 0 var(--edge-inset) !important;
  scroll-padding-inline: var(--edge-inset);
  grid-auto-columns: clamp(230px, 24vw, 340px);
  --fade-left: 0px;
  --fade-right: 0px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-left), #000 calc(100% - var(--fade-right)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--fade-left), #000 calc(100% - var(--fade-right)), transparent);
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] [data-product-card-grid][data-edge-before="true"] { --fade-left: 44px; }
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] [data-product-card-grid][data-edge-after="true"] { --fade-right: 44px; }
main[data-screen-label="Produkte"] #speisekarte #nimm-2 [data-product-card-grid] { grid-auto-columns: min(460px, 100%); justify-content: center; }
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button {
  position: absolute;
  top: clamp(120px, 15vw, 220px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid #d9d2c9;
  border-radius: 50%;
  background: #f7f4ed;
  color: #1b1815;
  box-shadow: 0 2px 12px #1b181514;
  cursor: pointer;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button[hidden] { display: none; }
main[data-screen-label="Produkte"] #speisekarte [data-carousel-prev] { left: 8px; }
main[data-screen-label="Produkte"] #speisekarte [data-carousel-next] { right: 8px; }
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 620px) {
  main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] [data-product-card-grid] { grid-auto-columns: min(68vw, 240px); }
  main[data-screen-label="Produkte"] #speisekarte #nimm-2 [data-product-card-grid] { grid-auto-columns: min(76vw, 280px); }
}

/* Draw chevrons in CSS so global SVG/icon rules cannot hide them. */
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button {
  border-radius: 50% !important;
  min-width: 40px !important;
  min-height: 40px !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button::before {
  content: '' !important;
  display: block !important;
  position: static !important;
  width: 9px !important;
  height: 9px !important;
  border: 0;
  border-top: 2px solid #1b1815;
  border-right: 2px solid #1b1815;
  background: transparent !important;
  opacity: 1 !important;
  transform: rotate(45deg) translate(-1px, 1px) !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > [data-carousel-prev]::before {
  transform: rotate(-135deg) translate(-1px, 1px) !important;
}
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button svg,
main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button::after { display: none !important; }

/* On smaller screens the original food photos and copy occupy separate rows. */
@media (max-width: 920px) {
  main[data-screen-label="Produkte"] > [data-hero] {
    display: flex !important;
    flex-direction: column;
    min-height: 0 !important;
    height: auto !important;
  }
  main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-art] {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: clamp(250px, 48vw, 380px) !important;
    flex: none;
  }
  main[data-screen-label="Produkte"] > [data-hero] [data-product-hero-disc] {
    width: 55%;
    right: 8%;
    top: 50%;
  }
  main[data-screen-label="Produkte"] > [data-hero] [data-product-hero-doener] {
    width: 49%;
    height: 69%;
    right: 24%;
    bottom: 3%;
  }
  main[data-screen-label="Produkte"] > [data-hero] [data-product-hero-rollo] {
    width: 30%;
    height: 48%;
    right: 3%;
    top: 7%;
  }
  main[data-screen-label="Produkte"] > [data-hero] [data-product-hero-teller] {
    width: 25%;
    height: 60%;
    left: 3%;
    top: 5%;
  }
  main[data-screen-label="Produkte"] > [data-hero] > div[style*="background:linear-gradient"] {
    display: none !important;
  }
  main[data-screen-label="Produkte"] > [data-hero] > div:has(> h1) {
    position: relative !important;
    min-height: 0 !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 32px 24px 40px !important;
    background: #0e0d0c;
  }
  main[data-screen-label="Produkte"] > [data-hero] h1 {
    font-size: clamp(36px, 6vw, 56px) !important;
    line-height: 1.05 !important;
  }
  main[data-screen-label="Produkte"] > [data-hero] h1 + p {
    margin: 20px 0 24px !important;
    font-size: 15px !important;
  }
}

main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] > button {
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  aspect-ratio: 1 !important;
  border-radius: 50% !important;
}

/* Full-bleed photographic hero with live, accessible copy. */
main[data-screen-label="Produkte"] > [data-hero] {
  display: block !important;
  min-height: min(820px, 90svh) !important;
}
main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-photo] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-shade] {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.36) 42%, transparent 70%);
}
main[data-screen-label="Produkte"] > [data-hero] > div:has(> h1) {
  min-height: min(820px, 90svh) !important;
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;
  padding: 90px clamp(24px, 5vw, 80px) 64px !important;
}
main[data-screen-label="Produkte"] > [data-hero] h1 {
  max-width: 48%;
  font-size: clamp(40px, 5vw, 76px) !important;
}
main[data-screen-label="Produkte"] > [data-hero] h1 + p { max-width: 42%; }
@media (max-width: 920px) {
  main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-photo] {
    height: 52%;
    object-position: right center;
  }
  main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-shade] {
    background: linear-gradient(0deg, #0e0d0c 43%, transparent 72%);
  }
  main[data-screen-label="Produkte"] > [data-hero] > div:has(> h1) {
    min-height: 760px !important;
    padding: 330px 24px 40px !important;
    justify-content: flex-end;
  }
  main[data-screen-label="Produkte"] > [data-hero] h1 {
    max-width: 100%;
    font-size: clamp(36px, 6vw, 52px) !important;
  }
  main[data-screen-label="Produkte"] > [data-hero] h1 + p { max-width: 540px; }
}

/* One continuous hero at every breakpoint. */
main[data-screen-label="Produkte"] > [data-hero] {
  min-height: 0 !important;
  height: auto !important;
}
main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-photo] {
  height: 100% !important;
  transform: none !important;
}
main[data-screen-label="Produkte"] > [data-hero] > div:has(> h1) {
  min-height: clamp(560px, 78svh, 780px) !important;
}
@media (max-width: 920px) {
  main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-photo] {
    object-position: 72% center;
  }
  main[data-screen-label="Produkte"] > [data-hero] > [data-product-hero-shade] {
    background: linear-gradient(0deg, rgba(8,8,8,.96) 0%, rgba(8,8,8,.8) 25%, rgba(8,8,8,.18) 68%, rgba(8,8,8,.05) 100%);
  }
  main[data-screen-label="Produkte"] > [data-hero] > div:has(> h1) {
    min-height: clamp(580px, 82svh, 760px) !important;
    padding: 240px 28px 36px !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }
  main[data-screen-label="Produkte"] > [data-hero] h1 {
    font-size: clamp(34px, 5.4vw, 50px) !important;
  }
  main[data-screen-label="Produkte"] > [data-hero] h1 + p {
    margin: 16px 0 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}
@media (max-width: 620px) {
  main[data-screen-label="Produkte"] > [data-hero] > div:has(> h1) {
    min-height: 620px !important;
    padding: 230px 22px 30px !important;
  }
}

/* Keep every desktop carousel aligned with the centered poster content. */
@media (min-width: 921px) {
  main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] {
    width: min(calc(100vw - 32px), 1680px);
    margin-left: 50%;
    transform: translateX(-50%);
  }
  main[data-screen-label="Produkte"] #speisekarte #rollo [data-menu-carousel],
  main[data-screen-label="Produkte"] #speisekarte #teller [data-menu-carousel],
  main[data-screen-label="Produkte"] #speisekarte #beilagen [data-menu-carousel],
  main[data-screen-label="Produkte"] #speisekarte #nimm-2 [data-menu-carousel] {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  main[data-screen-label="Produkte"] #speisekarte [data-menu-carousel] [data-product-card-grid] {
    --edge-inset: 0px;
    padding-inline: 0 !important;
    scroll-padding-inline: 0;
    grid-auto-columns: calc((100% - 3 * var(--product-gap)) / 4);
  }
  main[data-screen-label="Produkte"] #speisekarte #rollo [data-menu-carousel] [data-product-card-grid],
  main[data-screen-label="Produkte"] #speisekarte #teller [data-menu-carousel] [data-product-card-grid],
  main[data-screen-label="Produkte"] #speisekarte #beilagen [data-menu-carousel] [data-product-card-grid] {
    grid-auto-columns: calc((100% - 2 * var(--product-gap)) / 3);
  }
  main[data-screen-label="Produkte"] #speisekarte #nimm-2 [data-menu-carousel] [data-product-card-grid] {
    grid-auto-columns: min(460px, 100%);
    justify-content: center;
  }
}
