#sheet[data-view="pizza-dish"] {
  width: min(600px, calc(100% - 40px));
  height: min(600px, calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  margin: auto;
  overflow: hidden;
  color: #111;
  background: white;
  border-radius: 10px;
  box-shadow: 0 22px 44px #0005;
  font:
    16px/1.25 Lato,
    Arial,
    sans-serif;
}
#sheet[data-view="pizza-dish"]::backdrop {
  background: #0005;
}
#sheet[data-view="pizza-dish"] .sheet-inner,
#sheet[data-view="pizza-dish"] #sheet-body {
  height: 100%;
  padding: 0;
}
#sheet[data-view="pizza-dish"] .dismiss {
  top: 20px;
  right: 20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: white;
  border: 1px solid #ddd;
  color: #111;
  font:
    22px/1 Arial,
    sans-serif;
}
#sheet[data-view="pizza-dish"] .dismiss::after {
  content: "";
  position: absolute;
  inset: -6px;
}
.kiosk-product {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
}
.kiosk-product .dish-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 30px 20px 12px;
}
.kiosk-product h2 {
  margin: 0 36px;
  text-align: center;
  font:
    700 28px/37px Lora,
    Georgia,
    serif;
  letter-spacing: normal;
}
.kiosk-product h2:focus {
  outline: none;
}
.kiosk-product .dish-hero {
  width: min(220px, 100%);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  margin: 16px auto 0;
}
.kiosk-product .dish-intro {
  margin: 14px 14px 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}
.kiosk-product .dish-sizes {
  margin: 39px 0 0;
}
.kiosk-product .dish-sizes > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.kiosk-product .dish-sizes .choice {
  position: relative;
  display: inline-flex;
  justify-content: center;
  border: 0;
  background: #f1f1f1;
  color: #111;
  border-radius: 6px;
  padding: 6px 30px;
  min-height: 29px;
  font:
    400 14px/17px Lato,
    Arial,
    sans-serif;
  text-align: center;
  cursor: pointer;
}
.kiosk-product .dish-sizes .choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: inherit;
}
.kiosk-product .dish-sizes .choice:has(:checked) {
  background: var(--brand);
  color: white;
  font-weight: 700;
}
.kiosk-product .choice:has(input:focus-visible) {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #3058af;
}
.kiosk-product .dish-options {
  margin: 10px 0 0;
}
.kiosk-product .dish-options legend {
  padding: 0;
  font:
    700 20px/24px Lato,
    Arial,
    sans-serif;
}
.kiosk-product .dish-options legend small {
  display: block;
  margin-bottom: 12px;
  color: #666;
  font:
    400 12px/15px Lato,
    Arial,
    sans-serif;
}
.kiosk-product .dish-options .choice {
  position: relative;
  margin: 0 -20px;
  padding: 7px 20px;
  min-height: 49px;
  gap: 8px;
  font-size: 14px;
  border-color: #ddd;
  cursor: pointer;
}
.kiosk-product .dish-options .choice:has(input:disabled) {
  color: #777;
  cursor: default;
}
.kiosk-product .dish-options .choice > span {
  margin-left: auto;
}
.kiosk-product .dish-options input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.kiosk-product .dish-options .choice::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #087b25;
  font-weight: 700;
}
.kiosk-product .dish-options .choice:has(:checked)::after {
  content: "✓";
  color: white;
  background: var(--brand);
  border-color: transparent;
}
.kiosk-product .dish-options .choice:has(:disabled)::after {
  color: #888;
}
.kiosk-product .dish-notes {
  margin: 24px 0 4px;
}
.kiosk-product .dish-notes p {
  background: none;
  padding: 0;
  margin: 6px 0;
  color: #555;
  font-size: 13px;
}
.kiosk-product .dish-controls {
  padding: 10px 20px max(10px, env(safe-area-inset-bottom));
  background: white;
}
.kiosk-product .dish-controls .error {
  margin: 0 0 8px;
}
.kiosk-product .actions {
  margin: 0;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.kiosk-product .quantity {
  padding: 0 4px;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 30px;
}
.kiosk-product .quantity button {
  width: 40px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: #087b25;
  font-weight: 700;
}
.kiosk-product .quantity [data-minus] {
  color: #c00;
}
.kiosk-product .quantity button:disabled {
  opacity: 0.35;
}
.kiosk-product .quantity output {
  min-width: 20px;
}
.kiosk-product .primary {
  min-height: 51px;
  padding: 10px 24px;
  gap: 0.25em;
  flex: 0 1 auto;
  flex-wrap: wrap;
  color: white;
  background: var(--brand);
  font:
    700 16px/20px Lato,
    Arial,
    sans-serif;
}
.kiosk-product .dish-add-short,
.kiosk-product .dish-neighbor {
  display: none;
}
@media (max-width: 767px) {
  #sheet[data-view="pizza-dish"] {
    width: 100%;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  #sheet[data-view="pizza-dish"] .dismiss {
    inset: max(45px, env(safe-area-inset-top)) auto auto 10px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    font-size: 0;
  }
  #sheet[data-view="pizza-dish"] .dismiss::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border: solid currentColor;
    border-width: 0 0 2px 2px;
    transform: translate(-55%, -50%) rotate(45deg);
  }
  #sheet[data-view="pizza-dish"] .dismiss::after {
    inset: 50% auto auto 50%;
    width: 15px;
    height: 2px;
    background: currentColor;
    transform: translate(-45%, -50%);
  }
  .kiosk-product .dish-scroll {
    padding-top: max(89px, calc(env(safe-area-inset-top) + 48px));
  }
  .kiosk-product .dish-sizes .choice {
    padding-inline: 15px;
  }
  .kiosk-product .dish-neighbor {
    position: absolute;
    top: calc(50% - 22px);
    display: grid;
    place-items: center;
    width: 24px;
    height: 44px;
    padding: 0;
    background: #fffc;
    color: #888;
  }
  .kiosk-product .dish-neighbor span {
    width: 14px;
    height: 14px;
    border: solid currentColor;
    border-width: 0 3px 3px 0;
  }
  .kiosk-product [data-direction="-1"] {
    left: 0;
  }
  .kiosk-product [data-direction="-1"] span {
    transform: rotate(135deg);
  }
  .kiosk-product [data-direction="1"] {
    right: 0;
  }
  .kiosk-product [data-direction="1"] span {
    transform: rotate(-45deg);
  }
  .kiosk-product .primary {
    padding-inline: 20px;
  }
  .kiosk-product .dish-add-full {
    display: none;
  }
  .kiosk-product .dish-add-short {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .kiosk-product .dish-add-short svg {
    width: 20px;
    height: 20px;
  }
}
