/* 首页产品：沿用现有分类切换，只调整产品区的呈现。 */
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products > .container {
  width:min(1600px,calc(100% - 48px));
  margin-inline:auto;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-tabs {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 22px;
  padding-top:34px;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-tabs > span {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:44px;
  height:auto;
  margin:0;
  padding:8px 20px;
  border-radius:24px;
  color:#59616a;
  font-size:16px;
  line-height:1.4;
  cursor:pointer;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-tabs > span.cur {
  color:#fff;
  background:#b82229;
  border-radius:24px;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-tabs > span:focus-visible {
  outline:3px solid #2980c1;
  outline-offset:3px;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels {
  min-height:0;
  padding-top:32px;
  background:none;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels > .fh-home-product-grid:not([hidden]) {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:26px;
  width:100%;
  margin:0;
  padding:0;
  list-style:none;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels > .fh-home-product-grid[hidden] { display:none!important; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid::before,
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid::after { content:none; display:none; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels .fh-home-product-grid > li {
  float:none;
  width:auto;
  min-width:0;
  height:auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  list-style:none;
  transform:none;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid > .fh-home-product-card { overflow:visible; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link {
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:1;
  overflow:hidden;
  background:#263640;
  color:#fff;
  text-decoration:none;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(7,20,30,.48);
  pointer-events:none;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid > li > a > .fh-home-product-image {
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  aspect-ratio:1;
  object-fit:cover;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-image-empty {
  display:block;
  width:100%;
  height:100%;
  background:#354653;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-title {
  position:absolute;
  z-index:1;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:18px;
  color:#fff;
  font-size:clamp(18px,1.45vw,26px);
  font-weight:500;
  line-height:1.4;
  text-align:center;
  overflow-wrap:anywhere;
  transition:opacity .18s ease;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid > li > a > .fh-home-product-summary {
  position:absolute;
  z-index:2;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:safe center;
  width:auto;
  height:auto;
  padding:clamp(16px,2vw,28px);
  overflow:auto;
  overscroll-behavior:contain;
  background:rgba(184,34,41,.96);
  color:#fff;
  text-align:left;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease,visibility .18s ease;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid > li > a > .fh-home-product-summary p {
  position:static;
  display:block;
  flex:none;
  width:auto;
  height:auto;
  margin:0;
  padding:0;
  background:none;
  color:#fff;
  font-size:14px;
  line-height:1.75;
  text-align:left;
  transform:none;
  overflow-wrap:anywhere;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-action {
  display:inline-flex;
  flex:none;
  align-items:center;
  gap:6px;
  margin-top:16px;
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-action svg { width:17px; height:17px; flex:none; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link:focus-visible { outline:3px solid #2980c1; outline-offset:3px; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link:focus-visible .fh-home-product-title { opacity:0; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link:focus-visible .fh-home-product-summary { opacity:1; visibility:visible; }
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-grid > .fh-home-product-empty {
  grid-column:1 / -1;
  padding:28px;
  background:#f5f6f7;
  color:#3e4852;
  text-align:center;
}
html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-empty a { display:inline-flex; align-items:center; min-height:44px; color:#a91e25; }
@media(hover:hover) and (pointer:fine) {
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link:hover .fh-home-product-title { opacity:0; }
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-link:hover .fh-home-product-summary { opacity:1; visibility:visible; }
}
@media(max-width:1000px) {
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels > .fh-home-product-grid:not([hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
}
@media(max-width:600px) {
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products > .container { width:calc(100% - 32px); }
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-tabs { gap:4px; padding-top:24px; }
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-tabs > span { min-height:44px; padding:8px 8px; font-size:14px; }
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels { padding-top:24px; }
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-panels > .fh-home-product-grid:not([hidden]) { gap:12px; }
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-title { padding:10px; font-size:16px; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-title,
  html[data-fh-main-layout="tysd"] .index_section_1.fh-home-products .fh-home-product-summary { transition:none; }
}
