.rt-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

.rt-cart-layer {
  position: relative;
  z-index: 1280;
  pointer-events: none;
}

.rt-cart-fab {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 1292;
  display: inline-grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--rt-primary);
  padding: 0;
  box-shadow: 0 18px 46px rgba(17, 24, 39, .14);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.rt-cart-fab:hover,
.rt-cart-fab:focus-visible {
  transform: translateY(-2px);
  background: var(--rt-primary);
  color: #fff;
  box-shadow: 0 24px 62px rgba(17, 24, 39, .18);
  outline: none;
}

.rt-cart-fab-icon {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
}

.rt-cart-fab-icon svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  overflow: visible;
}

.rt-cart-fab-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rt-cart-fab-count {
  position: absolute;
  inset-block-start: -.32rem;
  inset-inline-end: -.32rem;
  display: inline-grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: .68rem;
  font-weight: 950;
  line-height: 1;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .16s ease, transform .16s ease;
}

.rt-cart-fab.has-items .rt-cart-fab-count {
  opacity: 1;
  transform: scale(1);
}

.rt-cart-fab.is-bumped {
  animation: rt-cart-fab-bump .48s cubic-bezier(.2, .9, .2, 1);
}

.rt-cart-fab.is-bumped .rt-cart-fab-count {
  animation: rt-cart-count-bump .48s cubic-bezier(.2, .9, .2, 1);
}

.rt-order-tracker-stack[hidden] {
  display: none !important;
}

.rt-order-tracker-stack {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: calc(4.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 1288;
  display: grid;
  width: min(23rem, calc(100vw - 2rem));
  max-height: min(14.75rem, calc(100dvh - 7rem));
  gap: .55rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline-end: .25rem;
  pointer-events: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 107, 80, .36) rgba(15, 23, 42, .06);
}

.rt-order-tracker-stack::-webkit-scrollbar {
  width: .42rem;
}

.rt-order-tracker-stack::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
}

.rt-order-tracker-stack::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 107, 80, .38);
}

.rt-cart-layer.has-waiter-call .rt-order-tracker-stack {
  inset-block-end: calc(8.45rem + env(safe-area-inset-bottom, 0px));
}

.rt-order-tracker {
  display: grid;
  gap: .45rem;
  border: 1px solid rgba(47, 107, 80, .2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .95);
  color: var(--rt-text);
  padding: .8rem .85rem;
  box-shadow: 0 22px 62px rgba(17, 24, 39, .16);
  cursor: pointer;
  pointer-events: auto;
  text-align: start;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: rt-order-tracker-pulse 2.6s ease-in-out infinite;
}

.rt-waiter-call {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: calc(4.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 1291;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  max-width: min(20rem, calc(100vw - 2rem));
  border: 1px solid rgba(47, 107, 80, .25);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-accent));
  color: #fff;
  padding: .65rem .95rem;
  box-shadow: 0 20px 54px rgba(31, 122, 86, .28);
  cursor: pointer;
  pointer-events: auto;
}

.rt-waiter-call:disabled {
  cursor: wait;
  opacity: .88;
}

.rt-waiter-call span {
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.rt-waiter-call svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rt-waiter-call strong {
  min-width: 0;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 950;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rt-waiter-call.is-ringing {
  animation: rt-waiter-call-ring .72s ease-in-out 2;
}

.rt-order-tracker:hover,
.rt-order-tracker:focus-visible {
  border-color: rgba(47, 107, 80, .38);
  outline: none;
  transform: translateY(-1px);
}

.rt-order-tracker-top,
.rt-order-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  min-width: 0;
}

.rt-order-tracker-top strong,
.rt-order-status-head strong {
  color: var(--rt-text);
  font-size: .88rem;
  font-weight: 950;
  line-height: 1.5;
}

.rt-order-tracker-top em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--rt-primary-soft);
  color: var(--rt-primary);
  padding: .22rem .55rem;
  font-size: .7rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1.4;
}

.rt-order-tracker-code,
.rt-order-tracker-eta,
.rt-order-tracker-action {
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.55;
}

.rt-order-tracker-code {
  color: var(--rt-primary);
}

.rt-order-tracker-eta {
  color: var(--rt-muted);
}

.rt-order-tracker-action {
  justify-self: end;
  color: var(--rt-primary);
}

.rt-order-progress {
  display: block;
  height: .42rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
}

.rt-order-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rt-primary), var(--rt-accent));
  transition: width .35s ease;
}

.rt-cart-drawer[hidden] {
  display: none !important;
}

.rt-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.rt-cart-drawer.is-open {
  pointer-events: auto;
}

.rt-cart-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .42);
  cursor: pointer;
}

.rt-cart-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(27rem, calc(100vw - 1rem));
  height: calc(100dvh - 2rem);
  margin: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 34px 95px rgba(15, 23, 42, .24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.rt-cart-drawer.is-open .rt-cart-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.rt-cart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--rt-line);
}

.rt-cart-title-wrap {
  display: grid;
  gap: .45rem;
  min-width: 0;
}

.rt-cart-head h2 {
  margin: 0;
  color: var(--rt-text);
  font-size: 1.32rem;
  font-weight: 950;
  line-height: 1.25;
}

.rt-cart-close,
.rt-cart-clear,
.rt-cart-qty button,
.rt-cart-remove {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rt-line);
  background: #fff;
  color: var(--rt-text);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.rt-cart-close {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
}

.rt-cart-items {
  display: grid;
  align-content: start;
  gap: .75rem;
  min-height: 0;
  overflow: auto;
  padding: 1rem;
}

.rt-cart-empty {
  display: none;
  align-self: start;
  margin: 1rem;
  border: 1px dashed rgba(47, 107, 80, .22);
  border-radius: 1.1rem;
  background: rgba(47, 107, 80, .07);
  padding: 1rem;
}

.rt-cart-empty.is-visible {
  display: grid;
  gap: .35rem;
}

.rt-cart-empty strong {
  color: var(--rt-text);
  font-size: .95rem;
  font-weight: 950;
}

.rt-cart-empty span {
  color: var(--rt-muted);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.8;
}

.rt-cart-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: .75rem;
  border: 1px solid var(--rt-line);
  border-radius: 1.05rem;
  background: #fff;
  padding: .62rem;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .045);
}

.rt-cart-thumb {
  display: grid;
  overflow: hidden;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border-radius: .85rem;
  background: linear-gradient(135deg, rgba(47, 107, 80, .13), rgba(154, 115, 56, .1));
  color: var(--rt-primary);
  font-size: 1.4rem;
  font-weight: 950;
}

.rt-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-cart-row-body {
  display: grid;
  gap: .5rem;
  min-width: 0;
}

.rt-cart-row-title {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
}

.rt-cart-row-title a {
  min-width: 0;
  color: var(--rt-text);
  font-size: .92rem;
  font-weight: 950;
  line-height: 1.55;
  text-decoration: none;
}

.rt-cart-line-price {
  flex: 0 0 auto;
  color: var(--rt-primary);
  font-size: .82rem;
  font-weight: 950;
  white-space: nowrap;
}

.rt-cart-business {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: .3rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--rt-primary-soft);
  padding: .35rem .58rem;
  color: var(--rt-primary-strong);
  font-size: .72rem;
  font-weight: 950;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rt-cart-options {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.rt-cart-options span {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 80, .12);
  border-radius: 999px;
  background: rgba(47, 107, 80, .06);
  padding: .28rem .5rem;
  color: var(--rt-muted);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rt-cart-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .55rem;
  align-items: center;
}

.rt-cart-qty {
  display: inline-grid;
  grid-template-columns: 2rem 2.6rem 2rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--rt-line);
  border-radius: 999px;
  background: #f8fafc;
}

.rt-cart-qty button {
  min-height: 2rem;
  border: 0;
  background: transparent;
}

.rt-cart-qty span {
  color: var(--rt-text);
  font-size: .82rem;
  font-weight: 950;
  text-align: center;
}

.rt-cart-remove {
  min-height: 2rem;
  border-radius: 999px;
  padding: .35rem .7rem;
  color: #9a3412;
  font-size: .74rem;
}

.rt-cart-footer {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border-top: 1px solid var(--rt-line);
  background: rgba(248, 250, 252, .84);
}

.rt-cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.rt-cart-summary span {
  margin: 0;
  color: var(--rt-muted);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.8;
}

.rt-cart-summary strong {
  display: grid;
  justify-items: end;
  gap: .18rem;
  color: var(--rt-primary);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.35;
  text-align: end;
}

.rt-cart-clear {
  min-height: 2.55rem;
  border-radius: 999px;
  color: #9a3412;
  font-size: .78rem;
}

.rt-purchase-box {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: .52rem;
}

.rt-cart-add {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.18rem;
  height: 2.18rem;
  place-items: center;
  border: 1px solid rgba(47, 107, 80, .2);
  border-radius: 999px;
  background: var(--rt-primary);
  color: #fff;
  padding: 0;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 10px 22px rgba(47, 107, 80, .18);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.rt-cart-add::before,
.rt-cart-add::after {
  content: "";
  position: absolute;
  inset: 50%;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
}

.rt-cart-add:hover,
.rt-cart-add:focus-visible {
  transform: translateY(-1px);
  background: var(--rt-primary-strong);
  box-shadow: 0 14px 30px rgba(47, 107, 80, .22);
  outline: none;
}

.rt-cart-add:disabled {
  border-color: rgba(120, 113, 108, .18);
  background: #e7e5e4;
  color: #78716c;
  box-shadow: none;
  cursor: not-allowed;
}

.rt-cart-add-icon {
  position: relative;
  z-index: 1;
  width: .95rem;
  height: .95rem;
}

.rt-cart-add-icon::before,
.rt-cart-add-icon::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: block;
  width: .92rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.rt-cart-add-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

[dir="rtl"] .rt-cart-add-icon::before,
[dir="rtl"] .rt-cart-add-icon::after {
  transform: translate(50%, -50%);
}

[dir="rtl"] .rt-cart-add-icon::after {
  transform: translate(50%, -50%) rotate(90deg);
}

.rt-cart-add.is-added {
  background: #1f7a56;
  animation: rt-cart-add-pop .68s cubic-bezier(.2, .9, .2, 1);
}

.rt-cart-add.is-added::before {
  inset: -.34rem;
  border: 1px solid rgba(31, 122, 86, .4);
  animation: rt-cart-add-ring .68s ease-out;
}

.rt-cart-add.is-added::after {
  width: .32rem;
  height: .32rem;
  margin: -.16rem;
  background: transparent;
  box-shadow:
    0 -1.38rem 0 rgba(31, 122, 86, .95),
    1.12rem -.82rem 0 rgba(154, 115, 56, .95),
    1.22rem .62rem 0 rgba(47, 107, 80, .85),
    0 1.34rem 0 rgba(31, 122, 86, .9),
    -1.16rem .72rem 0 rgba(154, 115, 56, .85),
    -1.24rem -.72rem 0 rgba(47, 107, 80, .75);
  animation: rt-cart-add-burst .72s ease-out;
}

.rt-cart-add.is-added .rt-cart-add-icon {
  animation: rt-cart-plus-settle .5s cubic-bezier(.2, .9, .2, 1);
}

.rt-config-modal[hidden] {
  display: none !important;
}

.rt-config-modal {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
}

.rt-config-modal.is-open {
  pointer-events: auto;
}

.rt-config-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .48);
  cursor: pointer;
}

.rt-config-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(34rem, calc(100vw - 1rem));
  max-height: min(42rem, calc(100dvh - 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 32px 88px rgba(15, 23, 42, .26);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}

.rt-config-modal.is-open .rt-config-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rt-config-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rt-line);
  padding: 1rem;
}

.rt-config-head h2 {
  margin: .35rem 0 0;
  color: var(--rt-text);
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.35;
}

.rt-config-head p {
  margin: .4rem 0 0;
  color: var(--rt-muted);
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.8;
}

.rt-config-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--rt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rt-text);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 950;
}

.rt-config-form {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.rt-config-body {
  display: grid;
  align-content: start;
  gap: .82rem;
  min-height: 0;
  overflow: auto;
  padding: 1rem;
}

.rt-config-base-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--rt-line);
  border-radius: 1rem;
  background: var(--rt-primary-soft);
  padding: .78rem .9rem;
}

.rt-config-base-row span,
.rt-config-hint {
  color: var(--rt-muted);
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.7;
}

.rt-config-base-row strong {
  color: var(--rt-primary);
  font-size: .88rem;
  font-weight: 950;
  white-space: nowrap;
}

.rt-config-section {
  display: grid;
  gap: .55rem;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--rt-line);
  border-radius: 1rem;
  background: #fff;
  padding: .85rem;
}

.rt-config-section legend {
  padding: 0 .2rem;
  color: var(--rt-text);
  font-size: .88rem;
  font-weight: 950;
}

.rt-config-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: .9rem;
  background: #f8fafc;
  padding: .62rem .7rem;
  cursor: pointer;
}

.rt-config-choice input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--rt-primary);
}

.rt-config-choice-copy {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  min-width: 0;
  align-items: center;
}

.rt-config-choice-copy strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--rt-text);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.55;
}

.rt-config-choice-copy small {
  flex: 0 0 auto;
  color: var(--rt-primary);
  font-size: .74rem;
  font-weight: 950;
  white-space: nowrap;
}

.rt-config-error {
  margin: 0 1rem .75rem;
  border: 1px solid rgba(184, 93, 97, .18);
  border-radius: .9rem;
  background: #fff5f5;
  padding: .65rem .75rem;
  color: #a04448;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.7;
}

.rt-config-footer {
  display: flex;
  justify-content: space-between;
  gap: .85rem;
  align-items: center;
  border-top: 1px solid var(--rt-line);
  background: rgba(248, 250, 252, .9);
  padding: .9rem 1rem;
}

.rt-config-footer div {
  display: grid;
  gap: .15rem;
}

.rt-config-footer span {
  color: var(--rt-muted);
  font-size: .72rem;
  font-weight: 850;
}

.rt-config-footer strong {
  color: var(--rt-primary);
  font-size: 1rem;
  font-weight: 950;
}

.rt-config-footer button[type="submit"] {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--rt-primary);
  color: #fff;
  padding: .68rem 1rem;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 950;
}

.rt-config-footer button[type="submit"]:disabled {
  background: #d6d3d1;
  cursor: not-allowed;
}

.rt-order-modal[hidden] {
  display: none !important;
}

.rt-order-modal {
  position: fixed;
  inset: 0;
  z-index: 1380;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
}

.rt-order-modal.is-open {
  pointer-events: auto;
}

.rt-order-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .5);
  cursor: pointer;
}

.rt-order-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(35rem, calc(100vw - 1rem));
  max-width: 100%;
  max-height: min(44rem, calc(100dvh - 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 32px 88px rgba(15, 23, 42, .28);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}

.rt-order-modal.is-open .rt-order-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rt-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rt-line);
  padding: 1rem;
}

.rt-order-head h2 {
  margin: 0;
  color: var(--rt-text);
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.35;
}

.rt-order-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--rt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rt-text);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 950;
}

.rt-order-body {
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  padding: 1rem;
}

.rt-order-stack {
  display: grid;
  gap: .85rem;
  min-width: 0;
}

.rt-order-note {
  margin: 0;
  color: var(--rt-muted);
  font-size: .84rem;
  font-weight: 780;
  line-height: 1.9;
}

.rt-order-choice,
.rt-order-button,
.rt-order-manual button,
.rt-cart-checkout {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rt-text);
  padding: .7rem 1rem;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 950;
  text-align: center;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.rt-cart-checkout {
  width: 100%;
  border-color: var(--rt-primary);
  background: var(--rt-primary);
  color: #fff;
}

.rt-order-button:hover,
.rt-order-button:focus-visible,
.rt-order-manual button:hover,
.rt-order-manual button:focus-visible,
.rt-cart-checkout:hover,
.rt-cart-checkout:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.rt-order-button-primary,
.rt-order-manual button {
  border-color: var(--rt-primary);
  background: var(--rt-primary);
  color: #fff;
}

.rt-order-button:disabled {
  border-color: #d6d3d1;
  background: #d6d3d1;
  color: #78716c;
  cursor: wait;
}

.rt-order-choice {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .25rem;
  min-height: 4.8rem;
  border-radius: 1rem;
  padding: .9rem 1rem;
  text-align: center;
}

.rt-order-choice strong {
  color: var(--rt-text);
  font-size: .95rem;
  font-weight: 950;
}

.rt-order-choice span {
  color: var(--rt-muted);
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.7;
}

.rt-order-choice:not(.is-disabled):hover,
.rt-order-choice:not(.is-disabled):focus-visible {
  border-color: rgba(47, 107, 80, .24);
  background: var(--rt-primary-soft);
  outline: none;
}

.rt-order-choice.is-disabled {
  background: #f5f5f4;
  color: #78716c;
  cursor: not-allowed;
  opacity: .72;
}

.rt-order-camera {
  display: grid;
  gap: .55rem;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rt-line);
  border-radius: 1rem;
  background: #0f172a;
  padding: .65rem;
}

.rt-order-camera video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: .75rem;
  background: #111827;
  object-fit: cover;
}

.rt-order-camera small,
.rt-order-line small {
  color: var(--rt-muted);
  font-size: .76rem;
  font-weight: 820;
  line-height: 1.7;
}

.rt-order-camera small {
  color: rgba(255, 255, 255, .82);
}

.rt-order-manual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .55rem;
  min-width: 0;
}

.rt-order-manual label {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.rt-order-manual label span {
  color: var(--rt-muted);
  font-size: .74rem;
  font-weight: 850;
}

.rt-order-manual input {
  min-height: 2.65rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rt-line);
  border-radius: .95rem;
  background: #fff;
  color: var(--rt-text);
  padding: .65rem .85rem;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  outline: none;
}

.rt-order-manual input:focus {
  border-color: rgba(47, 107, 80, .35);
  box-shadow: 0 0 0 4px rgba(47, 107, 80, .1);
}

.rt-order-manual button {
  width: 100%;
}

.rt-order-table-card,
.rt-order-success,
.rt-order-totals,
.rt-order-line,
.rt-order-success-row,
.rt-order-status-card,
.rt-order-status-grid,
.rt-order-status-row,
.rt-order-status-countdown,
.rt-order-loading {
  border: 1px solid var(--rt-line);
  border-radius: 1rem;
  background: #fff;
}

.rt-order-table-card,
.rt-order-success,
.rt-order-loading {
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: 1rem;
}

.rt-order-table-card strong,
.rt-order-success strong {
  color: var(--rt-text);
  font-size: 1.12rem;
  font-weight: 950;
}

.rt-order-table-card span,
.rt-order-success span {
  color: var(--rt-muted);
  font-size: .82rem;
  font-weight: 820;
}

.rt-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
}

.rt-order-lines {
  display: grid;
  gap: .65rem;
}

.rt-order-line {
  display: grid;
  gap: .55rem;
  min-width: 0;
  padding: .78rem;
}

.rt-order-line > div:first-child,
.rt-order-totals > div,
.rt-order-success-row,
.rt-order-status-row,
.rt-order-status-countdown {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: flex-start;
  min-width: 0;
}

.rt-order-success-row,
.rt-order-status-row,
.rt-order-status-countdown {
  padding: .78rem .85rem;
}

.rt-order-line strong {
  color: var(--rt-text);
  font-size: .88rem;
  font-weight: 950;
  line-height: 1.6;
}

.rt-order-line span,
.rt-order-totals span,
.rt-order-success-row span,
.rt-order-status-row span,
.rt-order-status-countdown span {
  color: var(--rt-muted);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.7;
}

.rt-order-line > div:first-child > span,
.rt-order-totals strong,
.rt-order-success-row strong,
.rt-order-status-row strong,
.rt-order-status-countdown strong {
  color: var(--rt-primary);
  font-size: .9rem;
  font-weight: 950;
  white-space: nowrap;
}

.rt-order-totals {
  display: grid;
  gap: .55rem;
  background: var(--rt-primary-soft);
  padding: .85rem;
}

.rt-order-status-card,
.rt-order-status-grid {
  display: grid;
  gap: .65rem;
  min-width: 0;
  padding: .9rem;
}

.rt-order-status-hero {
  border-color: rgba(47, 107, 80, .22);
  background: linear-gradient(180deg, rgba(47, 107, 80, .1), #fff);
}

.rt-order-status-head > div {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.rt-order-status-head span,
.rt-order-progress-label {
  color: var(--rt-muted);
  font-size: .75rem;
  font-weight: 850;
  line-height: 1.7;
}

.rt-order-status-head b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  padding: .34rem .62rem;
  font-size: .76rem;
  font-weight: 950;
  line-height: 1.4;
}

.rt-order-status-card h3 {
  margin: 0;
  color: var(--rt-text);
  font-size: .94rem;
  font-weight: 950;
  line-height: 1.45;
}

.rt-order-status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--rt-primary-soft);
  padding: .65rem;
}

.rt-order-status-row,
.rt-order-status-countdown {
  background: #fff;
}

.rt-order-status-countdown {
  border-color: rgba(47, 107, 80, .2);
}

.rt-order-error {
  margin: 0;
  border: 1px solid rgba(184, 93, 97, .18);
  border-radius: .9rem;
  background: #fff5f5;
  padding: .65rem .75rem;
  color: #a04448;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.7;
}

.rt-order-loading {
  color: var(--rt-muted);
  font-size: .86rem;
  font-weight: 850;
  text-align: center;
}

body.rt-cart-lock {
  overflow: hidden;
}

body.rt-config-lock {
  overflow: hidden;
}

body.rt-order-lock {
  overflow: hidden;
}

@media (max-width: 640px) {
  .rt-cart-fab {
    inset-inline-end: .85rem;
    inset-block-end: calc(.85rem + env(safe-area-inset-bottom, 0px));
    width: 3rem;
    height: 3rem;
  }

  .rt-order-tracker-stack {
    inset-inline: .85rem;
    inset-block-end: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: min(14.5rem, calc(100dvh - 6.4rem));
  }

  .rt-cart-layer.has-waiter-call .rt-order-tracker-stack {
    inset-block-end: calc(7.8rem + env(safe-area-inset-bottom, 0px));
  }

  .rt-order-tracker {
    padding: .72rem .76rem;
  }

  .rt-waiter-call {
    inset-inline-end: .85rem;
    inset-block-end: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 5.4rem);
    min-height: 3rem;
    padding: .6rem .8rem;
  }

  .rt-cart-sheet {
    align-self: end;
    width: calc(100vw - 1rem);
    height: min(82dvh, 42rem);
    margin: .5rem;
    border-radius: 1.25rem 1.25rem .8rem .8rem;
  }

  .rt-cart-row {
    grid-template-columns: 3.7rem minmax(0, 1fr);
  }

  .rt-cart-thumb {
    width: 3.7rem;
    height: 3.7rem;
  }

  .rt-cart-row-title {
    flex-direction: column;
    gap: .3rem;
  }

  .rt-cart-line-price {
    white-space: normal;
  }

  .rt-purchase-box {
    width: 100%;
    justify-content: space-between;
  }

  .rt-config-modal {
    align-items: end;
    padding: .5rem;
  }

  .rt-order-modal {
    align-items: end;
    padding: .5rem;
  }

  .rt-config-sheet {
    width: 100%;
    max-height: min(86dvh, 42rem);
    border-radius: 1.25rem 1.25rem .8rem .8rem;
  }

  .rt-order-sheet {
    width: 100%;
    max-height: min(88dvh, 44rem);
    border-radius: 1.25rem 1.25rem .8rem .8rem;
  }

  .rt-order-status-grid {
    grid-template-columns: 1fr;
  }

  .rt-order-manual {
    grid-template-columns: 1fr;
  }

  .rt-order-manual {
    display: grid;
  }

  .rt-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rt-order-button {
    width: 100%;
  }

  .rt-config-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .rt-config-footer button[type="submit"] {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt-cart-fab,
  .rt-cart-sheet,
  .rt-cart-add,
  .rt-cart-fab.is-bumped,
  .rt-cart-fab-count,
  .rt-cart-add::before,
  .rt-cart-add::after,
  .rt-cart-add-icon,
  .rt-config-sheet,
  .rt-order-sheet,
  .rt-order-tracker,
  .rt-waiter-call,
  .rt-order-progress i {
    transition: none !important;
    animation: none !important;
  }
}

@keyframes rt-cart-add-pop {
  0% { transform: scale(1); box-shadow: 0 10px 22px rgba(47, 107, 80, .18); }
  28% { transform: scale(.9); }
  52% { transform: scale(1.16); box-shadow: 0 18px 36px rgba(31, 122, 86, .28); }
  76% { transform: scale(.98); }
  100% { transform: scale(1); box-shadow: 0 10px 22px rgba(47, 107, 80, .18); }
}

@keyframes rt-cart-add-ring {
  0% { transform: scale(.7); opacity: .7; }
  100% { transform: scale(1.95); opacity: 0; }
}

@keyframes rt-cart-add-burst {
  0% { transform: scale(.35) rotate(0deg); opacity: 0; }
  22% { opacity: 1; }
  100% { transform: scale(1.18) rotate(18deg); opacity: 0; }
}

@keyframes rt-cart-plus-settle {
  0% { transform: rotate(0deg) scale(1); }
  34% { transform: rotate(90deg) scale(.84); }
  68% { transform: rotate(180deg) scale(1.12); }
  100% { transform: rotate(180deg) scale(1); }
}

@keyframes rt-cart-fab-bump {
  0% { transform: translateY(0) scale(1); }
  36% { transform: translateY(-2px) scale(1.08); }
  68% { transform: translateY(1px) scale(.98); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes rt-cart-count-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes rt-order-tracker-pulse {
  0%, 100% { box-shadow: 0 22px 62px rgba(17, 24, 39, .16), 0 0 0 0 rgba(47, 107, 80, .16); }
  50% { box-shadow: 0 26px 70px rgba(17, 24, 39, .2), 0 0 0 .42rem rgba(47, 107, 80, 0); }
}

@keyframes rt-waiter-call-ring {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  20% { transform: translateY(-2px) rotate(-2deg); }
  45% { transform: translateY(0) rotate(2deg); }
  70% { transform: translateY(-1px) rotate(-1deg); }
}
