/* 产品详细页样式 - 参考亚威网站 */

/* 产品详细页头部样式 */
.header {
    background: #ffffff !important;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05) !important;
}

.header .nav-menu li a {
    color: #333333 !important;
}

.header .nav-menu li a:hover,
.header .nav-menu li a.active {
    color: #e60012 !important;
}

.header .nav-icons .icon {
    color: #333333 !important;
}

.header .nav-icons .icon:hover {
    color: #e60012 !important;
}

.header .mobile-nav-trigger {
    color: #333333 !important;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #1a365d;
    color: #ffffff;
    padding: 25px 0;
    margin-top: 70px;
}

.breadcrumb .container {
    /* max-width: 1200px; */
    margin: 0 6%;
    /* padding: 0 20px; */
}

.breadcrumb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.breadcrumb-icon svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.breadcrumb-item {
    margin-right: 10px;
    position: relative;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-item:last-child {
    color: #ffffff;
    font-weight: bold;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-icon {
    width: 14px;
    height: 14px;
}

.back-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 产品hero区域 */
.product-hero {
    background: #f8f9fa url('../img/bg-products.png') center/cover no-repeat;
    padding: 60px 0;
    border-bottom: 1px solid #eaeaea;
}

.product-hero .container {
    /* max-width: 1200px; */
    margin: 0 6%;
    /* padding: 0 20px; */
}

.product-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-hero-image {
    flex: 1;
    text-align: center;
}

.product-hero-image img {
    max-width: 100%;
    height: auto;
}

.product-hero-info {
    flex: 1;
}

.product-category {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}

.product-title {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.product-features li {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #e60012;
    font-size: 8px;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #ffffff;
    color: #1a365d;
    border: 1px solid #1a365d;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.btn-primary .arrow {
    font-size: 16px;
    font-weight: bold;
}

.btn-secondary {
    background-color: #1a365d;
    color: #ffffff;
    border: 1px solid #1a365d;
}

.btn-secondary:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
}

.download-icon {
    width: 16px;
    height: 16px;
}

/* 产品详细内容 */
.product-detail {
    background-color: #ffffff;
}

.product-info {
    padding: 60px 0;
    display: flex;
    gap: 40px;
    margin: 0px 6%;
}

/* 左侧产品信息 */
.product-detail-left {
    flex: 0 0 600px;
}

/* 产品图片画廊 */
.product-image-gallery {
    margin-bottom: 30px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
}

.main-image {
    position: relative;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnails {
    display: flex;
    gap: 10px;
    border-top: 1px solid #eaeaea;
    padding: 20px;
    overflow-x: auto;
}

.thumbnail-item {
    flex: 0 0 calc(16.666% - 8.333px);
    min-width: 80px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0;
}

.thumbnail-item:hover {
    border-color: #e60012;
    background-color: #f8f9fa;
}

.thumbnail-item.active {
    border-color: #e60012;
    background-color: #e60012;
}

.thumbnail-item img {
    width: 100%;
    /* height: 80px; */
    object-fit: cover;
    display: block;
}

.thumbnail-item.active img {
    opacity: 0.8;
}

/* 产品咨询卡片 */
.product-consult-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
}

.consult-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 15px;
}

.consult-card-text {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.consult-card-info {
    margin-bottom: 25px;
}

.consult-info-item {
    font-size: 14px;
    margin-bottom: 10px;
}

.info-label {
    color: #666666;
    /* margin-right: 10px; */
}

.info-value {
    color: #333333;
    font-weight: bold;
}

.consult-card-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #e60012;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.consult-card-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* 右侧产品信息 */
.product-detail-right {
    flex: 1;
}

/* 产品描述 */
.product-detail-desc {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.desc-title,.product-detail-right h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

.desc-text,.product-detail-right,.product-detail-right p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 15px;
	overflow:hidden;
}

/* 产品特点 */
.product-detail-features {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.features-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.feature-item::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #e60012;
    font-size: 8px;
    line-height: 1.8;
}

/* 技术参数 */
.product-detail-specs {
    margin-bottom: 40px;
}

.specs-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.specs-table th,
.specs-table td {
    padding: 3px;
    border: 1px solid #eaeaea;
    text-align: left;
}

.specs-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333333;
    width: 30%;
}

.specs-table td {
    color: #666666;
}

/* 产品详情选项卡 */
.product-tabs {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.product-tabs .container {
    /* max-width: 1200px; */
    margin: 0 6%;
    /* padding: 0 20px; */
}

.tab-buttons {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.tab-button {
    padding: 15px 40px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-button:hover {
    color: #e60012;
}

.tab-button.active {
    color: #e60012;
    border-bottom-color: #e60012;
}

.tab-content {
    min-height: 400px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.tab-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

.tab-text h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin: 30px 0 15px;
}

.tab-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.tab-text li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.tab-text li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #eaeaea;
    font-size: 8px;
    line-height: 1.8;
}

/* 相关产品 */
.related-products {
    padding: 60px 0;
    background-color: #ffffff;
}

.related-products .container {
    /* max-width: 1200px; */
    margin: 0 6%;
    /* padding: 0 20px; */
}

.related-title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-item {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-image {
    position: relative;
    /* height: 220px; */
    overflow: hidden;
    /* border-bottom: 1px solid #eaeaea; */
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 20px;
    text-align: center;
}

.related-item-link {
    display: block;
    margin: 0 20px 20px;
    padding: 10px;
    border: 1px solid #e60012;
    color: #e60012;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.related-item-link:hover {
    background-color: #e60012;
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-hero-image,
    .product-hero-info {
        flex: 1;
        width: 100%;
    }
    
    .product-info {
        flex-direction: column;
    }
    
    .product-detail-left {
        flex: 1;
        max-width: 100%;
    }
    
    .main-image {
        max-width: 100%;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .related-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .breadcrumb-list {
        flex-wrap: wrap;
        font-size: 12px;
    }
    
    .breadcrumb-item {
        margin-right: 5px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 5px;
    }
    
    .back-link {
        font-size: 12px;
    }
    
    .product-hero {
        padding: 40px 0;
    }
    
    .product-hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-hero-image img {
        max-width: 100%;
        height: auto;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-features li {
        font-size: 13px;
        padding-left: 15px;
    }
    
    .product-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 12px;
        justify-content: center;
        flex: 1;
        min-width: 140px;
    }
    
    .product-info {
        padding: 40px 0;
        gap: 30px;
    }
    
    .product-info .container {
        padding: 0 15px;
    }
    
    .product-consult-card {
        padding: 20px;
    }
    
    .thumbnails {
        gap: 8px;
        padding: 15px;
    }
    
    .thumbnail-item {
        flex: 0 0 calc(33.333% - 5.333px);
        min-width: 70px;
    }
    
    .thumbnail-item img {
        height: 60px;
    }
    
    .desc-title,
    .features-title,
    .specs-title {
        font-size: 18px;
    }
    
    .product-tabs {
        padding: 40px 0;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .related-products {
        padding: 40px 0;
    }
    
    .related-title {
        font-size: 20px;
    }
    
    .related-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .related-image {
        height: 150px;
    }
    
    .related-item-title {
        font-size: 14px;
        margin: 15px;
    }
    
    .related-item-link {
        margin: 0 15px 15px;
        padding: 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 15px 0;
    }
    
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .product-hero {
        padding: 30px 0;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-features li {
        font-size: 13px;
    }
    
    .product-info {
        padding: 30px 0;
    }
    
    .thumbnails {
        gap: 0;
    }
    
    .product-tabs {
        padding: 30px 0;
    }
    
    .tab-buttons {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-button {
        border-bottom: 1px solid #eaeaea;
        text-align: left;
    }
    
    .tab-button.active {
        border-bottom-color: #eaeaea;
        background-color: #f8f9fa;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .tab-title {
        font-size: 20px;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .related-image {
        height: 160px;
    }
}