/* ==========================================================================
   Grab a Bread Bakery — stylesheet
   Плосък, спокоен стил: без преливки, без "лъскави" бутони, минимални
   заобляния — като печатно меню в пекарна, не като SaaS лендинг.
   ========================================================================== */

:root {
  --espresso: #241a12;
  --espresso-2: #33251a;
  --paper: #efe8d9;
  --paper-raised: #f8f4ea;
  --paper-line: #ddd1b8;
  --ink: #241a12;
  --ink-soft: #6c5c48;
  --gold: #dda233;
  --gold-dark: #b17f1c;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-logo-slab: "Alfa Slab One", "Fraunces", Georgia, serif;

  --container: 1180px;
  --radius: 6px;
  --radius-sm: 4px;
  --topbar-h: 52px;
  --navbar-h: 72px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { display: block; }
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.icon { width: 16px; height: 16px; flex-shrink: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--espresso);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--espresso);
}
.btn--primary:hover { background: var(--gold-dark); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn--outline {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}
.btn--outline:hover { background: var(--espresso); color: var(--paper-raised); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: unset;
  z-index: 101;
  width: 100%;
  height: auto;
  max-height: 120px;
  min-height: 0;
  overflow: hidden;
  background: var(--gold);
  color: var(--espresso);
}
.topbar__inner {
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-auto-rows: min-content;
  align-items: center;
  align-content: start;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  padding-block: 8px;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  line-height: 1.25;
}
.topbar__item .icon { width: 14px; height: 14px; flex-shrink: 0; }
.topbar__item--addr { justify-self: start; white-space: nowrap; }
.topbar__item--open { justify-self: center; font-weight: 800; }
.topbar__item--closed {
  justify-self: end;
  white-space: nowrap;
  opacity: 0.85;
}
.topbar__schedule {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.topbar__slot {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.topbar__day { font-weight: 800; }
.topbar__day--short { display: none; }
.topbar__time { font-weight: 700; }
.topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(26, 18, 12, 0.28);
  flex-shrink: 0;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  right: 0;
  left: 0;
  bottom: unset;
  z-index: 100;
  width: 100%;
  height: auto;
  padding: 16px 0;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, top 0.2s ease;
  border-bottom: 1px solid transparent;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar__logo {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.navbar__links a,
.navbar__action {
  color: var(--paper-raised);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.navbar__links a:hover,
.navbar__links a[aria-current="page"],
.navbar__action:hover {
  color: var(--gold);
  border-color: rgba(221, 162, 51, 0.45);
}
.navbar__action--accent {
  color: var(--espresso);
  background: var(--gold);
  border-color: var(--gold);
}
.navbar__action--accent:hover {
  color: var(--espresso);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 6px 4px;
  white-space: nowrap;
}
.nav-call__label {
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
}
.nav-call__arrow {
  display: inline-flex;
  color: var(--gold);
}
.nav-call__arrow svg { width: 18px; height: 18px; }
.nav-call:hover { color: var(--paper-raised); }
.nav-call:hover .nav-call__arrow { color: var(--paper-raised); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-raised);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}
.social-link:hover {
  color: var(--gold);
}
.navbar__actions .social-links {
  margin-right: 4px;
}
.footer__brand .social-links {
  margin-top: 4px;
}
.footer .social-link {
  color: rgba(239, 232, 217, 0.75);
}
.footer .social-link:hover {
  color: var(--gold);
}
.mobile-menu .social-links {
  margin-top: 20px;
  gap: 16px;
}
.mobile-menu .social-link {
  color: var(--paper-raised);
}
.mobile-menu .social-link svg {
  width: 24px;
  height: 24px;
}

.page-inner .navbar { background: var(--espresso); border-bottom-color: rgba(255,255,255,0.08); }
.page-inner main { padding-top: calc(var(--topbar-h) + var(--navbar-h) + 36px); }

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper-raised);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar.is-scrolled {
  padding: 12px 0;
  background: var(--espresso);
  border-bottom-color: rgba(255,255,255,0.08);
}

.navbar.menu-open .navbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.menu-open .navbar__burger span:nth-child(2) { opacity: 0; }
.navbar.menu-open .navbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--espresso);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper-raised);
  font-weight: 600;
}
.mobile-menu nav a:hover { color: var(--gold); }
.link-arrow { display: inline-flex !important; align-items: center; gap: 8px; }
.link-arrow__icon { width: 15px; height: 15px; }
.footer .link-arrow__icon { transform: rotate(-90deg); }
@media (min-width: 861px) {
  .footer .link-arrow__icon { transform: rotate(0deg); }
}
.mobile-menu__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--espresso);
}
.hero__poster {
  position: absolute;
  inset: 0;
  background:
    center / cover no-repeat url("../images/gallery/hero-poster.webp"),
    var(--espresso);
  z-index: 2;
  transform: scale(1.04);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  transform: scale(1.04);
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero.is-video-ready .hero__media { transform: scale(1); }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Never hide the <video> itself — iOS Safari skips autoplay/paint when opacity is 0 or a transform is on the tag */
  opacity: 1;
  transform: none;
  background: transparent;
}
.hero.is-video-ready .hero__poster { opacity: 0; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg,
    rgba(20, 13, 8, 0.28) 0%,
    rgba(20, 13, 8, 0.22) 38%,
    rgba(20, 13, 8, 0.68) 62%,
    rgba(20, 13, 8, 0.94) 100%);
}
.hero__content { position: relative; z-index: 4; padding-top: 140px; padding-bottom: 88px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper-raised);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1;
  margin: 0;
}
.hero__title-line {
  display: block;
  opacity: 1;
  transform: none;
}
body.is-booting .hero__title-line {
  opacity: 0;
  transform: translateY(28px);
}
.hero.is-ready .hero__title-line {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero.is-ready .hero__title-line:nth-child(2) { transition-delay: 0.08s; }
.hero.is-ready .hero__title-line:nth-child(3) { transition-delay: 0.16s; }
.hero__title-line--lead,
.hero__title-line--bakery {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.hero__title-line--lead {
  font-size: 0.52em;
  margin-bottom: 0.22em;
}
.hero__title-line--accent {
  font-family: var(--font-logo-slab);
  color: var(--gold);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.hero__title-line--bakery {
  font-size: 0.5em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.28em;
  padding-right: 0.2em;
}
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: 28px;
}

/* Prefer reduced motion: keep poster, skip video autoplay feel */
@media (prefers-reduced-motion: reduce) {
  .hero__media, .hero__video { display: none; }
  .hero__poster { opacity: 1 !important; transform: none; }
  body.is-booting .hero__title-line,
  .hero.is-ready .hero__title-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Lazy below-fold sections */
.moments,
.products,
.location {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 16px;
  max-width: 22ch;
}
.section__lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0 0 34px;
  line-height: 1.55;
}

/* ---------- Moments sticky fullscreen cards ---------- */
.moments { position: relative; background: var(--espresso); }
.moments__card {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.moments__card .photo-placeholder { background: var(--espresso-2); }
.moments__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,16,10,0.1) 20%, rgba(24,16,10,0.88) 100%);
}
.moments__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 80px;
}
.moments__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  color: var(--paper-raised);
  margin-bottom: 16px;
  max-width: 14ch;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.moments__text {
  color: rgba(248, 244, 234, 0.92);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  max-width: 34ch;
  line-height: 1.5;
  margin-bottom: 26px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
.moments__cta { margin-top: 4px; font-size: 1rem; padding: 14px 26px; }

/* ---------- Filters (sticky under nav) ---------- */
.filters-bar {
  position: sticky;
  top: calc(var(--topbar-h) + var(--navbar-h));
  z-index: 90;
  background: rgba(239, 232, 217, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  padding: 10px 0;
  margin-bottom: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filters-bar.is-stuck {
  border-bottom-color: var(--paper-line);
  box-shadow: 0 8px 18px -16px rgba(36, 26, 18, 0.45);
}
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filters::-webkit-scrollbar { display: none; }
.filter-tab {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 12px;
  border-radius: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.filter-tab:hover { color: var(--espresso); }
.filter-tab.is-active {
  color: var(--espresso);
  border-bottom-color: var(--gold-dark);
}

.product-card__labels { display: none; }
.chip, .chip-row, .chip-muted { display: none; }

.info-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.35;
}
.info-list__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink-soft);
  opacity: 0.92;
}
.info-list__icon svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}
.info-list__text { color: var(--espresso); }
.info-list--warn .info-list__icon { color: #7a4530; }
.info-list--no .info-list__icon { color: #6a5a48; }
.info-list--ok .info-list__icon { color: #4f6140; }
.info-empty {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--paper-line);
}
.photo-placeholder svg { width: 26%; max-width: 40px; height: auto; color: var(--ink-soft); opacity: 0.5; }
.photo-placeholder span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink-soft);
  opacity: 0.7;
  text-align: center;
  padding: 0 10px;
}

.products__empty { color: var(--ink-soft); padding: 24px 0 48px; }

/* ---------- Products ---------- */
.products {
  background: var(--paper);
  overflow: visible;
  min-height: calc(100svh - 120px);
}
.products__intro { margin-bottom: 8px; }
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-bottom: 48px;
  min-height: 52vh;
  overflow-anchor: none;
}
.product-cell { display: flex; flex-direction: column; min-width: 0; }
.product-card {
  background: var(--paper-raised);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--gold); }
.product-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.product-card__photo {
  aspect-ratio: 1 / 1;
  position: relative;
  border-bottom: 1px solid var(--paper-line);
}
.product-card__body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card__size {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.25;
}
.product-card__excerpt {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: auto;
}
.product-card__price { display: none; }

.product-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 0;
  background: none;
  border: none;
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-more:hover { color: var(--espresso); }

/* ---------- Product detail modal ---------- */
body.modal-open { overflow: hidden; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(20, 14, 9, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.product-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.product-modal__panel {
  position: relative;
  width: min(94vw, 880px);
  max-height: min(90vh, 820px);
  overflow: hidden;
  background: var(--paper-raised);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
  align-items: stretch;
}
.product-modal__photo {
  position: relative;
  min-height: 280px;
  background: var(--paper-line);
  overflow: hidden;
}
.product-modal__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-modal__body {
  padding: clamp(20px, 3vw, 32px);
  overflow-y: auto;
  max-height: min(90vh, 820px);
  -webkit-overflow-scrolling: touch;
}
.product-modal__size {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.product-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 8px;
}
.product-modal__desc {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.product-modal__price { display: none; }
.product-modal__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.product-modal__facts .product-modal__label { margin-top: 4px; }
.product-modal__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.product-modal__ingredients { display: flex; flex-direction: column; gap: 7px; }
.product-modal__ingredients li {
  font-size: 0.9rem;
  color: var(--espresso);
  padding-left: 14px;
  position: relative;
}
.product-modal__ingredients li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.product-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(20,14,9,0.55);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.product-modal__close:hover { background: rgba(20,14,9,0.75); }

@media (max-width: 720px) {
  .product-modal {
    padding: 0;
    align-items: stretch;
  }
  .product-modal__panel {
    width: 100%;
    max-height: 100svh;
    height: 100svh;
    border-radius: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(180px, 34svh) 1fr;
  }
  .product-modal__photo {
    min-height: 0;
    height: 100%;
  }
  .product-modal__body {
    max-height: none;
    padding: 18px 18px 28px;
  }
  .product-modal__cols { grid-template-columns: 1fr; }
}

/* ---------- Gallery page ---------- */
.gallery-page { background: var(--paper); min-height: 70vh; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  margin: 0;
  animation: galleryIn 0.7s ease both;
  animation-delay: var(--d, 0s);
}
@keyframes galleryIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.gallery-item__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-line);
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item__btn:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--espresso);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 14, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox__img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

/* ---------- Catering fullscreen menu ---------- */
html:has(body.page-catering),
body.page-catering {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  background: #f3ead8;
}
body.page-catering {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  max-height: 100svh;
  position: fixed;
  inset: 0;
  width: 100%;
}

.catering-chrome {
  flex: 0 0 auto;
  height: 56px;
  background: var(--espresso);
  color: var(--paper-raised);
  z-index: 20;
}
.catering-chrome__inner {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.catering-chrome .navbar__logo {
  height: 42px;
  max-width: 120px;
}
.catering-chrome__title {
  justify-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0;
  color: var(--paper-raised);
}
.catering-chrome__call { color: var(--gold); }
.catering-chrome__call:hover { color: var(--paper-raised); }

.catering-shell {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-items: stretch;
  background: #f3ead8;
}

.flipbook__viewport {
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  touch-action: pan-x;
  background: #f3ead8;
  min-height: 0;
  height: 100%;
  width: 100%;
}
.flipbook__track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.flipbook__page {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  user-select: none;
}
.flipbook__page img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: #f3ead8;
  pointer-events: none;
}

.flipbook__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--espresso);
  background: rgba(248, 244, 234, 0.92);
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: auto;
}
.flipbook__nav--prev { left: 10px; grid-column: auto; grid-row: auto; }
.flipbook__nav--next { right: 10px; grid-column: auto; grid-row: auto; }
.flipbook__nav svg { width: 20px; height: 20px; }
.flipbook__nav:hover:not(:disabled) { background: var(--espresso); color: var(--paper-raised); }
.flipbook__nav:disabled { opacity: 0.28; cursor: default; }

.catering-dock {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px 10px;
  background: rgba(243, 234, 216, 0.96);
  border-top: 1px solid rgba(36, 26, 18, 0.08);
  min-height: 44px;
}
.flipbook__counter {
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin: 0;
  font-size: 0.9rem;
}
.flipbook__dots { display: flex; gap: 8px; }
.flipbook__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-line);
  padding: 0;
}
.flipbook__dot.is-active { background: var(--gold-dark); }
.catering-dock__link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--espresso);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .catering-chrome { height: 56px; }
  .catering-chrome__title { font-size: 0.95rem; }
  .catering-chrome .navbar__logo { height: 36px; }
  .catering-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .flipbook__nav { display: none; }
  .flipbook__viewport {
    grid-column: 1;
    grid-row: 1;
  }
  .catering-dock {
    grid-column: 1;
    gap: 12px;
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Location ---------- */
.location { background: var(--paper); }
.location__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.location__lead { margin: 10px 0 0; max-width: 36ch; }
.location__list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.location__list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; color: var(--espresso); }
.location__list a:hover { color: var(--gold-dark); }
.location__list .icon { width: 18px; height: 18px; color: var(--gold-dark); }
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  aspect-ratio: 4 / 3.2;
}
.location__map iframe { width: 100%; height: 100%; border: 0; }


/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--paper); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo {
  height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}
.footer__brand p { color: rgba(239,232,217,0.6); font-size: 0.9rem; max-width: 32ch; }
.footer__col h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; font-weight: 800; }
.footer__col a { display: block; padding: 4px 0; color: rgba(239,232,217,0.75); font-size: 0.92rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 22px 16px 28px;
  font-size: 0.8rem;
  color: rgba(239,232,217,0.45);
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(239,232,217,0.14);
  border-radius: 4px;
  color: rgba(239,232,217,0.55);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer__credit:hover {
  color: var(--gold);
  border-color: rgba(212,175,55,0.45);
  background: rgba(212,175,55,0.06);
}
.footer__credit-code {
  color: var(--gold);
  opacity: 0.85;
  font-weight: 600;
}
.footer__credit strong {
  color: rgba(239,232,217,0.88);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.footer__credit:hover strong { color: var(--gold); }

/* ---------- Legal / 404 / cookies ---------- */
.legal-page {
  background: var(--paper);
  padding: 48px 0 80px;
  min-height: 60vh;
}
.legal-page__inner { max-width: 760px; }
.legal-card {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-top: 18px;
  color: var(--espresso);
}
.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}
.legal-card ul { padding-left: 1.15rem; display: flex; flex-direction: column; gap: 6px; }
.legal-card a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-card code {
  font-size: 0.86em;
  background: rgba(36, 26, 18, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn--ghost-dark {
  background: transparent;
  border: 1.5px solid var(--espresso);
  color: var(--espresso);
}
.btn--ghost-dark:hover { background: var(--espresso); color: var(--paper-raised); }

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 400;
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper-raised);
  border: 1px solid var(--paper-line);
  box-shadow: 0 18px 40px -18px rgba(20, 14, 9, 0.45);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.cookie-bar__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-bar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.cookie-bar a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Call FAB ---------- */
.call-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(36, 26, 18, 0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--white);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.35);
}
.call-fab svg { width: 22px; height: 22px; position: relative; z-index: 2; }
.call-fab__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  opacity: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .location__inner { grid-template-columns: 1fr; }
  .location__map { order: -1; aspect-ratio: 16/9; }
}

@media (max-width: 860px) {
  .navbar__links { display: none; }
  .navbar__actions { display: none; }
  .navbar__burger { display: flex; margin-left: auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  :root { --topbar-h: 40px; }
  .topbar__inner {
    font-size: 0.72rem;
    gap: 8px;
    padding-block: 7px;
  }
  .topbar__day--full { display: none; }
  .topbar__day--short { display: inline; }
  .topbar__schedule { gap: 8px; }
  .moments__title { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .moments__text { font-size: 1.12rem; }
}

@media (max-width: 640px) {
  .topbar__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "addr closed"
      "open open";
    gap: 3px 10px;
    padding-block: 8px;
    text-align: left;
  }
  .topbar__item--addr { grid-area: addr; justify-self: start; }
  .topbar__item--open { grid-area: open; justify-self: center; }
  .topbar__item--closed { grid-area: closed; justify-self: end; }
  .topbar__item--addr .icon,
  .topbar__item--open .icon { display: none; }
  :root { --topbar-h: 52px; }
}

@media (max-width: 420px) {
  .topbar__inner { font-size: 0.66rem; }
  .topbar__schedule { gap: 6px; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .call-fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .hero { align-items: flex-start; }
  .hero__content { padding-top: 128px; padding-bottom: 64px; text-align: center; }
  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(20, 13, 8, 0.72) 0%,
      rgba(20, 13, 8, 0.4) 30%,
      rgba(20, 13, 8, 0.5) 62%,
      rgba(20, 13, 8, 0.9) 100%);
  }
  .navbar__logo { height: 44px; }
  .footer__logo { height: 64px; }
}

@media (max-width: 480px) {
  .topbar__inner { font-size: 0.66rem; gap: 4px 8px; }
  .container { padding-inline: 16px; }
  .product-card__body { padding: 10px 11px 12px; }
  .product-card__title { font-size: 0.86rem; }
  .filter-tab { font-size: 0.82rem; padding: 9px 10px; }
}
