/* 产品页面样式 - 精密智造·驱动未来主题 */

/* 产品列表主区域 */
.product-list-section {
    padding: 0px;
    background-color: #f9f9f9;
}

/* 分类导航样式 */
.product-categories {
  	padding:3rem 0;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, rgba(157,78,221,0.1) 100%);
    transform: translateY(100%);
    transition: transform 0.3s;
    z-index: -1;
}

.category-btn:hover {
    color: white;
    border-color: var(--highlight-color);
}

.category-btn:hover::before {
    transform: translateY(0);
}

.category-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* 产品列表网格布局 */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
	padding:1rem 0;
}

.product-list-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.product-list-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-list-image {
    position: relative;
    height: auto;
    overflow: hidden;
}

.product-list-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-tech-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-list-content {
    padding: 1.5rem;
}

.product-list-content a{ text-decoration:none;}
.product-list-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.product-list-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-list-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spec-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-badge i {
    font-size: 0.9rem;
}
.product-list-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.consult-link {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.consult-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.consult-link i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .product-list-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .consult-link, .detail-link {
        width: 100%;
        justify-content: center;
    }
    
    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-list-item {
        margin-bottom: 1rem;
    }
    
    .product-list-title {
        font-size: 1.2rem;
    }
    
    .product-list-desc {
        font-size: 0.9rem;
    }
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.detail-link {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
    border: 1px solid var(--secondary-color);
}

.detail-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.detail-link i {
    transition: transform 0.3s;
}

.detail-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .detail-link {
        width: 100%;
        justify-content: center;
    }
}

/* 产品概览区域 */
.product-overview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.product-info {
    flex: 1;
    min-width: 300px;
    position: relative;
    max-width: 600px;
    padding: 0 2rem;
}

.main-image-container {
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
}

.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #0066cc;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-card h3 {
    margin-top: 0;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

/* 产品详情页样式 */
.product-detail-container {
    padding-top: 2rem;
    background: linear-gradient(to bottom, #f9f9f9 0%, white 100px);
}

.product-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.product-breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-header {
    margin-bottom: 3rem;
}

.product-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    position: relative;
}

.tech-badge1 {
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
}

.tech-badge1.precision {
    background: linear-gradient(to right, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.2));
    color: var(--secondary-color);
    border: 1px solid rgba(0, 102, 204, 0.3);
}

.tech-badge1.smart {
    background: linear-gradient(to right, rgba(157, 78, 221, 0.1), rgba(157, 78, 221, 0.2));
    color: var(--highlight-color);
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.tech-badge1.eco {
    background: linear-gradient(to right, rgba(0, 200, 83, 0.1), rgba(0, 200, 83, 0.2));
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.tech-badge1:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-tech-badges {
        gap: 0.8rem;
    }
    
    .tech-badge1 {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* 3D模型展示区 */
.model-viewer-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 3rem;
}

.model-viewer {
    height: 500px;
    background: #f5f5f5;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.model-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.model-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.model-control-btn {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.model-control-btn:hover {
    background: #0055aa;
    transform: translateY(-2px);
}

.component-selector select {
    padding: 0.8rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-button {
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
    justify-content: center;
    border: 1px solid var(--secondary-color);
}

.contact-button:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-button i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-button {
        width: 100%;
    }
}

/* 产品内容板块基础样式 */
.product-content-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.product-content-grid {
    display: flex;
    gap: 2rem;
}

.product-tabs {
    flex: 2;
}

.product-advantages {
    flex: 1;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .product-content-grid {
        flex-direction: column;
    }
}

/* 滑动门导航样式 */
.tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    border-bottom: 1px solid #ddd;
}

.tab-nav li {
    margin-right: 1rem;
}

.tab-nav a {
    display: block;
    padding: 0.8rem 1.5rem;
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.tab-nav li.active a {
    background: var(--secondary-color);
    color: white;
}

.tab-nav a:hover {
    background: var(--secondary-color);color: white;
}

/* 滑动门内容样式 */
.tab-content {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-pane {
    display: none;
}

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

/* 产品优势样式 */
.advantage-list {
    display: grid;
    gap: 1.5rem;
}

.advantage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.advantage-item h4 {
    margin: 0.5rem 0;
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-nav li {
        margin-bottom: 0.5rem;
    }
}

/* 系列子栏目样式 */
.series-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.series-item {
    display: block;
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.series-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}

.series-item.active {
    background: var(--secondary-color);
    color: white;
}

.series-item.active h4,
.series-item.active p {
    color: white;
}

.series-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.series-item.active .series-icon {
    color: white;
}

.series-item h4 {
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.series-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .series-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .series-nav {
        grid-template-columns: 1fr;
    }
}

/* 联系方式行样式 */
.contact-items-row {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-items-row .contact-item {
    margin: 0;
    flex: 1;
}
.contact-items-row .contact-item a{ text-decoration:none; color: #333;
  
}

/* 响应式调整 */
@media (max-width: 576px) {
    .contact-items-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 二维码区域基础样式 */
.qrcode-section {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    gap: 1.5rem;
}

.qrcode-item {
    flex: 1;
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.qrcode-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.qrcode-item p {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666;
}

 table {
            border-collapse: collapse;
            width: 100%;
        }
        th, td {
            border: 1px solid #000;
            padding: 8px;
            text-align: center;
        }
        th {
            background-color: #f2f2f2;
        }
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }



/* 响应式调整 */
@media (max-width: 768px) {
    .qrcode-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .qrcode-item {
        max-width: 180px;
        margin: 0 auto;
    }
}