/* 页面头部横幅 - 与lists.css共享 */
.page-banner {
    background: linear-gradient(rgba(13, 31, 58, 0.8), rgba(13, 31, 58, 0.8)), url('https://24344043.s21i.faiusr.com/4/ABUIABAEGAAgieK0vwYo-bSK1wIwsAk4rAI.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: #fff;
    transition: all 0.3s;
}

.breadcrumb a:hover {
    color: #2196f3;
}

/* 详情页主体 */
.detail-section {
    padding: 60px 0;
}

.detail-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

/* 产品图库 */
.product-gallery {
    width: 45%;
    flex-shrink: 0;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: calc(25% - 7.5px);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail.active {
    border-color: #2196f3;
}

.thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

/* 产品信息 */
.product-info {
    flex: 1;
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 10px;
    background-color: #f0f4f8;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.product-price, .product-sales {
    margin-bottom: 15px;
    font-size: 16px;
}

.price-label, .sales-label {
    color: #666;
}

.price-value {
    color: #e74c3c;
    font-size: 24px;
    font-weight: bold;
}

.product-description {
    margin-bottom: 25px;
}

.product-description h3, .product-features h3 {
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.product-description p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #666;
}

.product-features ul {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #666;
}

.product-features li i {
    color: #4CAF50;
    margin-right: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #2196f3;
    color: #fff;
    flex: 1;
}

.btn-primary:hover {
    background-color: #0d6efd;
}

.btn-secondary {
    background-color: #f0f4f8;
    color: #333;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #e0e5ea;
}

/* 产品选项卡 */
.product-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-header {
    display: flex;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 15px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab:hover {
    color: #2196f3;
}

.tab.active {
    color: #2196f3;
    font-weight: bold;
}

.tab.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2196f3;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

/* 详细说明 */
.content-section {
    margin-bottom: 25px;
}

.content-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #444;
}

.content-section p {
    line-height: 1.6;
    color: #666;
}

/* 参数配置 */
.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th, .params-table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    text-align: center;
}

.params-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.params-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.params-table td:first-child {
    text-align: left;
    font-weight: bold;
}

.params-table i.fa-check {
    color: #4CAF50;
}

.params-table i.fa-times {
    color: #e74c3c;
}

/* 服务保障 */
.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s;
}

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

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #2196f3;
    flex-shrink: 0;
}

.service-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.service-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 用户评价 */
.feedback-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.rating {
    text-align: center;
    width: 150px;
}

.rating-score {
    font-size: 42px;
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 5px;
}

.rating-count {
    font-size: 14px;
    color: #777;
}

.rating-distribution {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.star-level {
    width: 40px;
    font-size: 14px;
    color: #777;
}

.progress {
    flex: 1;
    height: 10px;
    background-color: #f0f4f8;
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #2196f3;
    border-radius: 5px;
}

.percent {
    width: 40px;
    font-size: 14px;
    color: #777;
    text-align: right;
}

.feedback-comments {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    display: flex;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-rating {
    color: #ffc107;
}

.comment-text {
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

/* 联系区域 */
.contact-section {
    padding: 60px 0;
    background-color: #f0f4f8;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.contact-container {
    display: flex;
    gap: 30px;
}

.contact-info {
    width: 40%;
    flex-shrink: 0;
}

.contact-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.consultant {
    display: flex;
    margin-bottom: 20px;
}

.consultant-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.consultant-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.consultant-info p {
    color: #777;
    margin-bottom: 10px;
}

.consultant-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #666;
}

.consultant-contact i {
    margin-right: 8px;
    color: #2196f3;
}

.contact-methods {
    display: flex;
    gap: 15px;
}

.contact-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #f0f4f8;
    border-radius: 4px;
    transition: all 0.3s;
}

.contact-method:hover {
    background-color: #2196f3;
    color: #fff;
}

.contact-method i {
    font-size: 24px;
    margin-bottom: 5px;
}

.contact-desc {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.contact-desc h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.contact-desc ul {
    list-style: none;
}

.contact-desc li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #666;
}

.contact-desc li i {
    color: #4CAF50;
    margin-right: 10px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.contact-form h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #2196f3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.btn-submit {
    background-color: #2196f3;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: #0d6efd;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .detail-container {
        flex-direction: column;
    }
    
    .product-gallery {
        width: 100%;
    }
    
    .service-items {
        grid-template-columns: 1fr;
    }
    
    .feedback-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .rating {
        width: 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .tab-header {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tab {
        padding: 15px 15px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 10px;
    }
    
    .comment-header {
        flex-direction: column;
    }
    
    .comment-rating {
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-actions {
        flex-direction: column;
    }
} 