/* 产品详情页样式 */
.product-detail-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.product-content {
    display: flex;
    gap: 30px;
}

.product-main {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.product-description, .process-content{
	background-color: #fff;
}
.product-sidebar {
    width: 300px;
}

/* 产品头部 */
.product-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.product-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.product-rating i {
    color: #ffb800;
}

/* 产品图片展示 */
.product-gallery {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-main {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-main img:hover {
    transform: scale(1.05);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品购买区 */
.product-purchase {
    padding: 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-current {
    font-size: 28px;
    font-weight: 600;
    color:var(--secondary-color);
}

.price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.price-discount {
    font-size: 14px;
    color: #fff;
    background-color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 4px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-buy {
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy:hover {
    background-color: #a51930;
    border-color: #a51930;
}

.btn-consult, .btn-favorite {
    padding: 12px 20px;
    background-color: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-consult:hover, .btn-favorite:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-consult i, .btn-favorite i {
    margin-right: 5px;
}

.product-guarantee {
    display: flex;
    gap: 30px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.guarantee-item i {
    color: var(--primary-color);
}

/* 产品选项卡 */
.product-tabs {
    padding: 0 30px 30px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-item {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-item:hover {
    color: var(--primary-color);
}

.tab-item.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 产品详情内容 */
.product-description h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.description-section {
    margin-bottom: 30px;
}

.description-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

.feature-list li i {
    color: var(--primary-color);
}

.advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.advantage-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.advantage-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.advantage-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.case-study {
    display: flex;
    gap: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.case-image {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    flex: 1;
}

.case-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.case-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-result {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.result-item {
    text-align: center;
}

.result-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.result-label {
    font-size: 13px;
    color: #666;
}

/* 服务内容样式 */
.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: flex;
    gap: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.service-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.service-details {
    flex: 1;
}

.service-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-details p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.service-features li {
    font-size: 14px;
    color: #666;
    position: relative;
    padding-left: 15px;
}

.service-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* 服务流程样式 */
.process-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.process-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.process-timeline {
    position: relative;
    padding-left: 30px;
}

.process-timeline:before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e6f7ff;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-point {
    position: absolute;
    left: -30px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 1;
}

.timeline-content {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.timeline-duration {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #999;
}

.timeline-duration i {
    margin-right: 5px;
}

/* 用户评价样式 */
.reviews-content {
    padding: 0;
}

.reviews-summary {
    display: flex;
    gap: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.rating-overall {
    text-align: center;
    padding-right: 30px;
    border-right: 1px solid #eee;
}

.rating-score {
    font-size: 36px;
    font-weight: 600;
    color: #ff4d4f;
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffb800;
    font-size: 18px;
    margin-bottom: 5px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.rating-distribution {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-level {
    width: 40px;
    font-size: 14px;
    color: #666;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #ffb800;
    border-radius: 5px;
}

.rating-percent {
    width: 40px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

.reviews-filter {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.filter-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-option {
    font-size: 14px;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    background-color: #f0f0f0;
    text-decoration: none;
    transition: all 0.3s;
}

.filter-option:hover, .filter-option.active {
    color: #fff;
    background-color: var(--primary-color);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.review-date {
    font-size: 13px;
    color: #999;
}

.review-rating {
    color: #ffb800;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-images {
    display: flex;
    gap: 10px;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination-prev, .pagination-next, .pagination-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-item.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination-prev:hover, .pagination-next:hover, .pagination-item:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination-prev.disabled, .pagination-next.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 侧边栏样式 */
.sidebar-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.lawyer-info {
    padding-bottom: 20px;
}

.lawyer-profile {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.lawyer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-details {
    flex: 1;
}

.lawyer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.lawyer-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.lawyer-rating {
    font-size: 13px;
    color: #ffb800;
}

.lawyer-rating span {
    color: #666;
    margin-left: 5px;
}

.lawyer-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.lawyer-expertise {
    padding: 15px 20px;
}

.expertise-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tag {
    font-size: 12px;
    color: #666;
    background-color: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
}

.btn-contact-lawyer {
    display: block;
    text-align: center;
    margin: 0 20px;
    padding: 10px 0;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-contact-lawyer:hover {
    background-color: #122a50;
}

.related-products {
    padding-bottom: 10px;
}

.related-product-list {
    padding: 0 20px;
}

.related-product-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.related-product-item:last-child {
    border-bottom: none;
}

.related-product-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-info {
    flex: 1;
}

.related-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-price {
    font-size: 14px;
    font-weight: 600;
    color: #ff4d4f;
}

/* 弹窗样式 */


@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* 响应式样式 */
@media (max-width: 992px) {
    .product-content {
        flex-direction: column;
    }
    
    .product-sidebar {
        width: 100%;
    }
    
    .case-study {
        flex-direction: column;
    }
    
    .case-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .product-gallery {
        padding: 20px;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .product-purchase {
        padding: 20px;
    }
    
    .product-actions {
        flex-wrap: wrap;
    }
    
    .btn-buy {
        width: 100%;
    }
    
    .product-guarantee {
        flex-direction: column;
        gap: 10px;
    }
    
    .advantage-cards {
        grid-template-columns: 1fr;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .rating-overall {
        padding-right: 0;
        padding-bottom: 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 576px) {
    .product-header {
        padding: 15px 20px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-meta {
        gap: 10px;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .thumb-item {
        width: 60px;
        height: 60px;
    }
    
    .tab-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-icon {
        margin-bottom: 15px;
    }
}

/* 简洁版产品展示样式 */
.product-gallery-simple {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.gallery-single {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-single img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.gallery-single img:hover {
    transform: scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gallery-single {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-single {
        height: 250px;
    }
    
    .price-current-simple {
        font-size: 24px;
    }
}