/* 产品头部样式 */
.product-header {
    padding: 4rem 0;
    background: #fff;
}

.product-header-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* 产品图轮播 */
.gallery-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(27,45,107,0.1);
}

.product-gallery {
    aspect-ratio: 1/1;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

/* 产品信息 */
.product-info {
    position: sticky;
    top: 120px;
}

.product-series {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.productd-title {
    font-size: 2.4rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* 规格参数 */
.spec-group {
    margin-bottom: 2rem;
}

.spec-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid currentColor;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.spec-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 服务热线卡片 */
.service-card {
    background: #f8fafe;
    border-radius: 8px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.hotline-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-phone {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    mask: url(icon-phone.svg) no-repeat center;
}

.hotline-number {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 600;
}

.consult-btn {
    display: block;
    background: var(--accent-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156,0,0,0.25);
}

.btn-subtext {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
}
/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    /*width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);*/
    transition: all 0.3s ease; */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: white;
}

/* 分页器样式 */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-header-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-info {
        position: static;
    }
    
    .productd-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hotline-group {
        flex-direction: column;
    }
    
    .qrcode-img {
        margin: 0 auto;
    }
	.swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .product-header {
        padding: 2rem 0;
    }
    
    .productd-title {
        font-size: 1.6rem;
    }
    
    .hotline-number {
        font-size: 1.4rem;
    }
    
    .consult-btn {
        width: 100%;
    }
}

/* 主体内容样式 */
.product-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

.product-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

/* 详情导航 */
.detail-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.product-nav-item {
    padding: 0.8rem 1.5rem;
    border: none;
    background: #e9ecef;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.product-nav-item.active {
    background: var(--primary-color);
    color: white;
}

/* 内容区块 */
.content-section {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

/* 新增.detail-content样式 */
.detail-content {
    background: #fff; /* 新增：设置白色背景 */
    color: #333; /* 新增：设置主文字颜色 */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* 新增：添加柔和阴影 */
    overflow: hidden; /* 新增：防止内部元素溢出圆角 */
}
/* 覆盖列表页样式影响 */
.detail-content .page-item:hover, 
.detail-content .active {
    border-color: var(--accent-color) !important; /* 修改：使用强调色 */
    background: rgba(156,0,0,0.05) !important; /* 修改：浅红色背景 */
    color: #333 !important; /* 修改：保持黑色文字 */
}
/* 子元素继承设置 */
.detail-content * {
    color: inherit; /* 强制继承父级文字颜色 */
}
.section-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid currentColor;
}

/* 技术参数表格 */
.spec-table {
    display: grid;
    gap: 1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8fafe;
    border-radius: 6px;
}

.spec-label {
    color: #666;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 500;
}

/* 侧边栏样式 */
.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.sidebar-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.success-case img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.agent-guide {
    background: linear-gradient(135deg, var(--primary-color), #1a3d7a);
    color: white;
}

.agent-btn {
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    margin-top: 1.5rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-main-wrapper {
        grid-template-columns: 1fr;
    }
    
    .detail-nav {
        padding-bottom: 0.5rem;
    }
    
    .product-nav-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 0.5rem;
    }
	.detail-content {
        border-radius: 0; /* 移除移动端圆角 */
        box-shadow: none; /* 移除移动端阴影 */
    }
}

@media (max-width: 480px) {
    .product-main {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}
/* 留言区域容器 */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(27,45,107,0.1);
    padding: 3rem;
}

/* 标题样式 */
.contact-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* 表单布局 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* 输入框样式 */
.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(156,0,0,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 提交按钮 */
.submit-btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156,0,0,0.25);
}

.icon-arrow {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.8rem;
    stroke: currentColor;
}

.form-note {
    color: #999;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .contact-card {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 1.6rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.4rem;
    }
}