:root {
  --green: #123d2c;
  --green-2: #1f6548;
  --gold: #d3b055;
  --paper: #f5f2e9;
  --ink: #233029;
  --muted: #6a766f;
  --line: #d9dfda;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
}
.menu-hero {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 35px 20px;
  color: white;
  text-align: center;
  background: radial-gradient(circle at top, #2e7355, var(--green) 66%);
  box-shadow: inset 0 -5px 0 var(--gold);
}
.brand-seal {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 4px solid var(--gold);
  border-radius: 50%;
  color: #f6df94;
  font-size: 23px;
  font-weight: 1000;
}
.menu-hero p {
  margin: 14px 0 2px;
  color: #f3dc96;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}
.menu-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(34px, 7vw, 56px);
  letter-spacing: .035em;
}
.menu-hero span {
  margin-top: 8px;
  color: #dae8df;
  font-size: 12px;
}
main {
  width: min(1120px, calc(100% - 28px));
  margin: -28px auto 55px;
  position: relative;
}
.menu-toolbar {
  padding: 18px;
  border: 1px solid #ffffff80;
  border-radius: 16px;
  background: #ffffffef;
  box-shadow: 0 12px 34px #173f2e20;
}
.menu-toolbar label {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.menu-toolbar input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #a8bdb1;
  border-radius: 11px;
  outline: none;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
}
.menu-toolbar input:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px #1f65481d;
}
.sync-status {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.sync-status.error { color: #a43430; }
.menu-categories {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 3px;
  background: linear-gradient(var(--paper) 76%, transparent);
  scrollbar-width: none;
}
.menu-categories::-webkit-scrollbar { display: none; }
.menu-categories button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.menu-categories button.active {
  border-color: var(--green);
  background: var(--green);
  color: white;
  box-shadow: 0 4px 12px #123d2c2d;
}
.public-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 13px;
}
.public-product {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 15px #1c392d0c;
}
.public-product.unavailable {
  border-style: dashed;
  background: #eeede8;
  color: #777b78;
}
.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}
.product-top b {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9px;
}
.available-badge {
  background: #def1e5;
  color: #17613f;
}
.unavailable-badge {
  background: #f5dcd9;
  color: #942f2b;
}
.public-product h2 {
  margin: 20px 0 14px;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
}
.product-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.product-price strong {
  color: var(--green);
  font-size: 24px;
}
.public-product.unavailable .product-price strong {
  color: #747a76;
}
.product-price span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}
.empty-menu {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  padding: 45px 20px;
  border: 1px dashed #aebbb4;
  border-radius: 15px;
  background: #ffffff80;
  text-align: center;
}
.empty-menu span { color: var(--muted); font-size: 11px; }
footer {
  display: grid;
  gap: 5px;
  padding: 24px;
  background: var(--green);
  color: white;
  text-align: center;
}
footer strong {
  color: #f3dc96;
  letter-spacing: .08em;
}
footer span {
  color: #cadbd1;
  font-size: 9px;
}
@media (max-width: 600px) {
  .menu-hero { min-height: 235px; }
  main {
    width: min(100% - 20px, 1120px);
    margin-top: -24px;
  }
  .menu-toolbar { padding: 14px; }
  .public-products {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .public-product {
    min-height: 165px;
    padding: 13px;
  }
  .product-top {
    display: grid;
  }
  .product-top b {
    width: max-content;
  }
  .public-product h2 {
    margin: 15px 0 12px;
    font-size: 18px;
  }
  .product-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .product-price strong {
    font-size: 20px;
  }
}
@media (max-width: 360px) {
  .public-products { grid-template-columns: 1fr; }
}
