/* Snippy Shippy styles. Colors and fonts are variables at the top. */
:root {
  --bg: #f7f9fa;
  --surface: #ffffff;
  --text: #1d2420;
  --muted: #5f6b64;
  --accent: #2f7d4f;
  --accent-dark: #22603c;
  --border: #e3e6e1;
  --row-alt: #f4f6f3;
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: var(--accent); }

.container {
  width: min(820px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: #000;
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #fff;
}
.header-link {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}
.header-link:hover { text-decoration: underline; }

/* Intro */
.intro { padding: 3rem 0 1.5rem; }
.intro h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 0 0 0.4rem; line-height: 1.15; }
.intro p { color: var(--muted); margin: 0; }
.intro .updated { font-size: 0.9rem; margin-top: 0.6rem; }

/* Menu table */
.menu-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.menu-table th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.menu-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.menu-table tbody tr:last-child td { border-bottom: 0; }
.menu-table tbody tr:nth-child(even) td { background: var(--row-alt); }
.menu-table .col-name { font-weight: 700; }
.menu-table .col-lineage { color: var(--muted); }
.menu-table .col-avail { text-align: right; white-space: nowrap; font-weight: 700; }
.menu-table th.col-avail { font-weight: 700; }
.menu-table tr.sold-out td { color: var(--muted); }
.menu-table tr.sold-out .col-name { font-weight: 500; }
.menu-table tr.sold-out .col-avail { font-weight: 500; }
.menu-table .empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }

/* Contact box */
.contact-box {
  margin: 2rem 0 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-box h2 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.contact-box p { margin: 0; color: var(--muted); }
.contact-box .contact { margin-top: 0.75rem; font-weight: 600; }

/* Buttons (used by the 404 page and admin) */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--accent-dark); }

/* 404 */
.not-found { text-align: center; padding: 4rem 0; }
.not-found p { color: var(--muted); }

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 520px) {
  .intro { padding: 2rem 0 1.25rem; }
  .menu-table th, .menu-table td { padding: 0.75rem 0.7rem; }
  .menu-table td { font-size: 0.95rem; }
}
