/* FITATEC clone - 补充样式（保持与原站 grid 布局一致） */

/* 首页产品线卡片：前两张占 3 列，后三张占 2 列 */
@media (min-width: 1024px) {
  .fita-cat-grid > div:nth-child(n+3) { grid-column: span 2 / span 2; }
}

/* 首页轮播：JS 接管前避免首屏空白 */
html:not(.fita-js) section[aria-label="Featured highlights"] > div.transition-opacity:first-of-type { opacity: 1; }

/* ---------- 询价表单：图形验证码 ---------- */
.fita-captcha { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.fita-captcha-label { font-weight: 500; font-size: 0.875rem; line-height: 1.25rem; color: #0f2744; }
.fita-captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.fita-captcha-input { width: 9rem; flex: 0 0 auto; text-transform: none; letter-spacing: 0.02em; }
.fita-captcha-img {
  width: 120px; height: 40px; flex: 0 0 auto; cursor: pointer;
  border: 1px solid #dbe3ec; border-radius: 6px; background: #fff; object-fit: cover;
}
.fita-captcha-refresh {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: #1663d6; font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
.fita-captcha-refresh:hover { text-decoration: underline; }
.fita-captcha-hint { margin: 0; font-size: 0.75rem; line-height: 1.25rem; color: #6b7c93; }

/* 提交结果提示 */
.fita-note { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; line-height: 1.5rem; }
.fita-note-ok { color: #1663d6; }
.fita-note-error { color: #c0392b; }

@media (max-width: 420px) {
  .fita-captcha-input { width: 8rem; }
}

/* FITA_RELATED_CSS_BEGIN */
/* 相关产品：默认只显示前 3 张，site.js 会按源站每页的真实关联重排并显示 */
#fita-related > [data-slug]:nth-of-type(n+4) { display: none; }
/* FITA_RELATED_CSS_END */
