/* 外贸站增强样式：询盘表单 + B2B 成交信息 + FAQ（中英文通用，自动适配移动端） */

/* ---------- 询盘表单 ---------- */
.inq-section { padding: 54px 0 10px; }
.inq-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.inq-card { background: #fff; border: 1px solid #e3edf7; border-radius: 10px; padding: 30px 32px 26px; box-shadow: 0 4px 20px rgba(20,60,100,.05); }
.inq-card h2 { font-size: 23px; color: #10395c; margin: 0 0 6px; }
.inq-card .inq-sub { font-size: 13.5px; color: #6b8098; margin: 0 0 20px; line-height: 1.7; }
.inq-form { display: grid; gap: 14px; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inq-form label { display: block; font-size: 13px; color: #3c5872; font-weight: 600; }
.inq-form label .req { color: #d9482f; }
.inq-form input, .inq-form select, .inq-form textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; font-size: 14px; color: #17364f;
  font-family: inherit; background: #fbfdff; border: 1px solid #d8e6f2; border-radius: 7px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.inq-form input:focus, .inq-form select:focus, .inq-form textarea:focus {
  outline: none; background: #fff; border-color: #2f86c9; box-shadow: 0 0 0 3px rgba(47,134,201,.12);
}
.inq-form textarea { resize: vertical; min-height: 116px; line-height: 1.65; }
.inq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inq-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #6b8098; font-weight: 400; line-height: 1.6; }
.inq-consent input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; }
.inq-consent a { color: #2f86c9; }
.inq-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 20px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #1e78c8, #2f9bd8); border: 0; border-radius: 8px;
  cursor: pointer; transition: transform .15s, box-shadow .2s, opacity .2s;
}
.inq-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30,120,200,.28); }
.inq-submit[disabled] { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.inq-msg { display: none; padding: 12px 14px; border-radius: 7px; font-size: 13.5px; line-height: 1.7; }
.inq-msg.on { display: block; }
.inq-msg.ok { background: #edf8f1; color: #1c7a44; border: 1px solid #c6e8d3; }
.inq-msg.err { background: #fdf0ee; color: #bf3a24; border: 1px solid #f6d3cc; }
.inq-side { display: grid; gap: 14px; }
.inq-side .side-card { background: #f6fafd; border: 1px solid #e3edf7; border-radius: 10px; padding: 20px 22px; }
.inq-side h3 { font-size: 14px; color: #10395c; margin: 0 0 8px; letter-spacing: .3px; }
.inq-side p, .inq-side li { font-size: 13.5px; color: #56718c; line-height: 1.8; margin: 0; }
.inq-side ul { margin: 0; padding-left: 18px; }
.inq-side b { color: #1e78c8; }

/* ---------- 产品页 B2B 信息 ---------- */
.b2b { margin-top: 26px; border: 1px solid #e3edf7; border-radius: 10px; overflow: hidden; background: #fff; }
.b2b-head { background: #f2f8fd; padding: 14px 20px; font-size: 15px; font-weight: 700; color: #10395c; border-bottom: 1px solid #e3edf7; }
.b2b-table { width: 100%; border-collapse: collapse; }
.b2b-table th, .b2b-table td { padding: 11px 20px; font-size: 13.5px; text-align: left; border-bottom: 1px solid #eef4fa; vertical-align: top; }
.b2b-table th { width: 34%; color: #4b6b88; font-weight: 600; background: #fbfdff; }
.b2b-table td { color: #22405c; }
.b2b-table tr:last-child th, .b2b-table tr:last-child td { border-bottom: 0; }
.b2b-note { font-size: 12px; color: #8698ab; padding: 10px 20px 14px; margin: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; }
.faq h3.faq-title { font-size: 17px; color: #10395c; margin: 0 0 12px; }
.faq details { border: 1px solid #e6eef7; border-radius: 8px; padding: 0; margin-bottom: 10px; background: #fff; }
.faq details[open] { border-color: #bcd9ef; box-shadow: 0 3px 12px rgba(30,120,200,.07); }
.faq summary { cursor: pointer; padding: 14px 18px; font-size: 14px; font-weight: 600; color: #1b3f5f; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: #2f86c9; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq .faq-a { padding: 0 18px 16px; font-size: 13.5px; color: #4b657f; line-height: 1.85; }

/* ---------- 询盘 CTA ---------- */
.quote-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 4px; }
.quote-cta .qc-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 8px;
  background: linear-gradient(135deg, #1e78c8, #2f9bd8); color: #fff; font-size: 14.5px; font-weight: 700;
  text-decoration: none; transition: transform .15s, box-shadow .2s;
}
.quote-cta .qc-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30,120,200,.28); }
.quote-cta .qc-tip { font-size: 12.5px; color: #7b8fa5; }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .inq-grid { grid-template-columns: 1fr; gap: 26px; }
  .inq-card { padding: 24px 20px 22px; }
  .inq-row { grid-template-columns: 1fr; }
  .b2b-table th, .b2b-table td { padding: 10px 14px; font-size: 13px; }
  .b2b-table th { width: 40%; }
}
@media (max-width: 640px) {
  .inq-section { padding: 34px 0 6px; }
  .inq-card h2 { font-size: 20px; }
  .inq-form input, .inq-form select, .inq-form textarea { font-size: 16px; } /* iOS 不缩放 */
  .inq-submit { padding: 14px 18px; }
  .faq summary { padding: 13px 15px; font-size: 13.5px; }
  .b2b-table th, .b2b-table td { display: block; width: 100%; }
  .b2b-table th { background: #f7fbfe; border-bottom: 0; padding-bottom: 4px; }
  .b2b-table td { padding-top: 0; padding-bottom: 12px; }
}
