:root {
  --customer-radius-sm: 10px;
  --customer-radius: 14px;
  --customer-radius-lg: 20px;
  --customer-control-height: 42px;
  --customer-primary-height: 46px;
  --customer-shadow-card: 0 3px 14px rgba(92, 67, 13, .06);
  --customer-shadow-raised: 0 8px 24px rgba(92, 67, 13, .09);
  --customer-shadow-modal: 0 18px 48px rgba(52, 38, 8, .18);
}

html {
  background: #fff8e8;
  -webkit-text-size-adjust: 100%;
}

body.customer-page {
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, #fffdf8 0%, #faf8f1 100%);
}

body.customer-page.psh-install-visible {
  padding-top: 0;
}

body.customer-preorder-page {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

body.customer-status-page {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

body.payment-status-page {
  min-height: 100dvh;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

body.customer-page .psh-install-card {
  padding-top: max(12px, env(safe-area-inset-top));
  box-shadow: 0 4px 14px rgba(92, 67, 13, .10);
}

body.customer-page .psh-install-card-title {
  font-size: 14px;
  line-height: 1.35;
}

body.customer-page .psh-install-card-action {
  min-height: var(--customer-control-height);
  border-radius: var(--customer-radius-sm);
  box-shadow: none;
}

.customer-page :where(button, a, input, select, textarea, [role="button"]):focus-visible {
  outline: 3px solid rgba(244, 189, 39, .32);
  outline-offset: 2px;
}

.customer-page :where(.btn, .member-button, .service-button, .search-btn, .reschedule-submit, .payment-retry-btn) {
  min-height: var(--customer-control-height);
  border-radius: var(--customer-radius-sm);
}

.customer-page :where(.cart-submit, .submit-order, .member-auth-submit) {
  min-height: var(--customer-primary-height);
  border-radius: 12px;
}

.customer-page :where(button, .btn, [role="button"]):disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .5;
}

.customer-page :where(.header, .hero) {
  box-shadow: 0 8px 24px rgba(194, 137, 0, .14);
}

.customer-order-page .header,
.customer-preorder-page .hero {
  padding: 20px 18px 24px;
  border-radius: 0 0 22px 22px;
}

.customer-page :where(.member-bar, .search-bar) {
  box-shadow: var(--customer-shadow-raised);
}

.customer-page :where(.menu-item, .combo-card, .shop-card, .panel, .order-card) {
  box-shadow: var(--customer-shadow-card);
}

.customer-page :where(.menu-item, .combo-card, .panel, .order-card) {
  background: #fff;
}

.customer-order-page .member-bar {
  margin-top: -8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .97);
}

.customer-order-page .announcement {
  border: 1px solid rgba(226, 201, 117, .45);
  border-left: 4px solid #f4bd27;
  background: #fffdf8;
}

.customer-order-page .menu-nav-sticky {
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(250, 248, 241, .98) 76%, rgba(250, 248, 241, 0));
}

.customer-page .menu-item {
  padding: 13px;
}

.customer-page .menu-item-img {
  width: 88px;
  height: 88px;
  padding: 4px;
  object-fit: contain;
  background: #fffaf0;
}

.customer-page .menu-item-heading {
  display: block;
}

.customer-page .menu-item-name {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.38;
}

.customer-page .menu-item-desc {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.4;
}

.customer-page .combo-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff8db, #ffe9a3);
  color: #785600;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

.customer-page .combo-card .combo-fixed-list {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.customer-page :where(.modal, .member-auth-modal, .cart-drawer, .checkout, .combo-modal, .exchange-modal) {
  box-shadow: var(--customer-shadow-modal);
}

.customer-page .cart-bar {
  box-shadow: 0 -6px 20px rgba(92, 67, 13, .09);
}

.customer-page :where(.header h1, .hero h1) {
  font-size: 23px;
  line-height: 1.25;
}

.customer-page :where(.panel h2, .campaign-title, .modal-title, .drawer-head, .modal-head) {
  line-height: 1.3;
}

.customer-preorder-page .panel {
  margin: 14px;
  padding: 18px;
  border-radius: var(--customer-radius);
}

.customer-preorder-page :where(.cart-drawer, .checkout) {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.customer-loading {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 88px 20px;
  color: #806f4b;
  text-align: center;
}

.customer-loading::before,
.customer-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #f0dfaa;
  border-top-color: #d89a00;
  border-radius: 50%;
  animation: customer-spin .8s linear infinite;
}

.customer-loading::before {
  content: "";
  display: block;
}

.customer-loading p {
  margin: 0;
  color: inherit !important;
  font-size: 13px;
}

.customer-loading.customer-loading-compact {
  padding: 38px 16px;
}

.customer-loading-error::before {
  display: none;
}

.customer-page :where(.empty, .empty-state) {
  padding: 34px 18px;
  border: 1px dashed rgba(205, 165, 57, .42);
  border-radius: var(--customer-radius);
  background: rgba(255, 253, 248, .62);
  color: #806f4b;
  text-align: center;
}

.customer-page .zone-empty {
  color: #806f4b;
  text-align: center;
}

.customer-page .toast,
.customer-page #toast.show {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(52, 38, 8, .18);
  animation: customer-toast-in .2s ease-out;
}

.payment-status-page .card {
  width: min(420px, 100%);
  padding: 30px 24px;
  border: 1px solid #eadcae;
  border-radius: var(--customer-radius-lg);
  background: linear-gradient(155deg, #fffefa, #fff8e8);
  color: #342608;
  box-shadow: var(--customer-shadow-raised);
}

.payment-status-page .spinner {
  border-color: #f0dfaa;
  border-top-color: #d89a00;
}

.payment-status-page h1 {
  color: #342608;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.payment-status-page p {
  color: #806f4b;
}

.payment-status-page .btn {
  min-height: var(--customer-control-height);
  padding: 0 18px;
  border-radius: var(--customer-radius-sm);
  background: linear-gradient(135deg, #ffd85d, #f4bd27);
  color: #342608;
  font-weight: 800;
  line-height: var(--customer-control-height);
  box-shadow: none;
}

@keyframes customer-spin {
  to { transform: rotate(360deg); }
}

@keyframes customer-toast-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .customer-page :where(.header h1, .hero h1) {
    font-size: 21px;
  }

  .customer-preorder-page .panel {
    margin: 12px 10px;
    padding: 16px;
  }

  .customer-order-page .header,
  .customer-preorder-page .hero {
    padding: 18px 14px 22px;
    border-radius: 0 0 20px 20px;
  }

  .customer-order-page .member-bar {
    padding: 12px;
  }

  .customer-order-page .member-actions {
    gap: 7px;
    margin-top: 9px;
  }

  .customer-order-page .member-button {
    min-height: 36px;
  }

  .customer-page .menu-item {
    padding: 11px;
  }

  .customer-page .menu-item-img {
    width: 84px;
    height: 84px;
  }

  .customer-loading {
    padding: 70px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-page *,
  .customer-page *::before,
  .customer-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Senior mode has its own visual hierarchy and a guided checkout. */
.simple-only { display: none; }
.reading-mode-bar { margin: 14px auto; padding: 0 16px; max-width: 760px; }
.reading-mode-bar button { min-height: 48px; padding: 10px 16px; border: 1px solid #d3cbb8; border-radius: 12px; background: white; color: #423d30; font: inherit; font-size: 16px; cursor: pointer; }
.reading-mode-settings { margin: 14px 0 22px; padding: 16px; border: 1px solid #ded6bf; border-radius: 12px; background: #fffdf6; }
.reading-mode-settings h3 { font-size: 19px; color: #423d30; }
.reading-mode-settings p { margin: 6px 0 14px; font-size: 16px; line-height: 1.6; color: #635b48; }
.reading-mode-settings button { width: 100%; min-height: 56px; padding: 12px 16px; border: 0; border-radius: 10px; background: #f5c34d; color: #302811; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.customer-page .cart-icon { border: 0; cursor: pointer; }
body.simple-mode {
  --primary: #f4bd38; --primary-dark: #443619; --on-primary: #27251f;
  --text: #292923; --text-secondary: #68675c; --border: #e3e1d7;
  --customer-control-height: 56px; --customer-primary-height: 60px;
  background: #f5f4ee; color: #292923; font-size: 18px; line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.simple-mode .simple-only { display: block; }
.simple-mode .senior-step-hidden { display: none !important; }
.simple-mode:not(.simple-extras-open) #simple-member-options,
.simple-mode:not(.simple-extras-open) #exchange-spotlight { display: none; }
.simple-mode.customer-order-page { padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
.simple-mode.customer-order-page .header { background: #f5f4ee; padding: 20px 22px 4px; border-radius: 0; box-shadow: none; }
.simple-mode .header::before, .simple-mode .header::after, .simple-mode #site-desc,
.simple-mode .menu-search-row .service-button { display: none; }
.simple-mode.customer-order-page .header h1 { font-size: 19px; color: #625c49; letter-spacing: 0; }
.simple-mode .reading-mode-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 auto; padding: 4px 22px 12px; }
.simple-mode .senior-mode-label { font-size: 14px; color: #655b43; }
.simple-mode #announcement-button { position: static; transform: none; width: auto; height: auto; min-height: 48px; padding: 8px 14px; border: 1px solid #d3cbb8; border-radius: 10px; background: #fff; color: #49483c; font-size: 17px; letter-spacing: 0; writing-mode: horizontal-tb; }
.simple-mode .senior-intro { padding: 6px 22px 14px; }
.simple-mode .senior-eyebrow { font-size: 15px; color: #78643a; font-weight: 650; }
.simple-mode .senior-intro h2 { margin: 6px 0 8px; font-size: 30px; line-height: 1.35; letter-spacing: -.04em; }
.simple-mode .senior-intro p { font-size: 18px; color: #626153; line-height: 1.7; }
.simple-mode .senior-help-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.simple-mode .senior-help-row :is(button, a) { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 12px; flex: 1 1 130px; border: 1px solid #dad6c7; border-radius: 12px; background: #fff; color: #49483c; font: inherit; font-size: 16px; font-weight: 650; text-decoration: none; cursor: pointer; }
.simple-mode .menu-nav-sticky { position: static; background: transparent; padding: 0 6px 10px; }
.simple-mode .menu-search-row { display: block; }
.simple-mode .menu-search-row .service-button { display: none !important; }
.simple-mode .menu-search { height: 56px; border: 1px solid #d9d6c8; border-radius: 12px; background: #fff; box-shadow: none; }
.simple-mode .menu-search input { font-size: 18px; }
.simple-mode .category-nav { display: flex; flex-wrap: wrap; white-space: normal; overflow: visible; gap: 8px; padding-top: 8px; }
.simple-mode .category-nav button { min-height: 48px; margin: 0; padding: 10px 16px; font-size: 17px; line-height: 1.4; white-space: normal; border: 1px solid #d9d6c8; border-radius: 10px; background: #fff; color: #545044; box-shadow: none; }
.simple-mode .category-nav button.active { background: #393c32; color: #fff; border-color: #393c32; }
.simple-mode .category-section { padding: 6px 16px 10px; }
.simple-mode .category-title { font-size: 21px; padding: 0 0 8px; margin: 0 0 8px; color: #39392f; }
.simple-mode .category-title::before { display: none; }
.simple-mode .menu-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 18px; margin-bottom: 16px; background: #fff; border: 1px solid #e2dfd3; border-radius: 18px; box-shadow: 0 3px 0 #e9e6db; }
.simple-mode .menu-item:active { transform: none; }
.simple-mode .menu-item-img { width: 104px; height: 112px; padding: 8px; object-fit: contain; background: #faf9f4; border-radius: 12px; box-shadow: none; }
.simple-mode .menu-item:not(:has(.menu-item-img)) { grid-template-columns: minmax(0, 1fr); }
.simple-mode .menu-item-info { margin: 0; min-width: 0; }
.simple-mode .menu-item-name, .simple-mode .menu-item-desc, .simple-mode .combo-fixed-list { display: block; overflow: visible; -webkit-line-clamp: unset; white-space: normal; }
.simple-mode .menu-item-name { font-size: 20px; font-weight: 750; line-height: 1.55; color: #2f3029; }
.simple-mode .menu-item-desc { font-size: 16px; color: #666658; margin-top: 6px; }
.simple-mode .menu-item-bottom { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.simple-mode .menu-item-price { width: 100%; color: #a04420; font-size: 26px; }
.simple-mode .menu-qty-control { display: none; }
.simple-mode .senior-add { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-radius: 12px; background: #f5c34d; color: #302811; font: inherit; font-size: 19px; font-weight: 750; cursor: pointer; }
.simple-mode .senior-add span { font-size: 25px; line-height: 1; }
.simple-mode .senior-quantity-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.simple-mode .senior-quantity-actions button { justify-content: center; min-width: 0; min-height: 56px; padding: 10px 4px; border-radius: 12px; font: inherit; font-size: 18px; font-weight: 750; cursor: pointer; }
.simple-mode .senior-remove { border: 1px solid #c5bfab; background: #f4f1e7; color: #454132; }
.simple-mode .senior-remove:disabled { background: #f3f2ee; color: #79766d; border-color: #e2dfd3; cursor: not-allowed; }
.simple-mode .senior-added { width: 100%; font-size: 15px; color: #39704d; line-height: 1.6; }
.simple-mode .senior-added:empty { display: none; }
.simple-mode .flavor-tag { min-height: 48px; padding: 10px 12px; font-size: 17px; border: 1px solid #d9d6c8; background: white; }
.simple-mode .flavor-tag.active { border: 2px solid #827035; background: #fff3ca; color: #383021; box-shadow: none; }
.simple-mode .senior-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 16px; }
.simple-mode .senior-more button { min-height: 48px; background: transparent; color: #666052; border: 0; text-decoration: underline; text-underline-offset: 5px; font: inherit; font-size: 16px; cursor: pointer; }
.simple-mode .cart-bar { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fffdf8; border-top: 1px solid #dfdacb; box-shadow: 0 -4px 20px #2929230d; backdrop-filter: none; }
.simple-mode .cart-icon { display: none; }
.simple-mode .cart-bar > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.simple-mode .senior-bag-count { color: #67614f; font-size: 17px; }
.simple-mode .cart-total { color: #2f3029; }
.simple-mode #cart-total-amount { font-size: 25px; }
.simple-mode .cart-submit, .simple-mode .senior-next, .simple-mode .checkout-footer .submit-order { width: 100%; min-height: 60px; padding: 14px 18px; border: 0; border-radius: 12px; background: #f5c34d; color: #302811; font: inherit; font-size: 21px; font-weight: 750; box-shadow: none; cursor: pointer; }
.simple-mode .checkout-modal.show { position: fixed; inset: 0; transform: none; width: min(100%, 760px); height: 100dvh; max-height: 100dvh; margin: auto; border: 0; border-radius: 0; padding: env(safe-area-inset-top) 0 0; background: #f5f4ee; box-shadow: none; }
.simple-mode .checkout-modal > .modal-title { display: none; }
.simple-mode .senior-checkout-head { flex-shrink: 0; padding: 12px 20px 0; background: #fffdf8; border-bottom: 1px solid #e1ddcf; }
.simple-mode .senior-checkout-nav { display: flex; justify-content: space-between; gap: 8px; }
.simple-mode .senior-checkout-nav button { min-height: 48px; padding: 8px 0; border: 0; background: transparent; color: #535443; font: inherit; font-size: 17px; font-weight: 650; cursor: pointer; }
.simple-mode .senior-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 14px 0 16px; margin: 0; }
.simple-mode .senior-progress li { padding: 8px 0; border-top: 4px solid #e5e3d9; color: #69685c; font-size: 15px; text-align: center; }
.simple-mode .senior-progress li[aria-current] { border-color: #d09a18; color: #3e3520; font-weight: 750; }
.simple-mode .senior-progress li.complete { border-color: #5e7f61; color: #3e6544; }
.simple-mode .checkout-scroll { padding: 22px 20px 28px; background: #f5f4ee; }
.simple-mode .senior-step-heading { margin-bottom: 24px; }
.simple-mode #senior-step-counter { color: #77674b; font-size: 15px; font-weight: 650; }
.simple-mode #senior-step-title { margin: 6px 0 10px; color: #2e3027; font-size: 29px; line-height: 1.35; outline: none; }
.simple-mode #senior-step-help { font-size: 18px; color: #666658; line-height: 1.7; }
.simple-mode .checkout-modal .form-group { padding: 18px; margin: 0 0 18px; border: 1px solid #e2ded1; border-radius: 14px; background: #fff; box-shadow: none; }
.simple-mode .checkout-modal .form-label { display: block; font-size: 18px; color: #383a30; margin-bottom: 12px; }
.simple-mode .checkout-modal .form-input, .simple-mode .search-input { min-height: 62px; padding: 14px; border: 1px solid #bcb8a8; border-radius: 10px; background: #fff; font-size: 21px; color: #2d3027; box-shadow: none; }
.simple-mode #simple-phone-hint { margin-top: 14px; font-size: 16px; color: #656455; line-height: 1.7; }
.simple-mode .checkout-modal .form-radio-group { flex-wrap: wrap; gap: 12px; padding: 0; border: 0; background: transparent; }
.simple-mode .checkout-modal .form-radio { flex: 1 1 120px; min-height: 68px; padding: 14px 12px; border: 2px solid #d8d6c9; border-radius: 12px; background: #fff; font-size: 20px; color: #3f4136; box-shadow: none; }
.simple-mode .checkout-modal .form-radio.active { border-color: #847133; background: #fff3c9; font-weight: 750; }
.simple-mode .form-radio.active::before { content: '✓ '; }
.simple-mode .qty-btn { width: 52px; height: 52px; flex-shrink: 0; background: #f1efe5; box-shadow: none; font-size: 25px; }
.simple-mode .qty-input { width: 52px; height: 52px; font-size: 20px; background: #fff; border: 1px solid #e1ddcf; }
.simple-mode .cart-item { display: block; background: #fff; padding: 18px; margin: 0 0 14px; border: 1px solid #e1ddcf; border-radius: 14px; }
.simple-mode .cart-item-name { font-size: 20px; line-height: 1.6; }
.simple-mode .cart-item > div:last-child { flex-wrap: wrap; justify-content: space-between; margin-top: 14px; }
.simple-mode .cart-item-price { font-size: 21px; }
.simple-mode .cart-item .qty-control { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); width: 100%; margin-top: 10px; gap: 10px; }
.simple-mode .cart-item .qty-btn { width: 100%; height: 56px; gap: 8px; border: 1.5px solid #cfc8b5; border-radius: 12px; background: #fff; color: #494536; box-shadow: 0 2px 0 #e5dfd0; font-size: 18px; transition: background .12s ease, border-color .12s ease, box-shadow .12s ease, transform .08s ease; }
.simple-mode .cart-item .qty-btn:first-child::before { content: '−'; font-size: 26px; font-weight: 500; line-height: 1; }
.simple-mode .cart-item .qty-btn.add { border-color: #d7a21d; background: #f5c34d; color: #302811; box-shadow: 0 2px 0 #c99519; }
.simple-mode .cart-item .qty-btn.add::after { content: '+'; font-size: 24px; font-weight: 600; line-height: 1; }
.simple-mode .cart-item .qty-btn:active { transform: translateY(1px); box-shadow: none; }
.simple-mode .cart-item .qty-input { width: 58px; height: 56px; border: 2px solid #ded7c5; border-radius: 12px; background: #fffdf8; font-size: 21px; }
.simple-mode .senior-review { background: #fff; padding: 4px 18px; border: 1px solid #e1ddcf; border-radius: 14px; margin-bottom: 18px; }
.simple-mode .senior-start { display: none; }
.simple-mode.senior-choosing .senior-start { display: block; margin: 16px; padding: 22px; background: #fffdf8; border: 1px solid #dfdacb; border-radius: 18px; }
.simple-mode.senior-choosing :is(.senior-intro, .senior-delivery-summary, .menu-nav-sticky, #menu-content, .cart-bar, .senior-more, #simple-member-options, #exchange-spotlight) { display: none !important; }
.simple-mode .senior-start h2 { font-size: 26px; margin: 12px 0 24px; }
.simple-mode .senior-start p { font-size: 18px; line-height: 1.7; white-space: pre-line; }
.simple-mode .senior-start [hidden] { display: none !important; }
.simple-mode .senior-start .senior-step-hidden { display: block !important; }
.simple-mode .senior-start .form-radio-group { display: grid; grid-template-columns: 1fr; gap: 12px; }
.simple-mode .senior-start .form-radio { min-height: 72px; font-size: 22px; }
.simple-mode .senior-start .form-radio[data-type="pickup"]::after { content: '无需配送费'; display: block; font-size: 16px; font-weight: 400; }
.simple-mode #senior-start-pickup { padding: 14px; margin-bottom: 18px; background: #fff3cd; border-radius: 12px; }
.simple-mode #senior-start-fee { margin: 18px 0; padding: 14px; background: #f4f1e7; border-radius: 12px; }
.simple-mode #senior-start-next:disabled { opacity: .55; cursor: not-allowed; }
.simple-mode .senior-delivery-summary { position: sticky; top: 0; z-index: 30; padding: 12px 16px; background: #fff3cd; color: #463c25; border-radius: 12px; margin: 0 16px 8px; }
.simple-mode .senior-delivery-summary p { font-size: 17px; line-height: 1.6; white-space: pre-line; }
.simple-mode #senior-fee-status { min-height: 26px; font-size: 15px; line-height: 26px; color: #6c624b; }
.simple-mode .senior-delivery-summary [hidden] { display: none !important; }
.simple-mode .senior-delivery-summary button { min-height: 48px; padding: 8px 12px; margin-top: 8px; font: inherit; font-size: 17px; border: 1px solid #b6a478; border-radius: 10px; background: #fffdf8; color: #463c25; }
.simple-mode #senior-pickup-details { margin: 0 0 18px; font-size: 17px; }
.simple-mode :is(#pickup-location, #senior-start-pickup) :is(.pickup-location-title, .pickup-address, .pickup-instructions),
.simple-mode :is(#delivery-slot-hint, #pickup-lead-time-hint, #member-order-notice) { display: none !important; }
.simple-mode .senior-review p { padding: 14px 0; border-bottom: 1px solid #ece9df; font-size: 18px; overflow-wrap: anywhere; }
.simple-mode .senior-review p:last-child { border: 0; }
.simple-mode .senior-review strong { display: block; margin-bottom: 4px; color: #77705e; font-size: 15px; font-weight: 500; }
.simple-mode .checkout-footer { display: block; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #fffdf8; border-top: 1px solid #dfdacb; box-shadow: none; }
.simple-mode .checkout-modal:not([data-senior-step="3"]) :is(.checkout-payable, #submit-order-btn) { display: none; }
.simple-mode .checkout-modal[data-senior-step="3"] #senior-next { display: none; }
.simple-mode .checkout-payable { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; }
.simple-mode .checkout-payable-label { font-size: 17px; }
.simple-mode .checkout-payable-amount { font-size: 28px; color: #a04420; }
.simple-mode .checkout-footer .submit-order { margin: 0; }
#senior-checkout-error { display: none; }
.simple-mode #senior-checkout-error:not([hidden]) { display: block; margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid #b74c27; background: #fff0e7; color: #82331d; font-size: 17px; line-height: 1.6; }
.simple-mode .senior-payment-note { margin-top: 18px; font-size: 16px; line-height: 1.7; color: #676151; }
.simple-mode .senior-call { margin: 12px 0; padding: 14px; min-height: 56px; border-radius: 12px; background: #f5c34d; color: #302811; text-align: center; font-size: 20px; font-weight: 700; text-decoration: none; }
.simple-mode .zone-option { min-height: 56px; padding: 14px; font-size: 18px; line-height: 1.6; }
.simple-mode :is(.zone-trigger, .pickup-date-tab, .pickup-slot, .service-button, .member-button, .search-mode, .search-btn, .zone-item) { min-height: 56px; font-size: 18px; line-height: 1.5; }
.simple-mode :is(.summary-row, .guest-order-notice, .member-order-notice, .tier-hint, .cart-item-flavor, .zone-empty, .combo-fixed-list, .checkout-exchange-intro, .checkout-exchange-skip, .embedded-payment-status, .embedded-payment-option-copy small, .status-payment-message, .status-payment-option-copy small, .lookup-notice, .info-label, .info-value, .history-meta, .history-date) { font-size: 16px; line-height: 1.65; white-space: normal; }
.simple-mode :is(#delivery-address-hint, #delivery-slot-hint, #pickup-lead-time-hint, #pickup-location, #cash-on-pickup-hint) { font-size: 16px !important; line-height: 1.65 !important; }
.simple-mode .modal-title { font-size: 23px; }
.simple-mode .modal-close, .simple-mode .zone-sheet-close { min-width: 48px; min-height: 48px; line-height: 48px; text-align: center; flex-shrink: 0; }
.simple-mode #announcement-text { display: block; overflow: visible; -webkit-line-clamp: unset; font-size: 18px; }
#checkout-coupon-details { margin-bottom: 8px; }
#checkout-coupon-details summary { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #eadfbe; border-radius: 10px; background: #fff7dc; color: #674c14; font: inherit; cursor: pointer; list-style: none; }
#checkout-coupon-details summary::-webkit-details-marker { display: none; }
#checkout-coupon-details .form-input { display: block; width: 100%; margin-top: 8px; }
.simple-mode #checkout-coupon-details summary { min-height: 52px; font-size: 18px; }
.simple-mode #checkout-coupon-code { min-width: 0; min-height: 52px; font-size: 18px; max-width: 100%; }
#coupon-modal { max-height: calc(100dvh - 32px); overflow-y: auto; }
#coupon-modal form > button { width: 100%; margin-top: 12px; }
#coupon-code-help { margin: 12px 0; color: #6c624b; line-height: 1.6; }
#coupon-code-error { margin: 12px 0; color: #a52a1e; line-height: 1.6; }
.simple-mode #coupon-code-draft { min-height: 56px; font-size: 20px; }
.simple-mode #coupon-modal p { font-size: 17px; }
.simple-mode .toast { width: min(90vw, 440px); font-size: 18px; line-height: 1.6; animation: none; }
.simple-mode .search-form { flex-wrap: wrap; }
.simple-mode .search-input { flex-basis: 100%; min-width: 0; }
.simple-mode .search-btn { flex: 1; background: #f5c34d; color: #302811; }
.simple-mode :is(.embedded-payment-option-copy strong, .status-payment-option-copy strong, .embedded-payment-option-total, .status-payment-option-total, .payment-retry-card p, .order-card h2), .payment-status-page.simple-mode p { font-size: 18px; }
.simple-mode :is(.embedded-payment-option, .status-payment-option) { grid-template-columns: 18px minmax(0, 1fr); border-radius: 12px; }
.simple-mode :is(.embedded-payment-option-total, .status-payment-option-total) { grid-column: 2; }
.simple-mode :is(.embedded-payment-option-copy small, .status-payment-option-copy small) { overflow: visible; }
.simple-mode :focus-visible { outline: 3px solid #846620; outline-offset: 3px; }
.simple-mode.customer-status-page .header { background: #f5f4ee; box-shadow: none; color: #403f34; border-radius: 0; padding: 20px 22px 10px; }
.simple-mode.customer-status-page .header h1 { color: #625c49; font-size: 19px; }
.simple-mode.customer-status-page .search-bar, .simple-mode .order-card, .simple-mode .payment-sheet { border: 1px solid #e2ded1; border-radius: 16px; background: #fff; box-shadow: none; }
.simple-mode.customer-status-page .reading-mode-bar { margin-top: 12px; }
.simple-mode .history-actions button { min-height: 56px; font-size: 18px; }
.simple-mode.payment-status-page .card { background: #fff; border: 1px solid #e2ded1; box-shadow: none; }
.simple-mode.payment-status-page h1 { font-size: 26px; color: #34372c; }
@media (max-width: 360px) {
  .simple-mode .menu-item { grid-template-columns: 80px minmax(0, 1fr); padding: 14px; gap: 12px; }
  .simple-mode .menu-item-img { width: 80px; height: 100px; }
  .simple-mode .senior-add { font-size: 18px; padding: 10px; }
  .simple-mode .senior-quantity-actions button { padding: 10px 4px; }
  .simple-mode .reading-mode-bar { padding-left: 16px; padding-right: 16px; }
  .simple-mode .senior-mode-label { font-size: 13px; }
}
@media (min-width: 800px) {
  .simple-mode #main-app { max-width: 760px; margin: auto; }
}

.delivery-address-tools { display: grid; gap: 10px; margin: 10px 0; min-width: 0; }
.delivery-address-tools button {
  display: block; width: 100%; min-height: 44px; margin: 5px 0;
  padding: 10px 12px; white-space: normal; overflow-wrap: anywhere;
  border: 1px solid #d9c789; border-radius: 10px; background: #fff8df;
  color: #3f321d; text-align: left; font: inherit; cursor: pointer;
}
.delivery-address-tools button:disabled { opacity: .6; cursor: wait; }
.delivery-address-tools summary { cursor: pointer; padding: 8px 0; }
.delivery-address-tools small { font-size: 10px; line-height: 1.5; color: #706957; }
.delivery-address-tools p { overflow-wrap: anywhere; margin: 6px 0; }

/* Keep catalog combos compact; retain full artwork in the configurator. */
.customer-page .menu-item.combo-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
}
.customer-page .combo-card .menu-item-info {
  width: auto;
  margin-left: 0;
}
.customer-page .combo-config-hero {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(60vh, 420px);
  padding: 0;
  margin: 0 auto 14px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
.customer-page .combo-card .menu-item-img,
.customer-page .combo-card-image {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
.customer-page .combo-card .menu-item-desc,
.customer-page .combo-card .combo-fixed-list,
.customer-page .combo-card .combo-components {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 1.4;
}
.customer-page article.combo-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 10px;
}
.customer-page article.combo-card .combo-card-image {
  grid-column: 1;
  grid-row: 1 / 3;
}
.customer-page .combo-card-top {
  grid-column: 2;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.customer-page .combo-card-top > div {
  min-width: 0;
  max-width: 100%;
}
.customer-page article.combo-card > .btn {
  grid-column: 2;
  justify-self: start;
  margin-top: 0;
  padding: 6px 10px;
}
.customer-page article.combo-card:not(:has(.combo-card-image)) {
  grid-template-columns: minmax(0, 1fr);
}
.customer-page article.combo-card:not(:has(.combo-card-image)) > * {
  grid-column: 1;
}
.customer-page .exchange-spotlight {
  gap: 0;
  margin-top: 6px;
}
.customer-page .exchange-spotlight-row,
.customer-page .exchange-entry {
  gap: 8px;
  padding: 6px 0;
}
.customer-page .exchange-spotlight-row .exchange-action,
.customer-page .exchange-entry button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  min-width: 52px;
  min-height: 36px;
  padding: 6px 10px;
  white-space: nowrap;
  box-shadow: none;
}
