/* ============================================================
   渝知泉 · 企业批发中心 专用样式
   页面：/wholesale/
   ============================================================ */

/* ---------- 两栏布局（询价区） ---------- */
.wh-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .wh-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 优势卡 ---------- */
.feature-card { padding: 26px 22px; }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: #e0f2fe;
  font-size: 24px;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 批发价目表 ---------- */
.wh-table-empty { text-align: center; color: var(--muted); padding: 34px 0 !important; font-size: 14.5px; }
.cell-product { display: flex; align-items: center; gap: 10px; }
.cell-emoji { font-size: 22px; flex-shrink: 0; }
.cell-product strong { color: var(--ink); font-weight: 600; display: block; }
.cell-tag {
  display: inline-block; margin-top: 3px;
  font-size: 11px; padding: 1px 7px; border-radius: 999px;
  background: #fee2e2; color: #b91c1c;
}
.td-retail { color: var(--muted); text-decoration: line-through; }
.td-price { color: #dc2626; font-weight: 700; font-size: 16px; white-space: nowrap; }
.td-unit { font-size: 12px; color: var(--muted); font-weight: 400; }
.td-tiers { white-space: normal; }
.tier-chip {
  display: inline-block; margin: 2px 5px 2px 0;
  font-size: 12.5px; padding: 2px 9px; border-radius: 999px;
  background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
  white-space: nowrap;
}
.wh-add-btn { padding: 6px 14px !important; font-size: 13px !important; white-space: nowrap; }
.table-note { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.7; }

/* ---------- 询价卡 ---------- */
.quote-card { padding: 26px 24px; }
.quote-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 18px; }
.quote-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.quote-empty {
  padding: 26px 16px; text-align: center;
  background: #f8fcff; border: 1px dashed var(--border); border-radius: 12px;
  color: var(--muted); font-size: 14px; line-height: 1.7;
}
.quote-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.quote-item-main { min-width: 0; }
.quote-item-main strong { display: block; font-size: 14.5px; color: var(--ink); }
.quote-item-spec { font-size: 12.5px; color: var(--muted); }
.quote-item-qty { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--border); background: #f8fcff;
  color: var(--primary); font-size: 17px; line-height: 1; cursor: pointer;
}
.qty-btn:hover { background: #e0f2fe; }
.qty-input {
  width: 58px; height: 30px; text-align: center;
  border: 1px solid var(--border); border-radius: 8px; font-size: 14px;
}
.qty-unit { font-size: 13px; color: var(--muted); }
.qty-remove {
  border: none; background: none; color: #dc2626; font-size: 12.5px; cursor: pointer; padding: 0 2px;
}
.qty-remove:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .quote-item { flex-direction: column; align-items: flex-start; }
}

.quote-total {
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px;
}
.quote-total-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--muted); margin-bottom: 8px;
}
.quote-total-row strong { color: var(--ink); font-size: 16px; }
.quote-total-main strong { color: #dc2626; font-size: 24px; }
.quote-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* ---------- 流程卡 ---------- */
.process-card { padding: 24px 20px; position: relative; }
.process-no {
  display: inline-block; font-size: 26px; font-weight: 800;
  color: #bae6fd; line-height: 1; margin-bottom: 10px;
}
.process-card h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.process-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------- 表单微调 ---------- */
.form-row em { color: #dc2626; font-style: normal; }
.form-textarea {
  width: 100%; padding: 11px 13px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 10px; resize: vertical; min-height: 80px;
  background: #fff; color: var(--ink);
}
.form-textarea:focus { outline: none; border-color: var(--primary); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, #0ea5e9, #0369a1);
  border-radius: 20px; padding: 34px 34px; color: #fff;
}
.cta-band h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.26); }
@media (max-width: 760px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
}
