:root {
  color-scheme: light;
  --guest-bg: #f5f2eb;
  --guest-surface: #ffffff;
  --guest-ink: #171512;
  --guest-muted: #746f67;
  --guest-line: #e5dfd4;
  --guest-accent: #f05a24;
  --guest-accent-dark: #d74614;
  --guest-accent-soft: #fff0e8;
  --guest-success: #21875a;
  --guest-warning: #9b5a00;
  --guest-radius: 22px;
  --guest-shadow: 0 18px 60px rgba(41, 32, 22, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--guest-bg);
  scroll-behavior: smooth;
}

body.guest-order-page {
  margin: 0;
  min-height: 100vh;
  color: var(--guest-ink);
  background:
    radial-gradient(circle at 10% -5%, rgba(240, 90, 36, 0.17), transparent 32rem),
    linear-gradient(180deg, #faf7f1 0, var(--guest-bg) 32rem);
}

body.guest-modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(240, 90, 36, 0.35);
  outline-offset: 2px;
}

a {
  color: var(--guest-accent-dark);
}

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

.guest-order-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 calc(112px + env(safe-area-inset-bottom));
}

.guest-order-hero {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 32px;
  border-radius: 30px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(16, 14, 12, 0.96), rgba(48, 31, 23, 0.92)),
    #171512;
  box-shadow: var(--guest-shadow);
}

.guest-order-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  top: -90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--guest-accent), #ffae42);
  opacity: 0.62;
  filter: blur(2px);
}

.guest-order-hero > * {
  position: relative;
  z-index: 1;
}

.guest-order-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guest-order-brand > div:last-child {
  display: grid;
  gap: 2px;
}

.guest-order-brand strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.guest-order-brand small {
  color: rgba(255, 255, 255, 0.7);
}

.guest-order-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  color: #171512;
  background: #fff;
  font-weight: 900;
}

.guest-order-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.guest-order-hero h1 {
  max-width: 760px;
  margin: 38px 0 8px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.guest-order-hero > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.5;
}

.guest-order-announcement {
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.guest-order-card {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(229, 223, 212, 0.82);
  border-radius: var(--guest-radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--guest-shadow);
}

.guest-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.guest-order-head > div {
  display: grid;
  gap: 5px;
}

.guest-order-head strong {
  font-size: 23px;
}

.guest-order-head small {
  color: var(--guest-muted);
  line-height: 1.45;
}

.guest-order-head > b {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--guest-accent-dark);
  background: var(--guest-accent-soft);
}

.guest-fulfillment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 5px;
  border-radius: 17px;
  background: #f2eee7;
}

.guest-fulfillment-tabs[hidden] {
  display: none;
}

.guest-fulfillment-tabs button {
  min-height: 56px;
  padding: 9px 16px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.guest-fulfillment-tabs button small {
  display: block;
  margin-top: 2px;
  color: var(--guest-muted);
  font-weight: 500;
}

.guest-fulfillment-tabs button.active {
  color: #fff;
  background: var(--guest-ink);
  box-shadow: 0 8px 18px rgba(23, 21, 18, 0.16);
}

.guest-fulfillment-tabs button.active small {
  color: rgba(255, 255, 255, 0.7);
}

.guest-menu-search {
  display: block;
  margin-bottom: 12px;
}

.guest-menu-search input,
.guest-order-form input,
.guest-order-form textarea,
.guest-product-note input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--guest-line);
  border-radius: 13px;
  color: var(--guest-ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.guest-menu-search input {
  min-height: 52px;
  padding-left: 44px;
  background:
    linear-gradient(45deg, transparent 45%, var(--guest-muted) 45%, var(--guest-muted) 55%, transparent 55%) 28px 29px / 8px 8px no-repeat,
    radial-gradient(circle, transparent 45%, var(--guest-muted) 48%, var(--guest-muted) 60%, transparent 63%) 16px 13px / 18px 18px no-repeat,
    #fff;
}

.guest-menu-search input:focus,
.guest-order-form input:focus,
.guest-order-form textarea:focus,
.guest-product-note input:focus {
  border-color: var(--guest-accent);
  box-shadow: 0 0 0 4px rgba(240, 90, 36, 0.1);
  outline: 0;
}

.guest-category-sticky {
  position: sticky;
  top: env(safe-area-inset-top, 0);
  z-index: 20;
  margin: 0 -26px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.18s, border-color 0.18s;
}

.guest-category-sticky.is-stuck {
  border-bottom: 1px solid rgba(229, 223, 212, 0.92);
  box-shadow: 0 12px 24px rgba(49, 37, 24, 0.1);
}

.guest-category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 26px;
  scrollbar-width: none;
}

.guest-category-strip::-webkit-scrollbar {
  display: none;
}

.guest-category-strip button {
  flex: none;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--guest-line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.guest-category-strip button.active {
  border-color: var(--guest-ink);
  color: #fff;
  background: var(--guest-ink);
}

.guest-menu-grid {
  display: grid;
  gap: 30px;
}

.guest-menu-category-section {
  display: grid;
  gap: 13px;
  min-width: 0;
  scroll-margin-top: 82px;
}

.guest-menu-category-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.guest-menu-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.guest-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 168px auto auto;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--guest-line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}

.guest-menu-item:hover {
  transform: translateY(-2px);
  border-color: #d7cbbb;
  box-shadow: 0 14px 30px rgba(49, 37, 24, 0.09);
}

.guest-menu-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.guest-menu-open:focus-visible {
  outline: 3px solid var(--guest-accent);
  outline-offset: -4px;
}

.guest-menu-item > img,
.guest-menu-item > span {
  grid-column: 1 / -1;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: linear-gradient(135deg, #f4e5d8, #fff2c8);
}

.guest-menu-item > span {
  display: grid;
  place-items: center;
  color: var(--guest-accent-dark);
  font-size: 58px;
  font-weight: 900;
}

.guest-menu-details {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 14px 14px 5px;
  text-align: left;
}

.guest-menu-details strong {
  font-size: 17px;
  line-height: 1.2;
}

.guest-menu-details small {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  color: var(--guest-muted);
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.guest-menu-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 8px 14px 14px;
}

.guest-menu-meta b {
  white-space: nowrap;
}

.guest-menu-modifier-note {
  overflow: hidden;
  color: var(--guest-muted);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-menu-add {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 42px;
  height: 42px;
  margin: 4px 12px 10px 0;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--guest-accent);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.guest-menu-add:hover {
  background: var(--guest-accent-dark);
}

.guest-menu-item.unavailable {
  opacity: 0.62;
}

.guest-menu-empty,
.result-box {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--guest-line);
  border-radius: 16px;
  color: var(--guest-muted);
  text-align: center;
  background: #faf8f4;
}

.guest-cart-lines,
.guest-checkout-summary {
  display: grid;
  gap: 10px;
}

.guest-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--guest-line);
  border-radius: 15px;
}

.guest-cart-line > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.guest-cart-line small {
  color: var(--guest-muted);
  line-height: 1.35;
}

.guest-qty {
  display: grid;
  grid-template-columns: 34px minmax(24px, auto) 34px;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.guest-qty button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--guest-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 19px;
}

.guest-qty.compact {
  grid-template-columns: 29px 24px 29px;
}

.guest-qty.compact button {
  width: 29px;
  height: 29px;
}

.guest-submit,
.guest-secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--guest-accent);
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.guest-submit:hover {
  background: var(--guest-accent-dark);
}

.guest-submit:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.guest-secondary-button {
  border: 1px solid var(--guest-line);
  color: var(--guest-ink);
  background: #fff;
}

.guest-back-button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--guest-accent-dark);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.guest-checkout-summary {
  margin-bottom: 18px;
}

.guest-checkout-pricing {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 15px;
  border: 1px solid var(--guest-line);
  border-radius: 15px;
  background: #faf8f4;
}

.guest-checkout-pricing > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.guest-checkout-pricing > div > span {
  color: var(--guest-muted);
}

.guest-checkout-pricing strong {
  text-align: right;
}

.guest-checkout-pricing-total {
  margin-top: 3px;
  padding-top: 11px;
  border-top: 1px solid var(--guest-line);
  font-size: 18px;
}

.guest-checkout-pricing p {
  margin: 2px 0 0;
  color: var(--guest-success);
  font-size: 13px;
  line-height: 1.45;
}

.guest-checkout-pricing p.warn {
  color: var(--guest-warning);
}

.guest-checkout-pricing s {
  margin-right: 5px;
  color: var(--guest-muted);
  font-weight: 500;
}

.guest-order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.guest-order-form label,
.guest-product-note {
  display: grid;
  gap: 7px;
  color: #49453f;
  font-size: 13px;
  font-weight: 750;
}

.guest-order-form .wide {
  grid-column: 1 / -1;
}

.guest-order-form [hidden] {
  display: none;
}

.guest-order-form textarea {
  min-height: 90px;
  resize: vertical;
}

.guest-address-field {
  position: relative;
}

.guest-address-field > small,
.guest-lookup-hint {
  color: var(--guest-muted);
  font-weight: 500;
  line-height: 1.4;
}

.guest-lookup-hint[data-status="found"] {
  color: var(--guest-success);
}

.guest-address-suggestions {
  position: absolute;
  z-index: 15;
  top: 76px;
  right: 0;
  left: 0;
  display: grid;
  overflow: auto;
  max-height: 280px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(40, 31, 23, 0.18);
}

.guest-address-suggestions:empty {
  display: none;
}

.guest-address-suggestions button {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--guest-line);
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.guest-address-suggestions button:hover {
  background: var(--guest-accent-soft);
}

.guest-address-suggestions small {
  color: var(--guest-muted);
}

.guest-payment-note {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 14px;
  color: #5c463c;
  background: var(--guest-accent-soft);
}

.guest-payment-note span {
  color: var(--guest-muted);
  line-height: 1.4;
}

.guest-payment-note.warn {
  color: var(--guest-warning);
  background: #fff3dc;
}

.guest-payment-options,
.guest-pickup-locations {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 0;
  border: 0;
}

.guest-pickup-locations legend {
  margin-bottom: 9px;
  font-weight: 800;
}

.guest-payment-option,
.guest-pickup-locations button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--guest-line);
  border-radius: 14px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.guest-payment-option > span,
.guest-pickup-locations button > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.guest-payment-option small,
.guest-pickup-locations small {
  color: var(--guest-muted);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.guest-payment-option.active,
.guest-pickup-locations button.active {
  border-color: var(--guest-accent);
  background: var(--guest-accent-soft);
}

.guest-payment-option > b,
.guest-pickup-locations button > b {
  color: var(--guest-accent-dark);
  font-size: 20px;
}

.guest-form-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: #b82d24;
  font-size: 13px;
  text-align: center;
}

.guest-product-dialog-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 22px;
  background: rgba(20, 17, 14, 0.72);
  backdrop-filter: blur(6px);
}

.guest-product-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(340px, 1.15fr);
  overflow: hidden;
  width: min(900px, 100%);
  height: min(760px, calc(100vh - 44px));
  height: min(760px, calc(100dvh - 44px));
  max-height: calc(100vh - 44px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
}

.guest-product-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  cursor: pointer;
  font-size: 26px;
}

.guest-product-media {
  min-height: 100%;
  background: linear-gradient(135deg, #f4e5d8, #fff2c8);
}

.guest-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-product-media span {
  display: grid;
  height: 100%;
  min-height: 360px;
  place-items: center;
  color: var(--guest-accent-dark);
  font-size: 100px;
  font-weight: 900;
}

.guest-product-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.guest-product-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  padding: 30px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.guest-product-scroll-tail {
  height: 8px;
}

.guest-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-right: 40px;
}

.guest-product-head h2 {
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.025em;
}

.guest-product-head p {
  margin: 8px 0 0;
  color: var(--guest-muted);
  line-height: 1.5;
}

.guest-product-price {
  white-space: nowrap;
  color: var(--guest-accent-dark);
  font-size: 20px;
}

.guest-product-modifiers {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.guest-product-modifier-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.guest-product-modifier-group legend {
  margin-bottom: 9px;
  font-weight: 850;
}

.guest-product-modifier-group legend small {
  color: var(--guest-muted);
  font-weight: 500;
}

.guest-product-modifier-list {
  display: grid;
  gap: 8px;
}

.guest-product-modifier-list > button,
.guest-product-modifier-row {
  min-height: 48px;
  border: 1px solid var(--guest-line);
  border-radius: 13px;
  background: #fff;
}

.guest-product-modifier-list > button,
.guest-product-modifier-row > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-radius: 12px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.guest-product-modifier-list > button.active,
.guest-product-modifier-row.active {
  border-color: var(--guest-accent);
  background: var(--guest-accent-soft);
}

.guest-product-modifier-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-right: 8px;
}

.guest-product-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 12px;
  margin: 0;
  padding: 18px 30px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--guest-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.guest-product-actions .guest-submit {
  margin: 0;
}

.guest-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 28px 12px;
  text-align: center;
}

.guest-success .badge,
.badge {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--guest-success);
  background: #e5f7ed;
  font-size: 13px;
  font-weight: 800;
}

.guest-success h2 {
  margin: 0;
  font-size: 40px;
}

.guest-success p {
  width: 100%;
  max-width: 620px;
  margin: 0;
  color: var(--guest-muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.guest-success > strong {
  font-size: 26px;
}

.guest-success .guest-submit,
.guest-success .guest-secondary-button {
  width: min(420px, 100%);
  max-width: 420px;
  margin-top: 0;
}

.guest-success > a:not(.guest-submit) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.guest-tracking-place {
  display: grid;
  gap: 4px;
  width: min(480px, 100%);
  min-width: 0;
  max-width: 100%;
  padding: 14px;
  border: 1px solid var(--guest-line);
  border-radius: 14px;
  background: #faf8f4;
}

.guest-tracking-place small {
  color: var(--guest-muted);
}

.guest-sticky-cart {
  position: fixed;
  z-index: 40;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 16px;
  display: none;
}

.guest-sticky-cart[hidden] {
  display: none;
}

.guest-sticky-cart-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(560px, 100%);
  min-height: 58px;
  margin: 0 auto;
  padding: 10px 14px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: var(--guest-accent);
  box-shadow: 0 16px 40px rgba(98, 37, 14, 0.32);
  cursor: pointer;
}

.guest-sticky-cart-button span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.guest-sticky-cart-button span b {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.guest-order-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 8px 0;
  color: var(--guest-muted);
  font-size: 13px;
}

.guest-order-footer nav {
  display: flex;
  gap: 15px;
}

.feedback-hero,
.feedback-card {
  width: min(720px, calc(100% - 32px));
  margin: 24px auto 0;
}

.feedback-hero {
  padding: 32px;
  border-radius: 24px;
  color: #fff;
  background: var(--guest-ink);
}

.feedback-card {
  padding: 25px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--guest-shadow);
}

.feedback-rating-grid,
.feedback-reason-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.feedback-reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feedback-rating-grid button,
.feedback-reason-grid button {
  min-height: 48px;
  border: 1px solid var(--guest-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.feedback-rating-grid button.active,
.feedback-reason-grid button.active {
  border-color: var(--guest-accent);
  background: var(--guest-accent-soft);
}

@media (max-width: 920px) {
  .guest-menu-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guest-product-dialog {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 700px) {
  .guest-menu-search input,
  .guest-order-form input,
  .guest-order-form textarea,
  .guest-product-note input {
    font-size: 16px;
  }

  .guest-order-shell {
    width: min(calc(100% - 20px), 620px);
    padding-top: 10px;
  }

  .guest-order-hero {
    min-height: 210px;
    padding: 22px;
    border-radius: 23px;
  }

  .guest-order-hero h1 {
    margin-top: 32px;
    font-size: clamp(34px, 11vw, 50px);
  }

  .guest-order-card {
    min-width: 0;
    margin-top: 12px;
    padding: 17px;
    border-radius: 19px;
  }

  .guest-order-head {
    gap: 10px;
  }

  .guest-order-head > div,
  .guest-checkout-pricing > div,
  .guest-order-footer,
  .guest-order-footer nav {
    min-width: 0;
  }

  .guest-checkout-pricing > div > strong {
    max-width: 62%;
    overflow-wrap: anywhere;
  }

  .guest-order-head strong {
    font-size: 20px;
  }

  .guest-category-sticky {
    margin-right: -17px;
    margin-left: -17px;
  }

  .guest-category-strip {
    padding-right: 17px;
    padding-left: 17px;
  }

  .guest-menu-grid {
    gap: 24px;
  }

  .guest-menu-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .guest-menu-category-title {
    font-size: 20px;
  }

  .guest-menu-item {
    grid-template-rows: 125px auto auto;
  }

  .guest-menu-item > img,
  .guest-menu-item > span {
    height: 125px;
  }

  .guest-menu-details {
    padding: 11px 11px 3px;
  }

  .guest-menu-details strong {
    font-size: 15px;
  }

  .guest-menu-details small {
    min-height: 34px;
    font-size: 12px;
  }

  .guest-menu-meta {
    padding: 8px 3px 10px 11px;
  }

  .guest-menu-modifier-note {
    display: none;
  }

  .guest-menu-add {
    width: 38px;
    height: 38px;
    margin-right: 8px;
  }

  .guest-cart-line {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .guest-cart-line > b {
    grid-column: 1 / -1;
    text-align: right;
  }

  .guest-order-form {
    grid-template-columns: 1fr;
  }

  .guest-order-form .wide {
    grid-column: auto;
  }

  .guest-product-dialog-backdrop {
    align-items: end;
    padding: 0;
  }

  .guest-product-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(150px, 28vh) minmax(0, 1fr);
    overflow: hidden;
    width: 100%;
    height: 92vh;
    height: 92dvh;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }

  .guest-product-media {
    min-height: 0;
    height: auto;
  }

  .guest-product-media span {
    min-height: 100%;
  }

  .guest-product-body {
    overflow: hidden;
  }

  .guest-product-scroll {
    padding: 20px;
  }

  .guest-product-head {
    padding-right: 35px;
  }

  .guest-product-head h2 {
    font-size: 23px;
  }

  .guest-product-actions {
    margin: 0;
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  }

  .guest-sticky-cart {
    display: block;
  }

  .guest-order-footer {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .guest-order-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .guest-order-shell {
    width: calc(100% - 12px);
  }

  .guest-menu-category-grid {
    gap: 7px;
  }

  .guest-menu-item {
    border-radius: 15px;
  }

  .guest-fulfillment-tabs button {
    padding: 8px;
    font-size: 13px;
  }

  .guest-product-actions {
    grid-template-columns: 1fr;
  }

  .guest-product-actions .guest-qty {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
