/* ========================================
   Chip-Easy 首页 rfz1 像素级复刻样式
   总宽度 1400px，内部元素比例对齐 rfz1 (1200px)
   ======================================== */

/* 内容宽度 1400px */
.index-main,
.rfz-topbar-inner,
.rfz-advantage-section,
.rfz-product-section,
.rfz-brand-section,
.rfz-news-section {
  width: 1400px;
  margin: 0 auto;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}
.clearfix {
  *zoom: 1;
}

/* =========================================
   首页整体背景（与 rfz1 index_body 对齐）
   ========================================= */
body {
  background: #f6f6f6;
}

/* =========================================
   顶部细条（首页专属，模拟 rfz1 的 top_worp）
   颜色严格对齐：#F3F3F3 背景，#666 文字
   ========================================= */
.rfz-topbar {
  width: 100%;
  height: auto;
  background: #F3F3F3;
}
.rfz-topbar-inner {
  height: 30px;
  line-height: 30px;
  font-size: 13px;
}
.rfz-topbar-left {
  float: left;
  color: #666;
}
.rfz-hotline-label {
  color: #666;
  font-size: 13px;
}
.rfz-hotline-num {
  color: #2a549e;
  font-weight: bold;
  font-size: 13px;
  padding-left: 5px;
}
.rfz-topbar-center {
  float: left;
  margin-left: 180px;
}
.rfz-recommend-label {
  color: #999;
  font-size: 12px;
  margin-right: 5px;
}
.rfz-recommend-tag {
  display: inline-block;
  color: #333;
  font-size: 12px;
  margin-right: 10px;
}
.rfz-recommend-tag:hover {
  color: #2C559E;
}
.rfz-topbar-right {
  float: right;
}
.rfz-top-link {
  color: #2a549e;
  font-size: 13px;
  margin: 0;
  padding: 0 12px;
  position: relative;
}
.rfz-topbar-right a:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #ccc;
}
.rfz-top-link:hover {
  color: #2C559E;
}
.rfz-top-sep {
  display: none;
}

/* =========================================
   首页首屏三栏布局
   左侧分类 220px + Banner + 右侧栏 240px
   ========================================= */
.index-main {
  width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  overflow: visible;
}

/* ---------- 左侧分类菜单（严格对齐 rfz1 xn_h_43） ---------- */
.left-sidebar {
  flex: 0 0 220px;
  min-width: 220px;
  position: relative;
  z-index: 100;
}

/* 分类按钮标题栏 - #2C559E */
.cat-header {
  width: 220px;
  height: 40px;
  line-height: 40px;
  background: #2C559E;
  cursor: pointer;
  position: relative;
  margin: 0 auto;
}
.cat-header-icon {
  display: none;
}
.cat-header-text {
  width: 195px;
  height: 40px;
  overflow: hidden;
  display: block;
  font-size: 14px;
  color: #ffffff;
  padding-left: 20px;
  position: relative;
}
.cat-header-text::after {
  content: '';
  position: absolute;
  right: 25px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff;
}

/* 分类列表背景 - #3F73D0 浅蓝色！ */
.cat-menu-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  width: 220px;

  background-color: #3F73D0;
  position: relative;
}

.cat-group-item {
  width: 220px;
  height: auto;
  display: block;
  margin-left: 0px;
  position: relative;
}

.cat-group-title {
  height: auto;
  overflow: hidden;
  font-weight: normal;
}

.cat-group-icon {
  width: 17px;
  height: 20px;
  overflow: hidden;
  margin-top: 11px;
  float: left;
  margin-left: 5px;
  position: relative;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  display: none; /* 用背景图替代 */
}

/* 每个分类项使用背景图标 */
.cat-group-item {
  padding-left: 0;
}
.cat-group-item .cat-group-name {
  height: 35px;
  margin-left: 3px;
  line-height: 35px;
  float: left;
  max-width: 180px;
  overflow: hidden;
  display: block;
  padding-left: 28px;
  position: relative;
  color: #fff;
  font-size: 13px;
}
.cat-group-item .cat-group-name::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
  opacity: 0.9;
}

.cat-group-arrow {
  display: none;
}

/* hover 效果：整行变白背景，文字变 #2a549e */
.cat-group-item:hover {
  background: #fff;
}
.cat-group-item:hover .cat-group-name {
  color: #2a549e !important;
}
.cat-group-item:hover .cat-group-name::before {
  background: #2a549e;
}

.cat-group-title a {
  display: block;
  color: #fff;
  font-size: 13px;
}

/* 次级分类文字（rfz1 中有些分类下面有小分类名） */
.cat-sub-name {
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  padding-left: 27px;
  font-size: 12px;
}
.cat-sub-name a {
  font-size: 12px;
  color: #ddd;
}
.cat-sub-name a:hover {
  text-decoration: underline;
}

/* 下拉浮层 - rfz1 风格：白底+蓝色边框 */
.cat-dropdown-panel {
  width: 778px;
  height: auto;
  max-height: 440px;
  min-height: 440px;
  padding: 5px 0;
  overflow-y: scroll;
  padding-bottom: 50px;
  position: absolute;
  left: 220px;
  top: 5px;
  background-color: #FFFFFF !important;
  z-index: 9993;
  display: none;
  border: 1px solid #3F73D0;
  border-left: none;
  box-sizing: border-box;
}
.cat-group-item:hover .cat-dropdown-panel {
  display: block;
}
.cat-dropdown-inner {
  width: 92%;
  margin: auto;
  height: auto;
  overflow: hidden;
}
.cat-col {
  height: auto;
  overflow: hidden;
  padding-bottom: 10px;
  float: none;
  width: 100%;
}
.cat-col-head {
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  font-size: 14px;
  color: #000;
  border-bottom: 1px #E1E1E1 solid;
  margin-bottom: 5px;
  display: block;
}
.cat-col-title {
  font-size: 14px;
  color: #2a549e;
  display: block;
  font-weight: bold;
  float: left;
}
.cat-col-title:hover {
  text-decoration: underline;
}
.cat-col-more {
  float: right;
  color: #888888;
  font-size: 12px;
  font-weight: normal;
  line-height: 40px;
}
.cat-col-more:hover {
  color: #2a549e;
}
.cat-col-more::after {
  content: '+';
}
.cat-col-items {
  height: auto;
  overflow: hidden;
  padding-bottom: 0;
}
.cat-col-items span {
  display: block;
  float: left;
  height: 30px;
  padding-right: 15px;
  margin-right: 15px;
  position: relative;
}
.cat-col-items span::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #ddd;
}
.cat-col-items span:last-child::after {
  display: none;
}
.cat-col-items a {
  font-size: 14px;
  color: #666666;
  display: block;
  line-height: 30px;
}
.cat-col-items a:hover {
  color: #2a549e;
}

/* ---------- Banner轮播 ---------- */
.banner-area {
  flex: 1 1 0;
  width: 0;
  min-height: 558px;
  position: relative;
  overflow: hidden;
  margin-left: 10px;
}
.banner-slide {
  width: 100%;
  height: 100%;
  position: relative;
}
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.slide-item:first-child {
  display: block;
}
.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  opacity: 0;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}
.banner-area:hover .banner-arrow {
  opacity: 1;
}
.banner-arrow:hover {
  background: rgba(42,84,158,0.8);
}
.banner-prev {
  left: 0;
}
.banner-next {
  right: 0;
}
.banner-dots {
  position: absolute;
  left: 0px;
  bottom: 0;
  text-align: center;
  z-index: 2;
  width: 100% !important;
  height: 30px;
  overflow: hidden;
}
.banner-dots span {
  display: inline-block;
  margin-left: 7px;
  margin-right: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 1.0s ease;
  -webkit-transition: all 1.0s ease;
  background-color: rgba(255,255,255,0.5);
}
.banner-dots span.active {
  background-color: #fff !important;
}

/* ---------- 右侧栏 ---------- */
.right-sidebar {
  flex: 0 0 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

/* 登录框 */
.rfz-login-box {
  background: #fff;
  border: 1px solid #DCDCDC;
  padding: 15px;
  text-align: center;
  flex: 0 0 auto;
}
.rfz-login-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2C559E;
  margin: 0 auto 8px;
  position: relative;
}
.rfz-login-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.rfz-login-avatar::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
}
.rfz-login-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}
.rfz-login-text strong {
  color: #2C559E;
}
.rfz-login-btns {
  display: flex;
  gap: 10px;
}
.rfz-btn-login,
.rfz-btn-register {
  flex: 1;
  height: 32px;
  line-height: 32px;
  font-size: 13px;
  text-decoration: none;
  border-radius: 3px;
}
.rfz-btn-login {
  background: #2C559E;
  color: #fff;
}
.rfz-btn-login:hover {
  background: #2a549e;
}
.rfz-btn-register {
  background: #fff;
  color: #2C559E;
  border: 1px solid #2C559E;
}
.rfz-btn-register:hover {
  background: #f0f4fb;
}

/* 服务热线 */
.rfz-service-box {
  background: #fff;
  border: 1px solid #DCDCDC;
  border-top: none;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.rfz-service-icon {
  width: 36px;
  height: 36px;
  background: #2C559E;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
}
.rfz-service-icon::after {
  content: '\260E';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
}
.rfz-service-info {
  flex: 1;
}
.rfz-service-label {
  font-size: 12px;
  color: #666;
}
.rfz-service-phone {
  font-size: 15px;
  font-weight: bold;
  color: #2a549e;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  letter-spacing: -0.3px;
}
.rfz-service-desc {
  font-size: 11px;
  color: #999;
}
/* 选型表下载 */
.rfz-catalog-box {
  background: #fff;
  border: 1px solid #DCDCDC;
  border-top: none;
  padding: 12px 15px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.rfz-catalog-title {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
}
.rfz-catalog-title .catalog-icon {
  display: inline-block;
  width: 4px;
  height: 14px;
  background: #2C559E;
  margin-right: 8px;
  border-radius: 2px;
}
.rfz-catalog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rfz-catalog-list li {
  margin-bottom: 8px;
}
.rfz-catalog-list li:last-child {
  margin-bottom: 0;
}
.rfz-catalog-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #555;
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.2s;
}
.rfz-catalog-list a:hover {
  color: #2C559E;
}
.rfz-catalog-list .catalog-pdf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 3px;
  margin-right: 8px;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
}
.rfz-catalog-list .catalog-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* 公告栏 */
.rfz-notice-box {
  background: #fff;
  border: 1px solid #DCDCDC;
  border-top: none;
  padding: 10px 15px;
}
.rfz-notice-head {
  display: flex;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 6px;
}
.rfz-notice-icon {
  width: 16px;
  height: 16px;
  background: #2C559E;
  border-radius: 50%;
  margin-right: 6px;
  position: relative;
}
.rfz-notice-icon::after {
  content: '!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.rfz-notice-title {
  flex: 1;
  font-weight: bold;
  color: #2a549e;
  font-size: 14px;
}
.rfz-notice-more {
  color: #888888;
  font-size: 14px;
}
.rfz-notice-more:hover {
  color: #f60;
}
.rfz-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rfz-notice-list li {
  border-top: 1px dashed #eee;
  overflow: hidden;
}
.rfz-notice-list li:first-child {
  border-top: none;
}
.rfz-notice-list li a {
  display: block;
  color: #333;
  font-size: 13px;
  height: 36px;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s;
}
.rfz-notice-list li a:hover {
  padding-left: 5px;
}
.rfz-notice-list li a:hover {
  color: #f60;
}
.rfz-notice-dot {
  display: none;
}

/* =========================================
   区块通用样式 - 严格对齐 rfz1
   - 标题 20px bold #26282b
   - 英文副标题 18px bold 宋体 italic #26282b
   - 更多链接 16px #2a549e
   ========================================= */
.rfz-advantage-section,
.rfz-product-section,
.rfz-brand-section,
.rfz-news-section {
  margin-top: 20px;
  overflow: hidden;
}

.rfz-section-head {
  width: 100%;
  line-height: 50px;
  height: 50px;
  display: block;
  position: relative;
  border-bottom: 2px solid #e5e5e5;
}

/* 优势型号区标题行较高（带图片Tab） */
.rfz-advantage-section .rfz-section-head {
  height: 50px;
  line-height: 50px;
  padding-top: 0;
  position: relative;
  border-bottom: 2px solid #e5e5e5;
}
.rfz-section-title {
  float: left;
  display: block;
  height: 50px;
}
.rfz-section-title h2 {
  color: #26282b;
  font-size: 20px;
  font-weight: bold;
  float: left;
  display: block;
  height: 50px;
  line-height: 50px;
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 4px solid #f60;
}
.rfz-section-en {
  font-style: italic;
  font-family: "宋体", SimSun, serif;
  color: #999;
  font-size: 14px;
  font-weight: normal;
  margin-left: 10px;
  line-height: 57px;
  float: left;
  display: block;
  height: 50px;
}
.rfz-section-sub {
  font-style: italic;
  font-family: "宋体", SimSun, serif;
  color: #f60;
  font-size: 14px;
  font-weight: bold;
  margin-left: 5px;
  line-height: 57px;
  float: left;
  display: block;
  height: 50px;
}
.rfz-section-desc {
  display: none;
}
.rfz-more-btn {
  float: right;
  height: 50px;
  line-height: 50px;
}
.rfz-more-btn a,
.rfz-more-btn {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}
.rfz-more-btn:hover {
  color: #f60;
}

/* =========================================
   优势型号区 - 严格对齐 xn_c_index_508
   左侧竖版广告图 195px + 右侧产品网格 4列
   产品卡片 200px x 111px，3行
   ========================================= */
.rfz-adv-tabs {
  position: absolute;
  left: 260px;
  top: 0;
  height: 50px;
  z-index: 1;
  max-width: 1000px;
}
.rfz-adv-tabs-inner {
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  text-align: left;
}
.rfz-adv-tab-item {
  display: inline-block;
  padding: 0 16px;
  height: 50px;
  line-height: 50px;
  font-size: 15px;
  color: #26282b;
  cursor: pointer;
  text-align: center;
  vertical-align: top;
  transition: color 0.2s;
  border-right: 1px solid #e5e5e5;
  margin-right: 0;
}
.rfz-adv-tab-item:last-child {
  border-right: none;
}
.rfz-adv-tab-item::after {
  display: none;
}
.rfz-adv-tab-img, .rfz-adv-tab-label { display: none; }
.rfz-adv-tab-item:hover {
  color: #2C559E;
  font-weight: bold;
}
.rfz-adv-tab-item.active {
  color: #f60;
  font-weight: bold;
  position: relative;
}
.rfz-adv-tab-item.active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #f60;
  z-index: 2;
}

.rfz-adv-body {
  width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.rfz-adv-tab-content {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  left: 0;
  top: 0;
  overflow: hidden;
}
.rfz-adv-tab-content.active {
  display: block;
}

/* 左侧竖版广告图 */
.rfz-adv-left-ad {
  width: 230px;
  height: 390px;
  float: left;
  background: url(/images/home/adv_left_ad.jpg) center center no-repeat;
  background-size: cover;
  position: relative;
}
.rfz-adv-left-ad::before { display: none;
  content: '优势型号';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  writing-mode: vertical-rl;
  letter-spacing: 8px;
}
.rfz-adv-left-ad a {
  display: block;

/* 右侧竖版广告图 */
.rfz-adv-right-ad {
  display: none;
}
.rfz-adv-right-ad a {
  display: block;
  width: 100%;
  height: 100%;
}
  width: 100%;
  height: 100%;
}

/* 产品网格区域 */
.rfz-adv-grid {
  width: 1160px;
  height: 390px;
  overflow: hidden;
  float: left;
  margin-left: 10px;
  position: relative;
  box-sizing: border-box;
}
.rfz-adv-grid-inner {
  width: 101%;
  height: 100%;
  overflow: hidden;
}

/* 产品卡片 - 优势型号区：200px x 111px，4列 x 3行 */
.rfz-adv-card {
  width: 231px;
  height: 129px;
  text-align: center;
  background: #fff;
  float: left;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  position: relative;
}
.rfz-adv-card a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.rfz-adv-card-img {
  max-width: 100%;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rfz-adv-card-img img {
  max-width: 80%;
  max-height: 85px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
}
.rfz-adv-card:hover .rfz-adv-card-img img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.rfz-adv-card-info {
  width: 90%;
  margin: auto;
  margin-top: 0;
}
.rfz-adv-card-name {
  font-size: 13px;
  color: #26282b;
  text-align: center;
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rfz-adv-card-name a {
  color: #333;
  display: inline;
  height: auto;
}
.rfz-adv-card-desc {
  display: none;
}
.rfz-adv-card-price {
  font-size: 18px;
  color: #fff;
  text-align: center;
  font-weight: bold;
  margin-top: 15px;
  opacity: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

/* hover 蓝色半透明遮罩效果 - 严格对齐 rfz1 */
.rfz-adv-card:hover .rfz-adv-card-info {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: rgba(42,84,158,0.8);
}
.rfz-adv-card:hover .rfz-adv-card-name {
  color: #fff !important;
  font-weight: bold;
  margin-top: 48px;
  margin-bottom: 8px;
}
.rfz-adv-card:hover .rfz-adv-card-name a {
  color: #fff !important;
}
.rfz-adv-card:hover .rfz-adv-card-desc {
  color: #DBE1EC;
  display: block;
  text-align: center;
  font-size: 12px;
}
.rfz-adv-card:hover .rfz-adv-card-price {
  opacity: 1 !important;
}

/* 备用：使用旧类名的兼容 */
.rfz-prod-grid .rfz-prod-card {
  /* 用 adv-card 样式覆盖 */
}

/* =========================================
   现货专区 / 新品专区
   左侧竖版广告图 195px + 右侧5列（适配1400px为6列）
   产品卡片 197px x 187px
   ========================================= */
.rfz-prod-row {
  overflow: hidden;
  background: #fff;
  padding: 10px 0;
}
.rfz-prod-left-ad {
  width: 195px;
  height: 565px;
  float: left;
  background: url(/images/home/new_left_ad.jpg) center center no-repeat;
  background-size: cover;
  background-size: cover;
  position: relative;
  border-radius: 2px;
}
.rfz-stock-head + .rfz-prod-row .rfz-prod-left-ad {
  background: url(/images/home/stock_left_ad.jpg) center center no-repeat;
  background-size: cover;
}
.rfz-prod-left-ad a {
  display: block;
  width: 100%;
  height: 100%;
}
.rfz-prod-left-ad span {
  display: block;
  width: 158px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border: 1px #fff solid;
  border-radius: 20px;
  font-size: 15px;
  color: #fff;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.rfz-prod-right-grid {
  width: 1195px;
  float: right;
  overflow: hidden;
}
.rfz-prod-right-grid .rfz-prod-card {
  width: 239px;
}

/* 产品卡片 - 现货/新品区：197px x 187px */
.rfz-prod-card {
  float: left;
  width: 197px;
  height: 187px;
  margin-left: 2px;
  margin-bottom: 2px;
  background: #fff;
  position: relative;
  box-sizing: content-box;
  padding: 0;
  border: 1px solid #eaeaea;
  border-radius: 0;
  transition: all 0.2s;
}
.rfz-prod-card:hover {
  border-color: #f60;
  box-shadow: 0 2px 8px rgba(255,102,0,0.15);
  z-index: 2;
}
.rfz-prod-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  font-size: 12px;
  color: #fff;
  background: #f60;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: normal;
}
.rfz-tag-new {
  background: #1a9c4a;
}
.rfz-tag-own {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  font-size: 11px;
  padding: 2px 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.rfz-prod-img {
  overflow: hidden;
  height: 130px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.rfz-prod-img img {
  width: 100px;
  display: block;
  margin: auto;
  margin-top: 29px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  object-fit: contain;
  height: auto;
}
.rfz-prod-card:hover .rfz-prod-img img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.rfz-prod-model {
  width: 90%;
  margin: auto;
  margin-top: 7px;
  display: block;
  text-align: center;
  height: 20px;
  overflow: hidden;
  line-height: 20px;
  color: #333333;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0;
  margin-bottom: 0;
}
.rfz-prod-model a {
  color: #333333;
  display: block;
}
.rfz-prod-brand {
  display: block;
  width: 90%;
  margin: auto;
  text-align: center;
  height: 20px;
  overflow: hidden;
  line-height: 20px;
  color: #ababab;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 0;
}
.rfz-prod-price {
  color: #fff !important;
  text-align: center;
  font-weight: bold;
  margin-top: 15px;
  opacity: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

/* hover 蓝色遮罩效果 */
.rfz-prod-card:hover .rfz-prod-model,
.rfz-prod-card:hover .rfz-prod-brand,
.rfz-prod-card:hover .rfz-prod-price,
.rfz-prod-card:hover .rfz-prod-img {
  position: relative;
  z-index: 3;
}
.rfz-prod-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: rgba(42,84,158,0.8);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.rfz-prod-card:hover::before {
  opacity: 1;
}
.rfz-prod-card:hover .rfz-prod-model {
  color: #fff !important;
  font-weight: bold;
  margin-top: 55px;
  position: relative;
  z-index: 3;
}
.rfz-prod-card:hover .rfz-prod-model a {
  color: #fff !important;
}
.rfz-prod-card:hover .rfz-prod-brand {
  color: #DBE1EC;
  position: relative;
  z-index: 3;
}
.rfz-prod-card:hover .rfz-prod-price {
  opacity: 1 !important;
  position: relative;
  z-index: 3;
  margin-top: 15px;
  font-size: 16px;
}

/* 现货专区标题的橙色副标题 */
.rfz-stock-head .rfz-section-title h2 {
  color: #26282b;
}
.rfz-stock-head .rfz-section-sub {
  color: #f60;
  font-style: normal;
  font-size: 12px;
  font-weight: normal;
  line-height: 57px;
  margin-left: 12px;
  background: #fff3e8;
  padding: 0 8px;
  height: 20px;
  margin-top: 15px;
  line-height: 20px;
  border-radius: 10px;
  display: inline-block;
  float: left;
}

/* 新品专区标题 */
.rfz-new-head .rfz-section-title h2 {
  color: #26282b;
}
.rfz-new-head .rfz-section-sub {
  color: #999;
  font-style: italic;
  font-size: 14px;
  font-weight: normal;
  line-height: 57px;
  margin-left: 10px;
}

/* =========================================
   品牌墙 - 每行10个，4行共40个
   ========================================= */
.rfz-brand-wall {
  overflow: hidden;
  background: transparent;
  margin-left: -10px;
}
.rfz-brand-item {
  float: left;
  width: 130px;
  height: 80px;
  margin-left: 10px;
  margin-bottom: 10px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.25s;
}
.rfz-brand-item:nth-child(10n) {
  margin-right: 0;
}
.rfz-brand-item:hover {
  border-color: #f60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.rfz-brand-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
}
.rfz-brand-item img {
  max-width: 100%;
  max-height: 45px;
  display: block;
  margin: 0 auto 4px;
  object-fit: contain;
  transition: all 0.3s;
}
.rfz-brand-item:hover img {
  transform: scale(1.1);
}
.rfz-brand-name {
  display: block;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 16px;
  max-width: 100%;
}
.rfz-brand-item:hover .rfz-brand-name {
  color: #f60;
}

/* =========================================
   新闻动态 - 三栏布局
   左：行业资讯（大图+列表）
   中：产品知识列表
   右：微信二维码+电话
   严格对齐 xn_c_index_39
   ========================================= */
.rfz-news-section {
  padding-bottom: 40px;
}
.rfz-news-body {
  overflow: hidden;
  width: 100%;
}

/* 左栏 - 行业资讯（大图样式） */
.rfz-news-col-left {
  width: 360px;
  height: 372px;
  float: left;
  overflow: hidden;
  position: relative;
}
.rfz-news-col-left .rfz-news-featured {
  width: 360px;
  height: 372px;
  overflow: hidden;
  position: relative;
}
.rfz-news-col-left .rfz-news-featured img {
  width: 100%;
  height: 372px;
  overflow: hidden;
  object-fit: cover;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}
.rfz-news-col-left:hover .rfz-news-featured img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}
.rfz-news-col-left .rfz-news-featured-title {
  width: 100%;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 74px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.rfz-news-col-left .rfz-news-featured-title span {
  display: block;
  width: 90%;
  height: 74px;
  line-height: 75px;
  margin: auto;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* 中栏 - 产品知识列表 */
.rfz-news-col-mid {
  width: 680px;
  height: 370px;
  float: left;
  border: 1px solid #eaeaea;
  overflow: hidden;
  margin: 0 10px;
  background: #fff;
}
.rfz-news-col-head {
  border-bottom: 1px #BFBFBF solid;
  overflow: hidden;
  height: 60px;
  line-height: 60px;
  padding: 0;
  margin: 0;
  display: block;
}
.rfz-news-col-head h3 {
  margin-left: 20px;
  color: #26282b;
  font-size: 18px;
  font-weight: bold;
  float: left;
  line-height: 60px;
  height: 60px;
  padding-left: 10px;
  border-left: 3px solid #f60;
  margin-top: 0;
  margin-bottom: 0;
}
.rfz-news-more {
  float: right;
  margin-right: 20px;
  color: #888888;
  font-size: 14px;
  line-height: 60px;
  height: 60px;
}
.rfz-news-more:hover {
  color: #2a549e;
}

.rfz-news-list {
  width: 620px;
  margin: auto;
  list-style: none;
  padding: 0;
}
.rfz-news-list li {
  border-top: 1px dashed #eee;
  overflow: hidden;
}
.rfz-news-list li:first-child {
  border-top: none;
}
.rfz-news-list li a {
  display: block;
  height: 42px;
  line-height: 42px;
  color: #333;
  font-size: 14px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.2s;
}
.rfz-news-list li a:hover {
  color: #f60;
  padding-left: 5px;
}
.rfz-news-list li a {
  transition: all 0.2s;
}
.rfz-news-dot {
  display: none;
}
.rfz-news-title {
  float: left;
  width: 500px;
  height: 42px;
  line-height: 42px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rfz-news-date {
  float: right;
  color: #999;
  font-size: 12px;
  height: 42px;
  line-height: 42px;
}

/* 右栏 - 微信二维码+电话 */
.rfz-news-col-right {
  width: 320px;
  height: 370px;
  float: left;
  border: 1px solid #eaeaea;
  overflow: hidden;
  background: #fff;
  text-align: center;
}
.rfz-news-col-right .rfz-news-col-head {
  text-align: center;
}
.rfz-news-col-right .rfz-news-col-head h3 {
  margin-left: 0 !important;
  float: none !important;
  display: block !important;
  padding-left: 0 !important;
  border-left: none !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 16px !important;
}
.rfz-qrcode-box {
  width: 230px;
  margin: 20px auto 15px;
}
.rfz-qrcode-img {
  width: 180px;
  height: 180px;
  margin: 0 auto 8px;
  border: 1px solid #eee;
  padding: 5px;
  background: #fff;
}
.rfz-qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rfz-qrcode-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}
.rfz-contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #f8f8f8;
  margin: 0 20px;
  border-radius: 4px;
}
.rfz-phone-icon {
  width: 28px;
  height: 28px;
  background: #2C559E;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}
.rfz-phone-icon::after {
  content: '\260E';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
}
.rfz-phone-num {
  font-size: 20px;
  font-weight: bold;
  color: #2a549e;
  font-family: Arial, sans-serif;
}

/* 兼容旧类名的新闻三栏布局 */
.rfz-news-col {
  /* 旧类名，不再使用 */
}
.rfz-contact-col {
  /* 旧类名，不再使用 */
}


/* =========================================
   首页专属：隐藏导航栏中的全部分类按钮
   （因为左侧已经有展开的分类菜单了）
   ========================================= */
body:has(.index-main) .all-cat-btn {
  visibility: hidden;
}

/* 首页的 nav-bar 不需要底部border（因为分类菜单会延伸下来） */
body:has(.index-main) .nav-bar {
  border-bottom: 2px #2C559E solid;
}

/* =========================================
   首页整体微调
   ========================================= */
/* 确保 index-main 紧接导航栏 */
.index-main {
  margin-top: 0;
}

/* 分类菜单的顶部和导航栏底部对齐 */
.left-sidebar {
  margin-top: -2px;
}

/* =========================================
   首页视觉优化 - 增量补丁
   问题1：左侧广告图高度与右侧产品网格对齐
   问题3：轮播图与顶部导航之间空白条优化
   问题5：新品区全宽布局（移除左侧广告图）
   ========================================= */

/* -------- 问题3：消除首页轮播图与导航栏之间空白 -------- */
/* 确保 index-main 与 nav-bar 底部无缝衔接 */
body:has(.index-main) .index-main {
  margin-top: 0 !important;
}
body:has(.index-main) .left-sidebar {
  margin-top: 0 !important;
}
/* 调整 banner-area 的上边距，让 banner 顶部对齐导航栏底部 */
body:has(.index-main) .banner-area {
  margin-top: 0;
}

/* -------- 问题1：Chip-Easy 专区（现货区）左侧广告图高度对齐 -------- */
/* 原来左侧广告图 377px，右侧 3 行卡片（187+2=189*3-2=565），需要更高 */
.rfz-stock-head + .rfz-prod-row .rfz-prod-left-ad {
  height: 569px; /* 与右侧 3 行产品卡等高：3*(187+2)-2 = 565，加内边距调整 */
}
/* 把 "查看更多产品" 按钮下移 */
.rfz-stock-head + .rfz-prod-row .rfz-prod-left-ad span {
  margin-top: 480px;
}

/* -------- 问题5：新品区改成全宽6列产品网格（无左侧广告图，与Chip-Easy专区卡片样式/间距一致） -------- */
/* 新品区整行无广告，网格弹性占满整行宽度；6列等宽满铺，消除右侧空白列 */
.rfz-new-head + .rfz-prod-row {
  display: flex;
  padding: 10px;
  gap: 0;
  align-items: stretch;
}
.rfz-new-head + .rfz-prod-row .rfz-prod-left-ad {
  display: none;
}
.rfz-new-head + .rfz-prod-row .rfz-prod-right-grid {
  flex: 1 1 auto;
  width: 100%;
  float: none;
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}
.rfz-new-head + .rfz-prod-row .rfz-prod-card {
  float: none;
  box-sizing: border-box;
  margin-left: 0;
  margin-bottom: 0;
  width: calc((100% - 10px) / 6);
  height: 187px;
  border: 1px solid #eaeaea;
}
/* 每行第2-6列卡片左侧留2px间隙，6列共10px */
.rfz-new-head + .rfz-prod-row .rfz-prod-card:not(:nth-child(6n+1)) {
  margin-left: 2px;
}
/* 每行第2、3行卡片顶部留2px间隙 */
.rfz-new-head + .rfz-prod-row .rfz-prod-card:nth-child(n+7) {
  margin-top: 2px;
}

/* -------- 修复：Chip-Easy 专区（现货区）右侧整列空白 -------- */
/* 左广告195px固定 + 右网格弹性占满剩余宽度，卡片6列等宽满铺，消除右侧空白列 */
.rfz-stock-head + .rfz-prod-row {
  display: flex;
  padding: 10px;
  gap: 0;
  align-items: stretch;
}
.rfz-stock-head + .rfz-prod-row .rfz-prod-left-ad {
  flex: 0 0 195px;
  width: 195px;
  float: none;
  height: auto;
}
.rfz-stock-head + .rfz-prod-row .rfz-prod-right-grid {
  flex: 1 1 auto;
  width: auto;
  float: none;
  margin-left: 10px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}
.rfz-stock-head + .rfz-prod-row .rfz-prod-card {
  float: none;
  box-sizing: border-box;
  margin-left: 0;
  margin-bottom: 0;
  width: calc((100% - 10px) / 6);
  height: 187px;
  border: 1px solid #eaeaea;
}
/* 每行第2-6列卡片左侧留2px间隙，6列共10px */
.rfz-stock-head + .rfz-prod-row .rfz-prod-card:not(:nth-child(6n+1)) {
  margin-left: 2px;
}
/* 每行第2、3行卡片顶部留2px间隙 */
.rfz-stock-head + .rfz-prod-row .rfz-prod-card:nth-child(n+7) {
  margin-top: 2px;
}

/* =========================================
   20260912 首屏三栏最终锁定
   - 三栏固定等高 558px，底边齐平
   - banner 不被长目录拉伸变形
   - Catalog 在右栏盒子内部单条滚动
   - banner 左右缝隙对称各 10px
   ========================================= */
.index-main {
  height: 558px;
  align-items: stretch;
}
.left-sidebar {
  height: 558px;
  display: flex;
  flex-direction: column;
}
.left-sidebar .cat-header {
  flex: 0 0 40px;
}
.left-sidebar .cat-menu-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;   /* 分类下拉浮层不能被裁 */
}
.banner-area {
  flex: 1 1 0;
  width: 0;
  height: 558px;
  min-height: 0;
  margin-left: 10px;
  margin-right: 10px;
}
.right-sidebar {
  height: 558px;
}
.rfz-catalog-box {
  display: flex;
  flex-direction: column;
}
.rfz-catalog-box .rfz-catalog-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;   /* 覆盖内联样式，只保留这一条滚动条 */
  max-height: none !important;
}

/* =========================================
   20260912 下午批次
   1. 优势型号头部英文斜体与Tab重叠：隐藏该水印（与下方品牌墙区块同款处理）
   2. 优势型号/ChipEasy专区 左侧竖广告统一 230x390
   ========================================= */
.rfz-advantage-section .rfz-section-en { display: none; }

.rfz-stock-head + .rfz-prod-row .rfz-prod-left-ad {
  flex: 0 0 230px !important;
  width: 230px !important;
  height: auto !important;
  align-self: stretch !important;
  background-position: left top !important;
}
.rfz-stock-head + .rfz-prod-row .rfz-prod-left-ad span {
  position: absolute !important;
  bottom: 56px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  background: rgba(0,0,0,.45);
  border-radius: 20px;
}
/* 右网格与230广告之间留10px缝，卡片仍6列满铺 */
.rfz-stock-head + .rfz-prod-row .rfz-prod-right-grid {
  margin-left: 10px;
}
