/* Open Sans v44, self-hosted under the SIL Open Font License 1.1. */
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-stretch: 100%;
  font-style: normal;
  font-weight: 300 800;
  src: url("../assets/fonts/open-sans/open-sans-v44-latin-ext-300-800.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-stretch: 100%;
  font-style: normal;
  font-weight: 300 800;
  src: url("../assets/fonts/open-sans/open-sans-v44-latin-300-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Shared cross-route UI */

:root {
  --hotmat-brand-red: #f63d41;
  --hotmat-brand-red-dark: #d90d18;
  --hotmat-ink: #334444;
  --hotmat-muted: #737487;
  --hotmat-wide-max: 1440px;
  --hotmat-content-max: 1312px;
  --hotmat-page-gutter: clamp(16px, 4vw, 64px);
  --restaurant-shell-wide-max: var(--hotmat-wide-max);
  --restaurant-shell-content-max: var(--hotmat-content-max);
  --restaurant-shell-page-gutter: var(--hotmat-page-gutter);
  --checkout-card-max: 896px;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar,
.topbar * {
  box-sizing: border-box;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 50%;
  max-width: var(--hotmat-wide-max);
  padding: 20px var(--hotmat-page-gutter);
  position: absolute;
  right: auto;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, var(--hotmat-wide-max));
  z-index: 3;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar .topbar-logo {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

.topbar .topbar-logo-wordmark {
  color: var(--hotmat-brand-red);
  display: block;
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.42));
  height: 27px;
  width: auto;
}

.topbar .top-actions {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 400;
  gap: 12px;
  justify-content: flex-end;
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
}

.topbar .top-link {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  min-height: 34px;
  padding: 8px 4px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.topbar .top-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topbar .partner-menu-wrap {
  position: relative;
}

.topbar .partner-menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  gap: 5px;
}

.topbar .partner-chevron {
  fill: none;
  flex: 0 0 auto;
  height: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  transition: transform 180ms ease;
  width: 13px;
}

.topbar .partner-menu-button[aria-expanded="true"] .partner-chevron {
  transform: rotate(180deg);
}

.topbar .partner-menu {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--hotmat-ink, #334444);
  left: 0;
  min-width: 160px;
  opacity: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 10px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
  z-index: 10;
}

.topbar .partner-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.topbar .partner-option {
  align-items: center;
  border-radius: 10px;
  color: var(--hotmat-ink, #334444);
  display: flex;
  font-size: 15px;
  line-height: 1;
  min-height: 42px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 120ms ease;
}

.topbar .partner-option:hover,
.topbar .partner-option:focus-visible {
  background: #f4f4f4;
  outline: 0;
}

.topbar .top-pill {
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  height: 34px;
  justify-content: center;
  padding: 0 14px;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.topbar .top-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.topbar .top-pill:active {
  transform: translateY(1px);
}

.topbar .top-icon {
  fill: none;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.topbar .language-menu-wrap {
  position: relative;
}

.topbar .language-button,
.topbar .profile-button {
  font-size: 16px;
  font-weight: 400;
}

.topbar .language-chevron {
  fill: none;
  flex: 0 0 auto;
  height: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  transition: transform 180ms ease;
  width: 13px;
}

.topbar .language-button[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.topbar .language-menu {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--hotmat-ink, #334444);
  min-width: 220px;
  opacity: 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
  z-index: 10;
}

.topbar .language-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.topbar .language-menu-title {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 8px 12px 6px;
  text-transform: uppercase;
}

.topbar .language-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--hotmat-ink, #334444);
  cursor: pointer;
  display: flex;
  font-size: 15px;
  gap: 12px;
  line-height: 1;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
  transition: background 120ms ease;
  width: 100%;
}

.topbar .language-option:hover {
  background: #f4f4f4;
}

.topbar .language-option:focus-visible {
  outline: 2px solid rgba(51, 68, 68, 0.28);
  outline-offset: 2px;
}

.topbar .language-option.selected {
  font-weight: 700;
}

.topbar .language-code {
  align-items: center;
  background: #f0f0f0;
  border-radius: 7px;
  color: #555555;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 34px;
}

.topbar .language-option.selected .language-code {
  background: #1a1a1a;
  color: #ffffff;
}

.topbar .language-name {
  flex: 1;
}

.topbar .language-check {
  color: var(--hotmat-ink, #334444);
  fill: none;
  flex: 0 0 auto;
  height: 16px;
  opacity: 0;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transform: scale(0.6);
  transition: opacity 120ms ease, transform 120ms ease;
  width: 16px;
}

.topbar .language-option.selected .language-check {
  opacity: 1;
  transform: scale(1);
}

.topbar .top-link:focus-visible,
.topbar .top-pill:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .topbar .profile-button.top-pill {
    flex: 0 0 32px;
    gap: 0;
    padding: 0;
    width: 32px;
  }

  .topbar .account-menu-button.profile-button.top-pill {
    flex: 0 0 50px;
    gap: 4px;
    width: 50px;
  }

  .topbar .profile-button span {
    display: none;
  }
}

@media (max-width: 768px) {
  .topbar {
    gap: 10px;
    padding: 14px 16px;
  }

  .topbar .topbar-logo-wordmark {
    height: 24px;
  }

  .topbar .top-actions {
    gap: 8px;
  }

  .topbar .top-link {
    display: none;
  }

  .topbar .partner-menu-button.top-link {
    display: inline-flex;
    font-size: 14px;
    min-height: 32px;
    padding: 8px 2px;
  }

  .topbar .top-pill {
    font-size: 14px;
    height: 32px;
    padding: 0 12px;
  }

  .topbar .language-button-code {
    display: none;
  }
}

@media (max-width: 480px) {
  .topbar .partner-menu-wrap {
    display: none;
  }

  .topbar .top-pill {
    padding: 0 10px;
  }
}

@media (min-width: 700px) {
  .topbar .topbar-logo-wordmark {
    height: 30px;
  }
}

@media (min-width: 1024px) {
  .topbar .top-actions {
    gap: 12px;
    font-size: 16px;
  }

  .topbar .language-button.top-pill {
    padding-right: 15px;
    padding-left: 16px;
  }
}

.order-history-page-body,
.cities-page-body,
.receipt-page-body {
  background: #ffffff;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

.cities-page-main {
  box-sizing: border-box;
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
}

.receipt-page-main {
  box-sizing: border-box;
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
}

.order-history-page-main {
  box-sizing: border-box;
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
}

.page-breadcrumb {
  color: #415058;
  font-size: 13px;
  line-height: 1.3;
  min-width: 0;
  width: 100%;
}

.page-breadcrumb ol {
  align-items: center;
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.page-breadcrumb__item,
.page-breadcrumb a {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

.page-breadcrumb__item--home,
.page-breadcrumb__separator {
  flex: 0 0 auto;
}

.page-breadcrumb a {
  color: #46545b;
  max-width: 100%;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--hotmat-brand-red-dark);
}

.page-breadcrumb a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(246, 61, 65, 0.28);
  outline-offset: 3px;
}

.page-breadcrumb__label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-breadcrumb__home-icon {
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 18px;
}

.page-breadcrumb__separator {
  align-items: center;
  display: inline-flex;
}

.page-breadcrumb__separator-icon {
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 14px;
}

@media screen and (max-width: 390px) {
  .page-breadcrumb {
    font-size: 12px;
  }
}

.site-footer {
  --content-max: 1180px;

  margin-top: 0;
  padding: 48px 24px 28px;
  color: var(--hotmat-ink);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-top: 1px solid #eeece9;
  background: #ffffff;
}

.order-history-page-body .site-footer,
.cities-page-body .site-footer,
.receipt-page-body .site-footer {
  margin-top: auto;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  display: block;
  width: 142px;
}

.footer-logo svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--hotmat-brand-red);
}

.footer-tagline {
  margin: 0;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.4;
}

.app-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.app-store-badge {
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  border-radius: 7px;
}

.app-store-badge svg {
  display: block;
  width: auto;
  height: 40px;
}

.app-store-badge[data-store="google"] svg {
  width: 135px;
}

.app-store-badge:focus-visible {
  outline: 3px solid var(--hotmat-brand-red);
  outline-offset: 3px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  display: inline-flex;
  color: var(--hotmat-ink);
  transition: color 0.15s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--hotmat-brand-red);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.footer-links a {
  color: var(--hotmat-ink);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--hotmat-brand-red);
}

.footer-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.footer-pay-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 100%;
  width: fit-content;
}

.footer-pay h3 {
  margin: 0;
  color: var(--hotmat-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.footer-payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 36px;
  padding: 6px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #ffffff;
}

.footer-payment-method img,
.footer-payment-method svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-method--visa img {
  width: 40px;
  height: auto;
}

.payment-method--klarna {
  width: 66px;
  padding: 0;
  border: none;
  background: transparent;
}

.payment-method--klarna svg {
  width: 100%;
  height: auto;
}

.payment-method--swish {
  width: 78px;
  padding-right: 8px;
  padding-left: 8px;
}

.payment-method--apple-pay {
  width: 58px;
  padding: 0;
  border: none;
  background: transparent;
}

.payment-method--apple-pay svg {
  width: auto;
  height: 36px;
}

.payment-method--google-pay {
  width: 74px;
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}

.payment-method--google-pay svg {
  flex: 0 0 auto;
  width: 96px;
  max-width: none;
  height: auto;
}

.footer-legal {
  max-width: var(--content-max);
  margin: 36px auto 0;
  color: var(--hotmat-muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.footer-logo:focus-visible,
.footer-social a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid var(--hotmat-brand-red);
  outline-offset: 3px;
}

body.login-open {
  overflow: hidden;
}

body.restaurant-address-dialog-open {
  overflow: hidden;
}

body.address-search-viewport-open {
  left: 0;
  overflow: hidden;
  overscroll-behavior: none;
  position: fixed;
  right: 0;
  top: var(--address-scroll-lock-top, 0);
  width: 100%;
}

.address-results-viewport {
  display: contents;
}

.address-location-footer {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 0;
}

.restaurant-shell-site-header,
.restaurant-shell-site-header *,
.restaurant-shell-address-overlay,
.restaurant-shell-address-overlay *,
.login-overlay,
.login-overlay *,
.review-order-overlay,
.review-order-overlay * {
  box-sizing: border-box;
}

.restaurant-shell-site-header {
  background: #ffffff;
  border-bottom: 1px solid #efedea;
  display: block;
  min-height: 68px;
  position: sticky;
  top: 0;
  z-index: 50;
}

body.restaurant-address-dialog-open .restaurant-shell-site-header {
  z-index: 120;
}

.restaurant-shell-header-inner {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(max-content, 1fr) minmax(280px, 520px) minmax(max-content, 1fr);
  margin: 0 auto;
  max-width: var(--restaurant-shell-wide-max);
  min-height: 68px;
  padding: 0 var(--restaurant-shell-page-gutter);
  width: 100%;
}

.restaurant-shell-header-left,
.restaurant-shell-header-right {
  align-items: center;
  display: flex;
  min-width: 0;
}

.home-page-body .site-footer,
.restaurant-page-body .site-footer,
.restaurant-list-page-body .site-footer,
.order-history-page-body .site-footer,
.cities-page-body .site-footer,
.receipt-page-body .site-footer {
  --content-max: var(--hotmat-content-max);
}

.restaurant-shell-header-right {
  gap: 12px;
  justify-content: flex-end;
}

.restaurant-shell-header-logo {
  align-items: center;
  color: var(--hotmat-brand-red);
  display: inline-flex;
  min-width: 0;
  text-decoration: none;
}

.restaurant-shell-logo-wordmark {
  color: currentColor;
  display: block;
  height: 26px;
  width: auto;
}

.restaurant-shell-location-row {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
  position: relative;
}

.restaurant-shell-address-pill {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid #e4e2df;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 10px;
  height: 46px;
  min-width: 0;
  padding: 0 16px;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.restaurant-shell-address-pill:hover {
  background: #f7f6f4;
  border-color: #d8d5d0;
}

.restaurant-shell-address-pill[aria-expanded="true"] {
  background: #ffffff;
  border-color: #d6d0ca;
  box-shadow: 0 8px 20px rgba(17, 17, 24, 0.08);
}

.restaurant-shell-address-pin {
  color: var(--hotmat-brand-red);
  flex: 0 0 auto;
}

.restaurant-shell-address-text {
  color: #1a1a1a;
  flex: 1 1 auto;
  font-size: 15px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-shell-pill-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e4e2df;
  border-radius: 12px;
  color: #1a1a1a;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.restaurant-shell-pill-button:hover {
  background: #f7f6f4;
}

.restaurant-shell-cart-button {
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 52px;
}

.restaurant-shell-cart-icon {
  color: currentColor;
  display: block;
  height: 20px;
  width: 24px;
}

.restaurant-shell-cart-badge {
  align-items: center;
  background: var(--hotmat-brand-red);
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 4px;
  pointer-events: none;
  position: absolute;
  right: -3px;
  top: -5px;
}

.restaurant-shell-cart-badge[hidden] {
  display: none;
}

.restaurant-shell-address-pill:focus-visible,
.restaurant-shell-pill-button:focus-visible {
  border-color: var(--hotmat-brand-red);
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.12);
  outline: none;
}

.restaurant-shell-address-overlay {
  background: transparent;
  display: block;
  left: 0;
  padding-top: 12px;
  position: absolute;
  top: 100%;
  width: min(480px, calc(100vw - 32px));
  z-index: 110;
}

.restaurant-shell-address-overlay[hidden] {
  display: none;
}

.restaurant-shell-address-dialog {
  background: #ffffff;
  border: 1px solid rgba(45, 39, 34, 0.1);
  border-radius: 20px;
  box-shadow:
    0 24px 64px rgba(36, 30, 25, 0.13),
    0 3px 12px rgba(36, 30, 25, 0.06),
    0 0 0 100vmax rgba(28, 24, 21, 0.08);
  color: #1a1a1a;
  padding: 24px 24px 20px;
  position: relative;
  width: 100%;
}

.restaurant-shell-address-close {
  align-items: center;
  background: #f7f5f2;
  border: 0;
  border-radius: 50%;
  color: #68635e;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  width: 32px;
}

.restaurant-shell-address-close svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 16px;
}

.restaurant-shell-address-close:hover {
  background: #efebe7;
  color: #292623;
  transform: scale(1.03);
}

.restaurant-shell-address-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.12);
  outline: none;
}

.restaurant-shell-address-dialog h2 {
  color: #24211f;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 44px 16px 0;
}

.restaurant-shell-address-search {
  display: grid;
  gap: 10px;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.restaurant-shell-address-dialog .address-field {
  align-items: center;
  background: #fbfaf8;
  border: 1px solid #dedad5;
  border-radius: 13px;
  display: flex;
  gap: 10px;
  height: 54px;
  padding: 0 14px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.restaurant-shell-address-dialog .address-field:focus-within {
  background: #ffffff;
  border-color: rgba(246, 61, 65, 0.58);
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.1);
}

.restaurant-shell-address-dialog .address-field-pin {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.restaurant-shell-address-dialog .address-field input {
  background: transparent;
  border: 0;
  color: #1a1a1a;
  font-size: 16px;
  height: 100%;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.restaurant-shell-address-dialog .address-field input::-webkit-search-cancel-button {
  display: none;
}

.restaurant-shell-address-dialog .address-field input::placeholder {
  color: #8a8580;
  opacity: 1;
}

.restaurant-shell-address-dialog .address-submit {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--hotmat-brand-red);
  cursor: pointer;
  display: none;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
  opacity: 0.78;
  padding: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  width: 30px;
}

.restaurant-shell-address-dialog .address-submit.is-clear,
.restaurant-shell-address-dialog .address-submit.is-loading {
  display: inline-flex;
}

.restaurant-shell-address-dialog .address-submit svg {
  display: none;
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 17px;
}

.restaurant-shell-address-dialog .address-submit.is-clear .address-submit-clear-icon {
  display: block;
}

.restaurant-shell-address-dialog .address-submit-spinner,
.restaurant-shell-address-dialog .location-button-spinner {
  animation: address-search-spin 700ms linear infinite;
  border-radius: 50%;
  display: none;
}

.restaurant-shell-address-dialog .address-submit-spinner {
  border: 2px solid rgba(246, 61, 65, 0.2);
  border-top-color: currentColor;
  height: 17px;
  width: 17px;
}

.restaurant-shell-address-dialog .address-submit.is-loading .address-submit-spinner {
  display: block;
}

.restaurant-shell-address-dialog .address-submit:disabled {
  cursor: wait;
  opacity: 1;
}

.restaurant-shell-address-dialog .address-submit:hover {
  opacity: 1;
  transform: scale(1.04);
}

.restaurant-shell-address-dialog .address-submit:disabled:hover {
  opacity: 0.78;
  transform: none;
}

.restaurant-shell-address-dialog .address-submit:focus-visible {
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.16);
  outline: none;
}

.restaurant-shell-address-dialog #addressList {
  background: #ffffff;
  border: 1px solid #e6e1dc;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(36, 30, 25, 0.08);
  color: #1a1a1a;
  display: grid;
  max-height: 284px;
  overflow: auto;
  width: 100%;
}

.restaurant-shell-address-dialog #addressList:empty {
  display: none;
}

.restaurant-shell-address-dialog .address-suggestion {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #eeeef1;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  min-height: 60px;
  padding: 11px 14px;
  text-align: left;
  transition: background 0.15s ease;
  width: 100%;
}

.restaurant-shell-address-dialog .address-suggestion:last-child {
  border-bottom: 0;
}

.restaurant-shell-address-dialog .address-suggestion:hover,
.restaurant-shell-address-dialog .address-suggestion:focus-visible,
.restaurant-shell-address-dialog .address-suggestion.is-active {
  background: #f8f6f3;
  outline: 0;
}

.restaurant-shell-address-dialog .address-suggestion-pin {
  align-items: center;
  background: #f6f2ee;
  border-radius: 50%;
  color: var(--hotmat-brand-red);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.restaurant-shell-address-dialog .address-suggestion-pin svg {
  display: block;
  height: 17px;
  width: 17px;
}

.restaurant-shell-address-dialog .address-suggestion-copy {
  display: block;
  min-width: 0;
}

.restaurant-shell-address-dialog .address-suggestion-primary,
.restaurant-shell-address-dialog .address-suggestion-secondary {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-shell-address-dialog .address-suggestion-primary {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
}

.restaurant-shell-address-dialog .address-suggestion-secondary {
  color: #686878;
  font-size: 13px;
  line-height: 1.28;
  margin-top: 2px;
}

.restaurant-shell-address-dialog .address-suggestion-action {
  height: 24px;
  position: relative;
  width: 24px;
}

.restaurant-shell-address-dialog .address-suggestion-action::before {
  border-right: 2px solid #8d8075;
  border-top: 2px solid #8d8075;
  content: "";
  height: 7px;
  left: 7px;
  position: absolute;
  top: 8px;
  transform: rotate(45deg);
  width: 7px;
}

.restaurant-shell-address-dialog .address-suggestion:disabled {
  cursor: default;
}

.restaurant-shell-address-dialog .address-suggestion:disabled:not(.is-saving) {
  opacity: 0.58;
}

.restaurant-shell-address-dialog .address-suggestion.is-saving {
  background: #f7f4f0;
  cursor: wait;
}

.restaurant-shell-address-dialog .address-suggestion.is-saving .address-suggestion-action::before {
  animation: address-search-spin 700ms linear infinite;
  border: 2px solid rgba(246, 61, 65, 0.2);
  border-radius: 50%;
  border-top-color: var(--hotmat-brand-red);
  height: 14px;
  left: 3px;
  top: 3px;
  transform: none;
  width: 14px;
}

.restaurant-shell-address-dialog .address-search-status {
  align-items: center;
  color: #686878;
  display: flex;
  font-size: 14px;
  gap: 10px;
  justify-content: center;
  line-height: 1.35;
  min-height: 72px;
  padding: 16px 18px;
  text-align: center;
}

.restaurant-shell-address-dialog .address-search-status-error {
  color: var(--hotmat-brand-red);
}

.restaurant-shell-address-dialog .address-search-spinner {
  animation: address-search-spin 700ms linear infinite;
  border: 2px solid rgba(246, 61, 65, 0.2);
  border-radius: 50%;
  border-top-color: var(--hotmat-brand-red);
  height: 18px;
  width: 18px;
}

.restaurant-shell-address-dialog .location-button {
  align-items: center;
  align-self: flex-start;
  background: #f7f5f2;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #403c38;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  height: 40px;
  justify-content: center;
  min-width: 0;
  margin-top: 14px;
  padding: 0 14px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.restaurant-shell-address-dialog .location-button:hover {
  background: #f1eeea;
  border-color: #e6e0da;
}

.restaurant-shell-address-dialog .location-button:disabled {
  cursor: wait;
  opacity: 0.82;
}

.restaurant-shell-address-dialog .location-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.16);
  outline: none;
}

.restaurant-shell-address-dialog .location-button-icon {
  color: var(--hotmat-brand-red);
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.restaurant-shell-address-dialog .location-button-spinner {
  border: 2px solid rgba(246, 61, 65, 0.2);
  border-top-color: currentColor;
  height: 15px;
  width: 15px;
}

.restaurant-shell-address-dialog .location-button.is-loading .location-button-icon {
  display: none;
}

.restaurant-shell-address-dialog .location-button.is-loading .location-button-spinner {
  display: inline-block;
}

.restaurant-shell-address-dialog .location-button span {
  font-size: 13px;
  font-weight: 600;
}

.restaurant-shell-location-feedback {
  background: #faf7f3;
  border: 1px solid #e8e1da;
  border-left: 3px solid #d57a6f;
  border-radius: 12px;
  color: #6d4b45;
  font-size: 13px;
  line-height: 1.4;
  margin: 12px 0 0;
  padding: 10px 12px;
}

.restaurant-shell-location-feedback[hidden] {
  display: none;
}

.restaurant-shell-icon,
.restaurant-shell-chevron,
.restaurant-shell-language-check,
.restaurant-shell-login-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.restaurant-shell-icon,
.restaurant-shell-login-icon {
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.restaurant-shell-chevron {
  flex: 0 0 auto;
  height: 13px;
  stroke-width: 2.4;
  transition: transform 0.18s ease;
  width: 13px;
}

.restaurant-shell-language-button[aria-expanded="true"] .restaurant-shell-chevron {
  transform: rotate(180deg);
}

.restaurant-shell-language-wrap {
  position: relative;
}

.restaurant-shell-language-menu {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
  min-width: 220px;
  opacity: 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  visibility: hidden;
  z-index: 60;
}

.restaurant-shell-language-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.restaurant-shell-language-title {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 12px 6px;
  text-transform: uppercase;
}

.restaurant-shell-language-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
  transition: background 0.12s ease;
  width: 100%;
}

.restaurant-shell-language-option:hover,
.restaurant-shell-language-option:focus-visible {
  background: #f4f4f4;
  outline: none;
}

.restaurant-shell-language-option.selected {
  font-weight: 700;
}

.restaurant-shell-language-code {
  align-items: center;
  background: #f0f0f0;
  border-radius: 7px;
  color: #555555;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 34px;
}

.restaurant-shell-language-option.selected .restaurant-shell-language-code {
  background: #1a1a1a;
  color: #ffffff;
}

.restaurant-shell-language-name {
  flex: 1 1 auto;
}

.restaurant-shell-language-check {
  color: #1a1a1a;
  flex: 0 0 auto;
  height: 16px;
  opacity: 0;
  stroke-width: 3;
  transform: scale(0.6);
  transition: opacity 0.12s ease, transform 0.12s ease;
  width: 16px;
}

.restaurant-shell-language-option.selected .restaurant-shell-language-check {
  opacity: 1;
  transform: scale(1);
}

.account-menu-wrap {
  min-width: 0;
  position: relative;
}

.account-menu-button {
  max-width: 100%;
}

.account-menu-button-label {
  display: block;
  max-width: 180px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-button[aria-expanded="true"] .account-menu-chevron {
  transform: rotate(180deg);
}

.account-menu-chevron {
  flex: 0 0 auto;
  fill: none;
  height: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  transition: transform 180ms ease;
  width: 13px;
}

.account-menu {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
  max-width: min(280px, calc(100vw - 28px));
  min-width: 190px;
  opacity: 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  visibility: hidden;
  z-index: 60;
}

.account-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.account-menu-title {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 12px 6px;
  text-transform: uppercase;
}

.account-menu-customer-name {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 2px 12px 10px;
}

.account-menu-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
  transition: background 0.12s ease;
  width: 100%;
}

.account-menu-option-icon {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.account-menu-option:hover,
.account-menu-option:focus-visible {
  background: #f4f4f4;
  outline: none;
}

.account-menu-logout {
  color: #b42318;
  font-weight: 700;
}

.ongoing-orders-wrap,
.ongoing-orders-wrap *,
.ongoing-orders-sheet,
.ongoing-orders-sheet * {
  box-sizing: border-box;
}

.ongoing-orders-wrap {
  position: relative;
}

.ongoing-orders-wrap[hidden],
.ongoing-orders-dropdown[hidden],
.ongoing-orders-sheet[hidden] {
  display: none;
}

.ongoing-orders-button {
  white-space: nowrap;
}

.ongoing-orders-icon {
  color: currentColor;
}

.ongoing-orders-badge {
  align-items: center;
  background: var(--hotmat-brand-red);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  height: 20px;
  justify-content: center;
  line-height: 1;
  min-width: 20px;
  padding: 0 6px;
}

.ongoing-orders-badge.is-counting-down {
  animation: ongoing-orders-badge-countdown 1600ms ease-in-out infinite;
  transform-origin: center;
}

@keyframes ongoing-orders-badge-countdown {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(246, 61, 65, 0);
    transform: scale(1);
  }

  20% {
    box-shadow: 0 0 0 0 rgba(246, 61, 65, 0.38);
  }

  60% {
    box-shadow: 0 0 0 7px rgba(246, 61, 65, 0);
    transform: scale(1.06);
  }
}

.topbar .ongoing-orders-button {
  font-size: 16px;
  font-weight: 400;
}

.ongoing-orders-dropdown {
  background: #ffffff;
  border: 1px solid #ebe7e3;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(20, 24, 24, 0.2), 0 3px 10px rgba(20, 24, 24, 0.08);
  color: #1a1a1a;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(390px, calc(100vw - 32px));
  z-index: 80;
}

.ongoing-orders-panel-header {
  align-items: center;
  border-bottom: 1px solid #f0ece8;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 60px;
  padding: 12px 14px 12px 18px;
}

.ongoing-orders-panel-header h2 {
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.ongoing-orders-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #4b4b4b;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: background 140ms ease;
  width: 36px;
}

.ongoing-orders-close:hover {
  background: #f4f1ee;
}

.ongoing-orders-close:focus-visible,
.ongoing-order-card:focus-visible,
.ongoing-orders-button:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.32);
  outline-offset: 2px;
}

.ongoing-orders-close svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 19px;
}

.ongoing-orders-list {
  max-height: min(430px, calc(100vh - 130px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  scrollbar-gutter: stable;
}

.ongoing-order-card {
  align-items: center;
  border-radius: 12px;
  color: #1a1a1a;
  display: grid;
  gap: 12px;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  min-height: 92px;
  padding: 12px 10px;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.ongoing-order-card + .ongoing-order-card {
  border-top: 1px solid #f2efec;
}

.ongoing-order-card:hover {
  background: #faf7f4;
}

.ongoing-order-card:active {
  transform: translateY(1px);
}

.ongoing-order-logo {
  align-items: center;
  align-self: start;
  background: #f5f1ed;
  border: 1px solid #ede7e1;
  border-radius: 12px;
  color: var(--hotmat-brand-red);
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  width: 52px;
}

.ongoing-order-logo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ongoing-order-logo img[hidden] {
  display: none;
}

.ongoing-order-copy {
  min-width: 0;
}

.ongoing-order-heading {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.ongoing-order-restaurant {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ongoing-order-reference {
  color: #77716b;
  flex: 0 0 auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.ongoing-order-status {
  color: #475569;
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 4px;
}

.ongoing-order-status--confirming {
  color: #b45309;
}

.ongoing-order-status--preparing {
  color: #c2410c;
}

.ongoing-order-status--delivering {
  color: #0f766e;
}

.ongoing-order-status--delivered {
  color: #15803d;
}

.ongoing-order-status--ready_to_pickup {
  color: #7c3aed;
}

.ongoing-order-status--canceled {
  color: #dc2626;
}

.ongoing-order-details {
  align-items: center;
  color: #69645f;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 4px 7px;
  line-height: 1.4;
  margin-top: 4px;
}

.ongoing-order-chevron {
  color: #9a928b;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.ongoing-orders-sheet {
  align-items: flex-end;
  display: none;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1200;
}

.ongoing-orders-sheet-backdrop {
  background: rgba(9, 9, 9, 0.58);
  border: 0;
  cursor: default;
  inset: 0;
  padding: 0;
  position: absolute;
  width: 100%;
}

.ongoing-orders-sheet-panel {
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(20, 24, 24, 0.22);
  color: #1a1a1a;
  max-height: calc(100dvh - 18px);
  outline: none;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
  position: relative;
  width: 100%;
}

body.ongoing-orders-sheet-open {
  overflow: hidden;
}

@media screen and (max-width: 1180px) {
  .ongoing-orders-button-label {
    display: none;
  }

  .topbar .ongoing-orders-button,
  .restaurant-shell-header-right .ongoing-orders-button {
    justify-content: center;
    padding: 0;
    width: 36px;
  }

  .topbar .ongoing-orders-button {
    height: 32px;
    width: 32px;
  }

  .ongoing-orders-button {
    gap: 0;
    position: relative;
  }

  .ongoing-orders-badge {
    border: 2px solid #ffffff;
    font-size: 9px;
    height: 18px;
    min-width: 18px;
    padding: 0 4px;
    position: absolute;
    right: -6px;
    top: -6px;
  }

  .topbar .ongoing-orders-badge {
    border-color: rgba(45, 45, 45, 0.86);
  }
}

@media screen and (max-width: 640px) {
  .ongoing-orders-dropdown {
    display: none !important;
  }

  .ongoing-orders-sheet:not([hidden]) {
    display: flex;
  }

  .ongoing-orders-sheet-panel .ongoing-orders-list {
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom));
    padding: 8px 10px 12px;
  }

  .ongoing-orders-sheet-panel .ongoing-orders-panel-header {
    min-height: 64px;
    padding-right: 16px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ongoing-orders-close,
  .ongoing-order-card {
    transition: none;
  }

  .ongoing-orders-badge.is-counting-down {
    animation: none;
    box-shadow: none;
    transform: none;
  }
}

.review-order-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  position: fixed;
  z-index: 990;
}

.review-order-overlay[hidden],
.review-order-date[hidden],
.review-order-feedback[hidden],
.review-order-mark[hidden],
.review-order-readiness[hidden],
.review-order-rating-field[hidden],
.review-order-summary[hidden],
.review-order-field-error[hidden] {
  display: none;
}

.review-order-backdrop {
  background: rgba(9, 9, 9, 0.68);
  border: 0;
  cursor: default;
  inset: 0;
  padding: 0;
  position: absolute;
  width: 100%;
}

.review-order-dialog {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  color: var(--ink, var(--hotmat-ink));
  max-height: calc(100svh - 48px);
  max-width: 470px;
  overflow-y: auto;
  padding: 24px 26px 22px;
  position: relative;
  width: 100%;
}

.review-order-dialog:focus {
  outline: none;
}

.review-order-header {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  min-height: 40px;
}

.review-order-header h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.review-order-restaurant {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 18px;
  min-height: 64px;
  min-width: 0;
}

.review-order-mark {
  align-items: center;
  background: #f5f1ed;
  border: 1px solid #ede7e1;
  border-radius: 12px;
  color: #f3a712;
  display: flex;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 64px;
  width: 64px;
}

.review-order-logo {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.review-order-restaurant-copy {
  min-width: 0;
}

.review-order-restaurant-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.review-order-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink, var(--hotmat-ink));
  cursor: pointer;
  display: flex;
  grid-column: 2;
  grid-row: 1;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.review-order-close svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.review-order-close:hover,
.review-order-close:focus-visible {
  color: var(--red, var(--hotmat-brand-red));
}

.review-order-close:focus-visible {
  border-radius: 7px;
  outline: 3px solid rgba(246, 61, 65, 0.24);
  outline-offset: 1px;
}

.review-order-date {
  color: var(--secondary, var(--hotmat-muted));
  font-size: 13px;
  line-height: 1.4;
  margin: 2px 0 0;
}

.review-order-summary {
  margin-top: 18px;
}

.review-order-summary h3,
.review-order-experience-title {
  color: var(--ink, var(--hotmat-ink));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.review-order-summary h3 {
  margin: 0 0 8px;
}

.review-order-items {
  background: #f5f5f6;
  border-radius: 8px;
  color: var(--secondary, var(--hotmat-muted));
  display: grid;
  font-size: 13px;
  gap: 5px;
  line-height: 1.45;
  max-height: 116px;
  overflow-y: auto;
  padding: 10px 12px;
}

.review-order-items p {
  margin: 0;
  overflow-wrap: anywhere;
}

.review-order-item-details {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 1px;
  opacity: 0.78;
}

.review-order-form {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.review-order-experience-title {
  margin: 0 0 5px;
}

.review-order-rating-field {
  align-items: center;
  border-bottom: 1px solid #e5e7e9;
  column-gap: 12px;
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto;
  margin: 0;
  min-width: 0;
  padding: 9px 0;
  row-gap: 4px;
  text-align: left;
}

.review-order-rating-label,
.review-order-comment-heading label {
  color: var(--ink, var(--hotmat-ink));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.review-order-rating-label {
  margin: 0;
}

.review-order-stars {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 1px 0;
}

.review-order-star-input {
  block-size: 1px;
  clip-path: inset(50%);
  inline-size: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

.review-order-star {
  color: #c9cdd1;
  cursor: pointer;
  display: block;
  padding: 3px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.review-order-star svg {
  display: block;
  fill: transparent;
  height: 28px;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 28px;
}

.review-order-star.is-selected svg,
.review-order-star.is-previewed svg {
  fill: currentColor;
}

.review-order-star.is-selected,
.review-order-star.is-previewed {
  color: #f3a712;
}

.review-order-star.is-preview-dimmed {
  color: #c9cdd1;
}

.review-order-star:hover {
  color: #e8a115;
  transform: translateY(-1px);
}

.review-order-star-input:focus-visible + .review-order-star {
  border-radius: 6px;
  outline: 3px solid rgba(246, 61, 65, 0.28);
  outline-offset: 2px;
}

.review-order-star-input:disabled + .review-order-star {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.review-order-comment-field {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.review-order-comment-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.review-order-comment-heading span {
  color: var(--secondary, var(--hotmat-muted));
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.review-order-comment-field textarea {
  background: #ffffff;
  border: 1px solid #cbd1d5;
  border-radius: 7px;
  color: var(--ink, var(--hotmat-ink));
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  min-height: 80px;
  outline: 0;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

.review-order-comment-field textarea:focus {
  border-color: var(--red, var(--hotmat-brand-red));
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.16);
}

.review-order-rating-field.has-error,
.review-order-comment-field.has-error textarea {
  border-color: #c62f26;
}

.review-order-field-error {
  color: #a01616;
  font-size: 12px;
  grid-column: 1 / -1;
  line-height: 1.4;
  margin: 7px 0 0;
}

.review-order-feedback {
  background: #fff1f1;
  border-radius: 7px;
  color: #a01616;
  font-size: 13px;
  line-height: 1.4;
  margin: 12px 0 0;
  padding: 10px 12px;
  text-align: center;
}

.review-order-readiness {
  color: var(--secondary, var(--hotmat-muted));
  font-size: 12px;
  line-height: 1.4;
  margin: 10px 0 0;
  text-align: center;
}

.review-order-actions {
  display: grid;
  margin-top: 10px;
}

.review-order-submit {
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  width: 100%;
}

.review-order-submit {
  background: var(--red, var(--hotmat-brand-red));
  border: 1px solid var(--red, var(--hotmat-brand-red));
  color: #ffffff;
}

.review-order-submit:not(:disabled):hover,
.review-order-submit:not(:disabled):focus-visible {
  background: #a20f17;
  border-color: #a20f17;
}

.review-order-submit:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.28);
  outline-offset: 2px;
}

.review-order-submit:disabled {
  background: #e8eaed;
  border-color: #e8eaed;
  color: #888d94;
  cursor: not-allowed;
}

.review-order-dialog[aria-busy="true"] .review-order-submit,
.review-order-dialog[aria-busy="true"] .review-order-close,
.review-order-dialog[aria-busy="true"] textarea {
  cursor: wait;
  opacity: 0.72;
}

.review-order-spinner {
  animation: review-order-spin 0.8s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  border-top-color: #ffffff;
  display: none;
  height: 16px;
  width: 16px;
}

.review-order-submit.is-loading .review-order-spinner {
  display: inline-block;
}

body.review-order-open {
  overflow: hidden;
}

@keyframes review-order-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .review-order-star,
  .review-order-spinner {
    transition: none;
    animation: none;
  }
}

.login-overlay {
  background: rgba(9, 9, 9, 0.62);
  display: grid;
  inset: 0;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  position: fixed;
  z-index: 1000;
}

.login-overlay[hidden],
.login-step[hidden],
.login-feedback[hidden],
.login-back-button[hidden] {
  display: none;
}

.login-dialog {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  color: var(--ink, var(--hotmat-ink));
  padding: 22px 26px 24px;
  width: min(100%, 430px);
}

.login-dialog-header {
  align-items: center;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  min-height: 40px;
}

.login-mark {
  display: grid;
  grid-column: 2;
  place-items: center;
}

.login-mark svg {
  color: var(--hotmat-brand-red);
  display: block;
  height: 38px;
  width: 38px;
}

.login-back-button,
.login-close-button {
  background: transparent;
  border: 0;
  color: var(--ink, var(--hotmat-ink));
  cursor: pointer;
  display: grid;
  height: 40px;
  padding: 0;
  place-items: center;
  width: 40px;
}

.login-back-button {
  grid-column: 1;
  grid-row: 1;
}

.login-close-button {
  grid-column: 3;
  grid-row: 1;
}

.login-back-button svg,
.login-close-button svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.login-back-button:hover,
.login-close-button:hover {
  color: var(--red, var(--hotmat-brand-red));
}

.login-step h2 {
  font-size: 25px;
  line-height: 1.15;
  margin: 22px 0 8px;
  text-align: center;
}

.login-intro,
.login-code-description {
  color: var(--secondary, var(--hotmat-muted));
  font-size: 14px;
  line-height: 1.45;
  margin: 0 auto 22px;
  text-align: center;
}

.login-code-description strong {
  color: var(--ink, var(--hotmat-ink));
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.social-login-list {
  display: grid;
  gap: 9px;
}

.social-login-button,
.login-primary-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8d8dc;
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  min-height: 50px;
  padding: 9px 14px;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  width: 100%;
}

.social-login-button span,
.login-primary-button span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.social-login-button .social-login-copy {
  display: grid;
  gap: 2px;
}

.social-login-button .social-login-copy small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.social-login-button svg {
  height: 22px;
  width: 22px;
}

.social-login-button:hover,
.social-login-button:focus-visible {
  background: #f7f7f8;
  border-color: #9b9ba2;
}

.apple-login-control {
  align-items: center;
  display: flex;
  min-height: 40px;
  min-width: 0;
  position: relative;
  width: 100%;
}

.apple-login-control[hidden] {
  display: none;
}

.apple-login-sdk-button {
  height: 40px;
  min-width: 0;
  width: 100%;
}

.apple-login-control.is-loading,
.apple-login-control.is-facebook-login-locked {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

.google-login-control {
  align-items: center;
  display: flex;
  min-height: 50px;
  min-width: 0;
  position: relative;
  width: 100%;
}

.google-login-sdk-button {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 50px;
  min-width: 0;
  width: 100%;
}

.google-login-sdk-button[hidden],
.google-login-placeholder[hidden] {
  display: none;
}

.google-login-sdk-button > div {
  max-width: 100%;
}

.google-login-control.is-loading .google-login-sdk-button,
.google-login-control.is-apple-login-locked .google-login-sdk-button,
.google-login-control.is-facebook-login-locked .google-login-sdk-button {
  opacity: 0.62;
  pointer-events: none;
}

.google-login-control.is-apple-login-locked,
.google-login-control.is-facebook-login-locked {
  cursor: not-allowed;
}

.google-login-spinner {
  animation: login-spin 700ms linear infinite;
  border: 2px solid var(--ink, var(--hotmat-ink));
  border-radius: 50%;
  border-right-color: transparent;
  display: none;
  height: 18px;
  left: calc(50% - 9px);
  pointer-events: none;
  position: absolute;
  top: calc(50% - 9px);
  width: 18px;
}

.google-login-control.is-loading .google-login-sdk-button:not([hidden]) + .google-login-placeholder + .google-login-spinner {
  display: block;
}

.social-login-facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  min-height: 40px;
}

.social-login-facebook:hover:not(:disabled),
.social-login-facebook:focus-visible:not(:disabled) {
  background: #166fe5;
  border-color: #166fe5;
}

.social-login-facebook:active:not(:disabled) {
  background: #1464ce;
  border-color: #1464ce;
}

.social-login-unavailable:disabled {
  cursor: not-allowed;
}

.login-divider {
  align-items: center;
  color: var(--secondary, var(--hotmat-muted));
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 12px;
  margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
  background: #dddddf;
  content: "";
  flex: 1;
  height: 1px;
}

.passwordless-request-form,
.passwordless-verify-form {
  display: grid;
  gap: 9px;
}

.passwordless-request-form label,
.passwordless-verify-form label {
  color: var(--ink, var(--hotmat-ink));
  font-size: 13px;
  font-weight: 700;
}

.passwordless-verify-form label[for="loginCode"] {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.passwordless-request-form input,
.passwordless-verify-form input {
  background: #ffffff;
  border: 1px solid #cfcfd4;
  border-radius: 6px;
  color: var(--ink, var(--hotmat-ink));
  font-size: 16px;
  height: 50px;
  outline: none;
  padding: 0 14px;
  width: 100%;
}

.passwordless-verify-form input {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.passwordless-request-form input:focus,
.passwordless-verify-form input:focus {
  border-color: var(--red, var(--hotmat-brand-red));
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.14);
}

.login-code-input-wrap {
  justify-self: center;
  min-height: 46px;
  position: relative;
  width: min(100%, 311px);
}

.login-code-slots {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(6, minmax(0, 46px));
  justify-content: center;
}

.login-code-slot {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfcfd4;
  border-radius: 7px;
  color: var(--ink, var(--hotmat-ink));
  display: flex;
  font-size: 22px;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-code-input-wrap input {
  background: transparent;
  border: 0;
  caret-color: transparent;
  color: transparent;
  height: 100%;
  inset: 0;
  opacity: 0.01;
  padding: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.login-code-input-wrap input:focus {
  border: 0;
  box-shadow: none;
}

.login-code-slot.is-filled {
  background: #f7f8fa;
  border-color: #9398a3;
}

.login-code-input-wrap:focus-within .login-code-slot.is-active {
  border-color: var(--red, var(--hotmat-brand-red));
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.14);
}

.login-code-input-wrap.is-complete .login-code-slot {
  border-color: #69717d;
}

.login-code-input-wrap.is-error .login-code-slot {
  background: #fff5f5;
  border-color: var(--red, var(--hotmat-brand-red));
}

.login-primary-button {
  background: var(--red, var(--hotmat-brand-red));
  border-color: var(--red, var(--hotmat-brand-red));
  color: #ffffff;
  display: grid;
  margin-top: 4px;
}

.login-primary-button:hover,
.login-primary-button:focus-visible {
  background: var(--red-dark, var(--hotmat-brand-red-dark));
  border-color: var(--red-dark, var(--hotmat-brand-red-dark));
}

.login-primary-button > span:first-child {
  grid-column: 2;
}

.login-guest-button {
  background: transparent;
  border: 0;
  color: var(--secondary, var(--hotmat-muted));
  cursor: pointer;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 3px auto 0;
  padding: 7px 10px;
}

.login-guest-button:hover,
.login-guest-button:focus-visible {
  color: var(--red, var(--hotmat-brand-red));
}

.login-button-spinner {
  animation: login-spin 700ms linear infinite;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  display: none;
  grid-column: 3;
  height: 17px;
  justify-self: end;
  width: 17px;
}

.is-loading .login-button-spinner {
  display: block;
}

.social-login-button:disabled,
.login-primary-button:disabled,
.login-resend-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.social-login-button:disabled:not(.is-loading),
.login-primary-button:disabled:not(.is-loading) {
  cursor: not-allowed;
}

.passwordless-request-form input:disabled,
.login-guest-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.login-resend-button:disabled:not(.is-loading) {
  cursor: default;
}

.login-resend-button,
.login-different-button {
  background: transparent;
  border: 0;
  color: var(--brand-red, var(--hotmat-brand-red));
  cursor: pointer;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 15px auto 0;
  padding: 5px;
}

.login-different-button {
  color: var(--secondary, var(--hotmat-muted));
  margin-top: 5px;
}

.login-code-actions {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin-top: 14px;
}

.login-code-actions .login-resend-button,
.login-code-actions .login-different-button {
  margin: 0;
  min-height: 32px;
  padding: 6px 8px;
}

.login-feedback {
  background: #fff1f2;
  border-left: 3px solid var(--red, var(--hotmat-brand-red));
  color: var(--brand-red, var(--hotmat-brand-red));
  font-size: 13px;
  line-height: 1.4;
  margin: 16px 0 0;
  padding: 10px 12px;
}

.login-feedback.is-success {
  background: #eef9f2;
  border-left-color: #2c9b58;
  color: #176435;
}

.login-trigger:focus-visible,
.login-back-button:focus-visible,
.login-close-button:focus-visible,
.social-login-button:focus-visible,
.login-primary-button:focus-visible,
.login-guest-button:focus-visible,
.login-resend-button:focus-visible,
.login-different-button:focus-visible {
  outline: 3px solid var(--red, var(--hotmat-brand-red));
  outline-offset: 3px;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes address-search-spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 840px) {
  .restaurant-shell-site-header {
    min-height: 0;
  }

  .restaurant-shell-header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 0;
    padding: 12px 16px;
  }
}

@media screen and (max-width: 860px) {
  .restaurant-page-body .restaurant-shell-cart-button {
    display: inline-flex;
  }
}

@media screen and (max-width: 1180px) {
  .restaurant-shell-pill-button.restaurant-shell-login-button {
    justify-content: center;
    padding: 0;
    width: 36px;
  }

  .restaurant-shell-login-button span {
    display: none;
  }

  .restaurant-shell-login-button.account-menu-button {
    gap: 4px;
    width: 52px;
  }
}

@media screen and (min-width: 641px) and (max-width: 1180px) {
  .restaurant-shell-site-header {
    min-height: 60px;
  }

  .restaurant-shell-header-inner {
    gap: 12px;
    min-height: 60px;
    padding: 8px 18px;
  }

  .restaurant-shell-header-right {
    gap: 8px;
  }

  .restaurant-shell-logo-wordmark {
    height: 22px;
  }

  .restaurant-shell-pill-button {
    border-radius: 10px;
    font-size: 14px;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
  }

  .restaurant-shell-cart-button {
    padding: 0;
    width: 44px;
  }

  .restaurant-shell-icon,
  .restaurant-shell-login-icon {
    height: 16px;
    width: 16px;
  }

  .restaurant-shell-chevron {
    height: 11px;
    width: 11px;
  }

  .restaurant-shell-address-pill {
    gap: 8px;
    height: 40px;
    padding: 0 13px;
  }

  .restaurant-shell-address-pin {
    height: 18px;
    width: 18px;
  }

  .restaurant-shell-address-text {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {

  .site-footer {
    padding: 36px 20px max(
      88px,
      calc(24px + env(safe-area-inset-bottom))
    );
  }

  .footer-inner {
    gap: 28px;
  }

  .footer-legal {
    margin-top: 28px;
  }
}

@media screen and (min-width: 769px) {
  .site-footer {
    padding-right: clamp(32px, 6vw, 72px);
    padding-left: clamp(32px, 6vw, 72px);
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .footer-brand {
    flex: 1.05;
  }

  .footer-links {
    flex: 0.9;
    padding-top: 4px;
  }

  .footer-pay {
    align-items: flex-end;
    flex: 1.65;
    width: auto;
    padding-top: 4px;
    padding-left: 40px;
    border-left: 1px solid #eeece9;
  }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
  .footer-links {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (min-width: 960px) {
  .site-footer {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media screen and (min-width: 769px) {

  .home-page-body .site-footer,
  .restaurant-page-body .site-footer,
  .restaurant-list-page-body .site-footer,
  .order-history-page-body .site-footer,
  .cities-page-body .site-footer,
  .receipt-page-body .site-footer {
    padding-right: var(--hotmat-page-gutter);
    padding-left: var(--hotmat-page-gutter);
  }
}

@media screen and (max-width: 640px) {

  .restaurant-shell-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    justify-content: space-between;
    row-gap: 12px;
  }

  .restaurant-shell-header-left {
    order: 1;
  }

  .restaurant-shell-header-right {
    order: 2;
  }

  .restaurant-shell-location-row {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }
}

@media screen and (max-width: 510px) {
  .restaurant-shell-header-inner {
    padding: 10px 14px;
    row-gap: 10px;
  }

  .restaurant-shell-header-right {
    gap: 8px;
  }

  .restaurant-shell-logo-wordmark {
    height: 20px;
  }

  .restaurant-shell-pill-button {
    border-radius: 10px;
    font-size: 14px;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
  }

  .restaurant-shell-language-button .language-button-code {
    display: none;
  }

  .restaurant-shell-icon,
  .restaurant-shell-login-icon {
    height: 16px;
    width: 16px;
  }

  .restaurant-shell-chevron {
    height: 11px;
    width: 11px;
  }

  .restaurant-shell-address-pill {
    gap: 8px;
    height: 40px;
    padding: 0 13px;
  }

  .restaurant-shell-address-pin {
    height: 18px;
    width: 18px;
  }

  .restaurant-shell-address-text {
    font-size: 14px;
  }

  .restaurant-shell-address-overlay {
    align-items: end;
    background: rgba(28, 24, 21, 0.34);
    display: grid;
    inset: 0;
    left: 0;
    overflow: hidden;
    padding: 0;
    place-items: end stretch;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .restaurant-shell-address-dialog {
    border-radius: 24px 24px 0 0;
    border-width: 0;
    box-shadow: 0 -18px 48px rgba(36, 30, 25, 0.16);
    max-height: calc(100svh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 30px 18px max(20px, env(safe-area-inset-bottom));
    width: 100%;
  }

  .restaurant-shell-address-dialog::before {
    background: #d8d3ce;
    border-radius: 999px;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    width: 42px;
  }

  .restaurant-shell-address-close {
    right: 14px;
    top: 16px;
  }

  .restaurant-shell-address-dialog h2 {
    font-size: 19px;
    margin-bottom: 14px;
    margin-right: 46px;
  }

  .restaurant-shell-address-search {
    position: relative;
  }

  .restaurant-shell-address-dialog #addressList {
    margin-top: 0;
    max-height: min(260px, 36svh);
    max-height: min(260px, 36dvh);
    position: static;
    width: 100%;
    z-index: 2;
  }

  .restaurant-shell-address-dialog .location-button {
    align-self: stretch;
    background: #f7f5f2;
    border-color: transparent;
    color: #403c38;
    height: 46px;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
  }

  .restaurant-shell-address-dialog .location-button:hover {
    background: #f1eeea;
    border-color: #e6e0da;
  }

  .restaurant-shell-address-dialog .location-button-spinner {
    border: 2px solid rgba(246, 61, 65, 0.2);
    border-top-color: currentColor;
  }
}

@media screen and (max-width: 370px) {

  .restaurant-shell-header-inner {
    column-gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .restaurant-shell-header-right {
    gap: 6px;
  }

  .restaurant-shell-logo-wordmark {
    height: 18px;
  }

  .restaurant-shell-language-button {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media screen and (max-width: 520px) {
  .review-order-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .review-order-dialog {
    border-radius: 14px 14px 0 0;
    max-height: calc(100svh - 18px);
    max-width: none;
    overflow-y: auto;
    padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  }

  .review-order-header h2 {
    font-size: 21px;
  }

  .review-order-restaurant {
    min-height: 58px;
  }

  .review-order-mark {
    flex-basis: 58px;
    height: 58px;
    width: 58px;
  }

  .review-order-rating-field {
    column-gap: 8px;
  }

  .review-order-stars {
    gap: 3px;
    padding-right: 2px;
    padding-left: 2px;
  }

  .review-order-star svg {
    height: 26px;
    width: 26px;
  }

  .login-overlay {
    align-items: end;
    padding: 0;
  }

  .login-dialog {
    border-radius: 8px 8px 0 0;
    max-height: calc(100svh - 18px);
    overflow-y: auto;
    padding: 18px 20px 22px;
    width: 100%;
  }

  .login-step h2 {
    font-size: 23px;
    margin-top: 16px;
  }

  .login-code-slots {
    gap: 6px;
    grid-template-columns: repeat(6, minmax(0, 44px));
  }

  .login-code-input-wrap {
    min-height: 44px;
    width: min(100%, 294px);
  }

  .login-code-slot {
    font-size: 20px;
    height: 44px;
  }
}

@media screen and (max-width: 370px) {
  .login-code-slots {
    gap: 5px;
    grid-template-columns: repeat(6, minmax(0, 42px));
  }

  .login-code-input-wrap {
    min-height: 42px;
    width: min(100%, 277px);
  }

  .login-code-slot {
    font-size: 19px;
    height: 42px;
  }
}

@media screen and (max-width: 699px), screen and (max-height: 520px) and (any-pointer: coarse) {
  .restaurant-shell-address-overlay.address-search-viewport-active {
    align-items: stretch;
    background: #ffffff;
    bottom: auto;
    display: block;
    height: var(--address-visible-height, 100dvh);
    inset: auto 0 auto;
    left: 0;
    overflow: hidden;
    padding: 0;
    position: fixed;
    top: var(--address-visible-top, 0);
    width: 100%;
    z-index: 1000;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .restaurant-shell-address-dialog {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: none;
    overflow: hidden;
    padding:
      max(14px, env(safe-area-inset-top))
      16px
      max(14px, env(safe-area-inset-bottom));
    width: 100%;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .restaurant-shell-address-dialog::before {
    display: none;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .restaurant-shell-address-close {
    right: 14px;
    top: max(10px, env(safe-area-inset-top));
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .restaurant-shell-address-dialog h2 {
    flex: 0 0 auto;
    font-size: 19px;
    line-height: 32px;
    margin: 0 46px 12px 2px;
    min-height: 32px;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .restaurant-shell-address-search {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow: hidden;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .address-field {
    flex: 0 0 54px;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .address-results-viewport {
    -webkit-overflow-scrolling: touch;
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overscroll-behavior: contain;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active #addressList {
    max-height: none;
    overflow: visible;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .address-location-footer {
    background: #ffffff;
    flex: 0 0 auto;
    padding-top: 12px;
    width: 100%;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .location-button {
    align-self: stretch;
    height: 46px;
    margin: 0;
    width: 100%;
  }

  .restaurant-shell-address-overlay.address-search-viewport-active .restaurant-shell-location-feedback {
    margin: 0 0 10px;
    order: -1;
  }
}
