/* Customer menu layout options and separate desktop/mobile hero images. */

/* ── Hero images: one source per device ─────────────────── */
.menu-hero-banner .hero-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.015)}
.menu-hero-banner .hero-banner-img[hidden]{display:none!important}
@media(max-width:720px){.menu-hero-banner .hero-banner-desktop{display:none!important}}
@media(min-width:721px){.menu-hero-banner .hero-banner-mobile{display:none!important}}
@media(min-width:721px){.menu-hero-banner[data-hero-desktop="off"]{display:none!important}}
@media(max-width:720px){.menu-hero-banner[data-hero-mobile="off"]{display:none!important}}

/* Classic hero fallback: the banner replaces it per device; an explicitly switched-off device loses the image frame. */
@media(min-width:721px){
  html[data-hero-desktop="on"] .hero{display:none!important}
  html[data-hero-configured="1"][data-hero-desktop="off"] .hero-picture{display:none!important}
  html[data-hero-configured="1"][data-hero-desktop="off"] .hero{grid-template-columns:1fr}
}
@media(max-width:720px){
  html[data-hero-mobile="on"] .hero{display:none!important}
  html[data-hero-configured="1"][data-hero-mobile="off"] .hero{display:none!important}
}

/* ── Layout: full-width header ──────────────────────────── */
html[data-surface="site"][data-site-layout="full"] .page,
html[data-surface="site"][data-site-layout="classic"] .page{
  max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;background:#fff;
}
html[data-surface="site"][data-site-layout="full"] .topbar,
html[data-surface="site"][data-site-layout="classic"] .topbar{
  border-radius:0;
  padding-inline:max(22px,calc((100vw - 1440px)/2 + 22px));
}
html[data-surface="site"][data-site-layout="full"] .hero,
html[data-surface="site"][data-site-layout="classic"] .hero{
  margin-top:0;border-radius:0;
}
html[data-surface="site"][data-site-layout="full"] .hero{
  max-width:none;
  padding-inline:max(26px,calc((100vw - 1440px)/2 + 26px));
}
html[data-surface="site"][data-site-layout="full"] .menu-hero-banner{
  max-width:none;margin-inline:0;
}
html[data-surface="site"][data-site-layout="full"] .menu-hero-media{
  height:clamp(300px,36vw,520px);
}
html[data-surface="site"][data-site-layout="full"] .menu-section{max-width:1440px}
html[data-surface="site"][data-site-layout="full"] .note,
html[data-surface="site"][data-site-layout="full"] .footer{max-width:1440px}

/* ── Layout: classic, contained content with full-width header ── */
html[data-surface="site"][data-site-layout="classic"] .hero{
  max-width:1180px;margin:22px auto 0;
}
html[data-surface="site"][data-site-layout="classic"] .menu-hero-banner{
  max-width:1180px;margin:22px auto 0;border-radius:22px;
}
html[data-surface="site"][data-site-layout="classic"] .menu-section{max-width:1180px}
html[data-surface="site"][data-site-layout="classic"] .note,
html[data-surface="site"][data-site-layout="classic"] .footer{max-width:1180px}

@media(max-width:900px){
  html[data-surface="site"][data-site-layout="full"] .topbar,
  html[data-surface="site"][data-site-layout="classic"] .topbar{padding-inline:16px}
  html[data-surface="site"][data-site-layout="full"] .hero{padding-inline:18px}
  html[data-surface="site"][data-site-layout="classic"] .hero,
  html[data-surface="site"][data-site-layout="classic"] .menu-hero-banner{margin-inline:12px;border-radius:18px}
}
