/* 面包屑导航样式 */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #eee;
}

.breadcrumb-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    font-size: 0.8rem;
    color: #999;
}

.breadcrumb span {
    color: var(--primary-color);
}

/* 产品详情样式 */
.product-detail {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 3rem;
    align-items: start;
}

.product-header {
    background: #fff;
    margin-top: 5rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.product-header h1 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: left;
}

.product-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
}

/* 配件介绍样式 */
.parts-intro {
    margin: 4rem 0 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.parts-intro h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.parts-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

/* 配件标题样式 */
.parts-header {
    margin: 4rem 0 2rem;
    text-align: center;
}

.parts-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

/* 产品类别网格 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-item {
    background: #fff;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.category-icon {

}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-item p {
    color: #666;
    font-size: 1rem;
}

/* 响应式调整 */
@media screen and (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-header {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-item {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.product-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.product-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-info {
    background: #fff;
    padding: 2rem;    
    flex-direction: column;
    justify-content: center;
}

.product-info h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.product-id {
    color: #666;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* 性能参数 */
.performance-data {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.data-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.data-item .label {
    color: #666;
    margin-bottom: 0.5rem;
}

.data-item .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
}

/* 产品特点和包装清单 */
.product-features,
.package-contents {
    margin: 2rem 0;
}

.product-features ul,
.package-contents ul {
    list-style: none;
    padding: 0;
}

.product-features li,
.package-contents li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.product-features li:before,
.package-contents li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 按钮样式 */
.product-actions {
    display: flex;
    gap: 1rem;
    background-color: #0066cc;
    margin-top: 2rem;
    text-align: center;
    width: 12rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary {
    background: #f5f5f5;
    color: var(--text-color);
}

.btn-primary:hover {
    background: var(--primary-color-dark);
}

.btn-secondary:hover {
    background: #e5e5e5;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .product-header {
        margin-top: 1rem;
    }

    .product-action {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .btn-consult {
        display: block;
        width: 100%;
    }
}

/* 产品介绍区域 */
.product-content {
    background: #fff;
    margin-top: 2rem;
    padding: 4rem 0;
}

.content-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.content-container h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* 商品详情页样式 */
.product-detail-container {
    max-width: var(--max-width);
    margin: 120px auto 2rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* 产品导航 */
.product-nav {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.product-nav a:hover {
    color: var(--primary-color);
}

.product-nav i {
    font-size: 0.8rem;
    color: #999;
}

.product-nav span {
    color: var(--primary-color);
}

/* 轮播图样式 */
.product-slider {
    flex: 0 0 50%;
}

.product-slider .slider-container {
    position: relative;
    width: 100%;
    height: 410px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product-slider .slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.product-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-slider .slide.active {
    opacity: 1;
}

.product-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-slider .slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.product-slider .prev-btn,
.product-slider .next-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.product-slider .prev-btn:hover,
.product-slider .next-btn:hover {
    background: #fff;
}

.product-slider .slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.product-slider .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.product-slider .slider-dot.active {
    background: #fff;
}

/* 缩略图样式 */
.thumbnail-container {
    margin-top: 1rem;
    padding: 0 2rem;
}

.thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品特色展示 */
.product-showcase {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
}

.showcase-row {
    display: flex;
    height: 300px;
}

.showcase-text {
    flex: 1;
    background: #fff;
    color: var(--text-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-text h2 {
    display: flex;
    flex-direction: column;
    font-size:6rem;
    line-height: 1;
    font-weight: 700;
    padding-left: 40px;
}

.showcase-image {
    flex: 1;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 第二行的图片样式 */
.showcase-row:last-child .showcase-image:first-child {
    flex: 0 0 60%;
}

.showcase-row:last-child .showcase-image:last-child {
    flex: 0 0 40%;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .showcase-row {
        flex-direction: column;
        height: auto;
    }

    .showcase-text {
        padding: 1.5rem;
    }

    .showcase-text h2 {
        font-size: 3rem;
    }

    .showcase-image {
        height: 200px;
    }
    .parts-intro{
        margin-top: 0px;
    }
    .product-showcase{
        margin-bottom: 0;
        margin-top: 0;
    }
    .product-slider{
        margin-bottom: 0;
    }.product-header{
        margin-top: 0;
    }
}

/* 产品主要信息区域布局 */
.product-main {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-models {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-models h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #666;
}

.model-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.brand-tag {
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
}

.model-tag {
    padding: 0.4rem 1rem;
    background: #eee;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-color);
}

/* 产品描述样式 */
.product-description {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.product-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

/* 产品信息区域样式 */
.product-info-section {
    max-width: var(--max-width);
    margin: 4rem auto;
    padding: 0 2rem;
}

.info-group {
    margin-bottom: 3rem;
    background: #fff;
    padding: 2rem;
    
}

.info-group h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-list li:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .product-info-section {
        margin: 2rem auto;
    }

    .info-group {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .info-group h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .info-list li {
        font-size: 1rem;
    }
    .product-detail{
        padding: 0 1rem;
    }
    .slider-container{
        margin-top: 10px;
    }
}

/* 产品操作区域 */
.product-action {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.btn-consult {
    display: block;
    width: fit-content;
    padding: 12px 32px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-consult i {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.btn-consult:hover {
    background: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .product-action {
        text-align: center;
    }
    
    .btn-consult {
        width: 100%;
        margin: 0 auto;
    }
}