/* ========== 产品详情页专属样式 ========== */
/* 产品详情主容器 */
.product-detail {
    background-color: #fff;
}

.product-detail__container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    margin-bottom: 40px;
}

/* 左侧产品图片区 */
.product-detail__gallery {
    position: relative;
}

.product-detail__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #f58220;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    z-index: 2;
}

.product-detail__main-img {
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 20px;
}

.product-detail__img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail__thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.product-detail__thumb-btn {
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-detail__thumb-active {
    border-color: #f58220;
}

.product-detail__thumb-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

/* 右侧产品信息区 */
.product-detail__title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-detail__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-detail__stars {
    color: #f58220;
    font-size: 16px;
}

.product-detail__rating-text {
    font-size: 14px;
    color: #666;
}

.product-detail__sku {
    font-size: 14px;
    color: #999;
    margin-left: auto;
}

.product-detail__desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 产品特性列表 */
.product-detail__features {
    list-style: none;
    margin-bottom: 30px;
}

.product-detail__feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.product-detail__feature-icon {
    color: #f58220;
    font-size: 18px;
    margin-top: 2px;
}

.product-detail__feature-item strong {
    display: block;
    color: #000;
    font-weight: 700;
    margin-bottom: 3px;
}

.product-detail__feature-item span {
    font-size: 14px;
    color: #666;
}

/* 规格选择区 */
.product-detail__options {
    margin-bottom: 30px;
}

.product-detail__option-group {
    margin-bottom: 20px;
}

.product-detail__option-label {
    display: block;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.product-detail__option-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.product-detail__option-btn {
    padding: 8px 15px;
    border: 1px solid #eee;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail__option-active {
    background-color: #f58220;
    color: #fff;
    border-color: #f58220;
}

.product-detail__option-btn:hover:not(.product-detail__option-active) {
    border-color: #f58220;
    color: #f58220;
}

.product-detail__custom-option {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-detail__custom-checkbox {
    accent-color: #f58220;
}

/* 数量选择 */
.product-detail__quantity {
    display: flex;
    align-items: center;
    width: 120px;
}

.product-detail__quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #eee;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail__quantity-btn:hover {
    border-color: #f58220;
    color: #f58220;
}

.product-detail__quantity-input {
    flex: 1;
    height: 30px;
    border: 1px solid #eee;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
    outline: none;
}

/* 操作按钮 */
.product-detail__actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-detail__add-cart {
    background-color: #f58220 !important;
    color: #fff !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.product-detail__add-cart:hover {
    background-color: #e07518 !important;
}

.product-detail__request-quote {
    border: 2px solid #f58220 !important;
    color: #f58220 !important;
    background-color: transparent !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.product-detail__request-quote:hover {
    background-color: #f58220 !important;
    color: #fff !important;
}

/* 服务保障 */
.product-detail__services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-detail__service-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.product-detail__service-item i {
    color: #f58220;
    font-size: 18px;
    margin-top: 2px;
}

.product-detail__service-item strong {
    display: block;
    color: #000;
    font-weight: 700;
    font-size: 14px;
}

.product-detail__service-item span {
    font-size: 12px;
    color: #666;
}

/* 产品详情标签页 */
.product-detail__tabs-container {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.product-detail__tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.product-detail__tab-btn {
    padding: 15px 30px;
    background-color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.product-detail__tab-active {
    color: #f58220;
    border-bottom-color: #f58220;
}

.product-detail__tab-btn:hover:not(.product-detail__tab-active) {
    color: #f58220;
}

.product-detail__tab-content {
    display: none;
}

.product-detail__tab-active {
    display: block;
}

/* 描述标签内容 */
.product-detail__description {
/*     display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; */
}

.product-detail__description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.product-detail__description-list {
    list-style: none;
    margin-top: 20px;
}

.product-detail__description-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-detail__check-icon {
    color: #f58220;
    font-size: 14px;
}

.product-detail__description-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 规格标签内容 */
.product-detail__spec-table {
    width: 100%;
    border-collapse: collapse;
}

.product-detail__spec-table th,
.product-detail__spec-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-detail__spec-table th {
    font-weight: 700;
    color: #000;
    width: 33%;
}

.product-detail__spec-table td {
    color: #666;
}

/* 评论标签内容 */
.product-detail__reviews-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.product-detail__review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.product-detail__review-item:last-child {
    border-bottom: none;
}

.product-detail__review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.product-detail__review-name {
    font-weight: 700;
    color: #000;
}

.product-detail__review-stars {
    color: #f58220;
    font-size: 14px;
}

.product-detail__review-date {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.product-detail__review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 配送退货标签内容 */
.product-detail__shipping-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.product-detail__shipping-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

/* ========== 响应式适配（产品详情页） ========== */
@media (max-width: 1200px) {
    .product-detail__container {
        grid-template-columns: 1fr;
    }
    
    .product-detail__title {
        font-size: 28px;
    }
    
    .product-detail__description {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .product-detail__services {
        grid-template-columns: 1fr;
    }
    
    .product-detail__tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .product-detail__title {
        font-size: 24px;
    }
    
    .product-detail__rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .product-detail__sku {
        margin-left: 0;
    }
    
    .product-detail__actions {
        flex-direction: column;
    }
    
    .product-detail__add-cart,
    .product-detail__request-quote {
        width: 100%;
        justify-content: center;
    }
    
    .product-detail__tabs {
        flex-direction: column;
    }
    
    .product-detail__tab-btn {
        border-bottom: 1px solid #eee !important;
        text-align: left;
    }
    
    .product-detail__tab-active {
        background-color: #fff8f0;
    }
}

@media (max-width: 576px) {
    .product-detail__badge {
        top: 10px;
        left: 10px;
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .product-detail__main-img {
        padding: 10px;
    }
    
    .product-detail__thumb-img {
        width: 60px;
        height: 45px;
    }
    
    .product-detail__spec-table th,
    .product-detail__spec-table td {
        padding: 10px 5px;
        font-size: 14px;
    }
}