/* Garson UI adapted from 152701:1883/2024/1962 and 152867:17009/17236.
   Native 390 × 812 canvas fits the existing phone without changing its layout. */
.food-garson-phone .fc163,
.food-garson-phone .fc165 {
  pointer-events: none;
}
.food-page .food-garson-phone .fc161 {
  left: 5.5px;
  top: 5.5px;
  width: 273.639px;
  height: 569px;
  overflow: hidden;
  border-radius: 44px;
  background: #191919;
  isolation: isolate;
}
.garson-demo {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 390px;
  height: 812px;
  transform: scale(0.701638);
  transform-origin: top left;
  background: #191919;
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.garson-demo.is-ready {
  display: block;
}
.garson-demo * {
  box-sizing: border-box;
}
.garson-demo p,
.garson-demo h3,
.food-page .garson-demo h4 {
  margin: 0;
}
.garson-demo__status {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 27px;
  font-size: 17px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.garson-demo__status img {
  width: 78px;
  height: 13px;
}
.garson-demo__screen {
  position: absolute;
  inset: 70px 0 0;
  padding: 12px 20px 58px;
}
.garson-demo__screen[hidden] {
  display: none;
}
.garson-demo small {
  display: block;
  color: #999;
  font-size: 13px;
  font-weight: 400;
}
.food-page .garson-demo h3 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  margin: 16px 0 24px;
}
.food-page .garson-demo h4 {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 10px;
}
.garson-demo button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  appearance: none;
}
.garson-demo button:focus-visible {
  outline: 2px solid #7dcc58;
  outline-offset: 3px;
}
.garson-demo__tables {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 24px;
}
.garson-demo__tables > * {
  display: grid;
  place-items: center;
  border-radius: 24px;
  height: 85px;
  background: #272727;
  font-size: 13px;
}
.garson-demo__tables .occupied {
  background: #ee2a291a;
  color: #ee2a29;
}
.garson-demo__tabs {
  padding: 16px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
}
.garson-demo__tabs span {
  margin-left: 35px;
  color: #999;
}
.garson-demo__guest {
  padding: 16px;
  border-radius: 24px;
  background: #272727;
  color: #999;
  font-size: 13px;
}
.garson-demo__guest > span {
  float: right;
  color: white;
}
.garson-demo__dish {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #333;
  border-radius: 16px;
  margin: 14px -10px 0;
  padding: 12px 8px;
  color: #fff;
}
.garson-demo__dish i {
  font-style: normal;
  color: #77b554;
  background: #77b5541a;
  padding: 8px;
  border-radius: 12px;
  text-align: center;
}
.garson-demo__dish i small {
  font-size: 9px;
  color: inherit;
}
.garson-demo__dish > span {
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
}
.garson-demo__sheet {
  position: absolute;
  top: 340px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 54px;
  border-radius: 24px 24px 0 0;
  background: #272727;
}
.garson-demo__search {
  background: #333;
  border-radius: 12px;
  padding: 12px;
  color: #999;
  height: 44px;
}
.garson-demo__crumb {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  color: #999;
}
.garson-demo__crumb span {
  color: #fff;
}
.garson-demo__menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.garson-demo__menu > * {
  background: #333;
  border-radius: 14px;
  height: 80px;
  padding: 12px 8px;
  font-size: 13px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.garson-demo__menu small {
  font-size: 12px;
  color: #fff;
}
.garson-demo__menu .selected {
  background: #36472d;
}
.garson-demo__action {
  position: absolute;
  bottom: 58px;
  left: 20px;
  width: 350px;
  height: 50px;
  border-radius: 12px;
  background: #f6f6f6;
  color: #272727 !important;
}
.garson-demo[data-active-step="4"],
.garson-demo[data-active-step="5"] {
  background:
    radial-gradient(ellipse at 90% 0, #46652388, transparent 52%), #191919;
}
.garson-demo__payment,
.garson-demo__receipt {
  background: transparent;
}
.garson-demo__payment > p {
  margin-top: 45px;
  color: #aaa;
}
.food-page .garson-demo__payment > h3 {
  font-size: 40px;
  margin: 8px 0 10px;
}
.garson-demo__payment .garson-demo__sheet {
  top: 320px;
}
.garson-demo__methods > * {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px;
  background: #333;
  border-radius: 18px;
  margin-top: 8px;
}
.garson-demo__methods b {
  float: right;
  color: #999;
}
.food-page .garson-demo__receipt > h3 {
  font-size: 40px;
  line-height: 0.95;
  margin: 12px 0 28px;
}
.garson-demo__check {
  background: #191919;
  padding: 16px;
  border-radius: 20px;
  margin: 16px -12px -12px;
  color: white;
}
.garson-demo__check p {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
}
.garson-demo__check p span {
  color: #aaa;
}
.garson-demo__check > div {
  border: 1px solid #333;
  text-align: center;
  border-radius: 12px;
  padding: 9px;
  margin-top: 20px;
  color: #999;
}
.garson-demo__home {
  position: absolute;
  bottom: 8px;
  left: 128px;
  width: 134px;
  height: 5px;
  border-radius: 10px;
  background: white;
}
.garson-demo__tap {
  position: absolute;
  z-index: 3;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 2px solid #ffffffb3;
  border-radius: 50%;
  background: #ffffff20;
  pointer-events: none;
  opacity: 0;
}
.garson-demo.is-tapping .garson-demo__tap {
  animation: garson-tap 0.28s ease-out both;
}
@keyframes garson-tap {
  0% {
    opacity: 0;
    transform: scale(1.3);
  }
  35% {
    opacity: 1;
    transform: scale(0.8);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .garson-demo__tap {
    display: none;
  }
}

/* Keep UI content inside the rounded display and above the home indicator. */
.garson-demo {
  overflow: clip;
}
.garson-demo__menu > * {
  min-width: 0;
}
.garson-demo__methods > * {
  height: 56px;
  padding: 18px 20px;
  line-height: 20px;
}
