/* 产品页面样式 */

.product-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-banner-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.36);
    z-index: 2;
}

.product-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/92685_17253348728886.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-size: cover;
    z-index: 1;
}

.product-banner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.product-logo {
    width: 42px;
    display: block;
    margin: 0 auto;
    height: auto!important;
}

.product-banner-title {
    font-size: 44px;
    line-height: 1.3;
    font-weight: bold;
    margin: 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-banner-subtitle {
    font-size: 12px;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


/* 产品分类部分 */

.product-categories {
    padding: 100px 0;
    background-color: #fff;
}

.categories-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.categories-header {
    text-align: center;
    margin-bottom: 80px;
}

.categories-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.categories-subtitle {
    font-size: 16px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.category-item {
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-10px);
}

.category-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-item:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    text-align: center;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.category-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #000;
}

.category-link span {
    transition: transform 0.3s ease;
}

.category-link:hover span {
    transform: translateX(5px);
}


/* 产品列表部分 */

.product-list {
    padding: 80px 0;
    background-color: #fff9f3;
}

.product-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}


/* 产品分类切换 */

.tabs-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 8px 18px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 2;
    transition: all 0.3s ease;
    border: 1px solid #000;
}

.tab-btn:hover {
    color: #fff;
    background: #000;
    border: 1px solid #000;
}

.tab-btn.active {
    color: #fff;
    background: #000;
    border: 0px solid #000;
}


/* 标签内容 */

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* 产品网格 */

.product-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.product-item {
    padding: 15px;
    margin: 0;
    width: 33.333333333333333%;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
    height: auto !important;
}

.product-item .product-item-inner {
    background: #fff;
    text-align: center;
}

.product-image {
    width: 100%;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    object-fit: cover;
    max-height: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 1.0s;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}


/* 产品信息 */

.product-info {
    padding: 15px 10px;
}

.product-name {
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    color: #333;
}


/* 响应式设计 */

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .product-item {
        width: 100%;
        padding: 0;
    }
    .tabs-group {
        flex-wrap: wrap;
        gap: 10px;
    }
    .tab-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
    .product-container {
        padding: 0 30px;
    }
    .product-banner-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .product-banner {
        min-height: 250px;
    }
    .product-banner-title {
        font-size: 28px;
    }
    .product-banner-subtitle {
        font-size: 14px;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .product-container {
        padding: 0 20px;
    }
    .tabs-group {
        align-items: center;
        gap: 8px;
    }
    .tab-btn {
        text-align: center;
    }
    .product-name {
        font-size: 14px;
    }
    .product-info {
        padding: 10px;
    }
}