@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,500&family=Figtree:wght@400;500;600;700&display=swap");

:root {
  --bg: #160e0c;
  --bg2: #1f1411;
  --card: #241815;
  --line: rgba(232, 196, 148, 0.16);
  --text: #f4eadc;
  --muted: #b39a86;
  --gold: #e0b15a;
  --gold-2: #f0d09a;
  --ink: #1a100c;
  --danger: #d36b5c;
  --ok: #7dba7a;
  --shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font: 16px/1.45 "Figtree", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 12% -8%, #3a2414 0%, transparent 55%),
    radial-gradient(700px 380px at 110% 0%, #1a2a32 0%, transparent 50%),
    var(--bg);
}
h1, h2 {
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
h2 { font-size: 1.7rem; margin-bottom: 12px; }
button, input { font: inherit; color: inherit; }
button {
  background: #2c1d17;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
}
button:hover { border-color: var(--gold); }
button.ghost { background: transparent; }
button.danger { color: #ffd2ca; border-color: #6a322c; }
.hidden { display: none !important; }
.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  color: var(--gold);
}
.lede, .muted, .hint { color: var(--muted); }
.error { color: #ffb4aa; min-height: 1.2em; }

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(420px, 94vw);
  background: linear-gradient(180deg, #2a1b16, var(--card));
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}
.login-card h1 { margin-bottom: 4px; }
.login-card label { font-size: 13px; color: var(--muted); margin-top: 8px; }
.login-card input, .field input {
  background: #140c0a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}
.login-card button[type="submit"] {
  margin-top: 14px;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  font-weight: 700;
}
.hints { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.hints button { font-size: 13px; }

.shell { width: min(1180px, 94vw); margin: 0 auto; padding: 28px 0 64px; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.top-meta { display: flex; gap: 10px; align-items: center; }
.pill {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--gold-2);
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
}
.field { display: grid; gap: 6px; min-width: 140px; }
.field span { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.field input { width: 140px; }
.sum { margin: 0 8px 8px auto; color: var(--gold-2); font-size: 15px; }
.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.pick {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  background: #1b1210;
  border-radius: 999px;
  padding: 7px 12px 7px 10px;
  cursor: pointer;
  user-select: none;
}
.pick input { accent-color: var(--gold); }
.pick.off { opacity: .45; }
.board {
  display: grid;
  grid-template-columns: 1fr min(380px, 100%);
  gap: 22px;
  align-items: start;
}
.drinks { display: grid; gap: 14px; }
.drink {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.drink-photo {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #120c0a;
}
.desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.drink.tasting .meta,
.drink.tasting .method { display: none; }
.pick-photo {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 999px;
}
.drink-body { padding: 16px 18px 18px; }
.drink h3 {
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 1.55rem;
  margin: 0 0 4px;
}
.meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cols.one { grid-template-columns: 1fr; }
.ing { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.ing input {
  width: 72px;
  background: #140c0a;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 6px;
  text-align: right;
}
.method { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.shop-card {
  position: sticky;
  top: 16px;
  background: linear-gradient(180deg, #2c1d16, #1b120f);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.shop-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.shop-head button {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  font-weight: 700;
  font-size: 13px;
}
.shop { display: grid; gap: 6px; margin-top: 10px; }
.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}
.row.done { opacity: .45; text-decoration: line-through; }
.row small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; text-decoration: none; }
.amt { color: var(--gold-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; margin-top: 12px; }

.board.menu-only { grid-template-columns: 1fr; }
.pill.on { border-color: var(--gold); color: var(--gold); }
.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--muted);
  margin-bottom: 18px;
}
  .board { grid-template-columns: 1fr; }
  aside { order: -1; }
  .shop-card { position: static; }
  .cols { grid-template-columns: 1fr; }
  .sum { margin: 0; width: 100%; }
}
