/* SEO优化：提升页面性能和可访问性 */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.product-header {
    padding: 20px 0;
    margin-bottom: 20px;
}
/* SEO优化：标题层次结构 */
.product-title {
    color: #2a6496;
    margin: 0 0 20px 0;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 3px solid orange;
    display: inline-block;
    text-rendering: optimizeLegibility;
}
/* SEO优化：内容可读性 */
.product-description {
    font-size: clamp(14px, 2.5vw, 16px);
    margin-bottom: 30px;
    line-height: 1.7;
    color: #444;
    text-rendering: optimizeLegibility;
}
.specs-section, .trade-terms-section, .features-section, .faq-section, .quote-section, .images-section {
    padding: 15px 0;
    margin-bottom: 15px;
}
/* SEO优化：章节标题结构化 */
.section-title {
    color: #2a6496;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 600;
    border-bottom: 3px solid orange;
    display: inline-block;
    text-rendering: optimizeLegibility;
}
/* SEO优化：表格可访问性 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: clamp(14px, 2.2vw, 15px);
}
.specs-table th, .specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}
.specs-table th {
    font-weight: 600;
    color: #2a6496;
    width: 40%;
    background-color: #f8f9fa;
    position: relative;
}
.specs-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 15px 0;
}
.specs-column {
    display: flex;
    flex-direction: column;
}
.specs-item {
    display: flex;
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}
.specs-item:last-child {
    border-bottom: none;
}
.specs-label {
    font-weight: 600;
    color: #333;
    min-width: 160px;
    margin-right: 15px;
    flex-shrink: 0;
    width: 40%;
}
.specs-value {
    color: #333;
    flex: 1;
}
.images-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}
/* SEO优化：图片占位符可访问性 - 6:4比例响应式设计 */
.image-placeholder {
    width: calc((100% - 20px) / 2);
    max-width: 570px;
    aspect-ratio: 6/4;
    flex-shrink: 1;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: clamp(14px, 2vw, 16px);
    background-color: #f9f9f9;
}
/* SEO优化：特性网格响应式设计 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
    padding: 0;
}
/* SEO优化：特性卡片交互性 */
.feature-card {
    border: 1px solid #e0e0e0;
    padding: 24px;
    background-color: #fff;
}
.feature-card-title {
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 600;
    color: #2a6496;
    margin-bottom: 12px;
    text-rendering: optimizeLegibility;
}
.feature-card-description {
    font-size: clamp(13px, 2vw, 15px);
    color: #555;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
.faq-list {
    padding-left: 0;
    list-style: none;
    margin: 10px 0 0 0;
}
.faq-item {
    margin-bottom: 15px;
}
.faq-question {
    font-weight: 600;
    color: #2a6496;
    margin-bottom: 8px;
}
/* SEO优化：FAQ可访问性 */
.faq-answer {
    font-size: clamp(14px, 2.2vw, 15px);
    line-height: 1.7;
    color: #555;
    margin-top: 8px;
    text-rendering: optimizeLegibility;
}
.quote-section {
    border: 2px solid #2a6496;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}
.quote-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2a6496;
}
.quote-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}
/* SEO优化：CTA按钮可访问性 */
.quote-button {
    display: inline-block;
    background-color: #2a6496;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    font-size: clamp(15px, 2.5vw, 16px);
    font-weight: 600;
    border: 2px solid #2a6496;
    cursor: pointer;
    text-align: center;
    min-width: 140px;
}
.quote-button:hover {
    background-color: #1e4a73;
    border-color: #1e4a73;
    color: #ffeb3b;
}
.quote-button:focus {
    outline: 2px solid #2a6496;
    outline-offset: 2px;
}

/* SEO优化：移动端响应式设计 */
@media (max-width: 768px) {
    .product-container {
        padding: 0 16px;
    }
    .specs-two-column {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .specs-item {
        padding: 10px 12px;
    }
    .images-section {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .image-placeholder {
        width: 100%;
        max-width: 480px;
        aspect-ratio: 6/4;
        flex-shrink: 1;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 20px;
    }
    .quote-section {
        padding: 24px 16px;
        margin: 20px 0;
    }
    .quote-button {
        width: 100%;
        max-width: 280px;
    }
}

/* SEO优化：超小屏幕优化 */
@media (max-width: 480px) {
    .product-container {
        padding: 0 12px;
    }
    .specs-table th, .specs-table td {
        padding: 8px 12px;
    }
    .feature-card {
        padding: 16px;
    }
    .quote-section {
        padding: 20px 12px;
    }
}

/* ACF产品参数样式 - 与single-product.php模板统一 */
.product-main-block {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0.5rem auto 0 auto;
}

.product-image {
    flex: 1 1 400px;
    max-width: 500px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.product-fields {
    flex: 1 1 400px;
    min-width: 300px;
}

.product-parameters-title {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2a6496;
    text-rendering: optimizeLegibility;
}

.product-parameters-underline {
    width: 40px;
    height: 3px;
    background-color: orange;
    margin-bottom: 1rem;
}

.acf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(14px, 2.2vw, 15px);
    margin: 0;
}

.acf-table td {
    padding: 4px 8px;
    color: #333;
    vertical-align: top;
}

.acf-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 40%;
}

/* 按钮容器样式 */
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 600px;
    margin: 20px auto;
    justify-content: center;
}

.contact-button, .whatsapp-button {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-button {
    background-color: #FF6B00;
    color: white;
    border: 2px solid #FF6B00;
}

.whatsapp-button {
    background-color: #FF6B00;
    color: white;
    border: 2px solid #FF6B00;
}

.contact-button:hover, .whatsapp-button:hover {
    background-color: #E05E00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.content-divider {
    border: none;
    border-top: 1px solid #ddd;
    max-width: 80%;
}

.product-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* ACF样式响应式设计 */
@media (max-width: 768px) {
    .product-main-block {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .product-image {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .product-fields {
        flex: 1 1 100%;
        min-width: auto;
    }
    
    .acf-table td {
        padding: 3px 6px;
    }
    
    .button-container {
        gap: 12px;
        margin: 16px auto;
    }
    
    .contact-button, .whatsapp-button {
        min-width: 180px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-main-block {
        padding: 1rem;
        gap: 1rem;
    }
    
    .acf-table td {
        padding: 2px 4px;
    }
    
    .contact-button, .whatsapp-button {
        width: 100%;
        flex: none;
    }
}

/* 价格备注样式 */
.price-note {
    margin: 20px 0;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #2a6496;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 价格备注响应式设计 */
@media (max-width: 768px) {
    .price-note {
        padding: 10px 14px;
        margin: 14px 0;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .price-note {
        padding: 8px 12px;
        margin: 12px 0;
        font-size: 12px;
    }
}

/* 面包屑导航样式 */
.product-breadcrumb {
    max-width: 1200px;
    margin: 2rem auto 1rem auto;
    padding: 0 2rem;
}

.breadcrumb-container {
    font-size: 14px;
    color: #666;
}

.breadcrumb-container a {
    color: #2a6496;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #1e4a73;
    text-decoration: underline;
}

.breadcrumb-container span {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb-container span:last-child {
    color: #333;
    font-weight: 500;
}

/* 面包屑导航响应式设计 */
@media (max-width: 768px) {
    .product-breadcrumb {
        padding: 0 1.5rem;
        margin: 1.5rem auto 0.8rem auto;
    }
    
    .breadcrumb-container {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-breadcrumb {
        padding: 0 1rem;
        margin: 1.2rem auto 0.6rem auto;
    }
    
    .breadcrumb-container {
        font-size: 12px;
    }
    
    .breadcrumb-container span {
        margin: 0 6px;
    }
} 