.product-detail-container {
    display: flex;
    margin: 0 auto;
    width: var(--container-width);
    gap: 20px;
}

.main-content {
    flex: none;
    width: 900px;
    background: var(--color-bg-card);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    align-self: flex-start;
}

.product-header {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    position: relative;
}

.product-left-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 320px;
    flex-shrink: 0;
}

.left-actions-bar {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
}

.left-actions-bar .left-action-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--font-size-caption);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

.left-actions-bar .left-action-item:hover {
    color: var(--color-primary);
}

.left-actions-bar .left-action-item i {
    font-size: var(--font-size-btn);
}

.left-actions-bar .left-share {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.left-actions-bar .left-share-label {
    color: var(--color-text-tertiary);
    font-size: var(--font-size-caption);
    transition: color 0.3s ease;
    cursor: pointer;
}
.left-actions-bar .left-share-label:hover {
    color: var(--color-primary);
}

.preview-box {
    position: relative;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    height: 260px;
    width: 320px;
    overflow: hidden;
}

.gallery-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
}

.gallery-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-arrow {
    pointer-events: auto;
    width: var(--space-xl);
    height: var(--space-2xl);
    background: rgba(0,0,0,0.35);
    color: var(--color-bg-card);
    border: none;
    font-size: var(--font-size-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 0 4px 4px 0;
}

.gallery-arrow.gallery-next {
    border-radius: 4px 0 0 4px;
}

.gallery-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    margin-top: 10px;
    width: 320px;
    overflow-x: auto;
    padding: var(--space-xs) 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.5;
}

.thumb-item:hover {
    opacity: 0.8;
}

.thumb-item.active {
    border-color: var(--color-primary);
    opacity: var(--z-base);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-info-top {
    flex: var(--z-base);
    padding: 10px 0;
}

.product-info-top h1 {
    font-size: var(--font-size-h2);
    margin: 0 0 15px 0;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-h1);
    position: relative;
    padding-bottom: 5px;
}

.product-info-top h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    border-radius: 2px;
}

.stats-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

.stat-item i {
    font-size: var(--font-size-label);
}

.service-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--font-size-caption);
    color: #4460a3;
    padding: 5px 20px;
    background-color: #f5f7fa;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.service-title {
    font-weight: bold;
    margin-right: 10px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-item {
    margin-right: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s;
}

.service-item:hover {
    color: var(--color-primary);
}

.service-item::before {
    content: "●";
    color: #4285f4;
    font-size: 10px;
    margin-right: 6px;
}

.price-panel {
    background: linear-gradient(135deg, var(--color-primary-bg), var(--color-bg-card));
    padding: 0 20px;
    border-radius: var(--radius-lg);
    margin-top: 15px;
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.price-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--space-xs);
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-warning));
    border-radius: 4px 0 0 4px;
}

.promo-price {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: var(--font-weight-extrabold);
    font-size: 20px;
    gap: 5px;
}

.promo-price::before {
    content: '¥';
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
}

.old-price {
    color: var(--color-text-tertiary);
    text-decoration: line-through;
    font-size: var(--font-size-card-title);
    margin-left: 10px;
    position: relative;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-hover);
    border-radius: var(--radius-sm);
}

.discount-badge {
    background: var(--color-primary);
    color: white;
    font-size: var(--font-size-label);
    font-weight: bold;
    padding: var(--space-2xs) var(--space-sm);
    border-radius: var(--radius-xl);
    margin-left: 10px;
    display: inline-block;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.meta-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 0 20px;
}
.meta-row > .qty-selector,
.meta-row > .reward-hint {
    margin-top: 0;
}
.meta-row > .qty-selector {
    padding: 0;
}
@media (max-width: 768px) {
    .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 14px;
    }
}

.reward-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-base);
    padding: var(--space-sm) var(--space-base);
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1px solid #ffe082;
    border-radius: var(--radius-md);
    font-size: var(--font-size-btn);
    color: #e65100;
}
.reward-hint strong {
    font-weight: var(--font-weight-bold);
    color: #d84315;
}

.spec-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 0;
}
.spec-label {
    font-size: var(--font-size-btn);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    flex-shrink: 0;
}
.spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}
.spec-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border: 1px solid var(--color-border-strong, #e6e6e6);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
    min-width: 66px;
    background: transparent;
    position: relative;
    user-select: none;
}
.spec-item:hover {
    border-color: var(--color-primary, #ff6a00);
    color: var(--color-primary, #ff6a00);
}
.spec-item.active {
    border-color: var(--color-primary, #ff6a00);
    background-color: transparent;
}
.spec-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: var(--color-primary, #ff6a00);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    animation: specCheckPop .25s ease-out;
}
@keyframes specCheckPop {
    from { transform: scale(.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.spec-item .spec-name {
    font-size: var(--font-size-btn);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}
.spec-item .spec-desc {
    font-size: var(--font-size-base, 14px);
    color: var(--color-text-primary);
    font-weight: 400;
    letter-spacing: 0;
}
.spec-item.active .spec-desc {
    color: var(--color-primary, #ff6a00);
    font-weight: 500;
}
.spec-item .spec-price {
    font-size: var(--font-size-btn);
    font-weight: var(--font-weight-bold);
    color: var(--color-price, #e03131);
}
.spec-name-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 0 6px;
    font-size: var(--font-size-sm);
    color: var(--color-primary, #ff6a00);
    border: 1px solid var(--color-primary, #ff6a00);
    border-radius: var(--radius-sm);
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: 20px;
    padding: 0 20px;
}
.qty-label {
    font-size: var(--font-size-btn);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-semibold);
}
.qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: var(--space-xl);
    height: var(--space-xl);
    border: none;
    background: var(--color-bg-hover);
    color: var(--color-text-body);
    font-size: var(--font-size-card-title);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    user-select: none;
}
.qty-btn:hover {
    background: #e8e8e8;
}
.qty-btn:active {
    background: #ddd;
}
.qty-input {
    width: 50px;
    height: var(--space-xl);
    border: none;
    border-left: 1px solid var(--color-border-strong);
    border-right: 1px solid var(--color-border-strong);
    text-align: center;
    font-size: var(--font-size-btn);
    color: var(--color-text-body);
    outline: none;
    -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.btn-group {
    display: flex;
    margin-top: 20px;
    gap: 30px;
}

.btn-group > form {
    display: contents;
}

.btn-group .btn {
    color: var(--color-bg-card);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.btn-group .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-group .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-group .btn:hover::before {
    left: 100%;
}

.btn-group .btn-cart {
    background: linear-gradient(135deg, #ff9800, #ff5722);
}

.btn-group .btn-cart:hover {
    background: linear-gradient(135deg, #e68900, #e64a19);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.btn-group .btn-buy {
    background: var(--color-primary);
}

.btn-group .btn-buy:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 8px 20px var(--color-primary-shadow);
}

.btn-group .btn-free {
    background: linear-gradient(135deg, var(--color-success-hover), var(--color-success-hover));
}

.btn-group .btn-free:hover {
    background: linear-gradient(135deg, #4aa84a, #219653);
    box-shadow: 0 8px 20px rgba(94, 185, 94, 0.3);
}

.tabs {
    display: flex;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
    margin-top: 20px;
}

.tab {
    display: flex;
    align-items: center;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-md) 30px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    font-size: 15px;
    z-index: var(--z-base);
    gap: 10px;
}

.tab i {
    color: inherit;
    transition: all 0.3s ease;
}

.tab.active {
    color: var(--color-primary);
    border-top: 3px solid var(--color-primary);
    background: var(--color-bg-card);
    margin-bottom: -1px;
    border-left: 1px solid var(--color-border-light);
    border-right: 1px solid var(--color-border-light);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05);
}

.tab:hover:not(.active) {
    color: var(--color-primary);
    background-color: var(--color-primary-bg);
}

.tab-content > .tab-panel {
    display: none;
}
.tab-content > .tab-panel.active {
    display: block;
}

.article_content h2,
.article_content h3,
.article_content h2 span,
.article_content h3 span {
    font-size: var(--font-size-h3) !important;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: var(--font-weight-semibold);
}

.article_content ul li {
    font-size: var(--font-size-card-title) !important;
    list-style: square;
    margin-left: 20px;
    line-height: 40px;
}

.article_content p {
    font-size: var(--font-size-card-title) !important;
    line-height: 35px;
}

.article_content img {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-sm) !important;
}

#faq-section-title {
    font-size: var(--font-size-h3);
    font-weight: bold;
    color: var(--color-text-body);
    position: relative;
    z-index: var(--z-base);
    margin-bottom: 20px;
    padding-bottom: 3px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
}

.faq-item {
    border: 1px solid var(--color-border-light);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-q {
    background: linear-gradient(135deg, #fdfafb, var(--color-primary-bg));
    padding: 15px 20px;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-q:hover {
    background: linear-gradient(135deg, var(--color-primary-bg), #ffeaea);
}

.faq-q::before {
    content: "Q";
    background: var(--color-primary);
    color: var(--color-bg-card);
    width: var(--space-lg);
    height: var(--space-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: var(--space-md);
    font-size: var(--font-size-btn);
    font-weight: bold;
    flex-shrink: 0;
}

.faq-q::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: 13px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-q.expanded::after {
    transform: rotate(180deg);
}

.faq-a {
    padding: 20px;
    background: var(--color-bg-card);
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    border-top: 1px solid var(--color-border-light);
    display: none;
}

.faq-a.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: var(--z-base);
        transform: translateY(0);
    }
}

.detail-sidebar {
    flex: var(--z-base);
    min-width: 280px;
}

.side-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.side-card:hover {
    box-shadow: var(--shadow-modal);
    transform: translateY(-2px);
}

.side-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 50px;
    background: linear-gradient(135deg, var(--color-bg-hover), var(--color-bg-card));
}

.side-card-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: var(--space-2xs);
    background: var(--color-primary);
    border-radius: 1px;
}

.side-card-header h3 {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: var(--font-size-card-title);
    flex-shrink: 0;
    height: 20px;
    border: none;
    color: var(--color-text-body);
    gap: 10px;
    margin: 0;
}

.side-card-header h3 i {
    color: var(--color-primary);
}

.side-card-header .more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 3px 6px;
    background-color: var(--color-bg-card);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: var(--z-base);
    flex-shrink: 0;
}

.side-card-header .more-btn:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

.tag-box {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-chip {
    font-size: var(--font-size-caption);
    padding: var(--space-xs) 10px;
    border-radius: 20px;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-caption);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tag-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.recommend-list {
    padding: 15px;
}

.recommend-item {
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.recommend-item:last-child {
    margin-bottom: 0;
}

.recommend-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.recommend-img-box {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--space-sm);
    position: relative;
}

.recommend-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommend-item:hover .recommend-img {
    transform: scale(1.05);
}

.recommend-title {
    font-size: var(--font-size-btn);
    color: var(--color-text-body);
    margin-bottom: 10px;
    font-weight: var(--font-weight-bold);
    line-height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: var(--z-base);
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
    padding: 0 var(--space-md);
}

.recommend-title:hover {
    color: var(--color-primary);
}

.price-tag-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-md);
}

.recommend-price {
    color: var(--color-primary);
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-card-title);
}

/* PC端隐藏移动端底部操作栏 */
.mobile-fixed-bar {
    display: none;
}

@media (max-width: 992px) {
    .product-detail-container {
        width: 100%;
        padding: 0 var(--space-md) 0px;
        flex-direction: column;
        gap: var(--space-base);
    }

    .main-content {
        width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .detail-sidebar {
        width: 100%;
        min-width: 0;
    }

    .recommend-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .recommend-item {
        margin-bottom: 0;
    }

    .product-header {
        flex-direction: column;
        gap: var(--space-base);
        margin-bottom: 0;
    }

    .product-left-col {
        width: 100%;
    }

    .preview-box {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .preview-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }

    .gallery-thumbs {
        width: 100%;
        display: none !important;
    }

    .thumb-item {
        width: var(--space-2xl);
        height: var(--space-2xl);
    }

    .product-info-top {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .toc-card {
        display: none !important;
    }

    body {
        padding-bottom: 120px;
    }

    .detail-page-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .product-detail-container {
        padding: 0 10px 0px;
        gap: 14px;
    }

    .main-content {
        padding: 14px 0;
    }

    .preview-box,
    .faq-item,
    .side-card,
    .recommend-item {
        border-radius: var(--radius-xl);
    }

    .preview-box:hover,
    .faq-item:hover,
    .side-card:hover,
    .recommend-item:hover {
        transform: none;
    }

    .product-info-top h1 {
        font-size: var(--font-size-h3);
        line-height: 1.45;
        margin-bottom: var(--space-md);
        padding-bottom: 0;
    }

    .product-info-top h1::after {
        display: none;
    }

    .stats-bar {
        gap: 10px 14px;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .stat-item {
        font-size: var(--font-size-caption);
    }

    .service-bar {
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 10px var(--space-md);
        margin-bottom: 14px;
        border-radius: var(--radius-lg);
        white-space: normal;
        overflow-x: visible;
    }

    .service-title {
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }

    .service-item {
        margin-right: var(--space-md);
        margin-bottom: 6px;
        font-size: var(--font-size-label);
        white-space: nowrap;
    }

    .qty-selector {
        padding: 0 14px;
        margin-top: 14px;
    }

    .price-panel {
        padding: var(--space-base) 14px 18px;
        gap: 10px;
        margin-top: 14px;
        border-radius: var(--radius-xl);
    }

    .price-panel::before {
        width: 3px;
    }

    .promo-price {
        font-size: var(--font-size-h1);
        line-height: var(--line-height-btn);
    }

    .promo-price::before {
        font-size: var(--font-size-h3);
    }

    .old-price {
        margin-left: 0;
        padding: 0;
        background: none;
        font-size: var(--font-size-btn);
    }

    .discount-badge {
        margin-left: 0;
    }

    .left-actions-bar {
        display: none !important;
    }

    .goods_detail .btn-group {
        display: none !important;
    }

    .mobile-fixed-bar {
        display: flex;
        align-items: center;
    }

    .mobile-fixed-bar .icon-actions {
        display: flex;
        align-items: center;
        padding: 0 6px;
        gap: var(--space-2xs);
    }

    .mobile-fixed-bar .icon-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--space-2xs) var(--space-sm);
        background: none;
        border: none;
        color: var(--color-text-secondary);
        font-size: 10px;
        cursor: pointer;
        gap: var(--space-2xs);
        min-width: 44px;
    }

    .mobile-fixed-bar .icon-btn i {
        font-size: 20px;
        margin-bottom: 1px;
    }

    .mobile-fixed-bar .icon-btn span {
        font-size: 10px;
        line-height: var(--line-height-label);
    }

    .mobile-fixed-bar .main-actions {
        display: flex;
        flex: var(--z-base);
        gap: var(--space-sm);
        padding-left: 6px;
    }

    .mobile-fixed-bar .main-actions .btn {
        flex: var(--z-base);
        width: auto;
        border-radius: var(--radius-md);
        font-size: var(--font-size-btn);
        padding: 10px 0;
        font-weight: var(--font-weight-bold);
        color: var(--color-bg-card);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-fixed-bar .main-actions .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .mobile-fixed-bar .btn-cart {
        background: linear-gradient(135deg, #ff9500, #ff6b00) !important;
    }

    .mobile-fixed-bar .btn-buy {
        background: var(--color-primary) !important;
    }

    .tabs {
        gap: 10px;
        margin-top: var(--space-lg);
        border-bottom: none;
    }

    .tab {
        flex: var(--z-base);
        justify-content: center;
        padding: var(--space-md) var(--space-sm);
        font-size: 15px;
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-md);
        background: var(--color-bg-hover);
    }

    .tab.active {
        margin-bottom: 0;
        border: 1px solid var(--color-primary-border);
        border-top: 1px solid var(--color-primary-border);
        background: #fff7f7;
        box-shadow: none;
    }

    .tab i {
        font-size: var(--font-size-btn);
    }

    .article_content h2,
    .article_content h3,
    .article_content h2 span,
    .article_content h3 span {
        font-size: var(--font-size-h3) !important;
    }

    .article_content p {
        font-size: 15px !important;
        line-height: 1.85;
    }

    .article_content ul li {
        margin-left: 18px;
        font-size: 15px !important;
        line-height: 1.8;
    }

    .article_content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: var(--radius-md);
    }

    .article_content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .article_content iframe,
    .article_content pre,
    .article_content video {
        max-width: 100%;
        overflow: auto;
    }

    #faq-section-title {
        height: auto;
        margin-top: 22px;
        margin-bottom: var(--space-base);
        padding-bottom: 10px;
        font-size: var(--font-size-price);
    }

    .faq-q {
        padding: 14px var(--space-base);
        font-size: var(--font-size-card-title);
    }

    .faq-a {
        padding: var(--space-base);
        font-size: var(--font-size-btn);
        line-height: 1.75;
    }

    .side-card {
        margin-bottom: 14px;
    }

    .side-card-header {
        padding: 14px var(--space-base);
    }

    .side-card-header .more-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--font-size-mini);
    }

    .tag-box {
        padding: 14px var(--space-base);
        gap: var(--space-sm);
    }

    .tag-chip {
        padding: var(--space-xs) 10px;
        font-size: var(--font-size-label);
    }

    .recommend-img-box {
        height: 130px;
        margin-bottom: 6px;
    }

    .recommend-title {
        min-height: 42px;
        margin-bottom: var(--space-sm);
        padding: 0 10px;
        font-size: var(--font-size-caption);
        line-height: var(--line-height-caption);
        -webkit-line-clamp: 2;
    }

    .price-tag-wrapper {
        flex-wrap: wrap;
        align-items: center;
        gap: var(--space-sm);
        padding: 0 10px 10px;
    }

    .tags {
        display: flex;
        flex: var(--z-base);
        flex-wrap: wrap;
        gap: 6px;
    }

    .tags .tag-chip {
        padding: 3px var(--space-sm);
        font-size: var(--font-size-mini);
    }

    .recommend-price {
        font-size: 15px;
    }
}

.toc-card .toc-content {
    padding: var(--space-md) var(--space-base);
    max-height: 360px;
    overflow-y: auto;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 7px 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-btn);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-border-light);
    transition: color 0.2s, padding-left 0.2s;
    cursor: pointer;
    line-height: var(--line-height-h3);
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-item:hover,
.toc-item.active {
    color: var(--color-primary);
}

.toc-item.active {
    font-weight: var(--font-weight-semibold);
}

.toc-item .toc-dot {
    width: var(--space-xs);
    height: var(--space-xs);
    border-radius: 50%;
    background: var(--color-text-disabled);
    flex-shrink: 0;
    transition: background 0.2s;
}

.toc-item:hover .toc-dot,
.toc-item.active .toc-dot {
    background: var(--color-primary);
}

.toc-item.level-2 {
    padding-left: 0;
    font-size: var(--font-size-btn);
}

.toc-item.level-3 {
    padding-left: 20px;
    font-size: var(--font-size-caption);
}

.toc-item.level-1 {
    padding-left: 0;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
}

.toc-content::-webkit-scrollbar {
    width: var(--space-xs);
}

.toc-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 0 var(--space-sm) 0px;
    }

    .main-content {
        padding: var(--space-md) 0;
    }

    .product-info-top h1 {
        font-size: var(--font-size-price);
    }

    .stats-bar {
        gap: var(--space-sm) 10px;
    }

    .stat-item {
        font-size: var(--font-size-label);
    }

    .promo-price {
        font-size: 24px;
    }

    .tab {
        font-size: var(--font-size-btn);
    }

    .faq-q {
        font-size: 15px;
    }

    .recommend-img-box {
        height: 116px;
    }
}

/* ====================== 阶段10.3：goodsinfo.html 内联样式提取 ====================== */
/* 商品主图（原 goods-cover 内联 width/height/object-fit/cursor） */
.goods-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

/* 图集箭头/缩略图初始隐藏（原内联 display:none；显隐由 detail.js 的 jQuery .show() 控制，会写入内联 display 覆盖本类） */
.gallery-arrows.is-hidden,
.gallery-thumbs.is-hidden {
    display: none;
}

/* 促销价标签（原内联 font-size/color/font-weight） */
.promo-label {
    font-size: 15px;
    color: #666;
    font-weight: 600;
}

/* 返积分提示中的金币图标颜色（原内联 color） */
.reward-hint .fa-coins {
    color: #e74c3c;
}

/* 积分兑换/抵扣表单与兄弟按钮同排（原内联 display:inline；覆盖 .btn-group > form 的 display:contents） */
.btn-group > form.form-inline {
    display: inline;
}

/* 商品标签标题前的标签图标（原内联 font-size/color；cloudTags.html 提取） */
.cloud-tag-icon {
    font-size: 16px;
    color: #d8373e;
}
