.elementor-18 .elementor-element.elementor-element-391fd0c{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-18 .elementor-element.elementor-element-391fd0c{--content-width:1200px;}}/* Start custom CSS for html, class: .elementor-element-8a441be *//* 头部 */
.products-header {
    max-width: 1200px;
    margin: 50px auto 30px;
    padding: 0 20px;
    text-align: center;
}

.products-header h1 {
    font-size: 32px;
    color: #1a2b48;
    margin-bottom: 10px;
}

.products-header p {
    color: #555;
    font-size: 16px;
}

/* 分类网格 */
.categories {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 30px;
}

.cat-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.cat-card:hover {
    transform: translateY(-3px);
}

.cat-card img {
    width: 100%;
    /*height: 220px;*/
    object-fit: cover;
    display: block;
}

.cat-info {
    padding: 18px 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    /*min-height: 140px;*/
}

.cat-info h3 {
    font-size: 18px;
    color: #1a2b48;
    margin-bottom: 6px;
}

.cat-info p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em; 
}

.cat-link {
    color: #1a2b48;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.cat-link:hover {
    color: #ffc107;
}/* End custom CSS */