/* ============================================================
   Bistro Eisa — shared styles
   ============================================================ */

/* n8n chat widget — shrink the popup to ~half its default area */
:root {
  --chat--window--width: 320px;
  --chat--window--height: 440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  color: #2a2118;
  background: #f7f1e8;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; }
a { color: inherit; }

/* ===== Top bar ===== */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px; color: #fff;
}
.topbar.solid {
  position: static; background: #1a120a;
}
.topbar .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; letter-spacing: 2px;
  text-decoration: none; color: inherit;
}
.topbar nav a {
  color: #fff; text-decoration: none; margin-left: 28px;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: opacity .2s;
}
.topbar nav a:hover, .topbar nav a.active { opacity: 0.7; color: #c9a87a; }

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; color: #fff; padding: 0 24px;
  background:
    linear-gradient(rgba(20,12,5,0.55), rgba(20,12,5,0.55)),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.hero.menu-bg {
  background:
    linear-gradient(rgba(20,12,5,0.55), rgba(20,12,5,0.55)),
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.hero.fav-bg {
  background:
    linear-gradient(rgba(20,12,5,0.55), rgba(20,12,5,0.55)),
    url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.hero.contact-bg {
  background:
    linear-gradient(rgba(20,12,5,0.55), rgba(20,12,5,0.55)),
    url('https://images.unsplash.com/photo-1559329007-40df8a9345d8?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.hero.feedback-bg {
  background:
    linear-gradient(rgba(20,12,5,0.55), rgba(20,12,5,0.55)),
    url('https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=1920&q=80') center/cover;
}
.hero.compact { min-height: 48vh; }
.hero .eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 24px; opacity: .85;
}
.hero h1 { font-size: clamp(48px, 8vw, 96px); line-height: 1; margin-bottom: 24px; }
.hero p { font-size: 18px; max-width: 540px; opacity: .9; margin-bottom: 40px; }

.cta {
  display: inline-block;
  padding: 16px 40px;
  background: #c9a87a;
  color: #1a120a;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  border: none; cursor: pointer;
  transition: background .2s, transform .2s;
  font-family: 'Inter', sans-serif;
}
.cta:hover { background: #b8966a; transform: translateY(-2px); }
.cta.ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.cta.ghost:hover { background: rgba(255,255,255,0.1); }

/* ===== Section: About / Intro ===== */
.about {
  max-width: 880px; margin: 0 auto;
  padding: 96px 24px; text-align: center;
}
.about h2 { font-size: 44px; margin-bottom: 24px; color: #1a120a; }
.about p { font-size: 17px; color: #5a4a3a; max-width: 640px; margin: 0 auto 16px; }
.about .signature { font-style: italic; margin-top: 32px; color: #8a6a3a; font-size: 15px; }

/* ===== Info grid ===== */
.info {
  background: #2a2118; color: #f7f1e8;
  padding: 80px 24px;
}
.info-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px; text-align: center;
}
.info-block h3 {
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: #c9a87a; margin-bottom: 16px;
}
.info-block p { font-size: 15px; line-height: 1.9; color: #d8c8b8; }
.info-block .closed { color: #ff8a6a; font-size: 13px; margin-top: 8px; }

/* ===== Highlights row (landing) ===== */
.highlights {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.highlight {
  background: #fff; border-radius: 4px;
  padding: 32px 28px; text-align: center;
  box-shadow: 0 2px 12px rgba(40, 25, 10, 0.06);
}
.highlight .flag { font-size: 32px; margin-bottom: 12px; }
.highlight h3 { font-size: 24px; margin-bottom: 8px; color: #1a120a; }
.highlight p { color: #6a5a4a; font-size: 14px; }

/* ===== Menu page ===== */
.menu-wrap {
  max-width: 1100px; margin: 0 auto; padding: 80px 24px;
}
.menu-section { margin-bottom: 72px; }
.menu-section .section-head {
  text-align: center; margin-bottom: 48px;
}
.menu-section .section-head .eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: #c9a87a; margin-bottom: 8px;
}
.menu-section h2 { font-size: 40px; color: #1a120a; }
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 48px;
}
.dish {
  border-bottom: 1px dashed rgba(40, 25, 10, 0.15);
  padding-bottom: 16px;
}
.dish-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 6px;
}
.dish-head h3 {
  font-size: 22px; color: #1a120a; font-weight: 500;
}
.dish-head .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: #8a6a3a; font-weight: 500;
  white-space: nowrap;
}
.dish p {
  color: #6a5a4a; font-size: 14px; font-style: italic;
}

/* ===== Eisa's Favourites cards ===== */
.fav-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.fav-card {
  background: #fff; border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(40, 25, 10, 0.06);
  transition: transform .2s, box-shadow .2s;
}
.fav-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(40, 25, 10, 0.12); }
.fav-card .badge {
  display: inline-block;
  background: #c9a87a; color: #1a120a;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  margin-bottom: 12px;
}
.fav-card .body { padding: 28px 24px; }
.fav-card h3 { font-size: 24px; margin-bottom: 8px; color: #1a120a; }
.fav-card p { color: #6a5a4a; font-size: 14px; margin-bottom: 12px; }
.fav-card .eisa-note {
  font-style: italic; color: #8a6a3a; font-size: 13px;
  border-left: 2px solid #c9a87a; padding-left: 12px;
}

/* ===== Forms ===== */
.form-wrap {
  max-width: 640px; margin: 0 auto;
  padding: 80px 24px;
}
.form-wrap > p.lede {
  text-align: center; color: #5a4a3a;
  font-size: 17px; margin-bottom: 48px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: #5a4a3a; margin-bottom: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  background: #fff; border: 1px solid #d8c8b8; border-radius: 2px;
  color: #2a2118; transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none; border-color: #c9a87a;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.honeypot { display: none; }
.form-actions { text-align: center; margin-top: 32px; }
.rating-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.rating-row label {
  flex: 1; min-width: 90px;
  text-align: center; cursor: pointer;
  padding: 14px 8px; background: #fff;
  border: 1px solid #d8c8b8; border-radius: 2px;
  transition: all .2s;
  letter-spacing: 1px; font-size: 12px;
}
.rating-row input { display: none; }
.rating-row input:checked + span,
.rating-row label:hover { color: #1a120a; }
.rating-row label:has(input:checked) {
  background: #c9a87a; border-color: #c9a87a; color: #1a120a;
}

/* ===== Contact info row ===== */
.contact-info {
  background: #2a2118; color: #f7f1e8;
  padding: 64px 24px;
}
.contact-info-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; text-align: center;
}
.contact-info-block h3 {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: #c9a87a; margin-bottom: 12px;
}
.contact-info-block p { font-size: 15px; color: #d8c8b8; line-height: 1.9; }
.contact-info-block a { color: #d8c8b8; text-decoration: none; border-bottom: 1px dashed #8a6a3a; }
.contact-info-block a:hover { color: #fff; }

/* ===== Final CTA ===== */
.final-cta { text-align: center; padding: 96px 24px; }
.final-cta h2 { font-size: 44px; margin-bottom: 16px; }
.final-cta p { color: #5a4a3a; margin-bottom: 40px; }

/* ===== Footer ===== */
footer {
  text-align: center; padding: 32px;
  background: #1a120a; color: #8a7a6a;
  font-size: 13px;
}
footer a { color: #c9a87a; text-decoration: none; }

@media (max-width: 600px) {
  .topbar { padding: 16px 20px; flex-wrap: wrap; gap: 8px; }
  .topbar nav a { margin-left: 12px; font-size: 11px; }
  .hero h1 { font-size: 56px; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   n8n chat widget — size + Bistro palette overrides (Jess)
   ============================================================ */
:root {
  --chat--toggle--size: 42px;
  --chat--window--width: 320px;
  --chat--window--height: 460px;
  --chat--color-primary: #c9a87a;
  --chat--color-primary-shade-50: #b8966a;
  --chat--color-primary-shade-100: #a78457;
  --chat--color-secondary: #2a2118;
  --chat--color-secondary-shade-50: #1a120a;
  --chat--color-white: #ffffff;
  --chat--color-light: #f7f1e8;
  --chat--color-light-shade-50: #f0e6d6;
  --chat--color-medium: #d8c8b8;
  --chat--color-dark: #1a120a;
  --chat--toggle--background: #c9a87a;
  --chat--toggle--hover--background: #b8966a;
  --chat--toggle--color: #1a120a;
  --chat--header--background: linear-gradient(135deg, #1a120a 0%, #2a2118 100%);
  --chat--header--color: #f7f1e8;
  --chat--message--font-size: 13.5px;
  --chat--message--bot--background: #f7f1e8;
  --chat--message--bot--color: #1a120a;
  --chat--message--user--background: #c9a87a;
  --chat--message--user--color: #1a120a;
  --chat--border-radius: 14px;
  --chat--spacing: 12px;
}
/* tighten oversized header (n8n CSS variables don't cover these) */
[class*="chat-window-wrapper"] [class*="chat-header"],
[class*="chat-window"] header {
  padding: 8px 14px !important;
  min-height: 0 !important;
}
[class*="chat-window-wrapper"] [class*="chat-header"] h1,
[class*="chat-window-wrapper"] [class*="chat-header"] h2,
[class*="chat-window-wrapper"] [class*="chat-heading"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}
[class*="chat-window-wrapper"] [class*="chat-header"] p,
[class*="chat-window-wrapper"] [class*="subtitle"] {
  font-size: 11px !important;
  font-weight: 400 !important;
  opacity: 0.85;
  line-height: 1.2 !important;
  margin: 2px 0 0 !important;
}
[class*="chat-message"] {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}
[class*="chat-input"] textarea,
[class*="chat-input"] input {
  font-size: 13.5px !important;
  padding: 10px 12px !important;
}
