:root {
  --paper: #f6eddf;
  --ink: #1a1613;
  --hot: #a4301e;
  --rule: #2b211c;
  --soft: #71564b;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  background: #201b18;
  color: var(--ink);
  font:
    1rem/1.45 system-ui,
    sans-serif;
}
.mast,
main,
footer {
  max-width: 1160px;
  margin: auto;
}
.mast {
  color: var(--paper);
  padding: 26px 22px 19px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}
.mast strong {
  display: block;
  font:
    900 clamp(2rem, 7vw, 4rem) / 0.96 Impact,
    'Arial Narrow',
    sans-serif;
  letter-spacing: 0.025em;
}
.kicker,
.eyebrow,
.preview {
  font-size: 0.81rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.kicker {
  color: #f5a18c;
  display: block;
  margin-bottom: 8px;
}
.preview {
  border: 1px solid #b78e7a;
  padding: 6px 9px;
  color: #ffdcce;
  text-align: center;
}
main {
  padding: 0 20px 30px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}
nav a {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid #b98e7d;
  padding: 6px 10px;
}
nav a[aria-current] {
  background: var(--paper);
  color: var(--ink);
  border-color: #f4a18a;
}
.scope,
footer {
  color: #eedbce;
  font-size: 0.91rem;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}
.grid.single {
  grid-template-columns: minmax(0, 650px);
  justify-content: center;
}
section {
  background: var(--paper);
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #cebbaf;
  border-radius: 9px;
}
h1,
h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1;
  margin: 0.3rem 0 0.8rem;
  letter-spacing: -0.055em;
}
.eyebrow {
  color: #812d1f;
}
.food {
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: cover;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  display: block;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #b79d8f;
}
.row strong {
  display: block;
  font-size: 1.17rem;
}
.row .money {
  font-weight: 750;
}
.qty {
  display: flex;
  align-items: center;
  gap: 7px;
}
.qty button {
  width: 38px;
  height: 38px;
  padding: 0;
}
.ticket,
.order {
  position: relative;
}
.ticket:before,
.order:before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 9px;
  background: radial-gradient(circle at 0 8px, var(--paper) 4px, transparent 4.5px) 0 0/10px 16px
    repeat-y;
  pointer-events: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  min-height: 38px;
  padding: 6px 12px;
  color: var(--ink);
  background: #fdf5e8;
  border: 1px solid #9a7568;
  border-radius: 5px;
  font-weight: 750;
}
button:disabled {
  opacity: 0.58;
  cursor: default;
}
.action {
  background: var(--hot);
  color: #fff6ea;
  border: 1px solid #7a2418;
  font-weight: 800;
}
.action:hover:not(:disabled) {
  background: #802616;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #26636b;
  outline-offset: 2px;
}
#send {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 12px 14px 12px 20px;
  margin-top: 16px;
  text-align: left;
  font-size: 1.08rem;
}
.counter-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 2px solid var(--rule);
}
.tools {
  display: flex;
  gap: 6px;
}
.sub {
  color: #64463b;
  margin: 0.55rem 0;
}
.order {
  border: 1px solid #bd998d;
  border-left: 9px solid var(--hot);
  background: #fff7e9;
  padding: 13px 13px 13px 16px;
  margin-top: 12px;
}
.order:before {
  left: -10px;
}
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.order-head strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 850;
}
.tag {
  background: #f4d0c2;
  color: #702114;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 7px;
}
.tag.done {
  background: #e0edd8;
  color: #244410;
}
.order ul {
  padding-left: 20px;
  margin: 10px 0;
}
.end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ba9c8d;
  padding-top: 8px;
}
.empty {
  border-block: 1px dashed #a98a7f;
  padding: 20px 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
form {
  display: grid;
  gap: 10px;
}
form label:not(.check) {
  display: grid;
  gap: 4px;
}
input,
select {
  padding: 8px;
  border: 1px solid #9a7568;
  border-radius: 4px;
  background: #fff8eb;
  color: var(--ink);
}
footer {
  padding: 0 21px 26px;
}
@media (max-width: 730px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .mast {
    align-items: start;
  }
  .preview {
    font-size: 0.71rem;
    max-width: 130px;
  }
  main {
    padding-inline: 13px;
  }
}
