/* ── Menu Publisher — style strony (wspólne, themowane przez theme.css) ─────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0; }
a { color: inherit; }

.wrap { width: min(960px, 92vw); margin-inline: auto; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  letter-spacing: .02em; text-decoration: none; margin-right: auto;
  display: inline-flex; align-items: center;
}
.brand__logo { height: 38px; width: auto; display: block; }
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a { text-decoration: none; font-size: .95rem; opacity: .8; }
.site-nav a:hover { opacity: 1; color: var(--accent); }
.site-header__phone {
  text-decoration: none; font-weight: 600; color: var(--accent);
  white-space: nowrap;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }
.hero__inner { max-width: 720px; margin-inline: auto; }
.hero__title { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 700; }
.hero__meta { margin: 1rem 0 0; opacity: .78; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.8rem 0 0; }
.hero__delivery { margin: 1.5rem auto 0; max-width: 560px; font-size: .88rem; opacity: .72; }
.hero__logo { width: clamp(150px, 26vw, 210px); height: auto; margin: 0 auto; display: block; }
.hero__logo--choco { width: clamp(260px, 58vw, 440px); }

/* Wariant ze zdjęciem w tle (La Strada) — warstwa img + scrim, biały tekst */
.hero--photo {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(76vh, 640px); display: flex; align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,15,12,.5), rgba(20,15,12,.66));
}
.hero--photo .hero__inner { position: relative; z-index: 2; }
.hero--photo .hero__meta, .hero--photo .hero__delivery { opacity: .92; }
.hero--photo .hero__logo { filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }
.hero--photo .btn--ghost { border-color: #fff; color: #fff; }
.hero--photo .btn--ghost:hover { background: #fff; color: var(--ink); }

.hero--choco { background: var(--cream); }
.hero--choco .hero__title { color: var(--cocoa); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: .7rem 1.3rem; border-radius: 999px; font-size: .95rem;
  border: 1.5px solid var(--accent); transition: .15s ease;
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { filter: brightness(.93); }
.btn--ghost { color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* ── Skok do sekcji ────────────────────────────────────────────────────── */
.menu-jump {
  position: sticky; top: 64px; z-index: 10;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.menu-jump { scroll-margin-top: 64px; }
.menu-jump__inner { display: flex; gap: 1.4rem; overflow-x: auto; padding: .7rem 0; }
.menu-jump a {
  text-decoration: none; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .12em; opacity: .7; white-space: nowrap;
}
.menu-jump a:hover { opacity: 1; color: var(--accent); }

/* ── Menu ──────────────────────────────────────────────────────────────── */
.menu { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.menu-group { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 120px; }
.menu-group__title {
  font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; color: var(--ink);
}
.menu-group__title::after {
  content: ""; display: block; width: 44px; height: 2px; margin: .6rem auto 0;
  background: var(--accent);
}
.menu-group__hint { text-align: center; opacity: .6; font-size: .85rem; margin: .5rem 0 0; }
.menu-section { margin-top: 2.2rem; }
.menu-section__title {
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .16em; opacity: .55;
  border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem;
}
.menu-list { list-style: none; margin: 0; padding: 0; }

.menu-item { padding: .55rem 0; }
.menu-item.is-sub { padding-left: 1rem; }
.menu-item__line { display: flex; align-items: baseline; gap: .5rem; }
.menu-item__name { font-weight: 600; }
.menu-item__unit { font-weight: 400; opacity: .55; font-size: .82em; }
.menu-item__dots {
  flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 35%, transparent);
  transform: translateY(-.25em);
}
.menu-item__price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.menu-item__desc { margin: .15rem 0 0; opacity: .72; font-size: .92rem; max-width: 46rem; }
.menu-item__hint { margin: .2rem 0 0; font-size: .8rem; opacity: .6; font-style: italic; }
.menu-note {
  list-style: none; margin: .8rem 0; padding: .7rem .9rem; font-size: .85rem;
  background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 8px;
}

/* Uwaga o opakowaniu — w tej samej ramce co nota „Sosy do sałatek" (tylko WWW) */
.menu-note__pack {
  display: block; margin-top: .6rem; padding-top: .6rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.menu-note__packhead {
  display: block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; opacity: .7; margin-bottom: .25rem;
}
.menu-note__packline { display: block; margin: .1rem 0; }

/* Menu zawsze w jednej kolumnie (na życzenie). */

/* ── Strona Chocolaterie (proza) ───────────────────────────────────────── */
.prose { padding: clamp(2rem, 5vw, 4rem) 0 5rem; max-width: 720px; }
.prose__lead { font-size: 1.15rem; opacity: .85; }
.prose__block { margin-top: 2.4rem; }
.prose__block h2 { color: var(--cocoa); font-size: 1.6rem; margin-bottom: .5rem; }
.prose__back { margin-top: 3rem; }

/* Galeria Chocolaterie — zdjęcia produktowe na białych kafelkach */
.choco-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; margin: 2.4rem 0;
}
.choco-gallery__item {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem; box-shadow: 0 6px 20px rgba(31,27,22,.05);
}
.choco-gallery__item img {
  width: 100%; height: 240px; object-fit: contain; display: block;
}
.choco-banner {
  margin: 2.6rem 0 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 1.2rem;
}
.choco-banner img { width: 100%; height: auto; display: block; }
.page-choco .btn { border-color: var(--cocoa); color: var(--cocoa); }
.page-choco .btn--ghost:hover { background: var(--cocoa); color: #fff; }

/* ── Stopka ────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; margin-top: 2rem; }
.venues { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.venue h4 { font-size: 1.1rem; }
.venue__kind { opacity: .6; font-size: .85rem; margin: .1rem 0 .4rem; }
.venue p { margin: .1rem 0; font-size: .9rem; opacity: .8; }
.pfr { margin-top: 2rem; }
.pfr img { max-width: 100%; height: auto; }
.pfr__placeholder {
  border: 1px dashed var(--line); padding: 1rem; border-radius: 8px;
  font-size: .82rem; opacity: .7;
}
.pfr__placeholder code { font-size: .78rem; }
.copyright { margin-top: 1.6rem; font-size: .8rem; opacity: .5; }
