.case-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.case-wheel-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #e63946;
    margin-bottom: 25px;
    border-left: 5px solid #e63946;
    padding-left: 20px;
}
.case-gallery-area {
    margin-bottom: 50px;
}
.main-image-wrapper {
    position: relative;
    text-align: center;
    background: #f8f8f8;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
#mainCaseImage {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    cursor: pointer;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 28px;
    padding: 6px 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    transition: 0.2s;
}
.gallery-nav:hover {
    background: #e63946;
}
.prev {
    left: 15px;
}
.next {
    right: 15px;
}
.thumbnail-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.thumbnail-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 8px 0;
    flex: 1;
}
.thumbnail-item {
    flex: 0 0 90px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: 0.2s;
    overflow: hidden;
}
.thumbnail-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}
.thumbnail-item.active {
    border-color: #e63946;
    transform: scale(0.98);
}
.scroll-arrow {
    background: #ddd;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}
.scroll-arrow:hover {
    background: #e63946;
    color: white;
}
.vehicle-highlights {
    margin-top: 40px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 24px;
}
.vehicle-highlights h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000;
    border-left: 4px solid #e63946;
    padding-left: 15px;
}
.highlights-content {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== 新增详情内容区域样式 ===== */
.case-detail-content {
    margin-top: 35px;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.detail-content-inner {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}
.detail-content-inner p:last-child {
    margin-bottom: 0;
}

/* ===== Related Galleries 通屏滚动样式 ===== */
.related-galleries-section {
    margin: 60px 0 40px;
    width: 100%;
}
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding: 0 10px;
}
.related-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    border-left: 4px solid #e63946;
    padding-left: 15px;
}
.more-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e63946;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px solid transparent;
}
.more-link:hover {
    color: #c1121f;
    border-bottom-color: #c1121f;
}
.related-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 8px 4px 16px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.related-track::-webkit-scrollbar {
    height: 6px;
}
.related-track::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.related-track::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
.related-card {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}
.related-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}
.related-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.related-card:hover .related-card-image img {
    transform: scale(1.03);
}
.related-card-info {
    padding: 14px 12px 16px;
}
.related-vehicle-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-wheel-name {
    font-size: 0.85rem;
    color: #e63946;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-scroll-arrow {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.related-scroll-arrow:hover {
    background: #e63946;
    color: white;
}

/* ===== 悬浮灯箱 Lightbox 样式 ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}
.lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}
.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    font-size: 36px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    background: rgba(0,0,0,0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover {
    background: #e63946;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 32px;
    padding: 6px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.2s;
}
.lightbox-nav:hover {
    background: #e63946;
}
.lightbox-prev {
    left: -60px;
}
.lightbox-next {
    right: -60px;
}

@media (max-width: 768px) {
    .thumbnail-item {
        flex: 0 0 70px;
    }
    .thumbnail-item img {
        height: 55px;
    }
    .case-wheel-name {
        font-size: 1.3rem;
    }
    .gallery-nav {
        padding: 6px 12px;
        font-size: 22px;
    }
    .case-detail-content {
        padding: 18px 20px;
        margin-top: 25px;
    }
    .related-card {
        flex: 0 0 210px;
    }
    .related-card-image {
        height: 150px;
    }
    .related-scroll-arrow {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .related-title {
        font-size: 1.4rem;
    }
    .more-link {
        font-size: 0.8rem;
    }
    .lightbox-nav {
        font-size: 24px;
        padding: 8px 12px;
    }
    .lightbox-prev {
        left: -20px;
    }
    .lightbox-next {
        right: -20px;
    }
    .lightbox-close {
        top: -30px;
        right: -10px;
        font-size: 28px;
        width: 36px;
        height: 36px;
    }
}
/* ===== 相关产品（Wheels）滚动区域 ===== */
.related-products-section {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.related-products-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.related-products-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    border-left: 4px solid #e63946;
    padding-left: 15px;
}
.product-arrows {
    display: flex;
    gap: 12px;
}
.product-scroll-arrow {
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.product-scroll-arrow:hover {
    background: #e63946;
    color: white;
}
.product-scroll-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.product-track {
    display: flex;
    gap: 24px;
    padding: 8px 4px 20px;
}
.product-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.product-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}
.product-card-image {
    width: 100%;
    /*height: 180px;*/
    overflow: hidden;
    background: #f5f5f5;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card:hover .product-card-image img {
    transform: scale(1.03);
}
.product-card-info {
    padding: 14px 12px 16px;
}
.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* 移动端适配：单卡片居中 + 卡片宽度占屏幕大部分 */
@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(90vw - 40px);
        scroll-snap-align: center;
    }
    .product-card-image {
        /*height: 200px;*/
    }
    .product-title {
        font-size: 0.95rem;
        white-space: normal;
        text-align: center;
    }
    .product-arrows {
        gap: 8px;
    }
    .product-scroll-arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .related-products-title {
        font-size: 1.3rem;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        flex: 0 0 240px;
    }
}
/* ===== Site Reviews 评论区样式 ===== */
.site-reviews-wrapper {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 表单容器 */
.site-reviews-wrapper .glsr-form {
    background: #fff;
    border-radius: 20px;
    padding: 28px 30px;
    margin-bottom: 48px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}
.site-reviews-wrapper .glsr-form h2,
.site-reviews-wrapper .glsr-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #e63946;
}
.site-reviews-wrapper .glsr-field {
    margin-bottom: 20px;
}
.site-reviews-wrapper .glsr-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1e1e1e;
}
.site-reviews-wrapper .glsr-label .glsr-required {
    color: #e63946;
}
.site-reviews-wrapper input:not([type="submit"]),
.site-reviews-wrapper select,
.site-reviews-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
}
.site-reviews-wrapper input:not([type="submit"]):focus,
.site-reviews-wrapper select:focus,
.site-reviews-wrapper textarea:focus {
    border-color: #e63946;
    outline: none;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.site-reviews-wrapper .glsr-button {
    background: #e63946;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
}
.site-reviews-wrapper .glsr-button:hover {
    background: #c1121f;
    transform: translateY(-2px);
}
/* 星级评分 (小星星) */
.site-reviews-wrapper .glsr-star-rating--stars {
    font-size: 1.4rem;
    letter-spacing: 4px;
}
.site-reviews-wrapper .glsr-star-empty:before {
    color: #ccc;
}
.site-reviews-wrapper .glsr-star-rating--stars .glsr-star-rating--scores {
    color: #e63946;
}

/* 评论列表卡片样式 */
.site-reviews-wrapper .glsr-reviews-wrap {
    margin-top: 20px;
}
.site-reviews-wrapper .glsr-review {
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f0f0f0;
}
.site-reviews-wrapper .glsr-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.site-reviews-wrapper .glsr-review-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}
.site-reviews-wrapper .glsr-review-rating {
    margin-bottom: 12px;
}
.site-reviews-wrapper .glsr-review-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3a3a3a;
    margin-bottom: 16px;
}
.site-reviews-wrapper .glsr-review-author {
    font-weight: 500;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 14px;
    margin-top: 8px;
}
.site-reviews-wrapper .glsr-review-date {
    font-size: 0.8rem;
    color: #999;
}

/* 分页样式 */
.site-reviews-wrapper .glsr-pagination {
    margin: 30px 0 20px;
    text-align: center;
}
.site-reviews-wrapper .glsr-pagination .page-numbers {
    display: inline-block;
    background: #f5f5f5;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 40px;
    margin: 0 4px;
    font-weight: 500;
    transition: 0.2s;
    color: #333;
    text-decoration: none;
}
.site-reviews-wrapper .glsr-pagination .page-numbers.current {
    background: #e63946;
    color: white;
}
.site-reviews-wrapper .glsr-pagination .page-numbers:hover:not(.current) {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* 无评论提示 */
.site-reviews-wrapper .glsr-review-not-found {
    text-align: center;
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 24px;
    color: #777;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .site-reviews-wrapper {
        margin-top: 32px;
    }
    .site-reviews-wrapper .glsr-form {
        padding: 20px;
    }
    .site-reviews-wrapper .glsr-review {
        padding: 18px 20px;
    }
    .site-reviews-wrapper .glsr-form h2,
    .site-reviews-wrapper .glsr-form h3 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    .site-reviews-wrapper input:not([type="submit"]),
    .site-reviews-wrapper select,
    .site-reviews-wrapper textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .site-reviews-wrapper .glsr-button {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .site-reviews-wrapper .glsr-pagination .page-numbers {
        width: 36px;
        height: 36px;
        line-height: 36px;
        margin: 0 2px;
    }
    .site-reviews-wrapper .glsr-review-title {
        font-size: 1rem;
    }
}