/* ==================== 产品详情页面样式 ==================== */
.product-detail-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #1d4ed8;
    transform: translateX(-5px);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.product-detail-image {
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-info h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.product-detail-price {
    font-size: 2rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-detail-views {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-detail-desc {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* ==================== 联系方式盒子 ==================== */
.contact-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.contact-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-item-inline {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #555;
}

.contact-item-inline span:first-child {
    min-width: 80px;
    font-weight: 500;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.action-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn-favorite {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e7eb;
}

.action-btn-favorite:hover {
    background: #fff5f5;
    border-color: #ef4444;
    color: #ef4444;
}

.action-btn-favorite.active {
    background: #fff5f5;
    border-color: #ef4444;
    color: #ef4444;
}

.action-btn-share {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e7eb;
}

.action-btn-share:hover {
    background: #f0f9ff;
    border-color: #2563eb;
    color: #2563eb;
}

/* ==================== 认证标签 ==================== */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e5e7eb;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.auth-tab.active {
    color: #2563eb;
    font-weight: 500;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .product-detail-image img {
        min-height: 300px;
    }

    .product-detail-info h1 {
        font-size: 1.8rem;
    }

    .product-detail-price {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .product-detail-page {
        padding: 100px 0 60px;
    }

    .product-detail {
        padding: 20px;
    }

    .product-detail-info h1 {
        font-size: 1.5rem;
    }

    .product-detail-price {
        font-size: 1.4rem;
    }

    .product-detail-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        min-width: calc(50% - 7.5px);
    }

    .header-right {
        display: none;
    }
}
