/* ==========================================================================
   产品详情页询价条 + 询盘弹层
   ========================================================================== */

/* 询价条 */
.cf-qbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.cf-qbar__kicker {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--cf-accent, #E85D26);
}
.cf-qbar__title {
  margin: 10px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.25;
  color: #fff;
  font-weight: 650;
}
.cf-qbar__note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
}
.cf-qbar__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cf-qbar__wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.cf-qbar__wa:hover { color: #fff; border-color: #fff; }
.cf-qbar__wa svg { width: 16px; height: 16px; }

/* 弹层 */
body.cf-inq-lock { overflow: hidden; }
.cf-inq {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.cf-inq[hidden] { display: none; }
.cf-inq__mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 22, .66);
  backdrop-filter: blur(3px);
}
.cf-inq__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(20px, 2.4vw, 32px);
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid var(--cf-accent, #E85D26);
  box-shadow: 0 40px 80px -40px rgba(2, 8, 14, .7);
}
.cf-inq__x {
  position: absolute;
  right: 12px; top: 10px;
  width: 34px; height: 34px;
  font-size: 22px;
  line-height: 1;
  color: #667085;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.cf-inq__x:hover { color: var(--cf-accent, #E85D26); }
.cf-inq__kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--cf-accent, #E85D26);
}
.cf-inq__title {
  margin: 8px 0 0;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 650;
  color: var(--cf-ink-900, #0A1621);
}
.cf-inq__machine {
  margin: 6px 0 0;
  font-size: 13px;
  color: #475467;
  padding-bottom: 14px;
  border-bottom: 1px solid #E4E7EC;
}

.cf-inq__form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.cf-inq__f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #667085;
}
.cf-inq__f input,
.cf-inq__f textarea {
  font-family: inherit;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: #0A1621;
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 9px;
  padding: 11px 12px;
  height: 44px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cf-inq__f textarea { height: auto; resize: vertical; line-height: 1.6; }
.cf-inq__f input:focus,
.cf-inq__f textarea:focus {
  border-color: rgba(232, 93, 38, .55);
  box-shadow: 0 0 0 3px rgba(232, 93, 38, .12);
}
.cf-inq__full { grid-column: 1 / -1; }
.cf-inq__code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cf-inq__code-row input {
  width: 120px;
  text-align: center;
  letter-spacing: .18em;
  font-weight: 600;
}
.cf-inq__code-row img {
  width: 132px; height: 46px;
  border-radius: 8px;
  border: 1px solid #E4E7EC;
  cursor: pointer;
  background: #F7F8FA;
}
.cf-inq__refresh {
  width: 38px; height: 46px;
  font-size: 16px;
  color: #475467;
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 8px;
  cursor: pointer;
}
.cf-inq__refresh:hover { color: var(--cf-accent, #E85D26); }
.cf-inq__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cf-inq__status {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #475467;
  text-transform: none;
  letter-spacing: 0;
}
.cf-inq__status.is-ok { color: #1C7C54; }
.cf-inq__status.is-err { color: #B7312C; }
.cf-inq__tip {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #98A2B3;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .cf-qbar__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cf-inq__form { grid-template-columns: 1fr; }
  .cf-inq__panel { padding: 20px 16px; border-radius: 12px; }
}
/* -------------------------------------------------------------------------
   产品页：刀具与配置区块
   ---------------------------------------------------------------------- */
.cf-ptools .cf-head { align-items: start; }
.cf-ptools__grid {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.cf-ptools__card {
  background: #fff;
  border: 1px solid var(--cf-line, #E4E7EC);
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cf-ptools__title {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--cf-ink-900, #0A1621);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cf-line, #E4E7EC);
}
.cf-ptools__title span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #98A2B3;
}
.cf-ptools__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cf-ptools__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #475467;
}
.cf-ptools__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  background: var(--cf-accent, #E85D26);
  border-radius: 50%;
}
.cf-ptools__foot {
  margin-top: clamp(22px, 2.6vw, 34px);
  padding-top: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--cf-line, #E4E7EC);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cf-ptools__foot p {
  margin: 0;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: #475467;
}
.cf-ptools__foot strong { color: var(--cf-ink-900, #0A1621); }

@media (max-width: 900px) {
  .cf-ptools__grid { grid-template-columns: 1fr; }
  .cf-ptools__foot .cf-btn { width: 100%; }
}
/* -------------------------------------------------------------------------
   询盘弹层：加装多选
   ---------------------------------------------------------------------- */
.cf-inq__addons {
  border: 1px solid var(--cf-line, #E4E7EC);
  background: #FAFBFC;
  padding: 13px 14px 14px;
  margin: 0;
}
.cf-inq__addons legend {
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #667085;
}
.cf-inq__addons legend span {
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
  color: #98A2B3;
}
.cf-inq__addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px 12px;
  margin-top: 4px;
}
.cf-inq__addons-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #344054;
  cursor: pointer;
  line-height: 1.4;
}
.cf-inq__addons-grid input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--cf-accent, #E85D26);
  flex: none;
}
/* datasheet 留资弹层 */
.cf-ds__panel{max-width:560px}
.cf-ds__lead{margin:0 0 14px;font-size:12.5px;line-height:1.65;color:#5C6672}
.cf-ds__note{margin:12px 0 0;font-size:11.5px;line-height:1.6;color:#7A838E}
.cf-ds__note a{color:#E85D26;text-decoration:none}
.cf-ds__note a:hover{text-decoration:underline}
.cf-ds__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}