/* ============================================================
   SHARED BASE — reset + utilities used by ALL category templates.
   Category-specific look (colors, type, signature elements) lives
   in restaurant.css / bakery.css / market.css, not here.
   ============================================================ */

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{ margin: 0 0 0.5em; line-height: 1.15; }
p{ margin: 0 0 1em; }
a{ color: inherit; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; }

.wrap{ max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

a:focus-visible, button:focus-visible{
  outline: 3px solid var(--focus, #2563eb);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* placeholder content marker — used anywhere real business input
   is still needed (menu items, photos, about text, socials) */
.needs-input{
  border: 2px dashed var(--needs-input-border, #9aa5b1);
  background: var(--needs-input-bg, rgba(0,0,0,0.03));
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--needs-input-text, #5b6673);
}
.needs-input b{ display:block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }

.photo-slot{
  border: 2px dashed var(--needs-input-border, #9aa5b1);
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.035), rgba(0,0,0,0.035) 10px, transparent 10px, transparent 20px);
  border-radius: 10px;
  aspect-ratio: 4/3;
  display:flex; align-items:center; justify-content:center; text-align:center;
  color: var(--needs-input-text, #5b6673);
  font-size: 0.82rem; font-weight: 600; padding: 12px; gap: 8px; flex-direction: column;
}
.photo-slot svg{ width: 28px; height: 28px; opacity: 0.6; }

.map-embed{ width:100%; height: 220px; border:0; display:block; border-radius: 12px; }

nav.main-nav{ display:flex; gap: 4px; align-items:center; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle svg{ width:26px; height:26px; }
@media (max-width: 860px){
  nav.main-nav{
    position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch;
    display:none; padding: 8px 24px 18px;
  }
  nav.main-nav.is-open{ display:flex; }
  .nav-toggle{ display:inline-flex; }
}
