:root {
  --bg: #faf6f1;
  --card: #ffffff;
  --text: #2b1d14;
  --muted: #7a6656;
  --brand: #6f4e37;
  --brand-dark: #4a3324;
  --line: #e8ddd2;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--brand); }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

/* Header */
header { border-bottom: 1px solid var(--line); background: var(--card); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.25rem; color: var(--brand-dark); text-decoration: none; }
nav a { margin-left: 20px; text-decoration: none; color: var(--text); }

/* Hero */
.hero { padding: 80px 0; text-align: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin: 0 0 12px; color: var(--brand-dark); }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 8px; font-size: 1rem;
}
.btn:hover { background: var(--brand-dark); }
.btn.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

section { padding: 48px 0; }
section h2 { font-size: 1.75rem; margin: 0 0 20px; color: var(--brand-dark); }

/* Menu */
.menu-group h3 { margin: 24px 0 8px; color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.menu-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }

/* Info */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin-top: 0; }

footer { text-align: center; color: var(--muted); padding: 32px 0; font-size: 0.9rem; }

/* Admin */
.login { max-width: 340px; margin: 80px auto; }
.login input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; margin: 8px 0 16px; }
.error { color: #b3261e; min-height: 1.5em; }
.till { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; padding: 24px 0; }
@media (max-width: 720px) { .till { grid-template-columns: 1fr; } }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.item-btn {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 12px; text-align: left; cursor: pointer; font-size: 0.95rem;
}
.item-btn:hover { border-color: var(--brand); }
.item-btn strong { display: block; }
.item-btn span { color: var(--muted); }
.cart-line { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.cart-line button { border: 1px solid var(--line); background: #fff; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; }
.total { font-size: 1.4rem; font-weight: 700; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.hidden { display: none; }
