/* =========================================================
   BASE (shared by every theme, driven by CSS variables)
   ========================================================= */
:root { --demo-h: 52px; }

body {
  --bg: #fff;
  --surface: #f6f6f6;
  --surface-2: #eee;
  --text: #1b1b1b;
  --muted: #6b6b6b;
  --accent: #c0392b;
  --accent-ink: #fff;
  --accent-2: #333;
  --border: rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --head-weight: 700;
  --head-case: none;
  --head-spacing: 0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + 70px); }
img { display: block; max-width: 100%; }

body {
  margin: 0;
  padding-top: var(--demo-h);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lb-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  text-transform: var(--head-case);
  letter-spacing: var(--head-spacing);
  line-height: 1.1;
  margin: 0 0 0.4em;
}
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  font: 600 1rem var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.9rem; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* =========================================================
   DEMO BAR (neutral; same on every theme)
   ========================================================= */
.demo-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--demo-h);
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0 1rem;
  background: #18181b;
  color: #fff;
  font: 500 0.9rem "Inter", system-ui, sans-serif;
  border-bottom: 1px solid #000;
}
.demo-pill {
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2em 0.6em; border-radius: 4px; opacity: 0.85;
}
.demo-arrow {
  width: 34px; height: 34px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: #fff;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 3px;
}
.demo-arrow:hover { background: rgba(255, 255, 255, 0.12); }
.demo-current { display: flex; flex-direction: column; line-height: 1.15; min-width: 170px; text-align: center; }
.demo-current span { font-size: 0.72rem; opacity: 0.6; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.3); cursor: pointer;
}
.demo-dots button.active { background: #fff; }
.demo-hint { opacity: 0.5; font-size: 0.8rem; margin-left: auto; }
.demo-toggle { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; opacity: 0.85; cursor: pointer; white-space: nowrap; }

.swipe-hint {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 90; pointer-events: none;
  background: #18181b; color: #fff;
  padding: 0.65em 1.1em; border-radius: 6px;
  font: 500 0.88rem "Inter", sans-serif;
  transition: opacity 0.5s;
  white-space: nowrap;
}
.swipe-hint.gone { opacity: 0; }

/* Demo notes: explain things to the restaurant owner. Same look on every theme. */
.demo-note {
  max-width: 900px; margin: 2rem auto 0;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid #2563eb;
  border-radius: 0 6px 6px 0;
  background: #eef3fd;
  color: #1e293b;
  font: 400 0.9rem/1.5 "Inter", system-ui, sans-serif;
}
.demo-note strong {
  display: block; margin-bottom: 0.15rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #2563eb;
}
.demo-note-hero { margin: 1rem auto 0; width: calc(100% - 2rem); }
.hide-notes .demo-note { display: none; }

/* =========================================================
   SITE LAYOUT
   ========================================================= */
.site { animation-duration: 0.4s; animation-timing-function: ease-out; }
.site.slide-left { animation-name: slideL; }
.site.slide-right { animation-name: slideR; }
@keyframes slideL { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: 1.3rem; text-decoration: none; margin-right: auto;
  text-transform: var(--head-case); letter-spacing: var(--head-spacing);
}
.logo-mark {
  display: inline-grid; place-items: center;
  min-width: 2.2rem; height: 2.2rem; padding: 0 0.4rem;
  border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.95rem; letter-spacing: 0;
}
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-weight: 500; opacity: 0.8; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-burger { display: none; background: none; border: 0; font-size: 1.5rem; color: inherit; cursor: pointer; }

/* ---------- hero: photo background, 4 layouts ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(82vh, 760px);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 6vw, 5rem);
  color: #fff;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background: var(--hero-overlay, linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.2))), var(--hero-img) center / cover no-repeat;
}
.hero-inner { position: relative; max-width: 640px; }
.hero-title { font-size: clamp(2.8rem, 7.5vw, 5.8rem); margin-bottom: 0.25em; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.hero-tagline { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 36ch; opacity: 0.95; }
.hero .eyebrow { color: #fff; opacity: 0.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.4rem; }
.hero .btn-ghost { color: #fff; }

.hero[data-layout="center"] { justify-content: center; text-align: center; }
.hero[data-layout="center"] .hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.hero[data-layout="center"] .hero-tagline { margin-inline: auto; }
.hero[data-layout="center"] .hero-media { --hero-overlay: linear-gradient(rgba(18, 14, 8, 0.55), rgba(18, 14, 8, 0.6)); }

.hero[data-layout="split"] {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; padding: 0; color: var(--text); min-height: min(76vh, 680px);
}
.hero[data-layout="split"] .hero-media { position: relative; inset: auto; z-index: 0; order: 2; min-height: 340px; --hero-overlay: linear-gradient(transparent, transparent); }
.hero[data-layout="split"] .hero-inner { padding: clamp(2.5rem, 6vw, 5rem); align-self: center; }
.hero[data-layout="split"] .hero-title { text-shadow: none; }
.hero[data-layout="split"] .eyebrow { color: var(--accent); }
.hero[data-layout="split"] .btn-ghost { color: var(--text); }

.hero[data-layout="card"] { align-items: flex-end; }
.hero[data-layout="card"] .hero-media { --hero-overlay: linear-gradient(transparent, transparent); }
.hero[data-layout="card"] .hero-inner {
  background: var(--bg); color: var(--text);
  padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.hero[data-layout="card"] .hero-title { text-shadow: none; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.hero[data-layout="card"] .eyebrow { color: var(--accent); }
.hero[data-layout="card"] .btn-ghost { color: var(--text); }

.open-status { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.open-status .dot { width: 9px; height: 9px; border-radius: 50%; }
.open-status.is-open .dot { background: #22c55e; }
.open-status.is-closed .dot { background: #ef4444; }

/* ---------- highlights ---------- */
.highlights {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  margin-top: 1rem;
}
.highlight { padding: 1.8rem clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--border); }
.highlight:first-child { border-left: 0; }
.highlight strong { font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-case); font-size: 1.15rem; display: block; margin-bottom: 0.2rem; }
.highlight p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) clamp(1rem, 6vw, 5rem); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); max-width: 1150px; margin: 0 auto; align-items: center; }
.about-photo, .feature-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; border-top: 1px solid var(--border); padding-top: 1.4rem; }
.stat { display: grid; gap: 0.2rem; }
.stat-num { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.9rem; color: var(--accent); line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.88rem; line-height: 1.35; }

/* feature */
.feature { background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); max-width: 1150px; margin: 0 auto; align-items: center; }
.feature-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; }
.feature-list li { display: grid; grid-template-columns: minmax(9rem, 38%) 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.feature-list li:first-child { border-top: 1px solid var(--border); }
.feature-list span { color: var(--muted); }

/* gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px);
  gap: 0.6rem; max-width: 1200px; margin: 0 auto;
}
.g-item {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: var(--radius); background: var(--surface-2);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff; font: 500 0.88rem var(--font-body); text-align: left;
}
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(4), .g-item:nth-child(5), .g-item:nth-child(6) { grid-column: span 2; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 2rem; background: rgba(10, 10, 10, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 0.8rem; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 4px; }
.lightbox figcaption { color: #eee; font: 500 0.95rem "Inter", sans-serif; }
.lb-nav, .lb-close {
  background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }

/* ---------- menu ---------- */
.menu-controls { max-width: 1100px; margin: 2rem auto; display: grid; gap: 1rem; }
.menu-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.menu-tabs button {
  font: 600 0.98rem var(--font-body);
  padding: 0.55em 1.2em; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
  cursor: pointer;
}
.menu-tabs button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.menu-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.diet-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip {
  font: 500 0.82rem var(--font-body);
  padding: 0.35em 0.8em; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  cursor: pointer;
}
.chip.active { background: var(--text); color: var(--bg); }
.layout-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.layout-switch button {
  font: 600 0.82rem var(--font-body); padding: 0.45em 1em;
  background: transparent; border: 0; color: var(--text); cursor: pointer;
}
.layout-switch button.active { background: var(--accent); color: var(--accent-ink); }

.menu-items { max-width: 1100px; margin: 0 auto; }
.dish { animation: rise 0.35s both; animation-delay: calc(var(--i) * 50ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.dish h4 { margin: 0; }
.dish p { margin: 0.25rem 0 0.4rem; color: var(--muted); font-size: 0.95rem; }
.dish-line { display: flex; align-items: baseline; gap: 0.6rem; }
.dots { flex: 1; border-bottom: 2px dotted var(--border); transform: translateY(-4px); }
.price { font-family: var(--font-head); font-weight: 700; color: var(--accent); white-space: nowrap; }
.tags { display: flex; gap: 0.3rem; }
.tag { font: 700 0.66rem var(--font-body); padding: 0.15em 0.5em; border-radius: 4px; background: var(--surface-2); color: var(--text); }
.tag-vg { background: #2e7d32; color: #fff; }
.tag-gf { background: #8d6e63; color: #fff; }
.tag-spicy { background: #c62828; color: #fff; }
.dish-photo { display: none; }
.empty { text-align: center; color: var(--muted); padding: 2rem; }

/* list layout: small round photo next to dishes that have one */
.layout-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 3.5rem; max-width: 1000px; }
.layout-list .dish.has-photo { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.layout-list .dish-photo { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.layout-list .dish-photo img { width: 100%; height: 100%; object-fit: cover; }

/* card layout: big photos */
.layout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }
.layout-grid .dish { background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.layout-grid .dish-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.layout-grid .dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.layout-grid .dish-body { padding: 1rem 1.2rem 1.2rem; }
.layout-grid .dish:not(.has-photo) .dish-body { border-top: 4px solid var(--accent); }
.layout-grid .dots { display: none; }
.layout-grid .dish-line { justify-content: space-between; }

/* compact board */
.layout-compact { max-width: 720px; border: 2px solid var(--text); border-radius: var(--radius); padding: 1rem 1.6rem; background: var(--bg); }
.layout-compact .dish { display: flex; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.layout-compact .dish:last-child { border-bottom: 0; }
.layout-compact .dish-body { width: 100%; }
.layout-compact .dish p { font-size: 0.85rem; margin: 0.1rem 0 0; display: inline; }
.layout-compact .tags { display: inline-flex; margin-left: 0.4rem; }

.menu-footer { max-width: 1100px; margin: 2.5rem auto 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; text-align: center; font-size: 0.85rem; }

/* ---------- reviews ---------- */
.reviews { background: var(--surface); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1100px; margin: 0 auto; }
.review { margin: 0; padding: 1.8rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.review-stars { color: #e0a100; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.review blockquote { margin: 0 0 1rem; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.4; }
.review figcaption { color: var(--muted); font-size: 0.9rem; }
.review figcaption::before { content: "— "; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.6rem; max-width: 1100px; margin: 0 auto; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.hours td { text-align: right; }
.hours tr.today { color: var(--accent); }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours em { font-style: normal; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--accent); color: var(--accent-ink); padding: 0.1em 0.5em; border-radius: 4px; margin-left: 0.4rem; vertical-align: 2px; }
.address { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.2rem; }
.phone-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.map-placeholder {
  position: relative; height: 180px; margin: 1rem 0; border-radius: var(--radius);
  display: grid; place-items: center; align-content: center; gap: 0.5rem;
  color: var(--muted); font-size: 0.85rem;
  background:
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--bg);
  border: 1px solid var(--border);
}
.map-pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); }
.visit-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- feedback ---------- */
.feedback { background: var(--surface); }
.feedback-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.feedback-form { display: grid; gap: 1rem; background: var(--bg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feedback-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.feedback-form label .muted { font-weight: 400; }
.feedback-form input, .feedback-form textarea, .feedback-form select {
  font: 400 1rem var(--font-body); color: var(--text);
  padding: 0.75em 0.9em; border-radius: calc(var(--radius) * 0.7);
  border: 1.5px solid var(--border); background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feedback-form input:focus, .feedback-form textarea:focus, .feedback-form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.stars { display: flex; gap: 0.2rem; margin-top: -0.6rem; }
.stars button { font-size: 1.9rem; background: none; border: 0; padding: 0 0.1rem; color: var(--border); cursor: pointer; transition: transform 0.15s, color 0.15s; }
.stars button:hover { transform: scale(1.2); }
.stars button.on { color: #f5a623; }
.form-error { color: #e74c3c; font-weight: 600; margin: 0; min-height: 1.2em; font-size: 0.9rem; }

.routing h3 { margin-bottom: 0.5rem; }
.routing-intro { color: var(--muted); font-size: 0.95rem; }
.route-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.2rem; position: relative; }
.route-steps li {
  display: flex; gap: 0.9rem; align-items: center;
  padding: 0.7rem 0.8rem; border-radius: calc(var(--radius) * 0.7);
  transition: background 0.3s, opacity 0.3s;
}
.route-steps li div { display: grid; line-height: 1.3; }
.route-steps small { color: var(--muted); }
.route-icon {
  width: 2.4rem; height: 2.4rem; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border);
  transition: all 0.3s;
}
.route-steps li.done { background: color-mix(in srgb, #2ecc71 14%, transparent); }
.route-steps li.done .route-icon { background: #2ecc71; border-color: #2ecc71; transform: scale(1.08); }
.route-steps li.skipped { opacity: 0.4; }
.owner-email { color: var(--accent); word-break: break-all; }

.email-preview { border: 1px solid var(--border); border-radius: calc(var(--radius) * 0.7); overflow: hidden; background: #fff; color: #222; font: 400 0.88rem/1.5 "Inter", system-ui, sans-serif; animation: rise 0.4s both; }
.ep-head { padding: 0.8rem 1rem; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.ep-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; margin-bottom: 0.4rem; }
.ep-body { padding: 0.9rem 1rem; }
.ep-body p { margin: 0 0 0.5rem; }
.ep-msg { padding: 0.6rem 0.8rem; background: #f9fafb; border-left: 3px solid #9ca3af; border-radius: 4px; }
.ep-flag { color: #b45309; font-weight: 600; }


/* ---------- footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 2rem; align-items: start;
  padding: 3rem clamp(1rem, 6vw, 5rem) 2rem;
  border-top: 1px solid var(--border);
}
.footer-brand strong { font-family: var(--font-head); font-size: 1.3rem; margin-left: 0.5rem; vertical-align: middle; text-transform: var(--head-case); }
.footer-brand p { margin-top: 0.6rem; }
.footer-links { display: grid; gap: 0.4rem; }
.footer-links a { text-decoration: none; opacity: 0.8; }
.socials { display: flex; gap: 0.5rem; }
.socials a {
  padding: 0.45em 0.9em; border-radius: var(--radius);
  border: 1px solid var(--border); text-decoration: none; font-size: 0.85rem; font-weight: 600;
}
.socials a:hover { background: var(--text); color: var(--bg); }
.copyright { grid-column: 1 / -1; color: var(--muted); font-size: 0.82rem; margin: 1rem 0 0; }

/* =========================================================
   SELLER SECTION (neutral; not part of the client site)
   ========================================================= */
.seller-cta {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 6vw, 5rem);
  background: #18181b; color: #f4f4f5;
  font-family: "Inter", system-ui, sans-serif;
}
.seller-kicker { color: #93c5fd; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; }
.seller-cta h2 { font-family: "Inter", sans-serif; font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: none; letter-spacing: -0.02em; }
.seller-lead { font-size: 1.1rem; line-height: 1.65; color: #d4d4d8; max-width: 60ch; }
.seller-sub { margin: 1.6rem 0 0.7rem; font-weight: 600; }
.seller-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seller-chips li { padding: 0.4em 0.85em; border: 1px solid #3f3f46; border-radius: 6px; font-size: 0.9rem; color: #e4e4e7; }
.seller-list { padding-left: 1.1rem; margin: 1.8rem 0 0; display: grid; gap: 0.4rem; color: #a1a1aa; }
.seller-contact { display: grid; gap: 0.9rem; justify-items: start; padding: 2rem; border: 1px solid #3f3f46; border-radius: 10px; }
.seller-name { font-weight: 700; font-size: 1.1rem; margin: 0; }
.seller-contact-note { color: #d4d4d8; margin: 0; }
.seller-btn { background: #fff; color: #18181b; border-radius: 6px; }
.seller-btn:hover { background: #e4e4e7; }
.seller-phone { opacity: 0.8; text-decoration: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translate(-50%, 140%);
  max-width: min(92vw, 520px);
  padding: 0.9rem 1.3rem; border-radius: 8px;
  background: #18181b; color: #fff;
  font: 500 0.92rem/1.45 "Inter", system-ui, sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* =========================================================
   THEMES
   ========================================================= */

/* 1 · VINNIE'S: dark, warm pizzeria & sports bar */
[data-theme="pub"] {
  --bg: #15110e; --surface: #1f1914; --surface-2: #2b221b;
  --text: #f3e9dd; --muted: #b5a493;
  --accent: #e0622a; --accent-ink: #fff;
  --border: rgba(243, 233, 221, 0.13);
  --radius: 3px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --head-weight: 600;
  --head-case: uppercase;
  --head-spacing: 0.01em;
}
[data-theme="pub"] .hero-media { --hero-overlay: linear-gradient(90deg, rgba(14, 10, 8, 0.92) 0%, rgba(14, 10, 8, 0.65) 45%, rgba(14, 10, 8, 0.1) 100%); }
[data-theme="pub"] .hero-title { line-height: 0.95; }
[data-theme="pub"] .hero .eyebrow { color: #f0a46e; opacity: 1; }
[data-theme="pub"] .menu-tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
[data-theme="pub"] .review blockquote { font-family: "Inter", sans-serif; font-weight: 500; font-size: 1.05rem; text-transform: none; }
[data-theme="pub"] .g-item { border-radius: 0; }
[data-theme="pub"] .gallery-grid { gap: 4px; }
[data-theme="pub"] .highlights { margin-top: 0; }

/* 2 · TRATTORIA FIORELLA: cream, terracotta, olive */
[data-theme="trattoria"] {
  --bg: #f7f2e8; --surface: #eee6d5; --surface-2: #e3d8c2;
  --text: #2a271d; --muted: #6e6858;
  --accent: #96402a; --accent-ink: #fbf6ee; --accent-2: #6b7340;
  --border: rgba(42, 39, 29, 0.15);
  --radius: 2px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --head-weight: 600;
}
[data-theme="trattoria"] h2, [data-theme="trattoria"] .hero-title { font-style: italic; font-weight: 500; }
[data-theme="trattoria"] .hero-title { font-size: clamp(3.2rem, 9vw, 7rem); }
[data-theme="trattoria"] .eyebrow { color: var(--accent-2); }
[data-theme="trattoria"] .hero .eyebrow { color: #f3e7cf; }
[data-theme="trattoria"] .btn { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; padding: 1.1em 1.8em; }
[data-theme="trattoria"] .logo-mark { border-radius: 50%; font-style: italic; font-size: 1.2rem; }
[data-theme="trattoria"] .layout-list { border: 1px solid var(--accent-2); outline: 1px solid var(--accent-2); outline-offset: 6px; padding: 2.5rem; background: var(--bg); }
[data-theme="trattoria"] .price { color: var(--accent-2); }
[data-theme="trattoria"] .menu-tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font-family: var(--font-head); font-size: 1.25rem; font-style: italic; }
[data-theme="trattoria"] .menu-tabs button.active { color: var(--accent); border-color: var(--accent); background: transparent; }
[data-theme="trattoria"] .g-item span { font-family: var(--font-head); font-style: italic; font-size: 1.1rem; }
[data-theme="trattoria"] .about-photo { border: 1px solid var(--accent-2); padding: 8px; background: var(--bg); }

/* 3 · MAMA ROSA'S: classic red-sauce family kitchen */
[data-theme="catering"] {
  --bg: #fffcf7; --surface: #f6eee3; --surface-2: #ecdfcd;
  --text: #2b1d16; --muted: #75655a;
  --accent: #9e1c1c; --accent-ink: #fff; --accent-2: #2f5d3a;
  --border: rgba(43, 29, 22, 0.13);
  --radius: 6px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --head-weight: 700;
}
[data-theme="catering"] .hero[data-layout="split"] { background: var(--surface); }
[data-theme="catering"] .hero-title { color: var(--accent); font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
[data-theme="catering"] .highlights { margin-top: 0; background: var(--accent); color: #fff; border: 0; }
[data-theme="catering"] .highlight { border-color: rgba(255, 255, 255, 0.2); }
[data-theme="catering"] .highlight p { color: rgba(255, 255, 255, 0.82); }
[data-theme="catering"] .eyebrow { color: var(--accent-2); }
[data-theme="catering"] .feature-list strong { color: var(--accent); }

/* 4 · TAQUERÍA EL FARO: bright and bold */
[data-theme="taqueria"] {
  --bg: #fff8ee; --surface: #fde8cb; --surface-2: #f8d5a6;
  --text: #24160e; --muted: #6c584a;
  --accent: #d63e26; --accent-ink: #fff; --accent-2: #0f7a7c;
  --border: rgba(36, 22, 14, 0.15);
  --radius: 12px;
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --head-weight: 800;
  --head-spacing: -0.02em;
}
[data-theme="taqueria"] .hero-media { --hero-overlay: linear-gradient(90deg, rgba(36, 18, 8, 0.85) 0%, rgba(36, 18, 8, 0.45) 55%, rgba(36, 18, 8, 0) 100%); }
[data-theme="taqueria"] .hero .eyebrow { color: #ffd166; opacity: 1; }
[data-theme="taqueria"] .highlights { margin-top: 0; background: var(--accent-2); color: #fff; border: 0; }
[data-theme="taqueria"] .highlight { border-color: rgba(255, 255, 255, 0.2); }
[data-theme="taqueria"] .highlight p { color: rgba(255, 255, 255, 0.85); }
[data-theme="taqueria"] .eyebrow { color: var(--accent-2); }
[data-theme="taqueria"] .btn { border-radius: 999px; }
[data-theme="taqueria"] .menu-tabs button { border-radius: 999px; }
[data-theme="taqueria"] .menu-tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
[data-theme="taqueria"] .feature { background: var(--accent-2); color: #fff; --muted: rgba(255,255,255,.8); --border: rgba(255,255,255,.25); }
[data-theme="taqueria"] .feature .eyebrow { color: #ffd166; }
[data-theme="taqueria"] .feature .btn-primary { background: #ffd166; color: var(--text); }

/* 5 · BLUEBIRD CAFÉ: soft, friendly, rounded */
[data-theme="cafe"] {
  --bg: #f6f3ee; --surface: #ebe6dc; --surface-2: #ddd5c6;
  --text: #1f2a37; --muted: #5d6875;
  --accent: #2c5d8a; --accent-ink: #fff; --accent-2: #e0a03a;
  --border: rgba(31, 42, 55, 0.12);
  --radius: 16px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --head-weight: 700;
  --head-spacing: -0.02em;
}
[data-theme="cafe"] .hero { min-height: min(86vh, 800px); }
[data-theme="cafe"] .hero-inner { max-width: 520px; }
[data-theme="cafe"] .btn { border-radius: 999px; }
[data-theme="cafe"] .eyebrow { color: #a86b0c; }
[data-theme="cafe"] .menu-tabs button { border-radius: 999px; }
[data-theme="cafe"] .highlights { border: 0; gap: 1rem; padding: 0 clamp(1rem, 6vw, 5rem); margin-top: 2rem; }
[data-theme="cafe"] .highlight { background: #fff; border: 0; border-radius: var(--radius); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .demo-hint, .demo-dots { display: none; }
  .demo-current { min-width: 0; flex: 1; }
  .hero { min-height: 72vh; }
  .hero[data-layout="split"] { grid-template-columns: 1fr; }
  .hero[data-layout="split"] .hero-media { order: -1; min-height: 260px; }
  .highlights { grid-template-columns: 1fr; }
  .highlight { border-left: 0; border-top: 1px solid var(--border); }
  .highlight:first-child { border-top: 0; }
  [data-theme="cafe"] .highlights { gap: 0.6rem; }
  .about-grid, .feature-grid, .visit-grid, .feedback-grid, .seller-cta { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .feature-photo { order: -1; }
  .review-grid { grid-template-columns: 1fr; }
  .layout-list { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .menu-tools { justify-content: center; }
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.4rem; scrollbar-width: none; }
  .menu-tabs button { flex-shrink: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g-item:nth-child(4) { grid-column: span 2; }
  .g-item:nth-child(5), .g-item:nth-child(6) { grid-column: span 1; }
}
@media (max-width: 720px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 1rem 1rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
  .nav-burger { display: block; }
  .site-header > .btn { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .demo-toggle { font-size: 0.7rem; }
  .demo-pill { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat-num { font-size: 1.5rem; }
  .feature-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .lightbox { grid-template-columns: 1fr; padding: 1rem; }
  .lb-nav { position: absolute; bottom: 1.2rem; }
  .lb-prev { left: 30%; }
  .lb-next { right: 30%; }
  [data-theme="trattoria"] .layout-list { padding: 1.4rem; }
  [data-theme="cafe"] .hero { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
