:root {
    --border-color: #e0e0e0;
    --primary-color: #2c82c9;
    --text-primary: #333333;
}

.goods-collection {
    float: left;
    overflow: hidden;
    width: 75%;
    padding: 0 12px;
    box-sizing: border-box;
}

.goods-grid-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.goods-item-card {
    flex: 0 0 190px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.goods-item-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
}

.goods-anchor {
    display: block;
}

.goods-pic {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f5f7fa;
    border-bottom: 1px solid var(--border-color);
}

.goods-meta {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.goods-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-top: 0;
}
.goods-pricing {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: auto;
}
.goods-collection-secondary {
    float: left;
    overflow: hidden;
    padding: 12px;
    box-sizing: border-box;
}
.goods-grid-list-six {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px; 
}

.goods-item-card-six {
    flex: 0 0 160px; 
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.goods-item-card-six::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
}

.goods-anchor {
    display: block;
}

.goods-pic-six {
    width: 100%;
    height: 210px; 
    object-fit: contain;
    background: #f5f7fa;
    border-bottom: 1px solid var(--border-color);
}

.goods-meta-six {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 商品名称样式 - 两行显示 */
.goods-title-six {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px; 
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-top: 0;
}

.goods-pricing-six {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: auto;
}
.home-page .tpl-recommend {
    padding: 40px 20px 30px;
    width: 100%;
    position: relative;
    margin-top: 50px;
    border-radius: 16px;
    margin-bottom: 50px;
}
.home-page .floor-header {
    position: relative;
    margin: 0 0 40px;
}
.home-page .tpl-recommend .tpl-body {
    display: flex;
    align-items: flex-start; 
    width: 100%;
}
.home-page .tpl-recommend .sidebar-nav {
    width: 25%;
    padding: 0 12px; 
    box-sizing: border-box;
    margin: 0;
    height: 549px; 
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-page .tpl-recommend .sidebar-nav__keywords {
    width: 100%;
}
.home-page .tpl-recommend .sidebar-nav__keyword-link {
    display: block;
    width: 100%;
}
.home-page .tpl-recommend .sidebar-nav__keyword-link img {
    width: 100%;
    height: auto; 
    max-height: 100px; 
    object-fit: contain;
}

.home-page .tpl-recommend .sidebar-nav__category {
    flex: 1;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    position: relative;
    overflow: hidden;
}

.home-page .tpl-recommend .sidebar-nav__category::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: none;
    z-index: 0;
}
.home-page .tpl-recommend .sidebar-nav__category a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: 42px;
    margin-bottom: 17px;
    font-size: 14px;
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(28, 142, 214, 0.1);
    border: 1px solid rgba(28, 142, 214, 0.1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.home-page .tpl-recommend .sidebar-nav__category a:nth-child(odd) {
    margin-right: auto;
}
.home-page .tpl-recommend .sidebar-nav__category a:nth-child(even) {
    margin-left: auto;
}
.home-page .tpl-recommend .sidebar-nav__category a:hover {
    box-shadow: 0 4px 12px rgba(28, 142, 214, 0.15);
    border-color: rgba(28, 142, 214, 0.3);
    color: #1c8ed6;
    background: rgba(255, 255, 255, 0.98);
}
.home-page .tpl-recommend .sidebar-nav__category a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #1c8ed6, #4aa8ff);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}
.home-page .tpl-recommend .sidebar-nav__category a:hover::after {
    transform: scaleY(1);
}
.home-page .tpl-recommend .sidebar-nav__category a:nth-last-child(-n+2) {
    margin-bottom: 0;
}

.goods-collection {
    width: 75%;
    padding: 0 12px;
    box-sizing: border-box;
    flex: 0 0 auto; 
}

.goods-grid-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.goods-item-card {
    flex: 0 0 190px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.gas-solution {
  background: 
    linear-gradient(135deg, #a7c0fd 0%, #c2d1ff 100%),
    radial-gradient(circle at 20% 50%, rgba(167, 192, 253, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 30%);
  box-shadow: inset 0 0 35px rgba(180, 200, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mining-solution {
  background: 
    linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%),
    radial-gradient(circle at 25% 25%, rgba(76, 161, 175, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.15) 0%, transparent 30%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.municipal-solution {
  background: 
    linear-gradient(135deg, #6a85b6 0%, #bac8e0 100%),
    radial-gradient(circle at 20% 80%, rgba(186, 200, 224, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 30%);
  box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hydropower-solution {
  background: 
    linear-gradient(135deg, #c79081 0%, #dfa579 100%),
    radial-gradient(circle at 40% 40%, rgba(223, 165, 121, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 25%);
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.water-solution {
  background: 
    linear-gradient(135deg, #6bb5ff 0%, #a8d1ff 100%),
    radial-gradient(circle at 30% 30%, rgba(107, 181, 255, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 30%);
  box-shadow: inset 0 0 40px rgba(100, 180, 255, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fire-solution {
  background: 
    linear-gradient(135deg, #4b6cb7 0%, #7c9bc2 100%),
    radial-gradient(circle at 20% 50%, rgba(123, 155, 194, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 35%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gas-solution, .mining-solution, .municipal-solution, 
.hydropower-solution, .water-solution, .fire-solution {
  overflow: hidden;
  background-blend-mode: overlay, screen, screen;
  transition: all 0.3s ease;
}

@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.gas-solution::after, .mining-solution::after, .municipal-solution::after,
.hydropower-solution::after, .water-solution::after, .fire-solution::after {
  content: '';
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
}
/* 燃气系统图片样式 */
.solution-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.solution-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}



.solution-img::after {
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

@media (max-width: 768px) {
    .solution-img {
        margin: 20px 0;
        padding: 10px;
    }
    
    .solution-img::after {
        bottom: 10px;
        right: 10px;
        font-size: 11px;
        padding: 4px 8px;
    }
}
.gas-solution .solution-img::after{
    content: '燃气系统';
}
.mining-solution .solution-img::after{
    content: '工矿系统';
}
.municipal-solution .solution-img::after{
    content: '市政环保';
}
.hydropower-solution .solution-img::after{
    content: '水电暖通';
}
.water-solution .solution-img::after{
    content: '水务系统';
}
.fire-solution .solution-img::after{
    content: '消防系统';
}
.left-sidebar-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    border-radius: 12px;
    padding: 15px 8px;
    transition: all 0.3s ease;
}

.left-sidebar-nav:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.02);
}

.left-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.left-sidebar-nav li {
    margin: 12px 0;
    position: relative;
}

.left-sidebar-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.left-sidebar-nav a:hover {
    background: rgba(92, 107, 192, 0.1);
    color: #5c6bc0;
    transform: translateX(5px);
}

.left-sidebar-nav a.active {
    background: linear-gradient(135deg, #5c6bc0, #3949ab);
    color: white;
    box-shadow: 0 3px 10px rgba(92, 107, 192, 0.3);
}

.left-sidebar-nav a.active::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #5c6bc0;
    border-radius: 2px;
}

.left-sidebar-nav .nav-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.left-sidebar-nav a:hover .nav-icon,
.left-sidebar-nav a.active .nav-icon {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .left-sidebar-nav {
        left: 10px;
        padding: 12px 6px;
    }
    
    .left-sidebar-nav a {
        padding: 6px 8px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .left-sidebar-nav {
        display: none;
    }
}

/* 滚动监听高亮样式 */
.left-sidebar-nav a.highlight {
    background: rgba(92, 107, 192, 0.08);
    color: #5c6bc0;
    font-weight: 600;
}