:root {
  --ink: #221a15;
  --ink-2: #5b4a40;
  --muted: #8b7a6d;
  --cream: #fffaf3;
  --paper: #ffffff;
  --line: #ecdfd1;
  --red: #b8322a;
  --red-2: #d9483a;
  --gold: #c8952c;
  --green: #2f7a55;
  --shadow: 0 8px 28px rgba(84, 52, 30, .10);
  --shadow-lg: 0 18px 48px rgba(84, 52, 30, .18);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans", "Noto Sans", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
img { max-width: 100%; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.narrow { width: min(760px, 92vw); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 250, 243, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { font-size: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 17px; letter-spacing: .2px; }
.brand-text i { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: 3px; }
.brand.small { font-size: 15px; }

.nav { display: flex; gap: 18px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav a { padding: 6px 2px; color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); border-color: var(--red); }
.nav a.ghost { color: var(--muted); font-weight: 400; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.mini-select {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  border-radius: 10px; padding: 6px 8px; font-size: 13px; cursor: pointer;
}
.cart-btn {
  position: relative; border: 1px solid var(--line); background: var(--paper);
  border-radius: 12px; width: 44px; height: 38px; cursor: pointer; font-size: 17px;
}
.cart-btn:hover { border-color: var(--red); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  background: var(--red); color: #fff; border-radius: 10px; font-size: 11px;
  display: grid; place-items: center; padding: 0 5px; font-weight: 700;
}
.menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 500px at 80% -10%, #ffeede 0%, transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.badge-pill {
  display: inline-block; background: #fff3e2; color: #9a5b12; border: 1px solid #f4dcb8;
  padding: 5px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 26px; }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 12px 22px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s;
}
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(184, 50, 42, .25); }
.btn.primary:hover { background: var(--red-2); transform: translateY(-1px); }
.btn.outline { background: transparent; border-color: var(--red); color: var(--red); }
.btn.outline:hover { background: #fff1ec; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

/* hero art */
.hero-art { position: relative; height: 340px; }
.bowl {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 230px; height: 130px; background: linear-gradient(#fff, #f6e6d6);
  border: 3px solid #e3cbaf; border-radius: 12px 12px 115px 115px / 12px 12px 70px 70px;
  box-shadow: var(--shadow-lg);
}
.noodles {
  position: absolute; left: 18px; right: 18px; top: 22px; height: 44px;
  background: repeating-linear-gradient(90deg, #f0c96a 0 6px, #e6b64f 6px 12px);
  border-radius: 30px; opacity: .95;
}
.chopsticks {
  position: absolute; right: -6px; top: -34px; width: 8px; height: 150px;
  background: linear-gradient(#c99a5c, #a4713c); transform: rotate(22deg); border-radius: 4px;
  box-shadow: 14px 6px 0 -1px #b5854a;
}
.steam { position: absolute; bottom: 100%; width: 10px; height: 46px; border-radius: 10px; background: rgba(184, 50, 42, .16); filter: blur(3px); animation: rise 3.2s infinite ease-in-out; }
.s1 { left: 60px; } .s2 { left: 110px; animation-delay: .5s; } .s3 { left: 160px; animation-delay: 1s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(10px) scaleY(.7);} 50% { opacity: .9; } 100% { opacity: 0; transform: translateY(-26px) scaleY(1.2);} }
.float-card {
  position: absolute; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap;
}
.c1 { top: 12px; left: 0; } .c2 { bottom: 26px; left: 8px; } .c3 { top: 40%; right: 0; }

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section.alt { background: #fdf4ea; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.section-head p { color: var(--ink-2); max-width: 62ch; margin: 0 auto; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product {
  position: relative; display: flex; flex-direction: column; padding: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: .2s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product .emoji { font-size: 34px; }
.product .cover {
  height: 96px; border-radius: 12px; display: grid; place-items: center; font-size: 40px; margin-bottom: 14px;
}
.theme-red { background: linear-gradient(135deg, #ffe3dc, #ffd0c6); }
.theme-teal { background: linear-gradient(135deg, #dff2ef, #c9e9e4); }
.theme-wheat { background: linear-gradient(135deg, #f8ecd2, #f0dcb2); }
.theme-green { background: linear-gradient(135deg, #e4f2e3, #d0e9cf); }
.theme-gold { background: linear-gradient(135deg, #ffeeb8, #ffe08a); }
.theme-amber { background: linear-gradient(135deg, #ffeccc, #ffdba6); }
.theme-pink { background: linear-gradient(135deg, #fbe6ec, #f6cdd9); }
.theme-blue { background: linear-gradient(135deg, #e4eefb, #cfe0f7); }
.biz-pill { display: inline-block; background: #221a15; color: #ffd28a; border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; margin-bottom: 12px; }
.biz-chip { background: #221a15; color: #ffd28a; border-color: #221a15; }
.product h3 { font-size: 19px; margin: 0 0 4px; }
.tagline { color: var(--red); font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.product .desc { font-size: 14px; color: var(--ink-2); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip { background: #fdf3e9; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; padding: 3px 10px; color: var(--ink-2); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 12px; }
.price { font-size: 26px; font-weight: 800; color: var(--ink); }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 14px; }
.price.free { color: var(--green); }
.badge {
  position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--red);
}
.badge.best { background: var(--gold); }
.badge.free { background: var(--green); }
.prod-actions { display: flex; gap: 8px; }
.prod-actions .btn { flex: 1; padding: 10px 12px; font-size: 14px; }
.free-cta { display: none; }

/* ---------- 同意勾选（GDPR / CAN-SPAM 合规） ---------- */
.consent {
  display: flex; align-items: flex-start; gap: 8px; justify-content: center;
  margin: 10px auto 0; max-width: 560px; font-size: 12.5px; color: var(--muted); line-height: 1.5;
}
.consent input { margin-top: 3px; flex: none; accent-color: var(--red); }
.modal-body .consent { justify-content: flex-start; margin: 8px 0 0; max-width: none; }

/* ---------- 完整菜单折叠面板 ---------- */
.menu-btn {
  width: 100%; display: flex; align-items: center; gap: 7px; cursor: pointer;
  background: #fffdf9; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 12px; margin: 10px 0 0; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); font-family: inherit; transition: .18s;
}
.menu-btn:hover { border-color: var(--red-2); color: var(--red); background: #fff6ec; }
.menu-btn .mt-ico { font-size: 14px; }
.menu-btn .mt-cnt {
  margin-left: auto; background: var(--red); color: #fff; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; padding: 1px 8px;
}
.menu-btn .mt-caret { font-size: 11px; color: var(--muted); transition: transform .2s; }
.menu-btn.open .mt-caret { transform: rotate(180deg); }
.menu-panel {
  margin-top: 8px; background: #fffdf9; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
.menu-intro { margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
.menu-scroll { margin: 0 0 8px; font-size: 11.5px; color: var(--gold); font-weight: 600; }
.dish-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; }
.dish-list::-webkit-scrollbar { width: 6px; }
.dish-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.dish { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.dish:last-child { border-bottom: 0; }
.dish-hd { display: flex; align-items: baseline; gap: 8px; }
.dish-i {
  flex: none; width: 20px; height: 20px; line-height: 20px; text-align: center;
  font-size: 11px; font-weight: 700; color: var(--muted); background: #fdf3e9;
  border-radius: 50%;
}
.dish-nm { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.dish-nm em { display: block; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.dish-tags { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.dish-tags .tm { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.lv { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.lv.l1 { background: #e4f2e3; color: #2f7a55; }
.lv.l2 { background: #fff3e2; color: #9a5b12; }
.lv.l3 { background: #f4e3e2; color: #a33; }
.dish-bd { display: grid; gap: 2px; margin-top: 3px; font-size: 12px; color: var(--ink-2); }
.dish-bd span { display: block; }
@media (max-width: 600px) {
  .dish-list { max-height: 300px; }
  .dish-nm { font-size: 13px; }
}

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 18px; font-size: 15.5px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq-a { padding: 0 18px 16px; color: var(--ink-2); font-size: 14.5px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.plus { transition: .2s; color: var(--red); font-weight: 700; }

/* ---------- forms ---------- */
.form-card { padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
label span { display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px;
  font-size: 14.5px; font-family: inherit; background: #fffdfa; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(184, 50, 42, .25); border-color: var(--red); }
textarea { resize: vertical; }
.form-note { margin-top: 10px; font-size: 13.5px; color: var(--green); min-height: 18px; }
.form-note.err { color: var(--red); }

.support-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.support-contact { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.contact-card .c-ico { font-size: 22px; }
.contact-card b { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contact-card a, .contact-card span { font-size: 14.5px; font-weight: 600; word-break: break-all; }
.hours { font-size: 13.5px; color: var(--ink-2); margin: 4px 0 0; }

.newsletter { background: linear-gradient(135deg, #fff3e2, #ffe9d2); }
.sub-form { display: flex; gap: 10px; max-width: 520px; margin: 18px auto 0; }
.sub-form input { flex: 1; }

/* ---------- payment box ---------- */
.pay-box { background: #fff8ee; border: 1px dashed #e6cfa8; border-radius: 14px; padding: 16px; margin-top: 14px; }
.pay-box h4 { margin: 0 0 10px; font-size: 14.5px; }
.pay-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #e6cfa8; font-size: 14px; }
.pay-line:last-child { border-bottom: none; }
.pay-line .v { font-weight: 700; text-align: right; word-break: break-all; }
.pay-line .v small { font-weight: 400; color: var(--muted); }
.copy-btn { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 16px; font-size: 13px; cursor: pointer; font-weight: 600; }
/* ---------- 一键付款链接（金额已预填） ---------- */
.pay-auto { background: #f6fbf7; border: 1px solid #cfe6d4; border-radius: 12px; padding: 14px; margin: 10px 0 4px; }
.pay-auto .btn.primary { display: block; text-align: center; text-decoration: none; font-size: 15px; padding: 12px 16px; }
.pay-auto .copy-btn { background: #fff; }
.copy-btn:hover { border-color: var(--red); color: var(--red); }

.summary { background: #fff8ee; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.summary .row { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .row.total { font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 60; background: rgba(40, 25, 15, .48);
  display: none; place-items: center; padding: 18px; overflow: auto;
}
.modal.open { display: grid; }
.modal-box {
  background: var(--paper); border-radius: 18px; width: min(560px, 100%);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s ease-out;
}
.modal-box.center { text-align: center; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 18px; }
.x { background: none; border: none; font-size: 14px; cursor: pointer; color: var(--muted); }
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.total-line { font-size: 15px; }
.total-line b { font-size: 20px; margin-left: 8px; }
.done-ico { font-size: 44px; }
.order-id { font-size: 22px; font-weight: 800; letter-spacing: 2px; background: #fff3e2; padding: 10px; border-radius: 12px; margin: 10px 0; }
.legal-body { white-space: pre-wrap; font-size: 14px; color: var(--ink-2); }

.lookup-result { margin-top: 14px; font-size: 14px; }
.lookup-result .st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st.paid { background: #e4f2e3; color: var(--green); }
.st.wait { background: #fff3e2; color: #9a5b12; }
.dl-item { display: flex; justify-content: space-between; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-top: 8px; }

.cart-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart-item .nm { font-weight: 600; font-size: 14.5px; }
.cart-item .sub { color: var(--muted); font-size: 13px; }
.cart-item button { background: none; border: none; color: var(--red); cursor: pointer; font-size: 13px; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }

/* ---------- footer ---------- */
.site-footer { background: #2b1f18; color: #e8ddd2; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer .muted { color: #b3a496; font-size: 13px; margin: 6px 0 0; }
.footer-links { display: flex; gap: 18px; font-size: 13.5px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: #221a15; color: #fff; padding: 12px 22px; border-radius: 12px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- blog / seo ---------- */
.post { padding: 40px 0 60px; }
.post-crumb { font-size: 13.5px; margin-bottom: 18px; }
.post-crumb a { color: var(--muted); }
.post-crumb a:hover { color: var(--red); }
.post-emoji { font-size: 30px; }
.post-emoji.big { font-size: 46px; margin-bottom: 10px; }
.post h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 6px 0 10px; }
.post-meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.post-lead { font-size: 17px; color: var(--ink-2); border-left: 3px solid var(--red); padding-left: 14px; }
.post-body h2 { font-size: 21px; margin-top: 32px; }
.post-body p { font-size: 16px; }
.post-body ul, .post-body ol { padding-left: 22px; font-size: 15.5px; }
.post-body li { margin-bottom: 7px; }
.post-body ol.steps li { margin-bottom: 12px; }
.tip { background: #fff3e2; border: 1px solid #f4dcb8; border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.tip b { display: block; font-size: 12.5px; color: #9a5b12; text-transform: uppercase; letter-spacing: .08em; }
.tip p { margin: 4px 0 0; font-size: 14.5px; }
.ilink { background: #fdf4ea; border-radius: 12px; padding: 12px 16px; font-size: 15px; margin: 14px 0; }
.ilink a { color: var(--red); font-weight: 600; }
.post-ing { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 26px 0; }
.post-ing h2 { margin-top: 0; }
.post-ing ul { padding-left: 20px; font-size: 15px; }
.faq-q-static { padding: 14px 16px; }
.faq-q-static b { display: block; font-size: 15px; margin-bottom: 4px; }
.faq-q-static p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.post-cta { background: linear-gradient(135deg, #fff3e2, #ffe9d2); border-radius: 16px; padding: 24px; margin: 34px 0; text-align: center; }
.post-cta h3 { font-size: 20px; }
.post-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card h2 { font-size: 17.5px; margin: 8px 0; }
.post-card h3 { font-size: 15.5px; margin: 8px 0; }
.post-card .muted { font-size: 14px; }
.post-card.small { padding: 16px; }
.blog-cta { margin-top: 40px; text-align: center; }

/* ---------- admin ---------- */
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.admin-login { max-width: 380px; margin: 12vh auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 24px; }
.stat span { font-size: 12.5px; color: var(--muted); }
table.orders { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 13.5px; box-shadow: var(--shadow); }
table.orders th, table.orders td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.orders th { background: #fdf3e9; font-size: 12.5px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tag.pending { background: #fff3e2; color: #9a5b12; }
.tag.paid { background: #e4f2e3; color: #2f7a55; }
.tag.delivered { background: #e3ecf8; color: #2b5fa8; }
.tag.refunded { background: #f4e3e2; color: #a33; }
.tag.new { background: #fff3e2; color: #9a5b12; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.row-actions button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12px; cursor: pointer; }
.row-actions button:hover { border-color: var(--red); color: var(--red); }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.admin-tabs button.active { background: var(--red); color: #fff; border-color: var(--red); }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.backup-bar { margin-bottom: 18px; }
.backup-inner { background: #fff8ee; border: 1px dashed #e6cfa8; border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.backup-inner b { font-size: 14.5px; }
.backup-inner .muted { font-size: 12.5px; }
.backup-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.btn.small { padding: 7px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- 在线支付 / 交付 ---------- */
.pay-online-hint { margin-top: 10px; font-size: 13px; color: #0f766e; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 8px; padding: 8px 12px; }
.pay-box h4 { margin: 0 0 6px; font-size: 15px; }
.dl-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.dl-btns .btn { padding: 5px 12px; font-size: 12.5px; }
.dl-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.status-dot.on { background: #16a34a; }
.status-dot.off { background: #d1d5db; }
.btn.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(185,28,28,.45); } 50% { box-shadow: 0 0 0 8px rgba(185,28,28,0); } }
.card textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }

/* ---------- RTL（阿拉伯语） ---------- */
body.rtl .wrap { direction: rtl; }
body.rtl .nav { direction: rtl; }
body.rtl .brand-text i { margin-left: 0; margin-right: 6px; }
body.rtl .num, body.rtl .qty { direction: ltr; display: inline-block; }
body.rtl .dish h2 .zh { direction: rtl; }
body.rtl input, body.rtl textarea { text-align: right; }
body.rtl input[type="email"], body.rtl input[type="password"], body.rtl input[type="url"] { text-align: left; direction: ltr; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 260px; }
  .support-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; margin-left: auto; }
  .header-tools { order: -1; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .sub-form { flex-direction: column; }
  .hero { padding-top: 34px; }
}
