/* 首页专用样式（原 index.php 内联样式） */
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem) !important; line-height: 1.12 !important; letter-spacing: -.02em; font-weight: 800; }
  .hero p { font-size: 1.0625rem !important; line-height: 1.55 !important; max-width: 60ch; margin: 14px auto 0; }

  /* 首屏搜索框提示文字：橙色渐变 */
  #homeKeyword::placeholder {
    color: #f2610c;
    background-image: linear-gradient(90deg, #ff9a3c 0%, #f2610c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    opacity: 1;
  }
  #homeKeyword::-webkit-input-placeholder {
    color: #f2610c;
    background-image: linear-gradient(90deg, #ff9a3c 0%, #f2610c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    opacity: 1;
  }

.hero-actions--cta { margin-bottom: 10px; }
#homeHero .hero-cta-primary, .hero .hero-actions .hero-cta-primary {
  background: #ff7a18 !important; background-image: linear-gradient(135deg,#ff8a2b,#f2610c) !important;
  color: #fff !important; border: 0 !important; font-weight: 800; letter-spacing: .2px;
  padding: 13px 30px; border-radius: 999px; box-shadow: 0 8px 20px rgba(242,97,12,.35);
}
.hero .hero-actions .hero-cta-primary:hover { filter: brightness(1.06); }
.hero .hero-actions .hero-cta-secondary {
  background: rgba(255,255,255,.96) !important; color: #0b5ed7 !important;
  font-weight: 800; padding: 13px 30px; border-radius: 999px; border: 2px solid #fff !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.hero .hero-actions .hero-cta-secondary:hover { background: #eff6ff !important; }

    .hero-search-wrap { position: relative; max-width: 640px; margin: 0 auto; }
    .ps-drop {
      position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
      margin-top: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
      box-shadow: 0 12px 32px rgba(0,0,0,.16); max-height: 320px; overflow-y: auto; text-align: left;
    }
    .ps-item {
      display: block; width: 100%; border: none; background: #fff; text-align: left;
      padding: 10px 14px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f3f4f6; color: #1f2937;
    }
    .ps-item:hover { background: #eff6ff; }
    .ps-cas { font-variant-numeric: tabular-nums; font-weight: 700; color: #c2410c !important; }
    .ps-empty { padding: 12px 14px; color: #9ca3af; font-size: 13px; }
    @media (min-width: 1440px) { .hero-search-wrap { max-width: 720px; } }
    
.ps-cas, .sg-cas, .hero-suggest-item .sg-cas, span.ps-cas {
  color: #c2410c !important;
  font-weight: 700;
}
.product-card .cas, .feat-body .cas, .cas {
  color: #c2410c !important;
}

.hero-search {
  max-width: 640px;
  margin: 0 auto 22px;
  text-align: left;
}
.hero-search-row {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.35);
}
.hero-search-row input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 14px 16px;
  font-size: 16px;
  color: #1f2937;
  outline: none;
  background: #fff;
}
.hero-search-row input::placeholder { color: #9ca3af; }
.hero-search-row button {
  border: none;
  background: linear-gradient(135deg, #ff9a3c 0%, #f2610c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 6px 16px rgba(242,97,12,.30);
  transition: filter .15s ease;
}
.hero-search-row button:hover { filter: brightness(1.07); }
.hero-search-hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.82);
  text-align: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero-btn-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.85);
}
.hero-btn-ghost:hover {
  background: rgba(255,255,255,.12) !important;
  text-decoration: none;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
/* 只列出部分产品的提示条（比搜索框更宽，一行能放下整句） */
.cat-notice {
  display: flex; align-items: center; gap: 10px;
  max-width: 980px; margin: 16px auto 0;
  padding: 12px 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 3px solid #0b5ed7;
  border-radius: 8px;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.cat-notice:hover { background: #dbeafe; border-color: #93c5fd; text-decoration: none; }
.cat-notice svg { flex: 0 0 auto; color: #0b5ed7; }
.cat-notice-text { display: block; }
.cat-notice-text strong { font-weight: 700; margin-right: 4px; }
@media (max-width: 1100px) { .cat-notice { max-width: 100%; } }
@media (max-width: 640px) {
  .hero-search { margin-bottom: 18px; }
  .cat-notice { font-size: 13px; padding: 10px 12px; margin-top: 12px; }
  .hero-search-row {
    flex-direction: column;
    border-radius: 12px;
  }
  .hero-search-row input[type="search"] {
    padding: 14px 14px;
    font-size: 16px; /* avoid iOS zoom */
  }
  .hero-search-row button {
    padding: 12px 16px;
    width: 100%;
  }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; box-sizing: border-box; }
}
@media (min-width: 1440px) {
  .hero-search { max-width: 720px; }
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 56px;
    align-items: start;
  }
  .about-title { text-align: left !important; }
  .about-title::after { margin-left: 0 !important; }
  .about-p {
    font-size: 16px;
    line-height: 1.72;
    color: #334155;
    margin: 0 0 22px;
    text-align: left;
    max-width: 62ch;
  }
  .about-p:first-child { font-size: 17px; line-height: 1.7; color: #0f172a; margin-bottom: 24px; }
  .about-p + .about-p { margin-top: 0; }
  .about-p:last-child { margin-bottom: 0; }
  .about-facts {
    text-align: left;
    background: #f1f5f9;
    border-radius: 14px;
    padding: 26px 28px;
  }
  .af-row { padding: 12px 0; }
  .af-row + .af-row { border-top: 1px solid #e2e8f0; }
  .af-k {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
  }
  .af-v { display: block; font-size: 14px; line-height: 1.55; color: #0f172a; font-weight: 600; }
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-facts { padding: 20px 22px; }
  }

/* ===== 特色产品：横向滚动轮播 ===== */
.fp-sec { background: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-title-left { text-align: left !important; margin: 0 !important; }
.sec-title-left::after { margin-left: 0 !important; }
.sec-link { font-size: 13.5px; font-weight: 600; color: #0b5ed7; text-decoration: none; white-space: nowrap; padding-bottom: 6px; }
.sec-link:hover { text-decoration: underline; }
.fp-carousel { display: flex; align-items: center; gap: 12px; }
.fp-nav { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #dbe3ee; background: #fff; color: #334155; font-size: 22px; line-height: 1; cursor: pointer; transition: all .16s ease; }
.fp-nav:hover { border-color: #0b5ed7; color: #0b5ed7; box-shadow: 0 2px 8px rgba(11,94,215,.15); }
.fp-viewport { flex: 1 1 auto; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0 6px; }
.fp-viewport::-webkit-scrollbar { display: none; }
.fp-track { display: flex; gap: 18px; width: max-content; }
.fp-card { flex: 0 0 272px; width: 272px; display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ecf4; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; scroll-snap-align: start; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.fp-card:hover { border-color: #cfe0f5; box-shadow: 0 10px 26px rgba(15,23,42,.09); transform: translateY(-2px); text-decoration: none; }
.fp-img { height: 168px; background: #f5f8fc; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 12px; }
.fp-img img { max-width: 88%; max-height: 88%; object-fit: contain; }
.fp-body { padding: 14px 16px 13px; display: flex; flex-direction: column; flex: 1 1 auto; }
.fp-name { margin: 0 0 8px; font-size: 14.5px; line-height: 1.45; font-weight: 650; color: #0b1220; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-cas { font-size: 13px; color: #64748b; font-variant-numeric: tabular-nums; }
.fp-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid #eef2f7; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-formula { font-size: 12px; color: #94a3b8; }
.fp-view { font-size: 13px; font-weight: 600; color: #0b5ed7; white-space: nowrap; }
.fp-empty { color: #9ca3af; }
@media (max-width: 1100px) { .fp-card { flex-basis: 248px; width: 248px; } }
@media (max-width: 640px) {
  .fp-nav { display: none; }
  .fp-card { flex-basis: 74vw; width: 74vw; }
  .fp-img { height: 150px; }
}

/* ===== 新闻：列表式/* ===== 新闻：列表式（参照 twinhang） ===== */
.news-sec { background: #f6f9fc; border-top: 1px solid #e8eef6; border-bottom: 1px solid #e8eef6; }
.news-list { border-top: 1px solid #e3eaf3; }
.news-item { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 17px 2px; border-bottom: 1px solid #e3eaf3; text-decoration: none; color: inherit; }
.news-item:hover .news-item-title { color: #0b5ed7; text-decoration: underline; text-underline-offset: 3px; }
.news-item-title { font-size: 16px; line-height: 1.5; font-weight: 600; color: #14213b; }
.news-item-date { font-size: 13px; color: #94a3b8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.news-empty { color: #9ca3af; }
@media (max-width: 640px) {
  .news-item { flex-direction: column; gap: 6px; padding: 15px 2px; }
  .news-item-date { font-size: 12.5px; }
}

/* ===== 询价 CTA ===== */
.cta-sec { padding: 34px 0 8px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; background: #f6f9fc; border: 1px solid #e6ecf4; border-radius: 12px; flex-wrap: wrap; }
.cta-copy h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #0b1220; letter-spacing: -.015em; }
.cta-copy p { margin: 0; font-size: 14.5px; color: #55657c; line-height: 1.6; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px !important; border-radius: 9px !important; white-space: nowrap; }
@media (max-width: 640px) { .cta-card { padding: 20px 18px; } .cta-copy h3 { font-size: 18px; } .cta-btn { width: 100%; } }
