/* Guest menu: photography first, with the rounded blue controls of the design reference. */
body.guest-view {
  --ink: #20212a;
  --muted: #737381;
  --line: #e2e1e9;
  --green: #4779ec;
  --lime: #dbe5ff;
  background: #f8f6f3;
  color: var(--ink);
}
.guest-menu {
  overflow: clip;
  font-size: 1rem;
}
.guest-menu button {
  -webkit-tap-highlight-color: transparent;
}
.guest-menu button:focus-visible,
.guest-dialog button:focus-visible,
.guest-menu a:focus-visible {
  outline: 3px solid #4779ec;
  outline-offset: 5px;
}
.guest-menu .btn.primary,
.guest-dialog .btn.primary,
.guest-view .tracking .btn.primary {
  background: #4779ec;
  border-color: #4779ec;
  color: white;
  border-radius: 999px;
}
.guest-menu .btn.primary:hover,
.guest-dialog .btn.primary:hover {
  background: #3463cc;
}
.food-hero {
  position: relative;
  min-height: 620px;
  background: #27241f;
  color: white;
  display: flex;
  flex-direction: column;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}
.hero-shade {
  background:
    linear-gradient(90deg, #101119d9 0%, #15141c78 45%, #10101c05 75%),
    linear-gradient(0deg, #12101c70, transparent 50%, #12101c40);
}
.guest-top {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 28px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.restaurant-wordmark {
  display: flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
  line-height: 1;
}
.restaurant-wordmark strong {
  font-size: 2.55rem;
  font-weight: 850;
  letter-spacing: -0.07em;
}
.restaurant-wordmark strong span {
  color: #91afff;
}
.restaurant-wordmark small {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  margin-top: 9px;
}
.restaurant-wordmark img {
  width: 150px;
  height: 72px;
  object-fit: contain;
}
.guest-top-actions {
  display: flex;
  gap: 12px;
}
.guest-top-actions .btn {
  min-height: 48px;
  background: #ffffffed;
  border: 0;
  color: #20212a;
  border-radius: 99px;
  font-size: 0.875rem;
  padding: 12px 20px;
}
.guest-top-actions .bag-control {
  padding: 12px 15px;
  gap: 9px;
}
.cart-count {
  min-width: 17px;
  text-align: center;
}
.food-hero-copy {
  position: relative;
  width: min(1320px, 100%);
  margin: auto;
  padding: 36px 42px 70px;
}
.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.19em;
  font-weight: 650;
}
.food-hero-copy h1 {
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  font-weight: 790;
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 23px 0;
}
.food-hero-copy h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}
.food-hero-copy p {
  font-size: 1.125rem;
  color: #fffef5e6;
  line-height: 1.65;
}
.guest-menu .hero-cta {
  margin-top: 26px;
  background: #4779ec;
  color: white;
  border: 0;
  border-radius: 99px;
  padding: 15px 25px;
  font-size: 0.9rem;
}
.hero-service {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px max(42px, calc((100vw - 1236px) / 2));
  gap: 20px;
  background: #11121c88;
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
}
.hero-service span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-service span:last-child {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.guest-nav-wrap {
  position: sticky;
  z-index: 10;
  top: 0;
  background: #f8f6f3f5;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e3de;
}
.guest-nav {
  width: min(1320px, 100%);
  margin: auto;
  padding: 18px 42px;
  display: flex;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
}
.guest-nav::-webkit-scrollbar {
  display: none;
}
.guest-nav .btn {
  flex-shrink: 0;
  border-radius: 99px;
  font-size: 0.875rem;
  border: 1px solid #e7e3df;
  background: #ede9e5;
  color: #3f3d40;
  padding: 12px 20px;
  min-height: 45px;
  font-weight: 560;
}
.guest-nav .btn:hover {
  background: #e0e8fb;
  color: #2957b8;
}
.guest-nav .full-menu {
  background: #26262e;
  color: white;
  border-color: #26262e;
}
.guest-nav .nav-search {
  width: 46px;
  padding: 10px;
  background: transparent;
  border: 0;
}
.guest-content {
  width: min(1320px, 100%);
  padding: 0 42px;
  margin: auto;
}
.food-section {
  padding: 58px 0 54px;
  border-bottom: 1px solid #e4dfda;
  scroll-margin-top: 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-kicker {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  font-weight: 730;
  color: #4c70b6;
  margin-bottom: 12px;
}
.section-heading h2,
.menu-end h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 760;
}
.section-heading p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 12px;
  color: #77716d;
}
.blue-dot {
  color: #4779ec;
}
.section-count {
  white-space: nowrap;
  padding: 9px 14px;
  background: #e7edfb;
  color: #4566aa;
  border-radius: 99px;
  font-size: 0.8rem;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.guest-menu .carousel-control {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0 0 4px;
  font-size: 1.7rem;
  background: transparent;
  border: 1px solid #d6d1ce;
  color: #33333d;
}
.food-carousel {
  display: flex;
  overflow: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: #cbc8c4 transparent;
  padding-bottom: 18px;
}
.food-card {
  min-width: 0;
}
.popular-card {
  flex: 0 0 222px;
  scroll-snap-align: start;
}
.food-art {
  position: relative;
  aspect-ratio: 4 / 4.5;
  border-radius: 27px;
  background: #e7e2da;
}
.food-art > img,
.food-image-button,
.food-image-button img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.food-image-button {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.food-image-button img {
  transition: transform 0.35s;
}
.food-image-button:hover img {
  transform: scale(1.04);
}
.popular-card .food-art {
  aspect-ratio: 1;
  border-radius: 24px;
}
.food-add {
  position: absolute;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  width: 59px;
  height: 59px;
  padding: 0;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  flex: none;
  line-height: 1;
  border: 5px solid #f8f6f3;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: #4779ec;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 0 2px #f8f6f3;
}
.food-add .icon {
  width: 23px;
  height: 23px;
}
.food-add:hover {
  background: #2f60d3;
}
.food-add:disabled {
  opacity: 0.6;
  cursor: default;
}
.food-badge {
  position: absolute;
  left: 13px;
  top: 13px;
  background: #ffffffed;
  color: #36333b;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 620;
  padding: 7px 11px;
  pointer-events: none;
}
.food-info {
  padding: 17px 2px 0;
}
.food-info h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 680;
}
.food-info h3 button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.food-info p {
  font-size: 1rem;
  margin-top: 8px;
  color: #272630;
}
.food-info p span {
  font-size: 0.8rem;
  color: #797580;
}
.food-info small {
  display: block;
  font-size: 0.75rem;
  color: #797580;
  margin-top: 6px;
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 23px;
}
.menu-note {
  margin-top: 22px;
  color: #78727b;
  font-size: 0.8rem;
}
.guest-search {
  padding: 30px 0 0;
  display: flex;
  gap: 10px;
  align-items: center;
  scroll-margin-top: 90px;
}
.guest-search[hidden] {
  display: none;
}
.guest-search label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  background: white;
  border: 1px solid #dfdce5;
  border-radius: 18px;
  padding: 5px 17px;
}
.guest-search input {
  border: 0;
  box-shadow: none;
  outline: none;
  padding: 12px 0;
  min-width: 0;
  width: 100%;
  font-size: 1rem;
}
.guest-menu .text-button,
.guest-dialog .text-button {
  border: 0;
  background: none;
  font-size: 0.875rem;
  text-decoration: underline;
  color: inherit;
  padding: 10px;
}
.menu-end {
  text-align: center;
  padding: 56px 0 64px;
}
.menu-end p {
  color: #78717c;
  margin: 14px 0 24px;
  font-size: 1rem;
}
.menu-end small {
  display: block;
  color: #78717c;
  margin: 30px auto 0;
  max-width: 500px;
  line-height: 1.7;
  font-size: 0.8rem;
}
.guest-footer {
  background: #222532;
  color: #f8f6f3;
  padding: 64px max(42px, calc((100vw - 1236px) / 2)) 35px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
}
.guest-footer .section-kicker {
  color: #adc3ff;
}
.guest-footer h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  max-width: 500px;
  letter-spacing: -0.045em;
}
.guest-footer h2 span {
  color: #91afff;
}
.guest-footer p {
  font-size: 0.9rem;
  color: #b8bac9;
  margin-top: 20px;
  line-height: 1.8;
}
.footer-contact {
  padding-top: 12px;
  max-width: 320px;
}
.footer-contact strong {
  font-size: 1rem;
}
.footer-contact a {
  color: #e9eaf4;
  font-size: 0.95rem;
  display: block;
  margin: 8px 0 20px;
}
.guest-menu .footer-menu {
  background: transparent;
  border-color: #6f7283;
  color: white;
  border-radius: 99px;
  font-size: 0.875rem;
}
.footer-bottom {
  border-top: 1px solid #ffffff20;
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #b7b8c6;
  font-size: 0.8rem;
}
.footer-bottom small {
  font-size: 0.75rem;
}
.guest-cart-dock {
  z-index: 14;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fffffff5;
  backdrop-filter: blur(15px);
  border: 1px solid #e4e6ed;
  box-shadow: 0 10px 50px #171b3926;
  border-radius: 26px;
  padding: 14px 16px;
}
.guest-cart-dock .dock-count {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: #4779ec;
  background: #edf1ff;
  border-radius: 50%;
  font-weight: 700;
}
.guest-cart-dock small {
  display: block;
  font-size: 0.75rem;
  color: #737381;
  margin-bottom: 4px;
}
.guest-cart-dock strong {
  font-size: 1.1rem;
}
.guest-cart-dock .btn {
  margin-left: auto;
  font-size: 0.95rem;
  padding: 15px 25px;
}
.guest-menu:has(.guest-cart-dock) .guest-footer {
  padding-bottom: 135px;
}
.guest-dialog {
  border: 0;
  border-radius: 28px;
  --green: #4779ec;
  --line: #e6e7ef;
  background: #fff;
}
.guest-dialog::backdrop {
  background: #171a2b90;
}
.guest-dialog .dialog-head {
  border-color: #ececf3;
}
.guest-dialog .dialog-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.guest-dialog .dialog-footer {
  background: #fff;
}
.guest-dialog .dialog-footer .btn {
  border-radius: 99px;
}
.guest-dialog .dialog-footer .btn.primary {
  flex: 1;
}
.guest-dialog .product-photo {
  height: 260px;
  margin: -25px -25px 25px;
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guest-dialog input,
.guest-dialog textarea,
.guest-dialog select {
  border-color: #dedee8;
  border-radius: 15px;
  font-size: 1rem;
}
.guest-dialog .check {
  font-size: 0.95rem;
  min-height: 42px;
}
.guest-dialog input[type='checkbox'],
.guest-dialog input[type='radio'] {
  accent-color: #4779ec;
}
.guest-dialog .basket {
  background: white;
}
.guest-dialog .basket .quantity button {
  background: #edf1ff;
  color: #4779ec;
}
.guest-dialog .alert {
  background: #edf2ff;
  border-color: #dae5ff;
  color: #3d5896;
}
/* Keep checkout errors and repair actions in the scrollable body, above the footer. */
.guest-dialog.checkout-dialog {
  max-height: 92dvh;
  overflow: hidden;
}
.checkout-dialog > form {
  display: flex;
  flex-direction: column;
  max-height: 92dvh;
  min-height: 0;
  margin: 0;
}
.checkout-dialog .dialog-head,
.checkout-dialog .dialog-footer {
  position: static;
  flex: 0 0 auto;
}
.checkout-dialog .dialog-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 24px;
}
.guest-dialog .form-error,
.guest-dialog .checkout-error {
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  max-height: none;
  line-height: 1.6;
  scroll-margin-block: 24px;
  color: #b43b36;
}
.banquet-context,
.banquet-requirement {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #d7e1fa;
  border-radius: 16px;
  background: #edf2ff;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.banquet-requirement h3 { margin: 0 0 10px; font-size: 1rem; }
.banquet-context p,
.banquet-requirement p { margin: 10px 0 0; }
.banquet-requirement .btn {
  width: 100%;
  margin-top: 14px;
  white-space: normal;
  line-height: 1.5;
}
.banquet-portion { padding-top: 18px; border-top: 1px solid #dedee8; }
.banquet-portion h3 { margin: 0 0 16px; font-size: 1rem; }
.product-summary { line-height: 1.6; margin-top: 20px; }
.checkout-line { align-items: flex-start; gap: 12px; }
.checkout-line > span { min-width: 0; overflow-wrap: anywhere; }
.checkout-line small { display: block; margin-top: 5px; color: #737381; }
.checkout-line strong { white-space: nowrap; }
.checkout-bill { margin-bottom: 24px; }
.checkout-dialog .dialog-footer .btn { min-width: 0; white-space: normal; }
.guest-dialog .quantity button:disabled { opacity: 0.4; cursor: default; }
.menu-category-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.menu-category-picker .btn {
  display: flex;
  align-items: start;
  flex-direction: column;
  text-align: left;
  border: 1px solid #e4e4ed;
  border-radius: 17px;
  padding: 18px;
  min-height: 85px;
  font-size: 0.9rem;
  background: #f8f9fc;
  color: #303440;
}
.menu-category-picker span {
  color: #7c8090;
  font-size: 0.8rem;
}
.guest-view .tracking {
  font-size: 1rem;
}
.guest-view .tracking .track-icon,
.guest-view .tracking .timeline-step.done span {
  background: #4779ec;
  color: white;
}
@media (min-width: 1500px) {
  .food-hero {
    min-height: 700px;
  }
}
@media (max-width: 1000px) {
  .guest-top,
  .food-hero-copy {
    padding-left: 28px;
    padding-right: 28px;
  }
  .guest-content {
    padding: 0 28px;
  }
  .guest-nav {
    padding-left: 28px;
    padding-right: 28px;
  }
  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-service {
    padding: 18px 28px;
  }
  .guest-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 650px) {
  .food-hero {
    min-height: 525px;
  }
  .hero-photo {
    object-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #12111cba, #12111c25),
      linear-gradient(0deg, #10101c65, #10101c10 60%, #10101c55);
  }
  .guest-top {
    padding: 23px 20px;
    gap: 8px;
  }
  .restaurant-wordmark strong {
    font-size: 2rem;
  }
  .restaurant-wordmark small {
    font-size: 0.5rem;
    letter-spacing: 0.23em;
    margin-top: 7px;
  }
  .guest-top-actions {
    gap: 7px;
  }
  .guest-top-actions .btn {
    min-height: 43px;
    font-size: 0.75rem;
    padding: 10px 13px;
    gap: 6px;
  }
  .guest-top-actions .icon {
    width: 18px;
    height: 18px;
  }
  .guest-top-actions .bag-control {
    padding: 10px 12px;
  }
  .food-hero-copy {
    padding: 38px 23px 47px;
  }
  .hero-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.17em;
  }
  .food-hero-copy h1 {
    font-size: clamp(2.8rem, 11.3vw, 4.6rem);
    margin: 20px 0;
    line-height: 1.08;
  }
  .food-hero-copy p {
    font-size: 0.95rem;
  }
  .guest-menu .hero-cta {
    margin-top: 23px;
    padding: 13px 20px;
    font-size: 0.8rem;
  }
  .hero-service {
    padding: 15px 20px;
    gap: 8px;
    font-size: 0.75rem;
  }
  .hero-service span:nth-child(2) {
    display: none;
  }
  .hero-service span:last-child {
    font-size: 0.65rem;
  }
  .guest-nav {
    padding: 13px 16px;
    gap: 7px;
  }
  .guest-nav .btn {
    font-size: 0.8rem;
    min-height: 42px;
    padding: 10px 16px;
  }
  .guest-nav .nav-search {
    padding: 9px;
    width: 40px;
  }
  .guest-content {
    padding: 0 18px;
  }
  .food-section {
    padding: 37px 0 38px;
    scroll-margin-top: 76px;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 23px;
  }
  .section-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }
  .section-heading p {
    font-size: 0.875rem;
    margin-top: 10px;
    line-height: 1.65;
  }
  .section-count {
    display: none;
  }
  .carousel-controls {
    gap: 5px;
    align-self: center;
  }
  .guest-menu .carousel-control {
    width: 32px;
    height: 32px;
    min-height: 32px;
    font-size: 1.5rem;
  }
  .popular-section .section-heading h2 {
    font-size: 1.65rem;
  }
  .popular-section .section-heading p {
    display: none;
  }
  .food-carousel {
    gap: 14px;
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 14px;
  }
  .popular-card {
    flex-basis: 154px;
  }
  .popular-card .food-art {
    border-radius: 22px;
    aspect-ratio: 4 / 4.6;
  }
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 15px;
  }
  .food-art {
    border-radius: 24px;
    aspect-ratio: 4 / 5;
  }
  .food-info {
    padding-top: 13px;
  }
  .food-info h3 {
    font-size: 0.94rem;
    line-height: 1.4;
  }
  .food-info p {
    font-size: 0.95rem;
    margin-top: 7px;
  }
  .food-info small,
  .food-info p span {
    font-size: 0.7rem;
  }
  .food-add {
    width: 44px;
    height: 44px;
    border-width: 4px;
  }
  .food-add .icon {
    width: 20px;
    height: 20px;
  }
  .food-badge {
    left: 9px;
    top: 9px;
    font-size: 0.55rem;
    padding: 6px 8px;
  }
  .guest-footer {
    padding: 46px 24px 25px;
  }
  .footer-main {
    flex-direction: column;
    gap: 28px;
    padding-bottom: 32px;
  }
  .guest-footer h2 {
    font-size: 2.8rem;
    max-width: 310px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-bottom small {
    order: 3;
    width: 100%;
    line-height: 1.6;
  }
  .footer-bottom .text-button {
    margin-left: auto;
  }
  .menu-end {
    padding: 40px 6px 45px;
  }
  .menu-end h2 {
    font-size: 1.8rem;
  }
  .menu-end p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .guest-cart-dock {
    bottom: max(12px, env(safe-area-inset-bottom));
    border-radius: 24px;
    padding: 12px;
    gap: 12px;
  }
  .guest-cart-dock .btn {
    padding: 14px 22px;
    font-size: 0.85rem;
  }
  .guest-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 30px 30px 0 0;
  }
  .guest-dialog .dialog-head {
    padding: 19px 21px;
  }
  .guest-dialog .dialog-body {
    padding: 23px;
  }
  .guest-dialog .product-photo {
    height: 245px;
    margin: -23px -23px 23px;
  }
  .guest-dialog .dialog-footer {
    padding: 16px 21px max(18px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .food-image-button img {
    transition: none;
  }
}
.demo-home {
  max-width: 650px;
  margin: auto;
  padding: 60px 28px;
}
.demo-home .brand {
  margin-bottom: 60px;
}
.demo-home h1 {
  font-size: clamp(3.5rem, 8vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 1.05;
}
.demo-home p {
  color: #6b737e;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 25px 0;
}
.demo-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0;
}
.demo-roles .btn {
  justify-content: center;
  min-height: 60px;
  border-radius: 20px;
}
.demo-roles .btn:first-child {
  grid-column: 1/-1;
  background: #4779ec;
  color: white;
}
.demo-home small {
  color: #737381;
}
/* Item detail: edge-to-edge imagery, a soft fade, and a persistent floating action. */
.guest-dialog.product-dialog {
  width: min(640px, calc(100% - 32px));
  height: min(900px, 92dvh);
  max-height: 92dvh;
  padding: 0;
  overflow: hidden;
  background: #171921;
}
.product-dialog > form {
  position: relative;
  height: 100%;
  margin: 0;
}
.product-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  scroll-padding-bottom: 120px;
}
.product-scroll::-webkit-scrollbar {
  display: none;
}
.product-intro {
  background: #171921;
  color: white;
}
.product-hero-image {
  position: relative;
  height: 340px;
}
.product-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 48%,
    #17192128 65%,
    #171921b3 84%,
    #171921 100%
  );
}
.product-intro-copy {
  position: relative;
  padding: 0 28px 32px;
  margin-top: -28px;
}
.product-intro-copy h2 {
  color: white;
  font-size: 2rem;
  line-height: 1.17;
  letter-spacing: -0.04em;
  font-weight: 740;
}
.product-base-price {
  margin: 17px 0 19px;
  font-size: 1.2rem;
  font-weight: 700;
}
.product-base-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #cacbd3;
}
.product-description {
  color: #e1e0e6;
  font-size: 0.95rem;
  line-height: 1.7;
}
.product-close {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 17px;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: white;
  color: #171921;
  box-shadow: 0 2px 16px #0001;
  display: grid;
  place-items: center;
}
.product-options {
  background: #f8f6f3;
  color: #23252f;
  border-radius: 28px 28px 0 0;
  padding: 29px 27px 125px;
  min-height: 250px;
}
.product-options .modifier-group {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}
.product-options .modifier-group legend {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: 10px;
}
.product-options .modifier-group legend span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 6px;
}
.product-options .check {
  padding: 12px 0;
  min-height: 48px;
}
.product-options .field {
  font-size: 0.95rem;
}
.product-options .alert {
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.product-action-bar {
  position: absolute;
  z-index: 6;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 24px;
  right: 24px;
  pointer-events: none;
}
.product-action-bar .product-submit {
  pointer-events: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 25px;
  min-height: 62px;
  font-size: 1rem;
  font-weight: 650;
  border-radius: 999px;
  box-shadow: 0 7px 30px #102c6026;
}
.product-action-bar strong {
  font-weight: 500;
}
.product-recommendations {
  border-top: 1px solid #e1deda;
  margin: 30px -27px 0;
  padding: 28px 0 0;
}
.recommendation-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 0 27px;
}
.recommendation-heading h3 {
  font-size: 1.25rem;
  font-weight: 720;
  letter-spacing: -0.025em;
}
.recommendation-heading > span {
  color: #77737d;
  font-size: 0.8rem;
}
.product-recommendations > p {
  padding: 0 27px;
  font-size: 0.8rem;
  color: #797581;
  margin: 9px 0 20px;
}
.recommendation-rail {
  display: flex;
  overflow: auto;
  gap: 15px;
  padding: 0 27px 15px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #d4d0ca transparent;
}
.recommendation-card {
  flex: 0 0 140px;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  scroll-snap-align: center;
}
.recommendation-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.recommendation-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  position: relative;
  margin-bottom: 3px;
}
.recommendation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.recommendation-check {
  display: grid;
  place-items: center;
  position: absolute;
  right: 9px;
  top: 9px;
  width: 25px;
  height: 25px;
  border: 2px solid white;
  border-radius: 50%;
  color: transparent;
  background: #ffffffcf;
  box-shadow: 0 1px 4px #0002;
}
.recommendation-check .icon {
  width: 17px;
  height: 17px;
}
.recommendation-card input:checked + .recommendation-image {
  outline: 3px solid #4779ec;
  outline-offset: -2px;
}
.recommendation-card input:checked + .recommendation-image .recommendation-check {
  background: #4779ec;
  color: white;
}
.recommendation-card input:focus-visible + .recommendation-image {
  outline: 3px solid #4779ec;
  outline-offset: 3px;
}
.recommendation-card strong {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 650;
}
.recommendation-card > span:last-child {
  font-size: 0.85rem;
  color: #72707b;
}
.recommendation-card.preview {
  cursor: default;
}
@media (max-width: 650px) {
  .guest-dialog.product-dialog {
    width: 100%;
    max-width: 100%;
    height: 94dvh;
    max-height: 94dvh;
    border-radius: 28px 28px 0 0;
  }
  .product-hero-image {
    height: clamp(260px, 42dvh, 360px);
  }
  .product-intro-copy {
    padding: 0 23px 28px;
    margin-top: -22px;
  }
  .product-intro-copy h2 {
    font-size: 1.8rem;
  }
  .product-description {
    font-size: 0.9rem;
  }
  .product-options {
    padding-left: 23px;
    padding-right: 23px;
  }
  .product-recommendations {
    margin-left: -23px;
    margin-right: -23px;
  }
  .recommendation-heading,
  .product-recommendations > p {
    padding-left: 23px;
    padding-right: 23px;
  }
  .recommendation-rail {
    padding-left: 23px;
    padding-right: 23px;
  }
  .recommendation-card {
    flex-basis: 130px;
  }
  .product-action-bar {
    left: 18px;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
  .product-action-bar .product-submit {
    padding: 18px 24px;
    min-height: 58px;
    font-size: 0.9rem;
  }
}

/* Seating confirmation and named groups on a shared table bill. */
.table-confirm-dialog { max-width: 510px; }
.table-confirm-symbol { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; color: #3476f6; background: #eaf0ff; margin: 2px 0 22px; }
.table-confirm-symbol .icon { width: 32px; height: 32px; }
.table-confirm-copy { font-size: 18px; line-height: 1.5; margin-bottom: 12px; }
.table-confirm-dialog .muted { line-height: 1.65; }
.table-confirm-actions { display: grid; gap: 10px; margin-top: 26px; }
.guest-item-group { border-top: 1px solid #dfe3ec; padding-top: 15px; margin-top: 15px; }
.guest-item-group:first-child { margin-top: 0; }
.guest-item-name { margin: 0 0 8px; font-size: 12px; font-weight: 650; color: #61708b; letter-spacing: .03em; }
.tracking .guest-item-group .detail-line:last-child { border-bottom: 0; }

/* Guest tracking: the menu's photography, cream surfaces and rounded blue controls. */
body.guest-view .guest-tracking {
  --tracking-blue: #4779ec;
  --tracking-blue-ink: #2f5fc8;
  --tracking-gutter: clamp(24px, 3.5vw, 42px);
  --tracking-left: max(var(--tracking-gutter), env(safe-area-inset-left, 0px));
  --tracking-right: max(var(--tracking-gutter), env(safe-area-inset-right, 0px));
  min-width: 0;
  min-height: 100vh;
  padding-bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
  background: #f8f6f3;
  color: #20212a;
  font-size: 1rem;
  line-height: 1.5;
  color-scheme: light;
}

body.guest-view .guest-tracking :is(a, button):focus-visible {
  outline: 3px solid var(--tracking-blue);
  outline-offset: 5px;
}

body.guest-view .guest-tracking :is(a, button) {
  scroll-margin-block: 1.5rem 11rem;
}

body.guest-view .guest-tracking .btn {
  border-radius: 999px;
  font-weight: 650;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

body.guest-view .guest-tracking .btn.primary {
  border-color: var(--tracking-blue);
  background: var(--tracking-blue);
  color: #fff;
}

body.guest-view .guest-tracking .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

body.guest-view .guest-tracking .section-kicker {
  color: #4c70b6;
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.16em;
}

/* A short, photographic hero leaves the order itself close at hand. */
body.guest-view .tracking-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 32vw, 420px);
  background: #27241f;
  color: #fff;
}

body.guest-view .tracking-hero-photo,
body.guest-view .tracking-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.guest-view .tracking-hero-photo {
  display: block;
  object-fit: cover;
  object-position: center 57%;
}

body.guest-view .tracking-hero-shade {
  background:
    linear-gradient(180deg, #17192178 0%, #17192120 28%, #171921a8 65%, #171921 100%),
    linear-gradient(90deg, #17192185, #17192100 80%);
  pointer-events: none;
}

body.guest-view .tracking-hero .guest-top {
  align-items: flex-start;
  gap: 1.25rem;
  width: min(1320px, 100%);
  padding: max(24px, env(safe-area-inset-top, 0px)) var(--tracking-right) 18px var(--tracking-left);
}

body.guest-view .tracking-hero .restaurant-wordmark {
  min-width: 0;
  max-width: 65%;
}

body.guest-view .tracking-hero .restaurant-wordmark strong {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-hero .restaurant-wordmark small {
  line-height: 1.6;
}

body.guest-view .tracking-hero .restaurant-wordmark img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

body.guest-view .tracking-table {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: 45%;
  min-height: 42px;
  padding: 0.625rem 0.875rem;
  border: 1px solid #ffffff45;
  border-radius: 999px;
  background: #17192165;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.guest-view .tracking-table .icon {
  width: 18px;
  height: 18px;
}

body.guest-view .tracking-hero-copy {
  position: relative;
  width: min(1320px, 100%);
  margin: auto auto 0;
  padding: 1.75rem var(--tracking-right) 4rem var(--tracking-left);
}

body.guest-view .tracking-hero-copy .hero-kicker {
  color: #e7edff;
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
}

body.guest-view .tracking-hero-copy h1 {
  max-width: 20ch;
  margin: 0.875rem 0 1rem;
  color: #fff;
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  font-weight: 790;
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

body.guest-view .tracking-hero-copy p {
  max-width: 42rem;
  color: #f5f2eee8;
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

body.guest-view .tracking-hero :is(a, button):focus-visible {
  outline-color: #fff;
}

/* Progress stays horizontal, including at 320px. */
body.guest-view .tracking-content {
  position: relative;
  width: min(1236px, calc(100% - var(--tracking-left) - var(--tracking-right)));
  min-width: 0;
  margin-inline: auto;
}

body.guest-view .tracking-progress {
  position: relative;
  margin-top: -1.5rem;
  padding: 1.75rem 2rem 1rem;
  border: 1px solid #e9e4de;
  border-radius: 24px;
  background: #fffdfa;
  box-shadow: 0 12px 36px #3c30200a;
}

body.guest-view .tracking-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

body.guest-view .tracking-status-heading > div {
  min-width: 0;
}

body.guest-view .tracking-status-heading .section-kicker {
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-status-heading h2 {
  color: #20212a;
  font-size: clamp(1.375rem, 2.3vw, 1.875rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

body.guest-view .tracking-status-pill {
  flex: 0 1 auto;
  max-width: 40%;
  padding: 0.5625rem 0.875rem;
  border: 1px solid #d9e3fa;
  border-radius: 999px;
  background: #edf2ff;
  color: #315dbd;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-transform: capitalize;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 1.75rem 0 1.375rem;
  padding: 0;
  list-style: none;
}

body.guest-view .tracking-steps > li {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.625rem;
  min-width: 0;
  padding-inline: 0.125rem;
  text-align: center;
}

body.guest-view .tracking-steps > li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: calc(50% + 1.375rem);
  width: calc(100% - 2.75rem);
  height: 2px;
  border-radius: 1px;
  background: #e0e4ec;
}

body.guest-view .tracking-steps > li.complete::after {
  background: #8dacf2;
}

body.guest-view .tracking-steps > li > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #d8dce6;
  border-radius: 50%;
  background: #f4f3f1;
  color: #767883;
  font-size: 0.75rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

body.guest-view .tracking-steps > li > strong {
  max-width: 100%;
  color: #73737d;
  font-size: 0.8125rem;
  font-weight: 550;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-steps > li.complete > span {
  border-color: #d6e1fb;
  background: #eaf0ff;
  color: #2f5fc8;
}

body.guest-view .tracking-steps > li.complete > strong {
  color: #405b92;
}

body.guest-view .tracking-steps > li.current > span {
  border-color: var(--tracking-blue);
  background: var(--tracking-blue);
  color: #fff;
  box-shadow: 0 0 0 5px #edf2ff;
}

body.guest-view .tracking-steps > li.current > strong {
  color: #2f5fc8;
  font-weight: 750;
}

body.guest-view .tracking-steps .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

body.guest-view .tracking-eta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e0e7f5;
  border-radius: 12px;
  background: #f0f4fd;
  color: #4e6083;
  font-size: 0.8125rem;
  line-height: 1.5;
}

body.guest-view .tracking-eta > span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

body.guest-view .tracking-eta .icon {
  width: 18px;
  height: 18px;
  color: #4779ec;
}

body.guest-view .tracking-eta > strong {
  min-width: 0;
  color: #2f5fc8;
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-live-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #ebe6df;
  color: #77747b;
  font-size: 0.75rem;
  line-height: 1.5;
}

body.guest-view .tracking-live-note > span {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

body.guest-view .tracking-live-note i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--tracking-blue);
  box-shadow: 0 0 0 3px #e8effe;
}

body.guest-view .tracking-live-note .text-button {
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  border: 0;
  background: transparent;
  color: #315dbd;
  font-size: 0.75rem;
  text-decoration: underline;
  text-decoration-color: #b5c5e9;
  text-underline-offset: 0.25em;
}

/* Named guests and food images carry the visual language of the menu. */
body.guest-view .tracking-bill-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: 3rem;
}

body.guest-view .tracking-dishes {
  min-width: 0;
}

body.guest-view .tracking-dishes .section-heading {
  margin-bottom: 1.75rem;
}

body.guest-view .tracking-dishes .section-heading > div {
  min-width: 0;
}

body.guest-view .tracking-dishes .section-heading h2 {
  font-size: clamp(1.875rem, 3vw, 2.55rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

body.guest-view .tracking-dishes .section-heading p {
  margin-top: 0.75rem;
  color: #77716d;
  font-size: 0.9375rem;
  line-height: 1.7;
}

body.guest-view .guest-tracking .guest-item-group {
  min-width: 0;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e1dcd6;
}

body.guest-view .tracking-dishes > .guest-item-group:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.guest-view .guest-tracking .guest-item-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #e9edf6;
  color: #4a5f88;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

body.guest-view .guest-tracking .guest-item-name::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tracking-blue);
}

body.guest-view .tracking-dish {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  padding: 1.125rem 0;
  border-bottom: 1px solid #e9e4dd;
}

body.guest-view .tracking-dish:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.guest-view .tracking-dish-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: #e7e2da;
}

body.guest-view .tracking-dish-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.guest-view .tracking-dish-photo > span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  min-width: 26px;
  max-width: calc(100% - 12px);
  min-height: 26px;
  padding: 0.1875rem 0.375rem;
  border: 1px solid #ffffffcc;
  border-radius: 999px;
  background: #fffffff2;
  color: #252630;
  box-shadow: 0 2px 8px #27241f12;
  font-size: 0.6875rem;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-dish-copy {
  min-width: 0;
}

body.guest-view .tracking-dish-copy h3 {
  color: #252630;
  font-size: 1.0625rem;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-dish-copy p {
  margin-top: 0.3125rem;
  color: #77716d;
  font-size: 0.8125rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-dish > strong {
  min-width: 0;
  max-width: 8rem;
  color: #292a34;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* A quiet receipt sits beside the food on desktop and follows it on mobile. */
body.guest-view .tracking-receipt {
  position: sticky;
  top: 1.5rem;
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid #e5e0d9;
  border-radius: 24px;
  background: #fffdfa;
  box-shadow: 0 12px 30px #493a2407;
}

body.guest-view .tracking-receipt .section-kicker {
  margin-bottom: 0.625rem;
}

body.guest-view .tracking-receipt h2 {
  margin-bottom: 1.5rem;
  color: #252630;
  font-size: 1.625rem;
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

body.guest-view .tracking-receipt .total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.375rem 1rem;
  padding-block: 0.625rem;
  color: #74717a;
  font-size: 0.875rem;
  line-height: 1.5;
}

body.guest-view .tracking-receipt .total-row > strong {
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  color: #292a34;
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-receipt .total-row.final {
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #d8d3cb;
  color: #252630;
  font-size: 1rem;
  font-weight: 650;
}

body.guest-view .tracking-receipt .total-row.final > strong {
  color: #2f5fc8;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

body.guest-view .tracking-receipt > p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ede8e1;
  color: #77716d;
  font-size: 0.8125rem;
  line-height: 1.8;
}

body.guest-view .tracking-receipt > .btn {
  gap: 0.625rem;
  min-height: 48px;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
}

body.guest-view .tracking-receipt > .btn .icon {
  width: 18px;
  height: 18px;
}

body.guest-view .tracking-footer {
  display: grid;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e4dfd8;
  color: #7a7470;
  text-align: center;
}

body.guest-view .tracking-footer > p {
  color: #38343b;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

body.guest-view .tracking-footer > span {
  font-size: 0.75rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-footer > span strong {
  color: #64616a;
  font-weight: 650;
  letter-spacing: -0.025em;
}

body.guest-view .tracking-footer > small {
  font-size: 0.6875rem;
  line-height: 1.7;
}

/* This dock stays fixed; no parent transform or overflow clips its controls. */
body.guest-view .tracking-action-dock {
  position: fixed;
  z-index: 45;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  left: max(16px, env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  max-width: 760px;
  margin-inline: auto;
  padding: 0.75rem 0.875rem 0.75rem 1.75rem;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #3463cc;
  color: #fff;
  box-shadow:
    0 12px 38px #173b8033,
    0 0 0 5px #f8f6f3c7;
}

body.guest-view .tracking-dock-summary {
  min-width: 0;
  padding-right: 0.5rem;
}

body.guest-view .tracking-dock-summary small {
  display: block;
  color: #eef3ff;
  font-size: 0.6875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-dock-summary strong {
  display: block;
  margin-top: 0.125rem;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-action-dock > .btn {
  gap: 0.625rem;
  min-width: 0;
  min-height: 50px;
  padding: 0.875rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

body.guest-view .tracking-action-dock > .btn > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.guest-view .tracking-action-dock > .btn .icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

body.guest-view .tracking-action-dock > .tracking-call {
  border-color: #ffffff85;
  background: #ffffff0d;
  color: #fff;
}

body.guest-view .tracking-action-dock > .btn.primary {
  border-color: #fff;
  background: #fff;
  color: #2d59ba;
}

body.guest-view .tracking-action-dock > a.btn {
  grid-column: 2 / -1;
}

body.guest-view .tracking-action-dock > .btn:focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #244ca4;
}

body.guest-view:has(.guest-tracking) #toast {
  bottom: calc(7rem + env(safe-area-inset-bottom, 0px));
}

@media (hover: hover) {
  body.guest-view .guest-tracking .btn:hover:not(:disabled) {
    filter: none;
    transform: none;
  }

  body.guest-view .guest-tracking .btn.primary:hover:not(:disabled) {
    border-color: #3463cc;
    background: #3463cc;
  }

  body.guest-view .tracking-live-note .text-button:hover:not(:disabled) {
    background: #eaf0ff;
    color: #274f9f;
  }

  body.guest-view .tracking-action-dock > .tracking-call:hover:not(:disabled) {
    border-color: #fff;
    background: #ffffff26;
  }

  body.guest-view .tracking-action-dock > .btn.primary:hover:not(:disabled) {
    border-color: #edf2ff;
    background: #edf2ff;
    color: #234a9e;
  }
}

@media (max-width: 920px) {
  body.guest-view .tracking-bill-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  body.guest-view .tracking-receipt {
    position: static;
  }
}

@media (max-width: 650px) {
  body.guest-view .guest-tracking {
    --tracking-gutter: clamp(16px, 4.6vw, 20px);
    padding-bottom: calc(10.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.guest-view .tracking-hero {
    min-height: clamp(300px, 90vw, 380px);
  }

  body.guest-view .tracking-hero-photo {
    object-position: 62% center;
  }

  body.guest-view .tracking-hero .guest-top {
    gap: 0.75rem;
    padding-top: max(20px, env(safe-area-inset-top, 0px));
    padding-bottom: 1rem;
  }

  body.guest-view .tracking-hero .restaurant-wordmark {
    max-width: 62%;
  }

  body.guest-view .tracking-hero .restaurant-wordmark strong {
    font-size: 1.875rem;
  }

  body.guest-view .tracking-hero .restaurant-wordmark small {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
  }

  body.guest-view .tracking-hero .restaurant-wordmark img {
    width: 125px;
    height: 54px;
  }

  body.guest-view .tracking-table {
    gap: 0.375rem;
    max-width: 44%;
    min-height: 38px;
    padding: 0.5625rem 0.75rem;
    font-size: 0.6875rem;
  }

  body.guest-view .tracking-table .icon {
    width: 16px;
    height: 16px;
  }

  body.guest-view .tracking-hero-copy {
    padding-top: 1rem;
    padding-bottom: 3.25rem;
  }

  body.guest-view .tracking-hero-copy .hero-kicker {
    font-size: 0.5625rem;
    letter-spacing: 0.14em;
  }

  body.guest-view .tracking-hero-copy h1 {
    max-width: 17ch;
    margin: 0.75rem 0 0.875rem;
    font-size: clamp(2.125rem, 8.5vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
  }

  body.guest-view .tracking-hero-copy p {
    max-width: 33rem;
    font-size: 0.875rem;
    line-height: 1.65;
  }

  body.guest-view .tracking-progress {
    margin-top: -1.25rem;
    padding: 1.25rem 1.125rem 0.5rem;
    border-radius: 20px;
  }

  body.guest-view .tracking-status-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
  }

  body.guest-view .tracking-status-heading > div {
    flex: 1 1 15rem;
  }

  body.guest-view .tracking-status-heading h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  body.guest-view .tracking-status-pill {
    max-width: 100%;
    padding: 0.375rem 0.6875rem;
    font-size: 0.6875rem;
  }

  body.guest-view .tracking-steps {
    margin: 1.5rem -0.25rem 1.25rem;
  }

  body.guest-view .tracking-steps > li > strong {
    font-size: 0.6875rem;
  }

  body.guest-view .tracking-eta {
    padding: 0.75rem;
    font-size: 0.75rem;
  }

  body.guest-view .tracking-live-note {
    gap: 0.25rem;
    margin-top: 0.75rem;
    font-size: 0.6875rem;
  }

  body.guest-view .tracking-live-note .text-button {
    padding-inline: 0.5rem;
  }

  body.guest-view .tracking-bill-layout {
    gap: 2rem;
    padding-top: 2.25rem;
  }

  body.guest-view .tracking-dishes .section-heading {
    margin-bottom: 1.5rem;
  }

  body.guest-view .tracking-dishes .section-heading h2 {
    font-size: clamp(1.65rem, 7.2vw, 2rem);
  }

  body.guest-view .tracking-dishes .section-heading p {
    font-size: 0.875rem;
  }

  body.guest-view .guest-tracking .guest-item-group {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  body.guest-view .tracking-dishes > .guest-item-group:first-of-type {
    margin-top: 0;
    padding-top: 0;
  }

  body.guest-view .guest-tracking .guest-item-name {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
  }

  body.guest-view .tracking-dish {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.875rem;
    padding-block: 1rem;
  }

  body.guest-view .tracking-dish-photo {
    border-radius: 15px;
  }

  body.guest-view .tracking-dish-photo > span {
    right: 4px;
    bottom: 4px;
    min-width: 23px;
    min-height: 23px;
    font-size: 0.625rem;
  }

  body.guest-view .tracking-dish-copy {
    padding-top: 0.125rem;
  }

  body.guest-view .tracking-dish-copy h3 {
    font-size: 0.9375rem;
    line-height: 1.4;
  }

  body.guest-view .tracking-dish-copy p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  body.guest-view .tracking-dish > strong {
    max-width: 5rem;
    padding-top: 0.1875rem;
    font-size: 0.8125rem;
  }

  body.guest-view .tracking-receipt {
    padding: 1.5rem;
    border-radius: 20px;
  }

  body.guest-view .tracking-receipt h2 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
  }

  body.guest-view .tracking-footer {
    gap: 0.625rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  body.guest-view .tracking-action-dock {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: 0.625rem 0.5rem;
    padding: 0.75rem;
    border-radius: 24px;
    box-shadow:
      0 8px 28px #173b8038,
      0 0 0 4px #f8f6f3c7;
  }

  body.guest-view .tracking-dock-summary {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0 0.375rem;
  }

  body.guest-view .tracking-dock-summary small {
    min-width: 0;
    font-size: 0.6875rem;
  }

  body.guest-view .tracking-dock-summary strong {
    flex: 0 1 auto;
    min-width: 0;
    margin-top: 0;
    font-size: 1.125rem;
    text-align: right;
  }

  body.guest-view .tracking-action-dock > .btn {
    gap: 0.375rem;
    min-height: 50px;
    padding: 0.8125rem 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  body.guest-view .tracking-action-dock > .btn .icon {
    width: 17px;
    height: 17px;
  }

  body.guest-view .tracking-action-dock > a.btn {
    grid-column: 1 / -1;
  }

  body.guest-view:has(.guest-tracking) #toast {
    bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  body.guest-view .tracking-dish {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 0.625rem;
  }

  body.guest-view .tracking-dish > strong {
    max-width: 4.5rem;
    font-size: 0.75rem;
  }

  body.guest-view .tracking-action-dock {
    padding: 0.625rem;
  }

  body.guest-view .tracking-action-dock > .btn {
    padding-inline: 0.375rem;
    font-size: 0.75rem;
  }

  body.guest-view .tracking-receipt {
    padding-inline: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.guest-view .guest-tracking .btn {
    transition: none;
  }
}
.cart-seating-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid #e2e1e9; }
.cart-seating-form > button, .cart-seating-form .form-error { grid-column: 1 / -1; }
.cart-seating-form .field { margin: 0; min-width: 0; }
.cart-existing { background: #f1f3fa; border-radius: 18px; padding: 18px; margin-bottom: 24px; }
.cart-existing h3 { font-size: 15px; }
.cart-existing .pill { flex-shrink: 0; font-size: 11px; }
.cart-existing-line { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; font-size: 13px; }
.cart-existing-line strong { white-space: nowrap; }
.cart-existing .total-row { font-size: 13px; }
.cart-new-heading { font-size: 17px; margin-bottom: 15px; }
@media (max-width: 420px) { .cart-seating-form { grid-template-columns: 1fr; } }
.menu-help-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 48px; }
.menu-help-actions .menu-help-tile { display: flex; flex-direction: column; min-height: 144px; padding: 24px 16px; border: 0; border-radius: 20px; background: #fff; color: #20212a; gap: 7px; }
.menu-help-tile .icon { width: 28px; height: 28px; color: #4779ec; margin-bottom: 5px; }
.menu-help-tile strong { font-size: 19px; font-weight: 760; }
.menu-help-tile span { font-size: 12px; font-weight: 450; color: #737381; }
.menu-help-actions .menu-help-tile:hover { background: #edf2ff; }
.group-order-intro { margin-bottom: 22px; color: #737381; line-height: 1.65; }
@media(max-width:600px) { .menu-help-actions { gap: 12px; margin: 22px 0 36px; } .menu-help-actions .menu-help-tile { min-height: 124px; padding: 20px 8px; border-radius: 15px; } .menu-help-tile strong { font-size: 15px; } .menu-help-tile span { font-size: 10px; } }
