/* ==================== 产品详情 ==================== */
.product-detail {
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

/* 图片画廊 */
.product-gallery {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.gallery-main {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-cream);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.gallery-main:hover img {
    transform: scale(1.1);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息 */
.product-info {
    padding: 20px 0;
}

.product-badge {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.product-title {
    font-family: 'Cormorant Garamond', 'STZhongYuan', 'Heiti SC', 'Microsoft YaHei', serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.product-price {
    margin-bottom: 30px;
}

.product-price .price-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.product-price .price-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary);
}

.product-price .price-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-left: 8px;
}

.product-desc {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

/* 选项 */
.product-options {
    margin-bottom: 40px;
}

.option-group {
    margin-bottom: 25px;
}

.option-label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.option-label a {
    color: var(--primary);
    font-size: 0.8rem;
    text-decoration: none;
}

.option-values {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-value {
    padding: 12px 25px;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-value:hover,
.option-value.selected {
    border-color: var(--primary);
    color: var(--primary);
}

/* 按钮组 */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary {
    flex: 1;
    padding: 18px 40px;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 143, 122, 0.3);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-outline {
    flex: 1;
    padding: 18px 40px;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline svg {
    width: 18px;
    height: 18px;
}

/* 询价提示 */
.inquiry-note {
    background: var(--bg-cream);
    padding: 20px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 3px solid var(--gold);
}

.inquiry-note svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.inquiry-note p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.inquiry-note strong {
    color: var(--text-dark);
}

/* 服务保障 */
.product-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.service-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

/* ==================== 产品详情标签页 ==================== */
.product-tabs {
    border-top: 1px solid var(--border-light);
    padding-top: 60px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
}

.tab-btn {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    padding: 15px 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

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

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}

.specs-table th,
.specs-table td {
    padding: 18px 0;
    text-align: left;
    font-size: 0.9rem;
}

.specs-table th {
    width: 150px;
    color: var(--text-gray);
    font-weight: 400;
}

/* ==================== 推荐产品 ==================== */
.recommended {
    padding: 100px 40px;
    background: var(--bg-cream);
}

.recommended-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Cormorant Garamond', 'STZhongYuan', 'Heiti SC', 'Microsoft YaHei', serif;
    font-size: 2.5rem;
    font-weight: 400;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
    background: white;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card-info {
    text-align: center;
}

.product-card-category {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-card-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--primary);
}
