@font-face {
  font-family: Vazirmatn;
  src: url(fonts/Vazirmatn-Regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url(fonts/Vazirmatn-Bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --wall: #7db0ac;
  --wall-deep: #1f4f4f;
  --wall-ink: #143a3a;
  --wood: #7a5233;
  --ink: #3f2a1b;
  --muted: #6b5e50;
  --paper: #faf6ee;
  --line: #cdbfa9;
  --check: rgba(70, 120, 165, .5);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 Vazirmatn, Tahoma, sans-serif;
}

.hero {
  background: var(--wall);
  color: var(--wall-ink);
  text-align: center;
  padding: 26px 16px 18px;
}

.hero-kind {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero-name {
  margin: 2px 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-name img {
  display: block;
  width: min(260px, 72vw);
  height: auto;
  margin: 0 auto;
}

.gingham {
  height: 16px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, var(--check) 50%, transparent 50%),
    linear-gradient(var(--check) 50%, transparent 50%);
  background-size: 16px 16px;
}

.cats {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.cats::-webkit-scrollbar { display: none; }

.cat-link {
  flex: none;
  padding: 6px 14px;
  border: 1px solid var(--wall-deep);
  border-radius: 999px;
  color: var(--wall-deep);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.cat-link.is-active {
  background: var(--wall-deep);
  color: #fff;
}

.menu {
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 16px 8px;
}

.unit-note {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.cat {
  margin-bottom: 42px;
  padding: 2px 6px 6px;
  border-style: solid;
  border-width: 24px;
  border-image: url(frame.svg) 30 stretch;
  scroll-margin-top: 92px;
}

.cat-title {
  margin: -39px 0 14px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: var(--wall-deep);
  line-height: 1.6;
}

.cat-title span {
  display: inline-block;
  padding: 0 14px;
  background: var(--paper);
}

.items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
}

.item + .item { border-top: 1px solid rgba(205, 191, 169, .45); }

.item-photo {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.item-body {
  flex: 1;
  min-width: 0;
}

.item-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.item-name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}

.dots {
  flex: 1;
  min-width: 14px;
  border-bottom: 1.5px dotted var(--line);
  transform: translateY(-4px);
}

.item-price {
  flex: none;
  color: var(--wood);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.item-price i {
  margin: 0 5px;
  color: var(--line);
  font-style: normal;
  font-weight: 400;
}

.item-price.is-daily {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.item-price.is-out {
  color: #9a3b2e;
  font-size: 14px;
  font-weight: 700;
}

.item-variant {
  color: var(--muted);
  font-size: 15px;
}

.item-desc {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.item-out .item-name,
.item-out .item-desc { color: #94897c; }

.item-out .item-photo { filter: grayscale(1); opacity: .6; }

.foot {
  padding: 8px 16px calc(30px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
}

.foot-note {
  margin: 0 0 8px;
  font-size: 14px;
}

.foot-insta {
  display: inline-block;
  padding: 8px 12px;
  color: var(--wall-deep);
  font-weight: 700;
  text-decoration: none;
}
