.mp-wrap, .mp-form {
  --mp-paper: #fffdfa;
  --mp-ink: #2b2924;
  --mp-muted: #70695e;
  --mp-border: #dedad0;
  --mp-accent: #902e28;
  --mp-serif: var(--serif, "Songti SC", "STSong", SimSun, Georgia, serif);
  color: var(--mp-ink);
}
.mp-wrap {
  width: min(91.5%, 1380px); margin: 0 auto; padding: clamp(26px,4vw,64px) 0 36px;
  min-height: 55vh;
}
.mp-heading,.mp-actions,.mp-inline-summary,.mp-wallet,.mp-share,.mp-order-meta { display: flex; align-items: center; gap: 14px; }
.mp-heading,.mp-wallet { justify-content: space-between; }
.mp-heading { margin-bottom: 28px; }
.mp-heading h1 { margin: 0; font: 650 clamp(30px,3.1vw,48px)/1.25 var(--mp-serif); letter-spacing: .05em; }
.mp-section { margin: 26px 0; }
.mp-section h2,.mp-product h2 { margin: 0 0 14px; font: 650 24px/1.4 var(--mp-serif); }
.mp-muted,.mp-explain,.mp-note,.mp-empty { color: var(--mp-muted); line-height: 1.65; }
.mp-muted,.mp-note { font-size: 14px; }
.mp-note { margin: 10px 0; }
.mp-explain { margin: 0 0 14px; }
.mp-empty { background: #f3f0e9; padding: 18px; border-radius: 4px; }
.mp-wrap input,.mp-form input,.mp-form select { font: inherit; min-width: 0; }
.mp-button { padding: 8px 15px; min-height: 36px; border: 1px solid #cbb8a9; border-radius: 4px; background: transparent; color: #714338; font: 550 14px/1.45 var(--sans, sans-serif); }
.mp-button:disabled { opacity: .5; }
.mp-primary { border-color: var(--mp-accent); background: var(--mp-accent); color: #fff9f0; }
.mp-light { background: #f8ecdb; color: #632a24; border-color: transparent; }
.mp-text { border: 0; min-height: 30px; color: var(--mp-accent); padding: 3px 6px; }
.mp-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 25px; border-bottom: 1px solid var(--mp-border); margin: 0 0 22px; }
.mp-tabs button { padding: 9px 0 12px; color: var(--mp-muted); border-bottom: 2px solid transparent; font: inherit; }
.mp-tabs button[aria-pressed="true"] { color: var(--mp-accent); border-color: var(--mp-accent); font-weight: 650; }
.mp-wallet { border-radius: 5px; padding: 26px clamp(18px,3vw,40px); background: #732e27; color: #fff3df; }
.mp-wallet p { margin: 0 0 8px; }
.mp-wallet strong { font: 600 clamp(33px,4vw,54px)/1.15 Georgia, serif; }
.mp-stats { display: flex; flex-wrap: wrap; gap: 0; background: var(--mp-paper); border: 1px solid var(--mp-border); border-radius: 4px; padding: 14px 10px; margin: 16px 0; }
.mp-metric { display: flex; flex-direction: column; padding: 3px 16px; flex: 1 1 140px; gap: 8px; min-width: 0; }
.mp-metric + .mp-metric { border-left: 1px solid var(--mp-border); }
.mp-metric span,.mp-inline-summary span { font-size: 14px; color: var(--mp-muted); }
.mp-metric strong { font: 650 clamp(19px,2.2vw,30px)/1.35 var(--mp-serif); overflow-wrap: anywhere; }
.mp-share,.mp-inline-summary { flex-wrap: wrap; }
.mp-share input,.mp-form input,.mp-form select { border: 1px solid #cfc6b8; border-radius: 3px; padding: 9px 11px; font-size: 16px; background: white; color: inherit; }
.mp-share input { flex: 1 1 200px; max-width: 650px; }
.mp-form { display: grid; gap: 14px; font-size: 15px; }
.mp-form p { margin: 0; line-height: 1.6; }
.mp-field { display: grid; gap: 6px; font-size: 14px; }
.mp-field input,.mp-field select { width: 100%; }
.mp-field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.mp-photo-current { display: flex; align-items: center; gap: 12px; color: var(--mp-muted); font-size: 13px; }
.mp-photo-current img { width: 54px; height: 54px; object-fit: contain; border-radius: 3px; background: #f3f0e9; }
.mp-field input[type="file"] { padding: 7px; font-size: 14px; }
.mp-actions { flex-wrap: wrap; }
.mp-actions:empty { display: none; }
.mp-preview { display: grid; gap: 8px; border-radius: 3px; padding: 10px 15px; background: #f5f1e8; color: var(--mp-muted); }
.mp-preview p { display: flex; justify-content: space-between; gap: 10px; }
.mp-preview b { color: var(--mp-accent); }
.mp-error { color: #9a2923; }
.mp-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--mp-border); border-radius: 4px; }
.mp-scroll table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; background: var(--mp-paper); }
.mp-scroll th,.mp-scroll td { padding: 12px 14px; white-space: nowrap; }
.mp-scroll th { color: var(--mp-muted); background: #f1eee7; font-weight: 550; }
.mp-scroll tr + tr { border-top: 1px solid #e9e6df; }
.mp-section > .mp-button { margin-bottom: 12px; }
.mp-orders { display: grid; gap: 12px; }
.mp-order { border: 1px solid var(--mp-border); border-radius: 4px; background: var(--mp-paper); }
.mp-order-meta { flex-wrap: wrap; background: #f1eee7; color: var(--mp-muted); padding: 11px 16px; font-size: 13px; }
.mp-order-meta b { margin-left: auto; color: var(--mp-accent); }
.mp-order-body { padding: 15px 16px; }
.mp-order-body > strong,.mp-product h2 { font: 650 20px/1.4 var(--mp-serif); }
.mp-order-body > p { font-size: 14px; line-height: 1.6; margin: 7px 0; color: var(--mp-muted); }
.mp-point-total { padding: 10px 15px; border: 1px solid #dfd4c6; border-radius: 3px; font-size: 14px; }
.mp-point-total b { font: 650 24px/1 var(--mp-serif); color: var(--mp-accent); margin-left: 5px; }
.mp-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.mp-product { border: 1px solid var(--mp-border); border-radius: 4px; overflow: hidden; background: var(--mp-paper); }
.mp-product-img { position: relative; aspect-ratio: 1; background: #eae5da; }
.mp-product-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mp-product-img span { position: absolute; top: 10px; left: 10px; color: #6d4c3a; background: #fff8eae6; border: 1px solid #d3c3ad; border-radius: 2px; padding: 3px 6px; font-size: 12px; }
.mp-product-info { padding: 12px 15px 15px; }
.mp-product h2 { margin-bottom: 6px; }
.mp-product-info p { margin: 0 0 12px; color: var(--mp-muted); font-size: 14px; }
.mp-product-info b { font: 650 23px/1.1 var(--mp-serif); color: var(--mp-accent); }
@media(max-width:780px) {
  .mp-wrap { width: calc(100% - 32px); }
  .mp-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .mp-tabs { gap: 8px 18px; }
}
@media(max-width:480px) {
  .mp-wrap { width: calc(100% - 24px); }
  .mp-heading { margin-bottom: 18px; flex-wrap: wrap; }
  .mp-stats { padding: 14px 4px; gap: 8px 0; }
  .mp-metric { flex: 1 1 88px; padding: 3px 7px; }
  .mp-tabs { justify-content: space-between; gap: 5px; }
  .mp-tabs button { font-size: 14px; }
  .mp-product-grid { gap: 9px; }
  .mp-product-info { padding: 10px; }
  .mp-product h2 { font-size: 18px; }
  .mp-scroll th,.mp-scroll td { padding: 9px 10px; }
  .mp-order-meta { gap: 6px; padding: 9px; }
  .mp-order-body { padding: 9px; }
}

.alcohol-notice{margin:16px 0;padding:12px 16px;background:#f4eee4;color:#6f3c2e;font-size:13px;line-height:1.7;border-radius:8px}
.alcohol-notice button{font:inherit;color:inherit;text-decoration:underline;border:0;background:none;cursor:pointer}
.merchant-document img{display:block;max-width:100%;max-height:520px;object-fit:contain;margin:12px auto}
.search-spec{display:block;color:#82786e;font-size:12px;font-weight:400;margin-top:4px}
.mp-promotion{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 0}
.mp-promotion img{max-width:100%;height:auto;background:#fff}
.brand-logo{display:block;width:54px;height:54px;object-fit:contain;border-radius:6px;flex-shrink:0}
@media(max-width:600px){.brand-logo{width:40px;height:40px}.wordmark{gap:8px}.alcohol-notice{padding:10px;font-size:12px}}