
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
button, a, input, select, textarea, [role="button"] { touch-action: manipulation; }
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #f5b800;
  --primary-dark: #6b4700;
  --primary-light: #fff2b8;
  --on-primary: #3b2900;
  --success: #3c8c4a;
  --warning: #ffd34d;
  --danger: #e04b3a;
  --text: #33280f;
  --text-secondary: #756744;
  --border: #eadcae;
  --bg: #fff8e6;
  --card: #fffdf8;
  --white: #fff;
  --shadow: 0 2px 10px rgba(107,71,0,0.07);
  --shadow-md: 0 6px 20px rgba(107,71,0,0.1);
  --shadow-lg: 0 12px 36px rgba(107,71,0,0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}
html { -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(255,216,77,0.35), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
  line-height: 1.45;
}
#main-app { width: min(100%, 760px); margin: 0 auto; }
.header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffe06a 0%, #f5b800 48%, #e8a800 100%);
  color: var(--on-primary);
  padding: 22px 18px 28px;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 8px 24px rgba(245,184,0,0.28);
}
.header::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  pointer-events: none;
}
.header::after {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}
.header h1 { position: relative; font-size: 22px; font-weight: 800; letter-spacing: 0.02em; }
.header p { position: relative; font-size: 13px; opacity: 0.88; margin-top: 6px; max-width: 92%; }
.member-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -10px 14px 0;
  padding: 14px 14px;
  border: 1px solid rgba(234,220,174,0.9);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, var(--card) 100%);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.member-bar-title { font-size: 14px; font-weight: 800; color: var(--primary-dark); }
.member-bar-copy { margin-top: 4px; color: var(--text-secondary); font-size: 12px; line-height: 1.4; }
.member-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.member-button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.member-button:active { transform: scale(0.97); }
.member-button.primary {
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(245,184,0,0.35);
}
.member-button.preorder {
  background: linear-gradient(135deg, #f08a45, #d85a12);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(216,90,18,0.28);
}
.member-status { color: var(--success); font-size: 12px; font-weight: 700; }
.shop-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 10px 0;
  padding: 14px;
  background: linear-gradient(180deg, #fffef9, #fff8e8);
  box-shadow: var(--shadow);
}
.shop-card h4 { font-size: 14px; margin-bottom: 4px; color: var(--primary-dark); }
.shop-card p { color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.shop-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.coupon-code {
  margin-top: 6px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  word-break: break-all;
}
.announcement {
  padding: 13px 14px;
  margin: 12px 14px 0;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fffdf5 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow);
}
.exchange-spotlight {
  display: none;
  width: calc(100% - 28px);
  flex-direction: column;
  margin: 10px 14px 0;
  gap: 8px;
}
.exchange-spotlight-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
}
.exchange-spotlight.show { display: flex; }
.exchange-spotlight-detail { display: block; }
.exchange-preview-tier[data-active="false"] { border-color: #d8d8d8; background: #f3f3f3; color: #666; }
.exchange-preview-tier[data-active="false"] .exchange-choice { opacity: .6; }
.exchange-preview-tier[data-active="false"] .exchange-choice-price { color: #666; }
.exchange-preview-tier[data-active="true"] { border-color: #c38a00; background: #fff8df; color: #513900; }
.exchange-spotlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(107,71,0,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.52);
  font-size: 19px;
}
.exchange-spotlight-copy { min-width: 0; flex: 1; }
.exchange-spotlight-heading { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 850; }
.exchange-spotlight-badge { padding: 2px 6px; border-radius: var(--radius-pill); background: rgba(255,255,255,.72); color: var(--primary-dark); font-size: 10px; font-weight: 850; }
.exchange-spotlight-detail { margin-top: 2px; font-size: 11px; font-weight: 650; line-height: 1.35; color: var(--text-secondary); }
.exchange-spotlight-action { flex: 0 0 auto; padding: 6px 9px; border-radius: var(--radius-pill); background: var(--primary-dark); color: #fff8e6; font-size: 10px; font-weight: 850; white-space: nowrap; }
.announcement-content { min-width: 0; }
.announcement-content strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
}
#announcement-text {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.exchange-tip-stack {
  display: none;
  margin: 8px 14px 0;
  flex-direction: column;
  gap: 6px;
}
.exchange-tip-stack.show { display: flex; }
.exchange-tip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245,184,0,0.45);
  background: linear-gradient(90deg, #fff8e0, #fff2b8);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow);
  min-height: 34px;
}
.exchange-tip-row .promo-tip-label {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #e8a800;
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 800;
}
.exchange-tip-row .exchange-tip-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exchange-tip-row .exchange-tip-text .muted { font-weight: 600; color: var(--text-secondary); }
.exchange-tip-row .exchange-tip-text .ok { color: var(--success); font-weight: 700; }
.exchange-tip-row .exchange-action {
  flex-shrink: 0;
  width: 38px;
  padding: 5px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245,184,0,0.28);
}
.exchange-tip-row .exchange-action:disabled {
  background: #e8dfc4;
  color: #a09070;
  cursor: not-allowed;
  box-shadow: none;
}
.exchange-action-placeholder {
  display: block;
  flex: 0 0 38px;
  height: 26px;
}
.cart-status-hint {
  display: block;
  visibility: hidden;
  width: 100%;
  height: 14px;
  min-height: 14px;
  max-width: 46vw;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}
.cart-status-hint.visible { visibility: visible; }
.cart-status-hint.ready { color: var(--success); }
.cart-status-hint.actionable {
  cursor: pointer;
}
#delivery-slot-hint, #pickup-lead-time-hint { min-height: 14px; }
.cart-exchange-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0 9px 10px;
  border-left: 3px solid #e8a800;
  border-bottom: 1px solid var(--border);
  background: #fffdf5;
}
.cart-exchange-item-info { min-width: 0; flex: 1; }
.cart-exchange-item-name {
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}
.cart-exchange-badge {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #e8a800;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  vertical-align: 1px;
}
.cart-exchange-item-qty { flex-shrink: 0; color: var(--text-secondary); font-size: 12px; }
.menu-nav-sticky {
  position: sticky;
  top: 0;
  z-index: 99;
  background: linear-gradient(180deg, var(--bg) 70%, rgba(255,248,230,0));
  padding: 12px 0 8px;
  backdrop-filter: blur(8px);
}
.menu-search-row { display: flex; align-items: center; gap: 8px; margin: 0 14px 8px; }
.menu-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.menu-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,184,0,0.18);
}
.menu-search input {
  min-width: 0;
  width: 100%;
  height: 38px;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 13px;
  background: transparent;
}
.menu-search input::placeholder { color: #b09a6a; }
.menu-search button {
  display: none;
  flex-shrink: 0;
  border: 0;
  color: var(--text-secondary);
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.menu-search.has-value button { display: block; }
.category-nav {
  background: transparent;
  border-bottom: none;
  padding: 2px 14px 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav button {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.75);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(107,71,0,0.05);
}
.category-nav button.active {
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  color: var(--on-primary);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(245,184,0,0.35);
}
.category-section { padding: 4px 14px 0; }
.category-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 10px 2px 8px;
  border-bottom: none;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffd84d, var(--primary));
  flex-shrink: 0;
}
.menu-item {
  background: var(--white);
  border: 1px solid rgba(234,220,174,0.65);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.menu-item:active { transform: scale(0.995); }
.menu-item-img {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(145deg, #fff6d6, #ffe9a8);
  box-shadow: inset 0 0 0 1px rgba(234,220,174,0.5);
}
.menu-item-info { flex: 1; min-width: 0; margin-left: 12px; display: flex; flex-direction: column; }
.menu-item-heading { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.menu-item-name {
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  max-width: 100%;
}
.menu-item-desc {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-top: 2px;
}
.stock-warning {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff0d7;
  color: #d85a12;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.clearance-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #a33b12;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.clearance-badge {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff0d7;
  color: #c64f12;
  font-size: 11px;
}
.menu-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  margin-top: auto;
  padding-top: 6px;
}
.menu-item-price {
  color: var(--danger);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.menu-item-price span { font-size: 12px; font-weight: 700; }
.sold-out {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  background: #f3eee0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  box-shadow: 0 2px 6px rgba(245,184,0,0.15);
}
.qty-btn:active { background: var(--primary-light); transform: scale(0.94); }
.qty-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.qty-btn.add {
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  border-color: transparent;
  color: var(--on-primary);
  box-shadow: 0 3px 10px rgba(245,184,0,0.35);
}
.qty-input {
  width: 40px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fffdf5;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  outline: none;
}
.qty-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,184,0,0.2); }
.flavor-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.flavor-tag {
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fffef9;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s ease;
}
.flavor-tag.active {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-light);
  box-shadow: 0 2px 6px rgba(245,184,0,0.2);
}
.flavor-tag.disabled { color: #fff; background: #222; border-color: #222; cursor: not-allowed; }
.flavor-bar { gap: 8px; }
.flavor-tag { min-height: 30px; padding: 5px 11px; border-radius: 8px; font-size: 12px; line-height: 1.25; white-space: normal; text-align: center; }
.flavor-tag.active { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 2px 6px rgba(216,90,18,.2); }
.flavor-tag.disabled { color: #9b9b94; background: #f1f1ee; border-color: #d8d8d2; }
.tier-list { display: flex; flex-wrap: nowrap; gap: 4px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; }
.tier-list::-webkit-scrollbar { display: none; }
.tier-tag {
  font-size: 10px;
  color: var(--text-secondary);
  background: #f7f0dc;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  font-weight: 600;
}
.tier-tag.active { color: var(--primary-dark); background: var(--primary-light); }
.tier-hint { min-height: 14px; color: var(--success); font-size: 10px; margin-top: 2px; font-weight: 600; }
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: min(100%, 760px);
  margin: 0 auto;
  background: rgba(255,253,248,0.96);
  border-top: 1px solid rgba(234,220,174,0.8);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 200;
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 28px rgba(107,71,0,0.1);
}
.cart-icon {
  position: relative;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #ffd84d, var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(245,184,0,0.35);
  cursor: pointer;
  flex-shrink: 0;
}
.cart-icon svg { fill: var(--on-primary); width: 24px; height: 24px; }
.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(224,75,58,0.4);
  border: 2px solid #fff;
}
.cart-total { font-size: 20px; font-weight: 800; color: var(--danger); letter-spacing: -0.02em; }
.cart-total span { font-size: 13px; }
.cart-submit {
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  color: var(--on-primary);
  border: none;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245,184,0,0.35);
  transition: transform .12s ease, opacity .15s ease;
}
.cart-submit:active:not(:disabled) { transform: scale(0.97); }
.cart-submit:disabled {
  background: #e8dfc4;
  color: #a09070;
  cursor: not-allowed;
  box-shadow: none;
}
.cart-drawer {
  position: fixed;
  bottom: calc(68px + env(safe-area-inset-bottom));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(100%, 760px);
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-lg);
  z-index: 199;
  max-height: 70vh;
  overflow-y: auto;
  display: none;
  padding: 18px 16px;
}
.cart-drawer.show { display: block; }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3ebcf;
}
.cart-drawer-title { font-size: 16px; font-weight: 800; color: var(--primary-dark); }
.cart-clear {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.cart-clear:active { background: #f7f0dc; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f7f0dc;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; line-height: 1.35; white-space: normal; word-break: break-word; }
.cart-item-flavor { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.cart-item-price { color: var(--danger); font-weight: 700; }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,28,8,0.45);
  z-index: 198;
  display: none;
  backdrop-filter: blur(2px);
}
.overlay.show { display: block; }
.modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(100%, 760px);
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px;
  z-index: 300;
  max-height: 85vh;
  overflow-y: auto;
  display: none;
  box-shadow: var(--shadow-lg);
}
.modal.show { display: block; }
.member-auth-modal {
  top: 50%;
  bottom: auto;
  width: min(430px, calc(100vw - 28px));
  max-height: min(86vh, 720px);
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 1px solid #eadcae;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 50px rgba(51,40,15,.27);
}
.member-auth-copy { margin: -6px 0 16px; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.member-auth-footer { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0e6c9; color: var(--text-secondary); font-size: 13px; }
.member-auth-link { padding: 2px; border: 0; background: transparent; color: var(--danger); font-weight: 800; cursor: pointer; }
.member-auth-consent { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 14px; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.member-auth-consent input { margin-top: 3px; }
.member-auth-status { padding: 10px 12px; border-radius: 9px; background: #fff2b8; color: var(--primary-dark); font-size: 12px; line-height: 1.6; }
.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 50%;
  background: #f7f0dc;
  line-height: 1;
}
.form-group { margin-bottom: 16px; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  display: block;
}
.form-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  background: #fffef9;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,184,0,0.18);
  background: var(--white);
}
.form-radio-group { display: flex; gap: 10px; }
.form-radio {
  flex: 1;
  min-height: 46px;
  padding: 13px 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-secondary);
  background: #fffef9;
  transition: all .15s ease;
}
.form-radio.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(245,184,0,0.2);
}
.zone-trigger {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fffef9;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.zone-trigger.selected {
  color: var(--text);
  border-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}
.zone-trigger-arrow { flex-shrink: 0; color: var(--text-secondary); font-size: 16px; }
.zone-sheet-backdrop { position: fixed; inset: 0; z-index: 330; display: none; background: rgba(40,28,8,.4); backdrop-filter: blur(2px); }
.zone-sheet-backdrop.show { display: block; }
.zone-sheet {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 760px);
  z-index: 340;
  display: none;
  max-height: 72vh;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.zone-sheet.show { display: flex; flex-direction: column; }
.zone-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}
.zone-sheet-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f7f0dc;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
}
.zone-select {
  min-height: 80px;
  max-height: 46vh;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffef9;
}
.zone-option {
  padding: 12px 14px;
  border-bottom: 1px solid #f3ebcf;
  cursor: pointer;
  font-size: 13px;
  transition: background .12s ease;
}
.zone-option:last-child { border-bottom: 0; }
.zone-option:hover { background: #fff8e0; }
.zone-option.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}
.zone-empty { padding: 14px; color: var(--text-secondary); font-size: 12px; text-align: center; }
.pickup-date-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.pickup-date-tabs::-webkit-scrollbar { display: none; }
.pickup-date-tab {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fffef9;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.pickup-date-tab.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.pickup-slot-list { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: thin; }
.pickup-slot {
  flex: 0 0 auto;
  min-width: 120px;
  white-space: nowrap;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffef9;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all .15s ease;
}
.pickup-slot:hover, .pickup-slot.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.pickup-slot:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f3eee0;
  color: #999;
}
.delivery-anytime-option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 8px 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffef9;
  cursor: pointer;
}
.delivery-anytime-option[hidden] { display: none !important; }
.delivery-receipt-notice { margin: 8px 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
#delivery-address-field .delivery-address-tools { gap: 4px; margin: 4px 0 0; }
#delivery-address-field .delivery-address-tools > :empty,
#delivery-address-hint:empty { display: none; }
#delivery-address-field .delivery-address-tools summary { padding: 5px 0; font-size: 12px; line-height: 1.5; }
.delivery-receipt-option { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.delivery-receipt-option input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--primary); }
.delivery-anytime-option input { width: 20px; height: 20px; accent-color: var(--primary); }
.delivery-anytime-option span { display: flex; flex-direction: column; gap: 2px; }
.delivery-anytime-option strong { color: var(--text); font-size: 14px; }
.delivery-anytime-option small { color: var(--text-secondary); font-size: 11px; font-weight: 400; }
.pickup-slot-list.is-disabled { opacity: .48; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.submit-order {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(245,184,0,0.3);
  transition: transform .12s ease;
}
.submit-order:active:not(:disabled) { transform: scale(0.98); }
.submit-order:disabled {
  background: #e8dfc4;
  color: #a09070;
  box-shadow: none;
}
.checkout-modal {
  height: min(88vh, 720px);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.checkout-modal.show { display: flex; }
.checkout-modal .modal-title {
  flex: 0 0 auto;
  margin: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f3ebcf;
  font-size: 16px;
}
.checkout-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 16px 14px; }
.checkout-modal .form-group { margin-bottom: 10px; }
.checkout-modal .form-label { margin-bottom: 4px; font-size: 11px; }
.checkout-modal .form-input { min-height: 38px; padding: 8px 11px; font-size: 13px; border-radius: 10px; }
.checkout-modal .form-radio { min-height: 38px; padding: 9px; font-size: 12px; border-radius: 10px; }
.checkout-modal .form-radio-group { gap: 8px; }
.checkout-coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  background: linear-gradient(135deg, #fffdf5, var(--primary-light));
}
.checkout-coupon .form-label { flex-shrink: 0; margin: 0; white-space: nowrap; }
.checkout-coupon .form-input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 2px 0; box-shadow: none; }
.checkout-modal .summary-row { padding: 5px 0; font-size: 12px; }
.guest-order-notice {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #f0c36d;
  border-left: 4px solid #e8a800;
  border-radius: 10px;
  background: #fff8e1;
  color: #76520b;
  font-size: 12px;
  line-height: 1.55;
}
.guest-order-notice.show { display: block; }
.guest-order-notice strong { display: block; margin-bottom: 2px; color: #5f4100; }
.member-order-notice {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #a8d5b0;
  border-left: 4px solid var(--success);
  border-radius: 10px;
  background: #effaf1;
  color: #286b35;
  font-size: 12px;
  line-height: 1.55;
}
.member-order-notice.show { display: block; }
.member-order-notice strong { display: block; margin-bottom: 2px; color: #205c2c; }
.checkout-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f3ebcf;
  background: rgba(255,253,248,0.98);
  box-shadow: 0 -6px 18px rgba(107,71,0,.08);
}
.checkout-payable { flex: 1; min-width: 0; }
.checkout-payable-label { display: block; color: var(--text-secondary); font-size: 11px; font-weight: 600; }
.checkout-payable-amount { color: var(--danger); font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.checkout-footer .submit-order { width: min(48%, 220px); margin: 0; padding: 12px 16px; font-size: 14px; }
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(51,40,15,0.88);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 400;
  display: none;
  box-shadow: var(--shadow-md);
  max-width: 80vw;
  text-align: center;
}
.toast.show { display: block; }
.order-result { text-align: center; padding: 40px 20px; }
.order-result-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, #4caf5a, var(--success));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(60,140,74,0.3);
}
.order-result-icon svg { fill: white; width: 34px; height: 34px; }
.order-result h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: var(--primary-dark); }
.order-result p { color: var(--text-secondary); margin-bottom: 24px; }
.order-result .order-no { font-size: 14px; color: var(--text); font-weight: 600; }
.embedded-payment { max-width: 560px; margin: 0 auto; text-align: left; }
.embedded-payment-head { margin-bottom: 18px; padding: 17px 18px 19px; border: 1px solid #ead18d; border-radius: 18px; background: linear-gradient(145deg,#fffdf6,#fff0ad); box-shadow: 0 10px 28px rgba(92,67,13,.09); text-align: center; }
.embedded-payment-security { display: flex; align-items: center; gap: 7px; color: #684b06; font-size: 12px; font-weight: 750; }
.embedded-payment-security svg { width: 15px; height: 15px; fill: currentColor; }
.embedded-payment-countdown { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; margin-left: auto; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.78); color: #5f4a17; font-variant-numeric: tabular-nums; white-space: nowrap; }
.embedded-payment-countdown strong { color: var(--primary-dark); font-size: 13px; }
.embedded-payment-countdown.warning { background: #fff0c2; color: #8a5700; }
.embedded-payment-countdown.critical,.embedded-payment-countdown.expired { background: #fde2dc; color: #a3342b; }
.embedded-payment-countdown.critical strong,.embedded-payment-countdown.expired strong { color: #a3342b; }
.embedded-payment-amount-label { margin-top: 15px; color: var(--text-secondary); font-size: 12px; }
.embedded-payment-amount { margin-top: 1px; color: #382900; font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1.15; }
.embedded-payment-order { margin-top: 7px; color: #78672f; font-size: 12px; font-weight: 700; }
.embedded-payment-section-title { margin: 0 0 9px; color: var(--primary-dark); font-size: 14px; }
.embedded-payment-options { display: grid; gap: 9px; margin: 0 0 14px; }
.embedded-payment-option { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 11px; align-items: center; width: 100%; min-height: 60px; padding: 10px 14px; border: 1px solid #e2d7b7; border-radius: 12px; background: #fffefa; color: var(--text); text-align: left; cursor: pointer; transition: border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease; }
.embedded-payment-option:hover { border-color: #d7b64b; transform: translateY(-1px); }
.embedded-payment-option:disabled { cursor: wait; opacity: .62; transform: none; }
.embedded-payment-option.active { border-color: #d6ad26; background: #fffaf0; box-shadow: 0 0 0 2px rgba(232,177,0,.11); }
.embedded-payment-option-indicator { display: grid; width: 18px; height: 18px; place-items: center; border: 2px solid #c8bb94; border-radius: 50%; background: #fff; }
.embedded-payment-option-indicator::after { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-dark); content: ''; opacity: 0; transform: scale(.5); transition: opacity .16s ease,transform .16s ease; }
.embedded-payment-option.active .embedded-payment-option-indicator { border-color: var(--primary-dark); }
.embedded-payment-option.active .embedded-payment-option-indicator::after { opacity: 1; transform: scale(1); }
.embedded-payment-option-copy { min-width: 0; }
.embedded-payment-option-copy strong { display: block; font-size: 14px; }
.embedded-payment-option-copy small { display: block; margin-top: 3px; overflow: hidden; color: var(--text-secondary); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.embedded-payment-option-total { color: #382900; font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }
.embedded-payment-method {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #eadcae;
  border-radius: 14px;
  background: #fffdf8;
}
.embedded-payment-method h3 { margin: 0 0 10px; color: var(--primary-dark); font-size: 15px; }
.airwallex-card-container { min-height: 44px; padding: 9px; border: 1px solid #d9cfae; border-radius: 10px; background: #fff; }
@media (max-width: 420px) {
  .embedded-payment-method { padding-left: 10px; padding-right: 10px; }
  .airwallex-card-container { padding-left: 5px; padding-right: 5px; }
}
.airwallex-wallets { display: none; }
.airwallex-wallets.ready { display: block; }
.airwallex-wallets[hidden] { display: none !important; }
.airwallex-wallet { display: none; min-height: 46px; margin-top: 9px; }
.airwallex-wallet.ready { display: block; }
.airwallex-wallet.payment-disabled { pointer-events: none; opacity: .55; }
.airwallex-wechat { min-height: 260px; }
.embedded-payment-status { margin: 12px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.55; }
.embedded-payment-status.error { color: var(--danger); }
.embedded-payment-status.success { color: var(--success); }
.embedded-payment-secondary { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 13px; color: #b8a66f; font-size: 12px; }
.embedded-payment-secondary button { margin: 0; padding: 2px; border: 0; background: transparent; color: var(--primary-dark); font: inherit; font-weight: 750; cursor: pointer; }
.embedded-payment-secondary button:disabled { opacity: .55; cursor: wait; }
#airwallex-auth-form { position: relative; z-index: 360; }
@media (max-width: 420px) {
  .embedded-payment-head { padding: 15px 14px 17px; }
  .embedded-payment-security > span:not(.embedded-payment-countdown) { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .embedded-payment-amount { font-size: 31px; }
  .embedded-payment-option { grid-template-columns: 18px minmax(0,1fr) auto; gap: 10px; padding-left: 12px; padding-right: 12px; }
}
.combo-section { margin-top: 8px; }
.combo-section-title { font-size: 13px; color: var(--primary-dark); font-weight: 700; margin-bottom: 6px; }
.combo-options { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-option {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: #fffef9;
  transition: all .15s ease;
}
.combo-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.service-button {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.service-qr-card { text-align: center; padding-bottom: env(safe-area-inset-bottom); }
.service-qr-card p { color: var(--text-secondary); margin: 8px 0 14px; }
.service-qr-image {
  display: block;
  width: min(76vw, 300px);
  height: min(76vw, 300px);
  object-fit: contain;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.combo-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary-light), #ffe28a);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}
.combo-card { cursor: pointer; }
.combo-card .menu-item-bottom { justify-content: flex-end; }
.combo-price-block { min-width: 0; margin-right: auto; display: flex; flex-direction: column; gap: 3px; }
.combo-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.combo-original-price { color: var(--text-secondary); font-size: 13px; white-space: nowrap; }
.combo-current-price { white-space: nowrap; }
.simple-mode .combo-price-row .combo-current-price { width: auto; }
.combo-saving { color: var(--danger); font-size: 12px; }
.combo-price-quantity { color: var(--text-secondary); font-size: 12px; }
.combo-config-hero {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 0 14px;
  background: linear-gradient(145deg, #fff6d6, #ffe9a8);
  box-shadow: var(--shadow);
  border: 1px solid rgba(234,220,174,0.65);
}
.combo-config-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.5; margin: -4px 0 16px; }
.combo-group { padding: 12px 0; border-top: 1px solid #f3ebcf; }
.combo-group:first-child { border-top: 0; }
.combo-group-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.combo-group-name { font-size: 15px; font-weight: 700; }
.combo-group-rule { color: var(--text-secondary); font-size: 12px; white-space: nowrap; }
.combo-choice { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; }
.combo-choice-info { min-width: 0; font-size: 14px; }
.combo-choice-detail { color: var(--text-secondary); font-size: 12px; margin-top: 2px; }
.combo-choice .qty-btn { width: 34px; height: 34px; }
.combo-choice .qty-input { width: 46px; height: 34px; font-size: 14px; }
.combo-fixed-list, .combo-components { color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.combo-modal-footer {
  position: sticky;
  bottom: calc(-20px - env(safe-area-inset-bottom));
  margin: 12px -16px -20px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f3ebcf;
  background: rgba(255,253,248,0.98);
}
.combo-modal-price { color: var(--danger); font-size: 16px; font-weight: 800; margin-right: 10px; }
.combo-add-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.combo-add-row .submit-order { width: auto; flex: 1; margin-top: 0; }
.cart-combo { align-items: flex-start; }
.cart-combo .cart-item-name { font-weight: 700; }
.exchange-panel {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.exchange-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(245,184,0,0.4);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #fff8e0, #fff2b8);
}
.exchange-offer-text {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exchange-offer-text .muted {
  font-weight: 600;
  color: var(--text-secondary);
}
.exchange-offer-text .ok { color: var(--success); font-weight: 700; }
.exchange-hint { color: var(--text-secondary); font-size: 12px; }
.exchange-action {
  flex-shrink: 0;
  width: 38px;
  padding: 5px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffd84d, var(--primary));
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245,184,0,0.28);
}
.exchange-action:disabled {
  background: #e8dfc4;
  color: #a09070;
  cursor: not-allowed;
  box-shadow: none;
}
.checkout-exchange-edit {
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid rgba(245,184,0,0.55);
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.checkout-exchange-detail {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
.exchange-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #f3ebcf;
}
.exchange-choice:first-child { border-top: 0; }
.exchange-preview-tier { margin-top: 12px; padding: 10px 12px; border: 1px solid #eadcae; border-radius: 12px; background: #fffdf6; }
.exchange-preview-tier:first-child { margin-top: 0; }
.exchange-choice-info { min-width: 0; flex: 1; font-size: 14px; font-weight: 700; line-height: 1.35; }
.exchange-choice-price { margin-top: 2px; color: var(--danger); font-size: 12px; font-weight: 700; }
.exchange-flavors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.exchange-flavor {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.exchange-flavor.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.exchange-modal-footer {
  position: sticky;
  bottom: calc(-20px - env(safe-area-inset-bottom));
  margin: 12px -16px -20px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f3ebcf;
  background: rgba(255,253,248,0.98);
}
@media (max-width: 480px) {
  .header { padding: 18px 16px 24px; border-radius: 0 0 18px 18px; }
  .header h1 { font-size: 20px; }
  .member-bar { margin: -8px 10px 0; padding: 12px; }
  .announcement { margin: 10px 10px 0; }
  .exchange-tip-stack { margin: 6px 10px 0; }
  .exchange-tip-row { padding: 7px 10px; font-size: 11px; }
  .cart-status-hint { max-width: 36vw; }
  .menu-nav-sticky { padding-top: 10px; }
  .menu-search-row { margin: 0 10px 7px; }
  .category-nav { padding: 2px 10px 4px; }
  .category-nav button { min-height: 36px; padding: 7px 14px; }
  .category-section { padding: 4px 10px 0; }
  .menu-item { padding: 10px; }
  .menu-item-img { width: 72px; height: 72px; }
  .menu-item-info { margin-left: 10px; min-width: 0; }
  .menu-item-bottom { align-items: center; gap: 8px; }
  .qty-control { gap: 5px; }
  .qty-btn { width: 30px; height: 30px; }
  .qty-input { width: 40px; height: 30px; }
  .cart-bar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .cart-item { align-items: flex-start; gap: 8px; flex-wrap: wrap; }
  .cart-item-info { min-width: 150px; }
  .cart-drawer { padding: 16px 12px; }
  .modal { max-height: 92vh; padding: 18px 14px calc(18px + env(safe-area-inset-bottom)); }
  .member-auth-modal { top: 50%; bottom: auto; max-height: 90vh; padding: 17px; border-radius: 18px; }
  .checkout-modal { height: 92vh; padding: 0; }
  .cart-submit { min-height: 46px; padding: 11px 20px; }
  .combo-choice { align-items: flex-start; padding: 4px 0; }
  .combo-choice .qty-control { flex-shrink: 0; }
  .combo-add-row { flex-wrap: wrap; }
  .combo-add-row .submit-order { flex-basis: 100%; }
  .combo-modal-footer {
    bottom: calc(-18px - env(safe-area-inset-bottom));
    margin: 12px -14px calc(-18px - env(safe-area-inset-bottom));
    padding-left: 14px;
    padding-right: 14px;
  }
  .exchange-modal-footer {
    bottom: calc(-18px - env(safe-area-inset-bottom));
    margin: 12px -14px calc(-18px - env(safe-area-inset-bottom));
    padding-left: 14px;
    padding-right: 14px;
  }
}
.special-offer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin: 8px 0;
  color: #a63a17;
  font-size: 12px;
}
.special-offer-badge {
  padding: 3px 7px;
  border-radius: 6px;
  background: #fff0e5;
  font-weight: 700;
}
.special-offer-info small {
  flex-basis: 100%;
  color: var(--text-secondary);
}
.special-price-block { display: grid; gap: 3px; }
.special-original-price { color: var(--text-secondary); font-size: 12px; }
