/* ===================================================
   农产品供需平台 · 买家 Web 站公共样式（静态托管 /site/**）
   页面：产地目录 origin.html / 产地详情 origin-detail.html / 当地行情 market.html
   设计宽度：内容区 1280px 居中；主色绿 #16a34a（农业、新鲜）
   =================================================== */

:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --orange: #f97316;
  --orange-light: #ffedd5;
  --red: #ef4444;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --gray-1: #111827;
  --gray-2: #4b5563;
  --gray-3: #9ca3af;
  --gray-4: #e5e7eb;
  --gray-5: #f3f4f6;
  --bg: #f3f4f6;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--gray-1);
  min-width: 1280px;
  font-size: 14px;
}
a { cursor: pointer; text-decoration: none; color: inherit; }
img { display: block; }
input, button { font-family: inherit; }

/* ===== 顶部导航 ===== */
.w-topbar { background: #fff; border-bottom: 1px solid var(--gray-4); position: sticky; top: 0; z-index: 100; }
.w-topbar .inner { max-width: 1280px; margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 26px; padding: 0 16px; }
.w-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.w-logo .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #4ade80, #16a34a); }
.w-nav { display: flex; gap: 4px; flex: 1; }
.w-nav a { font-size: 14px; color: var(--gray-2); padding: 8px 14px; border-radius: 8px; }
.w-nav a:hover { background: var(--gray-5); }
.w-nav a.on { color: var(--green-dark); font-weight: 700; background: var(--green-light); }
.w-top-right { font-size: 13px; color: var(--gray-3); flex-shrink: 0; }

/* ===== 容器 / 卡片 / 面包屑 ===== */
.w-container { max-width: 1280px; margin: 0 auto; padding: 16px; }
.w-breadcrumb { font-size: 12.5px; color: var(--gray-3); padding: 4px 0 12px; }
.w-breadcrumb a:hover { color: var(--green); }
.w-card { background: #fff; border-radius: 12px; padding: 16px; }
.w-card h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.w-card h3::before { content: ""; width: 4px; height: 15px; background: var(--green); border-radius: 2px; }
.w-card h3 .hint { font-size: 11.5px; color: var(--gray-3); font-weight: 400; }
.empty { text-align: center; color: var(--gray-3); padding: 46px 0; font-size: 13px; }

/* ===== 页面标题区 ===== */
.w-pagehead { background: linear-gradient(120deg, #15803d, #4ade80); border-radius: 14px; padding: 24px 28px; color: #fff; margin-bottom: 16px; }
.w-pagehead .t1 { font-size: 20px; font-weight: 800; }
.w-pagehead .t2 { font-size: 12.5px; opacity: .92; margin-top: 6px; line-height: 1.8; }

/* ===== 标签 / 按钮 ===== */
.tag { display: inline-block; font-size: 10.5px; padding: 2px 8px; border-radius: 4px; background: var(--gray-5); color: var(--gray-2); }
.tag.green { background: var(--green-light); color: var(--green-dark); }
.tag.orange { background: var(--orange-light); color: #c2410c; }
.tag.blue { background: var(--blue-light); color: var(--blue); }
.tag.red { background: #fee2e2; color: #b91c1c; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px; border-radius: 17px; border: none; font-size: 13px; cursor: pointer; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.line { background: #fff; border: 1px solid var(--green); color: var(--green); }

/* ===== 筛选 chips ===== */
.w-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.w-chip { font-size: 13px; color: var(--gray-2); background: #fff; border: 1px solid var(--gray-4); border-radius: 16px; padding: 5px 14px; cursor: pointer; }
.w-chip:hover { border-color: var(--green); color: var(--green-dark); }
.w-chip.on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }

/* ===== 产地卡片 ===== */
.w-origin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.w-origincard { background: #fff; border-radius: 12px; overflow: hidden; transition: box-shadow .15s; display: flex; flex-direction: column; }
.w-origincard:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.w-origincard .cover { height: 128px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: rgba(21,128,61,.5); overflow: hidden; }
.w-origincard .cover img { width: 100%; height: 100%; object-fit: cover; }
.w-origincard .body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.w-origincard .name { font-size: 15px; font-weight: 700; }
.w-origincard .town { font-size: 12px; color: var(--gray-3); margin-top: 3px; }
.w-origincard .intro { font-size: 12.5px; color: var(--gray-2); line-height: 1.7; margin-top: 8px; min-height: 42px; }
.w-origincard .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.w-origincard .stats { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--gray-3); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--gray-4); }
.w-origincard .stats b { color: var(--green-dark); font-size: 13px; }

/* ===== 商品卡片（三列网格） ===== */
.w-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.w-prodcard { background: #fff; border-radius: 12px; overflow: hidden; transition: box-shadow .15s; display: flex; flex-direction: column; }
.w-prodcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.w-prodcard .thumb { height: 150px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: rgba(21,128,61,.5); overflow: hidden; }
.w-prodcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.w-prodcard .body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.w-prodcard .name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.w-prodcard .meta { font-size: 11.5px; color: var(--gray-3); margin: 5px 0 6px; }
.w-prodcard .tags { display: flex; gap: 5px; flex-wrap: wrap; }
.w-prodcard .row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.w-prodcard .p { color: var(--red); font-weight: 800; font-size: 17px; }
.w-prodcard .p .unit { font-size: 11px; font-weight: 400; color: var(--gray-3); }
.w-prodcard .qty { font-size: 11px; color: var(--gray-3); text-align: right; line-height: 1.5; }

/* ===== 产地详情页 ===== */
.w-od-hero { display: flex; gap: 20px; margin-bottom: 16px; }
.w-od-hero .cover { width: 330px; height: 205px; border-radius: 10px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; color: rgba(21,128,61,.5); overflow: hidden; flex-shrink: 0; }
.w-od-hero .cover img { width: 100%; height: 100%; object-fit: cover; }
.w-od-hero .info { flex: 1; min-width: 0; }
.w-od-hero .name { font-size: 22px; font-weight: 800; }
.w-od-hero .sub { font-size: 13px; color: var(--gray-3); margin-top: 6px; }
.w-od-hero .intro { font-size: 13.5px; color: var(--gray-2); line-height: 1.9; margin-top: 10px; }
.w-od-hero .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.w-od-hero .stats { display: flex; gap: 26px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gray-4); }
.w-od-hero .stats .n { font-size: 20px; font-weight: 800; color: var(--green-dark); }
.w-od-hero .stats .l { font-size: 12px; color: var(--gray-3); margin-top: 2px; }

.w-shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.w-shopcard { border: 1px solid var(--gray-4); border-radius: 10px; padding: 12px 14px; display: flex; gap: 10px; }
.w-shopcard .body { flex: 1; min-width: 0; }
.w-shopcard .logo { width: 44px; height: 44px; border-radius: 9px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); display: flex; align-items: center; justify-content: center; font-weight: 800; color: rgba(21,128,61,.6); flex-shrink: 0; overflow: hidden; }
.w-shopcard .logo img { width: 100%; height: 100%; object-fit: cover; }
.w-shopcard .nm { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.w-shopcard .loc { font-size: 11.5px; color: var(--gray-3); margin-top: 3px; }
.w-shopcard .intro { font-size: 12px; color: var(--gray-2); margin-top: 5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.w-shopcard .contact { margin-top: 7px; }
.w-shopcard .tel { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--green); border: 1px solid var(--green); border-radius: 13px; padding: 2px 10px; text-decoration: none; }
.w-shopcard .tel:hover { background: #f0fdf4; }
.w-shopcard .nophone { font-size: 11.5px; color: var(--gray-3); }

/* ===== 行情列表 ===== */
.w-market-item { display: flex; align-items: center; gap: 18px; padding: 15px 6px; border-bottom: 1px solid var(--gray-5); }
.w-market-item:last-child { border-bottom: none; }
.w-market-item .cat { width: 230px; flex-shrink: 0; }
.w-market-item .cat .nm { font-size: 14.5px; font-weight: 700; }
.w-market-item .cat .sub { font-size: 11.5px; color: var(--gray-3); margin-top: 3px; }
.w-market-item .range { flex: 1; font-size: 17px; font-weight: 800; color: var(--red); }
.w-market-item .range .unit { font-size: 12px; font-weight: 400; color: var(--gray-3); margin-left: 4px; }
.w-market-item .cnt { width: 140px; text-align: right; font-size: 12.5px; color: var(--gray-3); flex-shrink: 0; }
.w-market-item .bar { width: 160px; height: 8px; border-radius: 4px; background: var(--gray-5); overflow: hidden; flex-shrink: 0; }
.w-market-item .bar i { display: block; height: 100%; background: linear-gradient(90deg, #4ade80, #16a34a); border-radius: 4px; }

/* ===== 页脚（SEO 产地链接云） ===== */
.w-footer { max-width: 1280px; margin: 26px auto 0; padding: 20px 16px 40px; border-top: 1px solid var(--gray-4); font-size: 12.5px; color: var(--gray-3); line-height: 2.2; }
.w-footer b { color: var(--gray-2); font-size: 13px; }
.w-footer a { color: var(--gray-3); margin-right: 14px; }
.w-footer a:hover { color: var(--green); }
.w-footer .note { display: block; margin-top: 10px; }

/* ===== 分页 ===== */
.w-pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--gray-3); }
.w-pager .btn { height: 30px; padding: 0 14px; border-radius: 15px; font-size: 12.5px; }
.w-pager .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ===================================================
   以下为 Web 用户端（PC）扩展样式：找货 / 商品详情 / 店铺 / 求购 / 采摘 / 登录 / 卖家工作台
   =================================================== */

/* ===== 按钮补充 ===== */
.btn.sm { height: 30px; padding: 0 14px; border-radius: 15px; font-size: 12.5px; }
.btn.big { height: 42px; padding: 0 24px; border-radius: 21px; font-size: 15px; font-weight: 700; }
.btn.block { width: 100%; }
.btn.orange { background: var(--orange); color: #fff; }
.btn.orange:hover { background: #ea580c; }
.btn.gray-line { background: #fff; border: 1px solid var(--gray-4); color: var(--gray-2); }
.btn.gray-line:hover { border-color: var(--gray-3); color: var(--gray-1); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== 顶栏登录态 ===== */
.w-user { position: relative; }
.w-user .nm { cursor: pointer; font-size: 13.5px; color: var(--gray-2); font-weight: 600; }
.w-user .caret { font-style: normal; color: var(--gray-3); }
.w-user .menu { display: none; position: absolute; right: 0; top: 26px; background: #fff; border: 1px solid var(--gray-4); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px; min-width: 130px; z-index: 200; }
.w-user .menu.open { display: block; }
.w-user .menu a { display: block; padding: 8px 12px; border-radius: 7px; font-size: 13px; color: var(--gray-2); }
.w-user .menu a:hover { background: var(--gray-5); color: var(--gray-1); }

/* ===== 找货首页：大搜索区 ===== */
.w-search-hero { background: linear-gradient(120deg, #15803d, #4ade80); border-radius: 14px; padding: 30px 36px 26px; color: #fff; margin-bottom: 14px; }
.w-search-hero .t1 { font-size: 24px; font-weight: 800; }
.w-search-hero .t2 { font-size: 13px; opacity: .92; margin-top: 8px; }
.w-search-big { display: flex; gap: 10px; margin-top: 18px; max-width: 760px; }
.w-search-big input { flex: 1; height: 46px; border: none; border-radius: 23px; padding: 0 20px; font-size: 15px; outline: none; }
.w-search-big .go { height: 46px; padding: 0 34px; border: none; border-radius: 23px; background: #111827; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.w-search-big .go:hover { background: #374151; }
.w-hotwords { margin-top: 12px; font-size: 12.5px; opacity: .95; }
.w-hotwords a { color: #fff; text-decoration: underline; margin-left: 12px; opacity: .9; }
.w-hotwords a:hover { opacity: 1; }

/* ===== 三栏布局（找货/求购） ===== */
.w-layout { display: flex; gap: 14px; align-items: flex-start; }
.w-layout .w-side { width: 224px; flex-shrink: 0; }
.w-layout .w-main { flex: 1; min-width: 0; }
.w-layout .w-aside { width: 282px; flex-shrink: 0; }
.mb12 { margin-bottom: 12px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }

/* ===== 左侧筛选 ===== */
.w-side { padding: 6px 14px 12px; }
.fgroup { padding: 12px 0; border-bottom: 1px dashed var(--gray-4); }
.fgroup:last-child { border-bottom: none; }
.fgroup .ft { font-size: 12px; font-weight: 700; color: var(--gray-3); margin-bottom: 8px; }
.fitem { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--gray-2); }
.fitem:hover { background: var(--gray-5); }
.fitem.on { background: var(--green-light); color: var(--green-dark); font-weight: 700; }
.fitem .lft { display: flex; align-items: center; gap: 7px; min-width: 0; }
.fitem .box { width: 14px; height: 14px; border: 1px solid var(--gray-3); border-radius: 4px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: transparent; background: #fff; }
.fitem.on .box { background: var(--green); border-color: var(--green); color: #fff; }
.fitem.on .box::after { content: "✓"; }
.fitem .cnt { font-size: 11.5px; color: var(--gray-3); flex-shrink: 0; }
.fitem.on .cnt { color: var(--green-dark); }
.fitem.sub { padding-left: 22px; }
.fitem.disabled { opacity: .45; cursor: not-allowed; }

/* ===== 商品卡片补充 ===== */
.w-prodcard { color: inherit; }
.w-prodcard .meta b.dz { color: var(--green-dark); font-weight: 700; }
.w-prodcard .foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--gray-4); font-size: 11.5px; color: var(--gray-3); justify-content: space-between; }
.w-aside .mini-list { font-size: 12.5px; color: var(--gray-2); line-height: 2.1; margin-top: 8px; }
.w-aside .mini-list b { color: var(--red); }
.w-aside .mini-list .muted { color: var(--gray-3); }
.w-aside .mini-thumb { height: 96px; border-radius: 8px; overflow: hidden; margin-top: 10px; background: linear-gradient(135deg, #ffedd5, #fdba74); display: flex; align-items: center; justify-content: center; color: rgba(194,65,12,.55); font-weight: 800; font-size: 20px; }
.w-aside .mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.flex-row { display: flex; align-items: center; }
.grow { flex: 1; min-width: 0; }

/* ===== 商品详情 ===== */
.w-detail { display: flex; gap: 20px; align-items: flex-start; }
.w-media-col { width: 520px; flex-shrink: 0; }
.w-media { position: relative; height: 390px; border-radius: 12px; overflow: hidden; background: #111827; }
.w-media .layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.w-media .layer.hide { display: none; }
.w-media .layer img { width: 100%; height: 100%; object-fit: contain; background: #0b1220; }
.w-media video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.w-media .seg { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; background: rgba(17,24,39,.6); border-radius: 9px; padding: 3px; }
.w-media .seg-item { font-size: 12.5px; color: #e5e7eb; padding: 4px 14px; border-radius: 7px; cursor: pointer; }
.w-media .seg-item.on { background: #fff; color: #111827; font-weight: 700; }
.w-media .counter { position: absolute; right: 12px; top: 12px; z-index: 3; font-size: 12px; color: #fff; background: rgba(17,24,39,.6); border-radius: 9px; padding: 3px 10px; }
.w-media .nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); cursor: pointer; font-size: 16px; color: #111827; }
.w-media .nav.prev { left: 12px; }
.w-media .nav.next { right: 12px; }
.w-media .nav:hover { background: #fff; }
.w-thumbs-strip { display: flex; gap: 8px; margin-top: 10px; }
.w-thumbs-strip .th { width: 72px; height: 72px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--gray-5); position: relative; flex-shrink: 0; }
.w-thumbs-strip .th img { width: 100%; height: 100%; object-fit: cover; }
.w-thumbs-strip .th.on { border-color: var(--green); }
.w-thumbs-strip .th .vplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(17,24,39,.35); color: #fff; font-size: 15px; }
.w-info-col { flex: 1; min-width: 0; }
.w-d-title { font-size: 20px; font-weight: 800; line-height: 1.5; }
.w-d-price-box { background: linear-gradient(120deg, #fff7ed, #ffedd5); border-radius: 12px; padding: 14px 18px; margin-top: 14px; }
.w-d-price-box .big { font-size: 30px; font-weight: 800; color: var(--red); }
.w-d-price-box .unit { font-size: 13px; color: var(--gray-2); }
.w-d-price-box .sub { font-size: 11.5px; color: var(--gray-3); margin-top: 6px; }
.w-d-facts { margin-top: 14px; border: 1px solid var(--gray-4); border-radius: 12px; overflow: hidden; }
.w-d-facts .fr { display: flex; font-size: 13px; border-bottom: 1px solid var(--gray-5); }
.w-d-facts .fr:last-child { border-bottom: none; }
.w-d-facts .k { width: 92px; flex-shrink: 0; background: var(--gray-5); color: var(--gray-3); padding: 9px 14px; }
.w-d-facts .v { padding: 9px 14px; color: var(--gray-1); flex: 1; }
.w-shopbar { display: flex; align-items: center; gap: 12px; border: 1px solid var(--gray-4); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.w-shopbar .avatar { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); display: flex; align-items: center; justify-content: center; font-weight: 800; color: rgba(21,128,61,.6); overflow: hidden; flex-shrink: 0; }
.w-shopbar .avatar img { width: 100%; height: 100%; object-fit: cover; }
.w-callbtn { margin-top: 12px; }
.danger-note { display: flex; gap: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: 10px 14px; font-size: 12.5px; line-height: 1.8; margin-top: 12px; }
.danger-note .ic { width: 18px; height: 18px; border-radius: 50%; background: #ef4444; color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.w-black-note { display: flex; gap: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 10px 14px; font-size: 12.5px; line-height: 1.8; margin-bottom: 12px; }
.w-d-desc { font-size: 13.5px; color: var(--gray-2); line-height: 2; white-space: pre-wrap; word-break: break-word; }

/* ===== 留言咨询 ===== */
.w-chat { border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.8; background: var(--gray-5); margin-top: 8px; }
.w-chat.green { background: var(--green-light); }
.w-chat .who { font-weight: 700; }
.w-chat .time { color: var(--gray-3); font-size: 11px; margin-left: 6px; }
.w-chat .reply { margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(0,0,0,.08); }

/* ===== 弹层提示（电话等） ===== */
.w-callbox { text-align: center; padding: 6px 0 2px; }
.w-callbox .shop { font-size: 13px; color: var(--gray-3); }
.w-callbox .phone { font-size: 27px; font-weight: 800; margin: 10px 0 4px; }
.w-callbox .phone a { color: var(--green-dark); }
.w-callbox .tip { font-size: 12px; color: var(--gray-3); margin-bottom: 12px; }

/* ===== 通用表格 ===== */
.w-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.w-table th { text-align: left; font-size: 12px; color: var(--gray-3); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--gray-4); background: var(--gray-5); }
.w-table td { padding: 12px; border-bottom: 1px solid var(--gray-5); vertical-align: top; color: var(--gray-2); }
.w-table tr:last-child td { border-bottom: none; }
.w-table tr:hover td { background: #fafafa; }
.w-table .strong { color: var(--gray-1); font-weight: 700; font-size: 13.5px; }
.w-table .sub { font-size: 11.5px; color: var(--gray-3); margin-top: 3px; font-weight: 400; }
.w-rq-item { border: 1px solid var(--gray-4); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.w-rq-item .head { display: flex; align-items: center; gap: 10px; }
.w-rq-item .tt { font-size: 15px; font-weight: 700; }
.w-rq-item .meta { font-size: 12px; color: var(--gray-3); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.w-rq-items { margin-top: 8px; border-top: 1px dashed var(--gray-4); padding-top: 8px; }
.w-rq-line { display: flex; align-items: center; gap: 12px; font-size: 12.5px; padding: 5px 0; color: var(--gray-2); }
.w-rq-line .nm { font-weight: 600; color: var(--gray-1); min-width: 120px; }
.w-rq-line .btn { margin-left: auto; }

/* ===== 弹窗 / toast ===== */
.w-mask { position: fixed; inset: 0; background: rgba(17,24,39,.5); z-index: 300; display: flex; align-items: flex-start; justify-content: center; }
.w-modal { background: #fff; border-radius: 14px; margin-top: 8vh; box-shadow: 0 20px 60px rgba(0,0,0,.25); max-width: calc(100vw - 40px); }
.w-modal .m-head { padding: 16px 20px 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.w-modal .m-close { cursor: pointer; color: var(--gray-3); font-size: 14px; font-weight: 400; }
.w-modal .m-close:hover { color: var(--gray-1); }
.w-modal .m-body { padding: 14px 20px 6px; max-height: 62vh; overflow: auto; }
.w-modal .m-foot { padding: 12px 20px 18px; display: flex; gap: 10px; justify-content: flex-end; }
#siteToast { position: fixed; left: 50%; top: 74px; transform: translateX(-50%) translateY(-8px); background: rgba(17,24,39,.92); color: #fff; font-size: 13px; padding: 9px 20px; border-radius: 20px; opacity: 0; pointer-events: none; transition: all .22s; z-index: 400; max-width: 70vw; }
#siteToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 表单 ===== */
.input, .select, .textarea { width: 100%; border: 1px solid var(--gray-4); border-radius: 9px; padding: 9px 12px; font-size: 13.5px; outline: none; background: #fff; color: var(--gray-1); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); }
.textarea { min-height: 84px; resize: vertical; line-height: 1.8; }
.form-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.form-row .lb { width: 86px; flex-shrink: 0; font-size: 13px; color: var(--gray-2); text-align: right; }
.form-row .lb .req { color: var(--red); }
.form-row .ctl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form-row .unit { font-size: 12.5px; color: var(--gray-3); flex-shrink: 0; }
.form-tip { font-size: 11.5px; color: var(--gray-3); line-height: 1.8; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-2); cursor: pointer; }
.chk input { width: 15px; height: 15px; accent-color: var(--green); }

/* ===== 登录页 ===== */
.w-login-wrap { min-height: calc(100vh - 62px); display: flex; align-items: flex-start; justify-content: center; padding-top: 9vh; }
.w-login-card { width: 420px; background: #fff; border-radius: 16px; padding: 28px 30px 30px; box-shadow: 0 14px 44px rgba(0,0,0,.1); }
.w-login-card .brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; justify-content: center; }
.w-login-card .brand .mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #4ade80, #16a34a); }
.w-login-card .subt { text-align: center; font-size: 12.5px; color: var(--gray-3); margin: 8px 0 18px; }
.w-login-tabs { display: flex; border-bottom: 1px solid var(--gray-4); margin-bottom: 18px; }
.w-login-tabs .t { flex: 1; text-align: center; padding: 10px 0; font-size: 14.5px; color: var(--gray-3); cursor: pointer; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.w-login-tabs .t.on { color: var(--green-dark); border-bottom-color: var(--green); }
.w-code-btn { flex-shrink: 0; font-size: 12.5px; color: var(--green-dark); border: 1px solid var(--green); border-radius: 8px; padding: 9px 12px; cursor: pointer; background: #fff; }
.w-code-btn.disabled { opacity: .5; cursor: not-allowed; }

/* ===== 卖家工作台 ===== */
.s-layout { display: flex; gap: 16px; max-width: 1280px; margin: 16px auto; padding: 0 16px; align-items: flex-start; }
.s-sider { width: 200px; flex-shrink: 0; background: #fff; border-radius: 12px; padding: 14px 10px; position: sticky; top: 78px; }
.s-sider .brand { font-size: 14px; font-weight: 800; padding: 4px 10px 12px; border-bottom: 1px dashed var(--gray-4); margin-bottom: 8px; }
.s-sider .mi { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; font-size: 13.5px; color: var(--gray-2); cursor: pointer; }
.s-sider .mi:hover { background: var(--gray-5); }
.s-sider .mi.on { background: var(--green-light); color: var(--green-dark); font-weight: 700; }
.s-sider .mi .mico { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-3); }
.s-sider .mi.on .mico { background: var(--green); }
.s-main { flex: 1; min-width: 0; }
.s-topbar { background: #fff; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; font-weight: 700; gap: 12px; }
.s-topbar .sub { font-size: 12px; color: var(--gray-3); font-weight: 400; }
.s-content { margin-top: 14px; }
.s-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.s-stat { background: #fff; border-radius: 12px; padding: 16px 18px; }
.s-stat .n { font-size: 26px; font-weight: 800; color: var(--gray-1); }
.s-stat .n.g { color: var(--green-dark); }
.s-stat .n.o { color: var(--orange); }
.s-stat .n.r { color: var(--red); }
.s-stat .l { font-size: 12px; color: var(--gray-3); margin-top: 4px; }
.s-panel { background: #fff; border-radius: 12px; padding: 16px 18px; margin-top: 14px; }
.s-panel h3 { font-size: 14.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.s-panel h3 .hint { font-size: 11.5px; color: var(--gray-3); font-weight: 400; }
.s-panel h3 .btn { margin-left: auto; }

/* ===== 商品发布/编辑：媒体管理 ===== */
.w-media-list { display: flex; gap: 10px; flex-wrap: wrap; }
.up-item { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; position: relative; border: 1px solid var(--gray-4); background: var(--gray-5); }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item video { width: 100%; height: 100%; object-fit: cover; }
.up-item .rm { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(17,24,39,.7); color: #fff; font-size: 12px; border: none; cursor: pointer; line-height: 1; }
.up-item .tagv { position: absolute; left: 4px; bottom: 4px; font-size: 10px; background: rgba(17,24,39,.7); color: #fff; border-radius: 4px; padding: 1px 6px; }
.up-add { width: 96px; height: 96px; border-radius: 10px; border: 1.5px dashed var(--gray-4); color: var(--gray-3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font-size: 12px; background: #fff; }
.up-add:hover { border-color: var(--green); color: var(--green-dark); }
.up-add .plus { font-size: 20px; line-height: 1; }

/* ===== 采摘页 ===== */
.pick-banner { background: linear-gradient(120deg, #c2410c, #fb923c); border-radius: 14px; padding: 22px 28px; color: #fff; margin-bottom: 14px; }
.pick-banner .t1 { font-size: 20px; font-weight: 800; }
.pick-banner .t2 { font-size: 12.5px; opacity: .95; margin-top: 6px; }

/* ===== 页脚补充 ===== */
.w-footer-links .hot { margin-top: 4px; }

/* ===== 小工具 ===== */
.w-bar-tip { display: flex; align-items: center; gap: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 9px 14px; font-size: 12.5px; margin-bottom: 12px; }
.w-bar-tip a { color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.w-sec-title { font-size: 14.5px; font-weight: 800; margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.w-sec-title::before { content: ""; width: 4px; height: 15px; background: var(--green); border-radius: 2px; }
.w-two-col { display: flex; gap: 14px; align-items: flex-start; }
.w-two-col .w-main { flex: 1; min-width: 0; }
.w-two-col .w-aside { width: 340px; flex-shrink: 0; }
.w-market-item .cat .nm a:hover { color: var(--green-dark); }

/* ===== 地图找货（右栏小卡片 / 地图页） ===== */
.w-mapbox { height: 150px; border-radius: 8px; margin-top: 10px; overflow: hidden; background: var(--gray-5); position: relative; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray-3); }
.w-map-note { font-size: 11.5px; color: var(--gray-3); margin-top: 8px; }
.w-map-note a { color: var(--green); }

/* 地图页工具行 */
.w-map-toolbar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 16px; flex-wrap: wrap; }
.w-map-toolbar .kw { width: 280px; height: 36px; border: 1px solid var(--gray-4); border-radius: 18px; padding: 0 16px; font-size: 13px; outline: none; }
.w-map-toolbar .kw:focus { border-color: var(--green); }
.w-map-toolbar .cnt { font-size: 12px; color: var(--gray-3); margin-left: auto; }

/* 大地图 */
.w-bigmap { height: 560px; border-radius: 12px; overflow: hidden; margin-top: 12px; background: var(--gray-5); position: relative; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--gray-3); }

/* 店铺卡片网格 */
.w-shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.w-shopcard { background: #fff; border-radius: 12px; padding: 14px; display: flex; gap: 12px; transition: box-shadow .15s; }
.w-shopcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.w-shopcard.on { box-shadow: 0 0 0 2px var(--green); }
.w-shopcard .thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #d1fae5, #6ee7b7); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: rgba(21,128,61,.55); }
.w-shopcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.w-shopcard .nm { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.w-shopcard .nm a:hover { color: var(--green-dark); }
.w-shopcard .sub { font-size: 12px; color: var(--gray-3); margin-top: 4px; line-height: 1.6; }
.w-shopcard .sub b.dz { color: var(--green-dark); font-weight: 700; }
.w-shopcard .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.w-shopcard .btns { display: flex; gap: 8px; margin-top: 10px; }
.w-shopcard .btns .btn { height: 28px; padding: 0 12px; font-size: 12px; }

/* ===== 图片放大预览（灯箱） ===== */
.w-zoom { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.86); display: flex; align-items: center; justify-content: center; }
.w-zoom .zoom-img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.45); user-select: none; }
.w-zoom .zoom-close { position: absolute; top: 16px; right: 22px; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: .8; padding: 8px; }
.w-zoom .zoom-close:hover { opacity: 1; }
.w-zoom .zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; padding-bottom: 3px; }
.w-zoom .zoom-nav:hover { background: rgba(255,255,255,.3); }
.w-zoom .zoom-nav.prev { left: 20px; }
.w-zoom .zoom-nav.next { right: 20px; }
.w-zoom .zoom-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 12.5px; background: rgba(0,0,0,.5); padding: 5px 14px; border-radius: 14px; }

/* ===== 法律文档（隐私政策等） ===== */
.w-legal { background: #fff; border-radius: 14px; padding: 30px 40px 34px; max-width: 920px; margin: 0 auto 6px; }
.w-legal .doc-title { font-size: 24px; font-weight: 800; text-align: center; color: #111827; }
.w-legal .doc-meta { text-align: center; font-size: 12.5px; color: var(--gray-3); margin: 10px 0 6px; }
.w-legal h2 { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin: 24px 0 8px; color: #111827; }
.w-legal h2::before { content: ""; width: 4px; height: 15px; background: var(--green); border-radius: 2px; flex-shrink: 0; }
.w-legal h3 { font-size: 13.5px; font-weight: 700; color: #374151; margin: 14px 0 4px; }
.w-legal p { font-size: 13px; color: #4b5563; line-height: 2; text-align: justify; margin-bottom: 4px; }

