.restaurant-order {
  margin: 0 0 16px;
}

.restaurant-order p {
  margin: 0 0 8px;
  color: #eadab7;
  font-weight: 700;
}

.restaurant-order-options {
  display: flex;
  gap: 9px;
}

.restaurant-order-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 5px 14px;
  border: 1px solid #9f864d;
  border-radius: 8px;
  background: #102c22;
  color: #f8ebce;
  font-weight: 700;
}

.restaurant-order-options button:hover,
.restaurant-order-options button[aria-pressed="true"] {
  background: #254b37;
  border-color: #e9c986;
  box-shadow: inset 0 0 0 1px #e9c986,0 0 14px #e9c98630;
}

.restaurant-order-options img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

[data-scene="pickup"], [data-scene="delivery"] { --order-scene-image: url("assets/order-kraft-bag.webp"); }
[data-scene="table"] { --order-scene-image: url("assets/order-dining-table.webp"); }

.order-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 54px);
  width: 100%;
  min-height: 166px;
  margin: 0 0 16px;
  padding: 12px 18px;
  border: 1px solid #b492527d;
  border-radius: 14px;
  background: radial-gradient(ellipse at 31% 63%, #315641 0%, #112d22 55%, #0b241b 100%);
  color: #fcf0d2;
  text-align: left;
}

.order-scene:hover, .menu-scene-mini:hover {
  border-color: #f0ce89;
}

.order-scene-visual {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: min(43%, 234px);
  aspect-ratio: 1.16;
}

.menu-scene-mini-image,
.order-scene-art {
  display: block;
  background: var(--order-scene-image) center / contain no-repeat;
}

.order-scene-art {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 7px 9px #0006);
}

.order-scene-print {
  position: absolute;
  top: 53%;
  left: 54%;
  display: grid;
  color: #292313;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%) rotate(-4deg);
}

.order-scene-print b {
  font: 800 clamp(1rem,3.2vw,1.9rem)/1 var(--serif);
  letter-spacing: 0.05em;
}

.order-scene-print small {
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

[data-scene="table"] .order-scene-print {
  display: none;
}

.order-scene-copy {
  display: grid;
  gap: 7px;
  line-height: 1.25;
}

.order-scene-copy strong {
  font: 700 clamp(1.35rem,3.2vw,2.4rem)/1.03 var(--serif);
}

.order-scene-copy > span {
  font-size: 0.875rem;
}

.order-scene-action {
  color: #f2cf87;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-scene-plates {
  position: absolute;
  inset: 12% 16% auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  justify-items: center;
  gap: 3px;
  transform: rotate(-4deg);
}

.order-plate {
  display: grid;
  place-content: center;
  position: relative;
  width: clamp(32px, 5vw, 55px);
  aspect-ratio: 1;
  padding: 3px;
  overflow: hidden;
  border: 2px solid #fff2d4;
  border-radius: 50%;
  background: #f0e1c1;
  color: #33240d;
  box-shadow: 0 2px 5px #26180755;
  font-size: 0.48rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
}

.order-plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-dish-flight {
  position: fixed;
  z-index: 100;
  width: 58px;
  margin: 0;
  pointer-events: none;
}

.menu-scene-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 42px;
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid #b49252;
  border-radius: 8px;
  background: #102e23;
  color: #ffebbd;
  font-weight: 800;
}

.menu-scene-mini-image {
  width: 29px;
  height: 30px;
}

@media (max-width: 760px) {
  .menu-dialog-header:has(.menu-scene-mini:not([hidden])) .menu-dialog-close {
    font-size: 0;
  }
  .menu-dialog-header:has(.menu-scene-mini:not([hidden])) .menu-dialog-close span {
    font-size: 1.45rem;
  }
  .menu-dialog-header:has(.menu-scene-mini:not([hidden])) h2 {
    font-size: clamp(1.1rem,5.1vw,1.45rem);
  }
  .restaurant-order-options button {
    flex: 1;
    padding-inline: 7px;
  }
  .order-scene {
    min-height: 142px;
    padding-inline: 11px;
  }
}

.menu-scene-mini-image {
  position: relative;
  width: 37px;
}

.menu-scene-mini-plates {
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 1px;
  inset: 6px 0 auto;
}

.menu-scene-mini-plates .order-plate {
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  border-width: 1px;
  font-size: 0;
  color: transparent;
}
