#window {
  --order-wall: #702b26;
  --order-cream: #f5e9cf;
  --order-ink: #24251d;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--order-wall);
  color: var(--order-cream);
  text-align: left;
}

#window:empty { display: none; }

#window::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 68% 0%, #a64b3c55 0%, transparent 60%), repeating-linear-gradient(0deg, transparent 0px 3px, #3015060a 4px 5px);
  content: "";
  pointer-events: none;
}

.order-window-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .9fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  width: min(1352px, 100%);
  margin: 0 auto;
  padding: clamp(70px, 8.4vw, 140px) clamp(24px, 5.5vw, 88px);
  box-sizing: border-box;
}

#window .order-menu h2 {
  max-width: none;
  margin: 0;
  color: var(--order-cream);
  font: 800 clamp(72px, 8.6vw, 132px)/.86 "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

#window .order-intro {
  margin: 22px 0 38px;
  padding: 0;
  color: var(--order-cream);
  font: 400 clamp(16px, 1.3vw, 19px)/1.4 "DM Sans", Arial, sans-serif;
}

.order-options {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #f5e9cf70;
}

.order-option {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 1px;
  border-bottom: 1px solid #f5e9cf70;
  cursor: pointer;
}

.order-option input,
.order-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.order-option-type {
  display: grid;
  gap: 5px;
}

.order-option-type b {
  color: var(--order-cream);
  font: 650 clamp(22px, 2.1vw, 32px)/1.12 "DM Sans", Arial, sans-serif;
  letter-spacing: -.055em;
}

.order-option-type > span {
  color: #ebcdba;
  font: 400 13px/1.45 "DM Sans", Arial, sans-serif;
}

.order-radio {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 1.5px solid #e7c6b4;
  border-radius: 50%;
  background: transparent;
}

.order-option input:checked ~ .order-radio {
  border-color: var(--order-cream);
  background: var(--order-cream);
}

.order-option input:checked ~ .order-radio::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  transform: rotate(45deg);
  border: solid var(--order-wall);
  border-width: 0 2px 2px 0;
  content: "";
}

.order-option:has(input:focus-visible),
.order-actions button:focus-visible {
  outline: 2px solid var(--order-cream);
  outline-offset: 5px;
}

.order-pass {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-top: 12px;
}

.order-rail {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 17px;
  z-index: 2;
  border-top: 1px solid #efdbc4;
  border-bottom: 2px solid #2f2721;
  background: linear-gradient(180deg, #d2c8b9 0%, #959184 28%, #67665f 40%, #918a7d 61%, #bbb2a3 78%, #6b655d 100%);
  box-shadow: 0 4px 7px #290a0670;
}

.order-rail::before,
.order-rail::after {
  position: absolute;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(136deg, #b3ac9d 35%, #46433b 45% 60%, #c8bfad 72%);
  box-shadow: 0 0 0 1px #514d43;
  content: "";
}

.order-rail::before { left: 10px; }
.order-rail::after { right: 10px; }

.order-paper {
  position: relative;
  width: min(80%, 350px);
  transform: rotate(-3.3deg);
  transform-origin: center top;
  filter: drop-shadow(4px 9px 6px #38141175);
}

.order-paper canvas {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 800 / 992;
}

.order-actions {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px 16px;
  margin-top: 32px;
}

#window .order-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid var(--order-cream);
  border-radius: 0;
  opacity: 1;
  box-shadow: none;
  font: 600 12px/1.2 "IBM Plex Mono", "Courier New", monospace;
  letter-spacing: .015em;
  text-transform: uppercase;
  cursor: pointer;
}

#window .order-save {
  background: var(--order-cream);
  color: var(--order-ink);
}

#window .order-print {
  border-color: transparent !important;
  background: transparent;
  color: var(--order-cream);
}

.order-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .order-option:hover .order-option-type b { text-decoration: underline; text-underline-offset: .15em; }
  #window .order-save:hover { background: #fff8e6; }
  #window .order-print:hover { text-decoration: underline; text-underline-offset: .18em; }
}

@media (max-width: 760px) {
  .order-window-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 64px max(20px, 6vw);
  }
  #window .order-menu h2 { font-size: clamp(64px, 13vw, 92px); }
  #window .order-intro { margin: 15px 0 24px; }
  .order-option { padding: 16px 0; }
  .order-radio { flex-basis: 20px; width: 20px; height: 20px; }
  .order-option input:checked ~ .order-radio::after { top: 3px; left: 6px; }
  .order-pass { width: min(100%, 460px); margin: 0 auto; }
  .order-paper { width: min(77%, 325px); }
}

#cc-printed-ticket { display: none; }
@media print {
  body.cc-print-ticket { margin: 0 !important; padding: 0 !important; background: white !important; }
  body.cc-print-ticket > :not(#cc-printed-ticket) { display: none !important; }
  body.cc-print-ticket > #cc-printed-ticket { display: block; width: min(100%, 100mm); height: auto; margin: 0 auto; }
}
