:root {
  --yellow: #ffcc00;
  --yellow-hot: #ffe14a;
  --yellow-soft: #fff3a0;
  --black: #111111;
  --red: #e4271b;
  --green: #21a337;
  --paper: #fffdf7;
  --paper-2: #f3f0e6;
  --ink: #161616;
  --muted: #5f5f5f;
  --line: rgba(17, 17, 17, 0.1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background: #050505;
}

.stage {
  min-height: 100vh;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.sheet {
  width: 100%;
  min-height: 100vh;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  padding: 22px 24px 14px;
  text-align: center;
  background: var(--yellow);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.logo {
  width: 118px;
  height: 118px;
  object-fit: contain;
  display: block;
}

.eyebrow {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 12px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 600;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px auto 0;
  width: 70%;
  max-width: 220px;
}

.ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--black), transparent);
}

.ornament i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--black);
  transform: rotate(45deg);
  display: block;
}

.cats {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 10px 8px 12px;
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
}

.cat {
  border: 1px solid transparent;
  background: transparent;
  color: var(--black);
  font: 500 11px/1 "Oswald", "Arial Narrow", "Trebuchet MS", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 4px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 0;
  text-align: center;
}

.cat.is-active {
  background: var(--black);
  color: var(--yellow);
}

.section {
  padding: 8px 16px 10px;
  scroll-margin-top: 68px;
  min-width: 0;
}

.section-title {
  margin: 22px 0 4px;
  font-family: "Pacifico", "Segoe Script", cursive;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--red);
  text-align: center;
}

.section-note {
  margin: 0 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.size-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  margin-bottom: 8px;
  background: var(--paper-2);
  border-radius: 16px;
}

.size {
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 4px 8px;
  cursor: pointer;
  font: 700 13px/1.1 "Oswald", "Arial Narrow", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.size small {
  display: block;
  margin-top: 3px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.size.is-active {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.size.is-active small {
  color: var(--black);
}

.dough-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 12px;
  background: var(--paper-2);
  border-radius: 16px;
}

.dough {
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 8px;
  cursor: pointer;
  font: 700 13px/1 "Oswald", "Arial Narrow", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dough.is-active {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.simit {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px dashed rgba(33, 163, 55, 0.55);
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  background: rgba(33, 163, 55, 0.1);
}

.list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.item.has-photo {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.item-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--paper-2);
}

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

.extras-block {
  margin-top: 8px;
  padding-top: 8px;
}

.extras-title {
  margin: 18px 0 4px;
  font-family: "Pacifico", "Segoe Script", cursive;
  font-size: 26px;
  font-weight: 400;
  color: var(--red);
  text-align: center;
}

.item:last-child {
  border-bottom: 0;
}

.item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 10px;
  align-items: baseline;
}

.item-name {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "Oswald", "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.item-kcal {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--red);
  font-size: 15px;
  white-space: nowrap;
  justify-self: end;
}

.item-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.menu-status {
  margin: 0;
  padding: 10px 16px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.menu-status.is-loading {
  color: var(--ink);
}

.menu-status.is-info {
  color: var(--muted);
}

.foot {
  padding: 10px 24px 36px;
  text-align: center;
  background: var(--black);
  color: var(--yellow);
}

.foot .ornament span {
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.foot .ornament i {
  border-color: var(--yellow);
}

.foot p {
  margin: 16px 0 4px;
  font-family: "Pacifico", "Segoe Script", cursive;
  font-size: 22px;
  color: var(--red);
}

.foot a {
  color: var(--yellow);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .stage {
    padding: 28px 0;
  }

  .sheet {
    min-height: calc(100vh - 56px);
    border-radius: 28px;
  }
}
