: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-list-wide-max: var(--hotmat-wide-max);
  --restaurant-list-content-max: var(--hotmat-content-max);
  --restaurant-list-page-gutter: var(--hotmat-page-gutter);
}

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

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

.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;
}

.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: flex;
  flex-direction: column;
  gap: 14px;
}

.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 h3 {
  margin: 0;
  color: var(--hotmat-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.footer-pay img {
  display: block;
  width: min(100%, 563px);
  height: auto;
  border-radius: 6px;
}

.footer-legal {
  max-width: var(--content-max);
  margin: 36px auto 0;
  color: #8a8a8a;
  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;
}

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

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

.restaurant-list-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-list-wide-max);
  min-height: 68px;
  padding: 0 var(--restaurant-list-page-gutter);
  width: 100%;
}

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

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

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

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

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

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

.restaurant-list-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-list-address-pill:hover {
  background: #f7f6f4;
  border-color: #d8d5d0;
}

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

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

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

.restaurant-list-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-list-pill-button:hover {
  background: #f7f6f4;
}

.restaurant-list-address-pill:focus-visible,
.restaurant-list-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-list-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-list-address-overlay[hidden] {
  display: none;
}

.restaurant-list-address-dialog {
  background: #ffffff;
  border: 1px solid #e9e3dc;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(17, 17, 24, 0.16);
  color: #1a1a1a;
  padding: 22px 22px 18px;
  position: relative;
  width: 100%;
}

.restaurant-list-address-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4a4a4a;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
}

.restaurant-list-address-close svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 21px;
}

.restaurant-list-address-close:hover {
  color: var(--hotmat-brand-red);
}

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

.restaurant-list-address-dialog h2 {
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 42px 8px 0;
}

.restaurant-list-address-helper {
  color: #6d6670;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
}

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

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

.restaurant-list-address-dialog .address-field:focus-within {
  border-color: #b9b0a7;
  box-shadow: 0 0 0 4px rgba(46, 41, 36, 0.08);
}

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

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

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

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

.restaurant-list-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-list-address-dialog .address-submit.is-clear,
.restaurant-list-address-dialog .address-submit.is-loading {
  display: inline-flex;
}

.restaurant-list-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-list-address-dialog .address-submit.is-clear .address-submit-clear-icon {
  display: block;
}

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

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

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

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

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

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

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

.restaurant-list-address-dialog #addressList {
  background: #ffffff;
  border: 1px solid #e8e1da;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17, 17, 24, 0.08);
  color: #1a1a1a;
  display: grid;
  max-height: 284px;
  overflow: auto;
  width: 100%;
}

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

.restaurant-list-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-list-address-dialog .address-suggestion:last-child {
  border-bottom: 0;
}

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

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

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

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

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

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

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

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

.restaurant-list-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-list-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-list-address-dialog .address-search-status-error {
  color: var(--hotmat-brand-red);
}

.restaurant-list-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-list-address-dialog .location-button {
  align-items: center;
  align-self: flex-start;
  background: #f7f4f0;
  border: 1px solid #ddd6cf;
  border-radius: 999px;
  color: #2f2b27;
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  height: 46px;
  justify-content: center;
  min-width: 0;
  margin-top: 14px;
  padding: 0 16px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.restaurant-list-address-dialog .location-button:hover {
  background: #f0ebe5;
  border-color: #d4ccc4;
}

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

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

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

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

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

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

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

.restaurant-list-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-list-location-feedback[hidden] {
  display: none;
}

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

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

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

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

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

.restaurant-list-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-list-language-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

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

.restaurant-list-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-list-language-option:hover,
.restaurant-list-language-option:focus-visible {
  background: #f4f4f4;
  outline: none;
}

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

.restaurant-list-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-list-language-option.selected .restaurant-list-language-code {
  background: #1a1a1a;
  color: #ffffff;
}

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

.restaurant-list-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-list-language-option.selected .restaurant-list-language-check {
  opacity: 1;
  transform: scale(1);
}

.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 svg {
  height: 22px;
  width: 22px;
}

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

.social-login-apple {
  background: #090909;
  border-color: #090909;
  color: #ffffff;
}

.social-login-apple svg {
  fill: #ffffff;
}

.social-login-apple:hover,
.social-login-apple:focus-visible {
  background: #333333;
  border-color: #333333;
  color: #ffffff;
}

.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-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-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-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;
}

.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-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-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-list-site-header {
    min-height: 0;
  }

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

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

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

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

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

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

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

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

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

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

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

@media screen and (max-width: 768px) {
  .site-footer {
    padding: 36px 20px 24px;
  }

  .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.2;
  }

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

  .footer-pay {
    flex: 1.4;
    width: auto;
    padding-top: 4px;
    padding-left: 48px;
    border-left: 1px solid #eeece9;
  }
}

@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-list-page-body .site-footer {
    padding-right: var(--hotmat-page-gutter);
    padding-left: var(--hotmat-page-gutter);
  }
}

@media screen and (max-width: 640px) {
  .restaurant-list-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    justify-content: space-between;
    row-gap: 12px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  .restaurant-list-address-dialog {
    border-radius: 22px 22px 0 0;
    border-width: 0;
    box-shadow: 0 -18px 48px rgba(17, 17, 24, 0.22);
    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-list-address-dialog::before {
    background: #d9d2cc;
    border-radius: 999px;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    width: 42px;
  }

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

  .restaurant-list-address-dialog h2 {
    font-size: 20px;
    margin-bottom: 6px;
    margin-right: 46px;
  }

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

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

  .restaurant-list-address-dialog .location-button {
    align-self: stretch;
    background: var(--hotmat-brand-red);
    border-color: var(--hotmat-brand-red);
    color: #ffffff;
    height: 52px;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
  }

  .restaurant-list-address-dialog .location-button:hover {
    background: var(--hotmat-brand-red-dark);
    border-color: var(--hotmat-brand-red-dark);
  }

  .restaurant-list-address-dialog .location-button-spinner {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
  }
}

@media screen and (max-width: 370px) {
  .restaurant-list-login-button {
    padding: 0 11px;
  }

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

@media screen and (max-width: 520px) {
  .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;
  }
}
