/* ============================================================
   SUDEIW 青橙时光科技旗下 —— 展示 / 预订页样式
   ============================================================ */
:root {
  --green-900: #14361f;
  --green-700: #1f6b3d;
  --green-600: #2a8049;
  --green-500: #3f9b5d;
  --green-100: #e6f3e4;
  --cream: #f7f5ec;
  --card: #ffffff;
  --ink: #1d2a20;
  --ink-2: #5b6b5f;
  --ink-3: #8a978d;
  --line: #e3e6dc;
  --amber: #e2761b;
  --amber-soft: #fdf0e1;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(24, 55, 33, .06);
  --shadow-md: 0 14px 34px rgba(24, 55, 33, .12);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

main[id], section[id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(1200px 420px at 10% -10%, #eaf4e2 0%, transparent 70%),
    radial-gradient(900px 380px at 95% 0%, #fdf0dd 0%, transparent 65%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.wrap { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 245, 236, .86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(31, 107, 61, .1);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  display: block; height: 44px; width: auto; padding: 5px 8px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(24, 55, 33, .1);
}
.brand-divider { width: 1px; height: 30px; background: var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .3px; white-space: nowrap; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--ink-3); letter-spacing: 1.4px; white-space: nowrap; }

.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green-600); border-radius: 2px; transition: width .25s var(--ease);
}
.nav a:hover { color: var(--green-700); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 6px; }

.btn-cart {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 0; border-radius: 12px;
  background: var(--green-700); color: #fff; font-size: 14px;
  box-shadow: 0 8px 18px rgba(31, 107, 61, .25);
  transition: transform .18s var(--ease), background .2s;
}
.btn-cart:hover { background: var(--green-900); transform: translateY(-1px); }
.btn-cart b {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
  background: #fff; color: var(--green-700); font-size: 12px;
  display: inline-grid; place-items: center;
}

/* ---------------- Hero ---------------- */
.hero { padding: 62px 0 34px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700);
  font-size: 12.5px; letter-spacing: .5px; margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.18; letter-spacing: -.5px; font-weight: 800;
}
.hero h1 .hl { color: var(--green-600); position: relative; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(226, 118, 27, .18); border-radius: 4px; z-index: -1;
}
.hero-sub { max-width: 520px; color: var(--ink-2); font-size: 15px; margin: 0 0 26px; }

.hero-search {
  display: flex; gap: 10px; max-width: 560px;
  background: #fff; padding: 8px; border-radius: 16px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(31, 107, 61, .08);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 14px;
  background: transparent; font-size: 14.5px;
}
.hero-search select {
  border: 0; outline: 0; background: var(--cream); color: var(--ink-2);
  padding: 10px 12px; border-radius: 11px; font-size: 13px;
}

.hero-facts { display: flex; gap: 38px; margin-top: 30px; }
.hero-facts b { display: block; font-size: 22px; color: var(--green-700); }
.hero-facts span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .5px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.art-circle {
  position: relative; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff, #eaf4e2 58%, #dbeed2);
  box-shadow: inset 0 0 0 1px rgba(31, 107, 61, .08), var(--shadow-md);
}
.art-emoji {
  position: absolute; font-size: 46px; filter: drop-shadow(0 8px 12px rgba(24, 55, 33, .15));
  animation: float 6s ease-in-out infinite;
}
.e1 { top: 18px; left: 34px; animation-delay: -.2s; }
.e2 { top: 8px; right: 40px; animation-delay: -1.4s; font-size: 40px; }
.e3 { top: 112px; right: -6px; animation-delay: -2.2s; }
.e4 { bottom: 16px; right: 62px; animation-delay: -.8s; font-size: 38px; }
.e5 { bottom: 4px; left: 48px; animation-delay: -3s; font-size: 40px; }
.e6 { top: 130px; left: -10px; animation-delay: -1.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.art-card {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-md); white-space: nowrap;
}
.art-card strong { display: block; font-size: 13.5px; }
.art-card em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(63, 155, 93, .6); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(63, 155, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 155, 93, 0); }
}

/* ---------------- 产品区 ---------------- */
main { padding: 26px 0 60px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.section-head h2 { margin: 0; font-size: 25px; letter-spacing: -.3px; }
.section-sub { margin: 4px 0 0; color: var(--ink-3); font-size: 13.5px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px;
  transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--green-500); color: var(--green-700); }
.tab.active {
  background: var(--green-700); border-color: var(--green-700); color: #fff;
  box-shadow: 0 8px 18px rgba(31, 107, 61, .22);
}

.product-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
}

.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(31, 107, 61, .08);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: rise .45s var(--ease) backwards;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.thumb {
  position: relative; height: 156px; display: grid; place-items: center;
  background: linear-gradient(145deg, #eef6e8, #dcecd2);
  overflow: hidden;
}
.thumb > .big {
  position: relative; z-index: 1; font-size: 68px;
  filter: drop-shadow(0 10px 14px rgba(24, 55, 33, .16)); transition: transform .35s var(--ease);
}
.card:hover .thumb .big { transform: scale(1.08) rotate(-4deg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255, 255, 255, .45); top: -46px; right: -34px;
}
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.badge {
  padding: 3px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 600;
  background: rgba(255, 255, 255, .92); color: var(--green-700);
  box-shadow: 0 2px 8px rgba(24, 55, 33, .1);
}
.badge.organic { color: #2f7a3f; }
.badge.hot { color: #c65a10; background: #fff3e6; }
.badge.new { color: #1a6f8f; background: #e8f6fb; }
.stock-chip {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  padding: 3px 9px; border-radius: 8px; font-size: 11.5px;
  background: rgba(20, 54, 31, .78); color: #fff;
}
.stock-chip.low { background: rgba(226, 118, 27, .9); }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-title h3 { margin: 0; font-size: 16px; letter-spacing: -.2px; }
.card-origin { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.card-desc {
  margin: 7px 0 12px; font-size: 12.5px; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 38px;
}
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price {
  color: var(--amber); font-weight: 800; font-size: 20px;
  letter-spacing: -.5px; white-space: nowrap;
}
.price small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }

.stepper {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
}
.stepper button {
  width: 26px; height: 28px; border: 0; background: transparent; color: var(--ink-2);
  font-size: 15px; line-height: 1; transition: background .15s;
}
.stepper button:hover { background: var(--green-100); color: var(--green-700); }
.stepper input {
  width: 34px; height: 28px; border: 0; text-align: center; font-size: 13px;
  background: transparent; outline: 0; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn {
  border: 0; border-radius: 11px; padding: 10px 16px; font-size: 13.5px;
  transition: all .2s var(--ease); display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn.primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 18px rgba(31, 107, 61, .22); }
.btn.primary:hover { background: var(--green-900); transform: translateY(-1px); }
.btn.ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.btn.ghost:hover { border-color: var(--green-500); color: var(--green-700); }
.btn.block { width: 100%; padding: 13px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.card .add-btn { width: 100%; margin-top: 10px; padding: 9px; font-size: 12.5px; letter-spacing: .5px; }

.skeleton-card {
  height: 320px; border-radius: var(--radius);
  background: linear-gradient(100deg, #eff1e8 25%, #f7f8f2 37%, #eff1e8 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.empty-state {
  text-align: center; padding: 70px 20px; background: #fff;
  border-radius: var(--radius); border: 1px dashed var(--line);
}
.empty-state span { font-size: 46px; }
.empty-state h3 { margin: 12px 0 6px; }
.empty-state p { margin: 0 0 18px; color: var(--ink-3); font-size: 13.5px; }

/* ---------------- 服务保障 ---------------- */
.promise { padding: 20px 0 70px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise-item {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(31, 107, 61, .08); box-shadow: var(--shadow-sm);
}
.pi-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 13px; background: var(--green-100); font-size: 21px; margin-bottom: 12px;
}
.promise-item h4 { margin: 0 0 6px; font-size: 15.5px; }
.promise-item p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--green-900); color: rgba(255, 255, 255, .72);
  padding: 38px 0 26px;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-logo {
  display: block; height: 40px; width: auto; padding: 4px 7px;
  background: #fff; border-radius: 8px;
}
.footer-brand strong { color: #fff; font-size: 15px; }
.footer-brand p { margin: 2px 0 0; font-size: 12.5px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.copyright { width: 100%; margin: 14px 0 0; font-size: 12px; color: rgba(255, 255, 255, .42); }

/* ---------------- 预订篮抽屉 ---------------- */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(20, 40, 26, .38);
  backdrop-filter: blur(2px); z-index: 60; animation: fade .22s ease;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(432px, 94vw);
  background: var(--cream); z-index: 70; display: flex; flex-direction: column;
  box-shadow: -24px 0 60px rgba(20, 40, 26, .2);
  transform: translateX(105%); transition: transform .34s var(--ease);
}
.cart-drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 22px 16px; border-bottom: 1px solid var(--line); background: #fff;
}
.drawer-head h3 { margin: 0; font-size: 18px; }
.drawer-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); }
.icon-btn {
  width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); display: grid; place-items: center;
}
.icon-btn:hover { background: var(--green-100); color: var(--green-700); }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: flex; gap: 12px; align-items: center; background: #fff;
  padding: 12px; border-radius: 14px; border: 1px solid rgba(31, 107, 61, .07);
  animation: rise .3s var(--ease);
}
.ci-thumb {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 24px; background: var(--green-100); flex: none;
}
.ci-main { flex: 1; min-width: 0; }
.ci-name { font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.ci-price { font-size: 12px; color: var(--ink-3); }

.cart-empty { text-align: center; color: var(--ink-3); padding: 40px 10px; font-size: 13.5px; }
.cart-empty span { display: block; font-size: 38px; margin-bottom: 8px; }

.order-form { margin-top: 22px; }
.order-form h4 { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); letter-spacing: .3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: block; margin-bottom: 10px; }
.field > span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 13.5px; background: #fff; outline: 0;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(63, 155, 93, .14);
}
.field input.invalid, .field textarea.invalid { border-color: #d9534f; }
.form-error { color: #c0392b; font-size: 12.5px; margin: 4px 0 0; }

.drawer-foot {
  padding: 16px 22px 20px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(24, 55, 33, .05);
}
.total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.total-row span { font-size: 13px; color: var(--ink-2); }
.total-row strong { font-size: 26px; color: var(--amber); letter-spacing: -.6px; }
.order-window-hint {
  margin: 0 0 10px; padding: 8px 11px; border-radius: 10px; line-height: 1.55;
  background: #fdf0de; color: #b4610f; font-size: 12px;
}
.foot-hint { margin: 8px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-3); }

.cart-summary { margin-bottom: 8px; }
.cs-row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font-size: 12.5px; color: var(--ink-3); }
.cs-off span:last-child { color: var(--green-700); font-weight: 600; }
.cs-tip {
  margin: 6px 0 2px; padding: 6px 9px; border-radius: 8px; line-height: 1.55;
  font-size: 11.5px; color: #8a7a52; background: #fdf6e3;
}

/* ---------------- 账号区 ---------------- */
.auth-area { display: flex; align-items: center; }
.btn-auth {
  border: 1px solid var(--green-500); color: var(--green-700); background: #fff;
  padding: 8px 14px; border-radius: 10px; font-size: 13px; white-space: nowrap;
  transition: all .2s var(--ease);
}
.btn-auth:hover { background: var(--green-100); }

.user-menu-wrap { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  background: #fff; padding: 5px 9px 5px 5px; border-radius: 999px;
  font-size: 13px; transition: border-color .2s;
}
.user-chip:hover { border-color: var(--green-500); }
.avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green-600), var(--green-900)); color: #fff;
  font-size: 12.5px; font-weight: 600; flex: none;
}
.user-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { font-size: 10px; color: var(--ink-3); }
.user-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 138px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px; display: none;
  flex-direction: column; z-index: 45;
}
.user-menu-wrap.open .user-menu { display: flex; }
.user-menu a { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.user-menu a:hover { background: var(--green-100); color: var(--green-700); }
.menu-member {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 7px 12px 9px; margin-bottom: 4px; border-bottom: 1px dashed var(--line);
}
.menu-member span:last-child { font-size: 11.5px; color: var(--ink-3); }

/* ---------------- 会员徽章 / 折扣 ---------------- */
.level-badge {
  display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .4px; line-height: 1.5;
  border: 1px solid transparent; white-space: nowrap; flex: none;
}
.lv-normal { background: #eef2ec; color: #5d6b5c; border-color: #dce4d8; }
.lv-silver { background: #edf1f5; color: #5a6a79; border-color: #d6dee6; }
.lv-gold { background: #fdf4dd; color: #99700f; border-color: #f0dfae; }
.lv-black { background: #2b3138; color: #eddfc0; border-color: #2b3138; }

/* ---------------- 登录 / 注册弹窗 ---------------- */
.auth-card {
  position: relative; width: min(420px, 100%); background: #fff; border-radius: 22px;
  padding: 28px 26px 24px; box-shadow: var(--shadow-md); animation: pop .28s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.auth-close { position: absolute; right: 16px; top: 16px; }
.auth-head { margin-bottom: 18px; padding-right: 30px; }
.auth-head h3 { margin: 0 0 4px; font-size: 20px; }
.auth-head p { margin: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.auth-tabs {
  display: flex; gap: 4px; background: var(--cream); padding: 4px;
  border-radius: 12px; margin-bottom: 16px;
}
.auth-tabs button {
  flex: 1; border: 0; background: transparent; color: var(--ink-2);
  padding: 9px; border-radius: 9px; font-size: 13.5px; transition: all .2s;
}
.auth-tabs button.active {
  background: #fff; color: var(--green-700); font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.auth-form .btn.block { margin-top: 4px; }
.auth-tip { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.auth-tip a { color: var(--green-700); }
.auth-demo {
  margin: 10px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-3);
  background: var(--cream); border-radius: 8px; padding: 6px;
}

/* ---------------- 抽屉内登录提示 / 账号行 ---------------- */
.login-hint {
  background: #fff; border: 1px dashed var(--line); border-radius: 14px;
  padding: 18px 16px; text-align: center;
}
.login-hint p { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-3); }
.account-line {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  background: var(--green-100); color: var(--green-700);
  border-radius: 10px; padding: 9px 12px; font-size: 12.5px; margin-bottom: 12px;
}
.account-line b { font-weight: 600; }
.account-line span { color: var(--ink-2); }

/* ---------------- 我的预订 ---------------- */
.my-orders-card {
  width: min(560px, 100%); max-height: 86vh; background: var(--cream);
  border-radius: 22px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-md); animation: pop .28s var(--ease);
}
.my-orders-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 22px 14px; background: #fff; border-bottom: 1px solid var(--line);
}
.my-orders-head h3 { margin: 0; font-size: 18px; }
.my-orders-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); }
.my-orders-body {
  padding: 16px 18px 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.mo-card {
  background: #fff; border-radius: 14px; padding: 14px 16px;
  border: 1px solid rgba(31, 107, 61, .08);
}
.mo-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mo-no { font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.mo-time { font-size: 11.5px; color: var(--ink-3); }
.mo-status { margin-left: auto; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }
.mo-status.pending { background: #fdf0de; color: #b4610f; }
.mo-status.confirmed { background: #e5f2fa; color: #1a6f8f; }
.mo-status.packed { background: #f3ecfb; color: #6a3fa0; }
.mo-status.delivering { background: #e9f0fd; color: #2456b3; }
.mo-status.received { background: #e7f4e6; color: #2a7d43; }
.mo-status.done { background: #eef1ec; color: #5b6b5f; }
.mo-status.cancelled { background: #f1f1ee; color: #8a978d; }
.mo-items { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; }
.mo-items div { display: flex; justify-content: space-between; gap: 10px; }
.mo-addr { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
.mo-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-3);
}
.mo-foot b { color: var(--amber); font-size: 16px; }
.mo-amount { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mo-off {
  font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 6px;
  color: var(--green-700); background: var(--green-100);
}
.mo-pay b { margin-left: 2px; }

/* 我的预订 —— 会员卡片 */
.member-card {
  margin: 0 18px 12px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #f7f9f4, #edf4e9);
  border: 1px solid rgba(31, 107, 61, .1);
}
.member-card.lv-silver { background: linear-gradient(135deg, #f8fafc, #e9eef3); border-color: #dde5ec; }
.member-card.lv-gold { background: linear-gradient(135deg, #fffaea, #fdf0d2); border-color: #f0dfae; }
.member-card.lv-black { background: linear-gradient(135deg, #343b44, #22272d); border-color: #22272d; color: #f0e6d2; }
.mc-head { display: flex; align-items: center; gap: 8px; }
.mc-head b { font-size: 14.5px; }
.mc-rate { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.member-card.lv-black .mc-rate, .member-card.lv-black .mc-next { color: #c3b9a4; }
.mc-spent { margin: 9px 0; font-size: 12.5px; color: var(--ink-3); }
.mc-spent b { color: var(--amber); }
.member-card.lv-black .mc-spent { color: #cfc6b2; }
.mc-bar { height: 7px; border-radius: 999px; background: rgba(31, 107, 61, .12); overflow: hidden; }
.member-card.lv-black .mc-bar { background: rgba(255, 255, 255, .16); }
.mc-bar i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  transition: width .4s var(--ease);
}
.member-card.lv-gold .mc-bar i { background: linear-gradient(90deg, #e8bd59, #c08a1e); }
.member-card.lv-black .mc-bar i { background: linear-gradient(90deg, #e3cf9b, #b79a5c); }
.mc-next { margin: 9px 0 0; font-size: 11.5px; color: var(--ink-3); }
.mo-empty { text-align: center; padding: 40px 16px; color: var(--ink-3); font-size: 13.5px; }
.mo-empty span { display: block; font-size: 38px; margin-bottom: 8px; }

/* ---------------- 成功弹层 / Toast ---------------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 40, 26, .42); z-index: 90;
  display: grid; place-items: center; padding: 20px; animation: fade .22s ease;
}
.success-card {
  background: #fff; border-radius: 22px; padding: 32px 28px; text-align: center;
  width: min(380px, 100%); box-shadow: var(--shadow-md); animation: pop .3s var(--ease);
}
.success-icon {
  width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 32px;
  background: var(--green-100); box-shadow: 0 0 0 8px rgba(230, 243, 228, .6);
}
.success-card h3 { margin: 0 0 8px; font-size: 20px; }
.success-card p { margin: 4px 0; font-size: 13.5px; color: var(--ink-2); }
.success-card .success-pay { margin: 8px 0 2px; font-size: 14.5px; font-weight: 700; color: var(--amber); }
.success-card .muted { color: var(--ink-3); font-size: 12.5px; margin-bottom: 18px; }
.success-card .btn { width: 100%; }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: rgba(20, 54, 31, .94); color: #fff; padding: 11px 20px;
  border-radius: 12px; font-size: 13.5px; z-index: 100;
  opacity: 0; transition: opacity .22s, transform .22s var(--ease);
  box-shadow: var(--shadow-md); max-width: 88vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #b93a2e; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero { padding: 40px 0 20px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .promise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 64px; gap: 12px; }
  .brand-text em { display: none; }
  .brand-logo { height: 32px; padding: 4px 6px; }
  .brand-divider { height: 24px; }
  .btn-auth { padding: 8px 10px; font-size: 12px; }
  .user-name { display: none; }
  .user-chip { padding: 5px 7px 5px 5px; gap: 4px; }
  .hero-search { flex-wrap: wrap; }
  .hero-search select { width: 100%; }
  .hero-facts { gap: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .thumb { height: 118px; }
  .thumb .big { font-size: 50px; }
  .card-body { padding: 12px; }
  .card-desc { display: none; }
  .card-title { flex-direction: column; gap: 2px; }
  .price { font-size: 17px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .stepper { justify-content: space-between; }
  .stepper input { flex: 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; }
}
