/* 传感器页面专用样式 */

/* 产品总览区域 */
.products-overview {
    padding: 2rem 0;
}

.products-overview h1 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 2rem;
    text-align: center;
}

/* 二级分类导航 */
.back-to-all {
    margin: 20px 0 10px 0;
    display: none;
}

.back-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #e55c00;
}

.secondary-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background-color: #f5f9ff;
    border-radius: 0;
    border: 1px solid #e6f0fa;
}

.category-btn {
    padding: 0.6rem 1.2rem;
    background-color: #fff;
    border: 1px solid #b8d0e8;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #0066cc;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: #e6f0fa;
    color: #004a8c;
    border-color: #0066cc;
}

.category-btn.active {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 三级产品展示区 */
.tertiary-products {
    margin-top: 1rem;
}

.product-category {
    margin-bottom: 0;
    padding: 0;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
}

.product-category h2 {
    font-size: 1.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
}

.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
}

.product-item {
    padding: 0.8rem;
    background-color: #f5f9ff;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid #e6f0fa;
}

.product-item:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #e6f0fa;
}

.product-item a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem;
    background-color: #fff;
    border: 1px solid #b8d0e8;
}

.product-item a:hover {
    color: #004a8c;
    text-decoration: none;
    background-color: #f5f9ff;
}