@font-face {
  font-family: Vazirmatn;
  src: url(/static/vazirmatn-arabic.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Vazirmatn;
  src: url(/static/vazirmatn-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --brand: #17725b;
  --ink: #1b1f1d;
  --muted: #59605c;
  --bg: #f4f5f4;
  --card: #fff;
  --line: #e2e5e3;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}
body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
a {
  color: var(--brand);
}
img {
  max-width: 100%;
  display: block;
}
.hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.cover {
  aspect-ratio: 3/1;
  overflow: hidden;
  background: var(--line);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
h1 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.4;
}
.status {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.status.open {
  color: #16794c;
}
.status.closed {
  color: #b42318;
}
.table-banner {
  margin: 0;
  padding: 8px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.cats {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.cats ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 auto;
  padding: 8px 12px;
  max-width: 760px;
  white-space: nowrap;
}
.cats a {
  display: inline-block;
  padding: 6px 14px;
  min-height: 36px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
}
.cats a[aria-current='true'] {
  background: var(--brand);
  color: #fff;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 12px 24px;
}
.notice {
  background: #fff7e6;
  border: 1px solid #f0d9a8;
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 12px 0 0;
}
.cat h2 {
  font-size: 1.15rem;
  margin: 20px 4px 8px;
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.item {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}
.item-img {
  flex: 0 0 96px;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-body {
  flex: 1;
  min-width: 0;
}
.item h3 {
  font-size: 1rem;
  margin: 0;
}
.item h3 a {
  color: inherit;
  text-decoration: none;
}
.desc {
  margin: 2px 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.tags {
  margin: 2px 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 0.75rem;
  background: var(--bg);
  border-radius: 6px;
  padding: 0 6px;
}
.mods {
  font-size: 0.8125rem;
  color: var(--muted);
}
.mods summary {
  cursor: pointer;
}
.mods p {
  margin: 2px 0;
}
.price {
  margin: 4px 0 0;
  font-weight: 800;
}
.sold-out {
  opacity: 0.6;
}
.badge {
  background: #b42318;
  color: #fff;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 0.8125rem;
}
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 16px 32px;
  font-size: 0.875rem;
  color: var(--muted);
}
.hours ul {
  list-style: none;
  padding: 0;
  margin: 4px 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  max-width: 260px;
}
.powered {
  margin-top: 16px;
  font-size: 0.75rem;
}
.message {
  padding: 48px 16px;
  text-align: center;
}
.crumbs {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
}
@media (min-width: 600px) {
  .item-img {
    flex-basis: 128px;
    width: 128px;
  }
}

/* ------------------------------------------------ ordering (shown only when cart.js runs) */
form.add {
  display: none;
}
.js form.add {
  display: block;
  margin-top: 6px;
}
form.add fieldset {
  border: 0;
  margin: 0 0 4px;
  padding: 0;
  font-size: 0.8125rem;
}
form.add fieldset.invalid legend {
  color: #b42318;
}
form.add legend {
  font-weight: 700;
  padding: 0;
}
form.add label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-end: 10px;
  min-height: 32px;
}
form.add button,
.cart-open,
.cart-submit {
  font: inherit;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  min-height: 44px;
  padding: 0 16px;
  cursor: pointer;
}
form.add button.added {
  background: #16794c;
}
.cart-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--card);
  border-top: 1px solid var(--line);
  z-index: 5;
}
.cart-open {
  width: 100%;
  max-width: 736px;
  display: block;
  margin: 0 auto;
  font-weight: 700;
}
.js main[data-orderable] {
  padding-bottom: 80px;
}
.cart-sheet {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
  z-index: 6;
  display: flex;
  align-items: flex-end;
}
.cart-sheet[hidden] {
  display: none;
}
.cart-panel {
  background: var(--card);
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  padding: 16px;
  max-height: 85vh;
  overflow: auto;
}
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-close {
  font: inherit;
  font-size: 1.5rem;
  background: none;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.cart-lines {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
.cart-lines li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qty button {
  font: inherit;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
}
.cart-notes {
  display: block;
  font-size: 0.875rem;
}
.cart-notes textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
}
.cart-msg {
  color: #b42318;
  min-height: 1.2em;
}
.cart-submit {
  width: 100%;
  font-weight: 700;
}

/* ------------------------------------------------ tracking page */
.track {
  padding: 24px 16px;
  text-align: center;
}
.track .brand-name {
  color: var(--muted);
  margin: 0;
}
.track-status {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
}
.steps {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}
.steps li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
}
.steps li.done {
  background: #d5ece4;
  color: #115a48;
}
.steps li.current {
  background: var(--brand);
  color: #fff;
}
.track-lines {
  list-style: none;
  padding: 0;
  text-align: start;
  max-width: 420px;
  margin: 16px auto;
}
.cancel {
  font: inherit;
  border: 1px solid #b42318;
  color: #b42318;
  background: #fff;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 16px;
}
.hint {
  color: var(--muted);
  font-size: 0.8125rem;
}
