/* ================= 云泉跑腿 · 前端样式 ================= */
:root {
  --brand: #FF5A1F;
  --brand-d: #E8450F;
  --brand-soft: #FFF1E9;
  --ink: #17181C;
  --ink-2: #3D414B;
  --sub: #8A8F99;
  --line: #EFE7DF;
  --bg: #FAF6F1;
  --card: #FFFFFF;
  --green: #12A45A;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 24, 28, .05), 0 4px 14px rgba(23, 24, 28, .04);
  --shadow-md: 0 8px 30px rgba(23, 24, 28, .08);
  --shadow-lg: 0 24px 60px rgba(23, 24, 28, .16);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.lock { overflow: hidden; }

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 241, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(23,24,28,.04); }

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }

.logo {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #FF7A42, #FF4A0C);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(255, 90, 31, .34);
}
.logo.sm { width: 28px; height: 28px; flex-basis: 28px; border-radius: 9px; font-size: 15px; }

.brand-txt { display: flex; flex-direction: column; min-width: 0; }
.brand-txt strong { font-size: 17px; letter-spacing: -.2px; white-space: nowrap; }
.brand-txt small { color: var(--sub); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.topnav { display: flex; align-items: center; gap: 8px; }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  transition: .18s;
}
.ghost-btn svg { width: 16px; height: 16px; }
.ghost-btn:hover { border-color: #E4D6C8; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.ghost-btn.call { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(255,90,31,.26); }
.ghost-btn.call:hover { background: var(--brand-d); }

/* ---------------- 搜索 ---------------- */
.search-wrap { margin-top: 4px; padding-bottom: 10px; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  height: 46px;
  transition: .2s;
}
.search:focus-within { border-color: #FFC1A5; box-shadow: 0 0 0 4px rgba(255, 90, 31, .10); }
.search svg { width: 19px; height: 19px; color: var(--sub); flex: 0 0 19px; }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 14.5px; min-width: 0; }
.search input::placeholder { color: #B6B9C0; }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear {
  width: 22px; height: 22px; border-radius: 50%;
  background: #EFEFEF; color: #7A7E87;
  font-size: 15px; line-height: 1;
  display: none;
}
.search-clear.show { display: block; }

/* ---------------- 公告 ---------------- */
.notice {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: #8A5A34;
  margin-bottom: 14px;
}
.notice-tag {
  flex: 0 0 auto;
  background: #FFE6D6;
  color: #C4551F;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11.5px;
}
.notice-scroll { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1; min-width: 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 88% 10%, #FFD9C0 0%, rgba(255,217,192,0) 55%),
    linear-gradient(118deg, #FFF6F0 0%, #FFEBDE 52%, #FFDFCB 100%);
  padding: 34px 30px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 18px 40px -24px rgba(190,90,30,.5);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(196,85,31,.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
  mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  color: #B4501C;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(255,255,255,.9);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -1.4px;
  font-weight: 800;
  color: #241A14;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-d);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: linear-gradient(90deg, rgba(255,90,31,.28), rgba(255,90,31,.06));
  border-radius: 4px;
  z-index: -1;
}
.hero-desc { margin-top: 12px; color: #7A5B48; font-size: 14px; line-height: 1.7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-meta span {
  font-size: 12.5px;
  color: #8B5533;
  background: rgba(255,255,255,.72);
  border-radius: 10px;
  padding: 7px 11px;
}
.hero-meta b { color: var(--brand-d); font-size: 15px; margin-right: 2px; }
.hero-cta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #FF6A33, #EF4409);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 24px -8px rgba(232,69,15,.62);
  transition: .2s;
}
.hero-cta svg { width: 17px; height: 17px; transition: transform .2s; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(232,69,15,.7); }
.hero-cta:hover svg { transform: translateX(3px); }

.hero-art {
  position: absolute;
  right: 26px; top: 50%;
  width: 330px; height: 260px;
  transform: translateY(-50%);
  z-index: 1;
}
.hero-art .tile {
  position: absolute;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 22px;
  box-shadow: 0 14px 30px -12px rgba(150,70,30,.4);
  font-size: 40px;
  animation: float 6s ease-in-out infinite;
}
.t1 { width: 92px; height: 92px; left: 6px; top: 18px; transform: rotate(-7deg); }
.t2 { width: 78px; height: 78px; left: 116px; top: 0; transform: rotate(6deg); animation-delay: .7s; }
.t3 { width: 86px; height: 86px; left: 208px; top: 30px; transform: rotate(-4deg); animation-delay: 1.3s; }
.t4 { width: 74px; height: 74px; left: 44px; top: 128px; transform: rotate(5deg); animation-delay: 1.8s; }
.t5 { width: 80px; height: 80px; left: 148px; top: 118px; transform: rotate(-6deg); animation-delay: 2.3s; }
.hero-art .bag {
  position: absolute;
  left: 238px; top: 132px;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  font-size: 46px;
  border-radius: 50%;
  background: linear-gradient(150deg, #FFB27A, #FF7433);
  box-shadow: 0 16px 30px -10px rgba(232,69,15,.6);
  animation: float 5s ease-in-out infinite;
  animation-delay: .4s;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

/* ---------------- 服务承诺 ---------------- */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 22px;
}
.promise {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.p-ico { font-size: 20px; }
.promise strong { display: block; font-size: 13.5px; font-weight: 650; }
.promise small { color: var(--sub); font-size: 11.5px; }

/* ---------------- 分类 ---------------- */
.cat-section { position: sticky; top: 66px; z-index: 20; margin: 0 -16px 18px; padding: 10px 16px; background: linear-gradient(180deg, var(--bg) 78%, rgba(250,246,241,0)); }
.cat-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: .18s;
}
.cat-chip span { font-size: 15px; }
.cat-chip:hover { border-color: #FFC9B0; }
.cat-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(23,24,28,.6);
}

/* ---------------- 商品 ---------------- */
.sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.sec-head h2 { font-size: 19px; letter-spacing: -.3px; }
.sec-count { color: var(--sub); font-size: 12.5px; }

.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.good {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px;
  display: flex;
  flex-direction: column;
  transition: .2s;
  overflow: hidden;
}
.good:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #F3E3D5; }
.good-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: clamp(42px, 6.2vw, 56px);
  background: linear-gradient(160deg, #FFF6EE, #FFEBDD);
  overflow: hidden;
}
.good-img::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 100%, rgba(255,255,255,.55), rgba(255,255,255,0) 68%);
}
.good-img span { position: relative; z-index: 1; transform: translateY(-2px); filter: drop-shadow(0 6px 10px rgba(150,80,30,.18)); }
.good[data-cat="grain"] .good-img { background: linear-gradient(160deg, #FFF4DF, #FFE2AC); }
.good[data-cat="snack"] .good-img { background: linear-gradient(160deg, #FFF0E9, #FFD5C2); }
.good[data-cat="drink"] .good-img { background: linear-gradient(160deg, #E9F4FF, #CBE3FB); }
.good[data-cat="paper"] .good-img { background: linear-gradient(160deg, #F0F7F2, #D5E9DB); }
.good[data-cat="care"] .good-img { background: linear-gradient(160deg, #F3F0FF, #DED6FB); }
.good[data-cat="kitchen"] .good-img { background: linear-gradient(160deg, #FFF5E2, #FFE0B6); }
.good[data-cat="home"] .good-img { background: linear-gradient(160deg, #EDF3F7, #D6E4EC); }

.good-tag {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  font-size: 10.5px; font-weight: 600;
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(23,24,28,.82);
  color: #fff;
  backdrop-filter: blur(4px);
}
.good-tag.sale { background: #FF5A1F; }
.good-tag.new { background: #12A45A; }
.good-tag.hot { background: #17181C; }

.good-name {
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
}
.good-spec { color: var(--sub); font-size: 11.5px; margin-top: 3px; }
.good-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: 8px; }
.price { display: flex; align-items: baseline; gap: 4px; color: var(--brand-d); font-weight: 700; }
.price i { font-style: normal; font-size: 12px; font-weight: 600; }
.price b { font-size: 19px; letter-spacing: -.6px; }
.price s { color: #B9BCC4; font-size: 11px; font-weight: 400; text-decoration-thickness: 1px; }
.good-sales { color: #B0B4BC; font-size: 10.5px; margin-left: 4px; font-weight: 400; }

.add-btn {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px rgba(255,90,31,.9);
  transition: .16s;
}
.add-btn:hover { background: var(--brand-d); transform: scale(1.06); }
.stepper { display: flex; align-items: center; gap: 2px; }
.stepper button {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 17px; line-height: 1;
  background: var(--brand-soft);
  color: var(--brand-d);
  font-weight: 700;
}
.stepper button.plus { background: var(--brand); color: #fff; }
.stepper span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 650; }

.empty { text-align: center; padding: 56px 0; color: var(--sub); }
.empty span { font-size: 42px; display: block; margin-bottom: 10px; }

/* ---------------- 页脚 ---------------- */
.site-foot {
  margin-top: 44px;
  padding: 26px 0 108px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 12.5px;
}
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 8px; }
.foot-brand strong { font-size: 14px; }
.foot-line { line-height: 1.9; }
.foot-tip { margin-top: 8px; color: #A7ABB3; }
.foot-tip a { color: var(--brand-d); }

/* ---------------- 购物车条 ---------------- */
.cartbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(250,246,241,0), rgba(250,246,241,.92) 40%);
  pointer-events: none;
}
.cartbar-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #17181C;
  color: #fff;
  border-radius: 16px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 16px 34px -12px rgba(23,24,28,.65);
  animation: barIn .3s ease;
}
@keyframes barIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-ico { position: relative; font-size: 21px; }
.cart-ico i {
  position: absolute; top: -6px; right: -9px;
  background: var(--brand); color: #fff;
  font-style: normal; font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px; line-height: 17px;
  border-radius: 9px; text-align: center; padding: 0 4px;
}
.cart-sum { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.cart-sum strong { font-size: 17px; letter-spacing: -.3px; }
.cart-sum small { color: #9CA0A9; font-size: 11px; }
.cart-go {
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 11px;
}
.cartbar-inner:hover .cart-go { background: var(--brand-d); }

/* ---------------- 遮罩 & 面板 ---------------- */
.mask {
  position: fixed; inset: 0;
  background: rgba(20,16,12,.42);
  backdrop-filter: blur(2px);
  z-index: 50;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: fixed;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp .28s cubic-bezier(.2,.9,.2,1);
  overflow: hidden;
}
@keyframes slideUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.sheet-full { max-height: 94vh; height: 94vh; max-width: 620px; }
.sheet-full.compact { height: auto; min-height: 0; }

.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.sheet-head h3 { font-size: 16.5px; letter-spacing: -.2px; }
.sheet-head small { color: var(--sub); font-weight: 400; font-size: 12.5px; margin-left: 4px; }
.sheet-acts { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: #F5F2EE; color: #6B6F78;
  font-size: 20px; line-height: 1;
  display: grid; place-items: center;
}
.icon-btn:hover { background: #EBE6E0; }
.link-btn { color: var(--sub); font-size: 13px; padding: 6px 8px; border-radius: 8px; }
.link-btn:hover { color: var(--brand-d); background: var(--brand-soft); }

.sheet-body { flex: 1; overflow-y: auto; padding: 14px 18px 18px; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.foot-sum { flex: 1; display: flex; flex-direction: column; }
.foot-sum span { font-size: 13px; color: var(--ink-2); }
.foot-sum strong { font-size: 20px; color: var(--brand-d); letter-spacing: -.4px; }
.foot-sum strong.big { font-size: 22px; }
.foot-sum small { color: var(--sub); font-size: 11.5px; }
.primary-btn {
  background: linear-gradient(135deg, #FF6A33, #EF4409);
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 22px -10px rgba(232,69,15,.8);
  transition: .18s;
}
.primary-btn:hover { transform: translateY(-1px); }
.primary-btn:disabled { opacity: .55; box-shadow: none; cursor: not-allowed; transform: none; }
.primary-btn.wide { width: 100%; }

/* 购物车列表 */
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb {
  width: 54px; height: 54px; flex: 0 0 54px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 26px;
  background: linear-gradient(160deg, #FFF6EE, #FFEBDD);
}
.cart-info { flex: 1; min-width: 0; }
.cart-info strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-info small { color: var(--sub); font-size: 11.5px; }
.cart-price { color: var(--brand-d); font-weight: 650; font-size: 14px; margin-top: 3px; }
.cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* 结算表单 */
.block { margin-bottom: 18px; }
.block-head { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.block-head small { color: var(--sub); font-weight: 400; font-size: 12px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: block; margin-bottom: 10px; }
.field > span { display: block; font-size: 11.5px; color: var(--sub); margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px;
  background: #FCFAF8;
  outline: none;
  font-size: 14px;
  transition: .16s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: #FFC1A5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,90,31,.09);
}
.field input.bad, .field textarea.bad { border-color: #F2544B; box-shadow: 0 0 0 3px rgba(242,84,75,.1); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.check-list .ci-emoji { font-size: 19px; }
.check-list .ci-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-list .ci-qty { color: var(--sub); font-size: 12px; }
.check-list .ci-amt { font-weight: 600; min-width: 58px; text-align: right; }

.price-lines { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.price-lines > div { display: flex; justify-content: space-between; padding: 5px 0; color: var(--ink-2); }
.price-lines b { font-weight: 600; }
.price-lines .total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-size: 14.5px; }
.price-lines .total b { color: var(--brand-d); font-size: 19px; letter-spacing: -.4px; }
.pay-note { margin-top: 12px; font-size: 12.5px; color: var(--sub); background: #FAF7F4; border-radius: 10px; padding: 10px 12px; }
.pay-note strong { color: #1677FF; }
.pay-note span { color: #C25A28; }

/* 订单详情 */
.order-status {
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(120deg, #FFF3EA, #FFE7D8);
  margin-bottom: 16px;
}
.order-status h4 { font-size: 18px; letter-spacing: -.3px; margin-bottom: 4px; }
.order-status p { color: #8B5B3C; font-size: 12.5px; }
.order-status.paid { background: linear-gradient(120deg, #FFF3EA, #FFE7D8); }
.order-status.done { background: linear-gradient(120deg, #EAF7EF, #DDF2E6); }
.order-status.done p { color: #3C7A57; }
.order-status.cancelled { background: linear-gradient(120deg, #F4F4F5, #ECECEE); }
.order-status.cancelled p { color: #77787D; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; color: var(--ink-2); }
.kv span { color: var(--sub); flex: 0 0 auto; }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.order-actions { display: flex; gap: 10px; margin-top: 16px; }
.order-actions .primary-btn { flex: 1; text-align: center; }
.order-actions .ghost-btn { flex: 0 0 auto; justify-content: center; }

/* 支付弹层 */
.pay-box { text-align: center; padding: 6px 0 2px; }
.pay-amount { font-size: 30px; font-weight: 750; letter-spacing: -1px; color: var(--ink); }
.pay-amount i { font-style: normal; font-size: 17px; font-weight: 600; margin-right: 2px; }
.pay-qr {
  width: 208px; height: 208px;
  margin: 18px auto 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.pay-qr img { width: 100%; height: 100%; }
.pay-tip { font-size: 12.5px; color: var(--sub); line-height: 1.7; margin-top: 6px; }
.pay-tip b { color: var(--brand-d); }
.pay-mobile-tip { margin-top: 12px; font-size: 12.5px; background: #FAF7F4; border-radius: 10px; padding: 10px; color: #8A6A54; }
.pay-actions { display: flex; gap: 8px; margin-top: 14px; }
.pay-actions .ghost-btn { flex: 1; justify-content: center; }
.pay-actions .ghost-btn.solid { background: #1677FF; border-color: #1677FF; color: #fff; }
.pay-loading { padding: 30px 0; color: var(--sub); font-size: 13px; }

.mini-list { display: flex; flex-direction: column; gap: 8px; }
.mini-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  transition: .16s;
}
.mini-item:hover { border-color: #FFC9B0; box-shadow: var(--shadow-sm); }
.mini-item .mi-main { flex: 1; min-width: 0; }
.mini-item .mi-main strong { display: block; font-size: 13px; font-weight: 600; }
.mini-item .mi-main small { color: var(--sub); font-size: 11.5px; }
.mini-item .mi-amt { font-weight: 650; color: var(--brand-d); font-size: 13.5px; }
.badge { display: inline-block; font-size: 10.5px; padding: 2px 6px; border-radius: 5px; background: #F1EFEC; color: #7C8088; margin-left: 6px; }
.badge.pay { background: #FFF0E8; color: #C4551F; }
.badge.done { background: #E8F6EE; color: #15803D; }
.badge.cancel { background: #F3F4F6; color: #6B7280; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  background: rgba(23,24,28,.92);
  color: #fff;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 10px;
  z-index: 90;
  max-width: 80vw;
  text-align: center;
  animation: fade .18s ease;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
}

/* ---------------- 响应式 ---------------- */
@media (min-width: 560px) {
  .goods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .wrap { padding: 0 22px; }
  .cat-section { margin: 0 -22px 20px; padding: 10px 22px; }
}
@media (min-width: 900px) {
  .goods-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .good { padding: 11px; }
  .good-name { font-size: 14px; }
  .hero { padding: 44px 40px; }
  .promises { gap: 14px; }
  .promise { padding: 14px 16px; }
  .promise strong { font-size: 14px; }
}
@media (min-width: 1180px) {
  .goods-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 859px) {
  .hero-art { display: none; }
  .hero { padding: 26px 20px; }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 560px) {
  .topbar-in { height: 58px; }
  .brand-txt small { font-size: 10.5px; }
  .ghost-btn span { display: none; }
  .ghost-btn { padding: 8px; }
  .ghost-btn.call span { display: inline; }
  .cat-section { top: 58px; }
  .promises { grid-template-columns: 1fr; gap: 8px; }
  .promise { padding: 10px 12px; }
  .promise small { font-size: 11px; }
  .hero-meta span { font-size: 11.5px; padding: 6px 9px; }
  .hero-meta b { font-size: 13.5px; }
  .sheet { max-width: 100%; border-radius: 20px 20px 0 0; }
  .sheet-full { height: 96vh; max-height: 96vh; }
  .form-row.two { grid-template-columns: 1fr; }
  .foot-sum strong { font-size: 18px; }
  .primary-btn { padding: 12px 22px; }
}
