.elementor-17 .elementor-element.elementor-element-61dc0a6{--display:flex;}/* Start custom CSS for html, class: .elementor-element-f45a3b0 *//* 整体布局 */
.yy-product-layout {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Microsoft YaHei", sans-serif;
}

/* 侧边栏 */
.yy-sidebar {
  width: 260px;
  flex-shrink: 0;
}
.yy-sidebar-title {
  background-color: #0052cc;
  color: #fff;
  font-size: 16px;
  padding: 14px 20px;
  font-weight: bold;
}

/* 一级分类 */
.yy-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}
.yy-cat-item {
  border-bottom: 1px solid #eee;
}
.yy-cat-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  background: #f8f9fa;
}
.yy-cat-link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
text-decoration: none !important;
}
.yy-cat-item.active .yy-cat-link {
  color: #0052cc;
  font-weight: bold;
}

/* 箭头 */
.yy-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #0052cc;
  transition: 0.2s;
}
.yy-arrow.up {
  transform: rotate(180deg);
}

/* 子分类 */
.yy-subcat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fafbfc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  
}
.yy-subcat-list.open {
  max-height: 200px;
}
.yy-subcat-item a {
  display: block;
  padding: 10px 20px 10px 35px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  text-decoration: none !important;
}
.yy-subcat-item.active a {
  color: #0052cc;
  font-weight: bold;
}

/* 产品网格 */
.yy-product-content {
  flex: 1;
}
.yy-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media (max-width: 992px) {
  .yy-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .yy-product-layout {
    flex-direction: column;
  }
  .yy-sidebar {
    width: 100%;
  }
  .yy-product-grid {
    grid-template-columns: 1fr;
  }
}
.yy-product-item {
  border: 1px solid #eee;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.yy-product-item:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

/* 图片 220×220 */
.yy-product-img {
  width: 250px;
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
}
.yy-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yy-product-info {
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  
  flex: 1;
}
.yy-product-name {
  font-size: 17.6px;
  color: #333;
  margin: 0 0 8px;
  font-weight: 600;
}
.yy-product-desc {
  font-size: 12px;
  color: #999;
  margin: 0 0 12px;
  line-height: 1.4;
  
  min-height: 40px;
}
.yy-product-btn {
  display: inline-block;
  padding: 9px 15px;
  font-size: 12px;
  background: #fff;
  border: 1px solid #0052cc;
  color: #0052cc;
  border-radius: 3px;
  text-decoration: none !important;
  margin-top: auto;
}
.yy-product-btn:hover {
  background: #0052cc;
  color: #fff;
}/* End custom CSS */