:root {
    --ht-primary: #a41626;
    --ht-dark: #1a1a1a;
    --ht-light: #ffffff;
    --ht-gray: #8a8a8a;
    --ht-light-bg: #f8f9fa;
    --ht-border-radius: 8px;
    --ht-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --ht-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--ht-light);
    color: var(--ht-dark);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

.ht-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 20px 20px;
}


.ht-product-info video,
.ht-product-info iframe {
    display: none !important;
}
/* 头部样式 */
.ht-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--ht-transition);
}

.ht-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ht-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--ht-transition);
}

.ht-header.scrolled .ht-header-content {
    padding: 10px 0;
}

.ht-logo {
    display: flex;
    align-items: center;
}

.ht-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ht-primary), #c2185b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--ht-dark);
    letter-spacing: -0.5px;
}

.ht-logo-text span {
    color: var(--ht-primary);
}

.ht-nav {
    display: flex;
    list-style: none;
}

.ht-nav li {
    margin-left: 30px;
}

.ht-nav a {
    text-decoration: none;
    color: var(--ht-dark);
    font-weight: 500;
    transition: var(--ht-transition);
    padding: 8px 0;
    position: relative;
    font-size: 16px;
}

.ht-nav a:hover, .ht-nav a.ht-active {
    color: var(--ht-primary);
}

.ht-nav a.ht-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ht-primary);
}

.ht-nav-cta {
    background: var(--ht-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    margin-left: 30px;
    transition: var(--ht-transition);
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-nav-cta:hover {
    background: #a41626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(164, 22, 38, 0.4);
}

/* 面包屑导航 */
.ht-breadcrumb {
    background-color: #fff;
    /*padding: 12px 0;*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.ht-breadcrumb-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.ht-breadcrumb-content a {
    color: #808082;
    text-decoration: none;
    padding: 4px 8px;
    position: relative;
    transition: all 0.2s ease;
}

.ht-breadcrumb-content a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #a41626;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.ht-breadcrumb-content a:hover {
    color: #4a6ee0;
}

.ht-breadcrumb-content a:hover::after {
    width: 70%;
}

.ht-breadcrumb-content span.separator {
    color: #d1d9e6;
    margin: 0 2px;
}

.ht-breadcrumb-content .current {
    color: #2d3748;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .ht-breadcrumb {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .ht-breadcrumb-content {
        gap: 4px;
    }
    
    .ht-breadcrumb-content a {
        padding: 2px 6px;
    }
    
    .ht-breadcrumb-content .separator {
        transform: scale(0.8);
    }
}

/* 键盘导航支持 */
.ht-breadcrumb-content a:focus-visible {
    box-shadow: 0 0 0 3px rgba(102, 179, 255, 0.5);
}
/* 产品详情区域 */
.ht-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    /*margin-bottom: 80px;*/
}

.ht-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 产品图片区域样式 - 修复版 */
.ht-product-main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: var(--ht-shadow);
    position: relative;
    background: radial-gradient(ellipse at center, #ffffff, #a7a7a7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-product-main-image img {
    transition: opacity 0.2s ease !important;
    object-fit: contain;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    position: static;
    transform: none;
    top: auto;
    left: auto;
    margin: 0;
}

.ht-product-main-image img.fade-out {
    opacity: 0;
}

.ht-product-main-image img.fade-in {
    opacity: 1;
}

.ht-product-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    
    /* 添加以下样式实现最多显示5张图 */
    max-width:75%;
}

/* 为每个缩略图项设置固定宽度，确保一行最多显示5个 */
.ht-product-thumbnails > * {
    flex: 0 0 calc(20% - 12px); /* 每个项目占20%宽度减去部分gap */
    max-width: calc(20% - 12px);
    scroll-snap-align: start; /* 滚动时对齐 */
}

/* 可选：添加滚动条样式 */
.ht-product-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.ht-product-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.ht-product-thumbnails::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.ht-product-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.ht-product-thumbnail {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    position: relative;
}

.ht-product-thumbnail:hover {
    opacity: 1;
    border-color: var(--ht-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.2);
}

.ht-product-thumbnail.active {
    opacity: 1;
    border-color: var(--ht-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 缩略图添加悬停指示器 */
.ht-product-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ht-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ht-product-thumbnail:hover::after {
    transform: scaleX(1);
}

.ht-product-thumbnail.active::after {
    transform: scaleX(1);
}

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

.ht-product-category {
    color: var(--ht-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ht-product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ht-dark);
    line-height: 1.2;
}

/*.ht-product-description {
    color: var(--ht-gray);
    margin-bottom: 25px;
    font-size: 16px;
}*/

.ht-product-specs {
    background: var(--ht-light-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.ht-product-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-product-specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ht-product-spec {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.ht-product-spec i {
    color: var(--ht-primary);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.ht-product-spec span {
    font-size: 15px;
}

.ht-product-price {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.ht-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--ht-primary);
    margin-right: 15px;
}

.ht-price-note {
    color: var(--ht-gray);
    font-size: 14px;
}

.ht-product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.ht-btn {
    background: var(--ht-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    /*border-radius: 30px;*/
    cursor: pointer;
    transition: var(--ht-transition);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-btn:hover {
    background: #8a1120;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(164, 22, 38, 0.4);
}

.ht-btn-outline {
    background: transparent;
    border: 2px solid var(--ht-primary);
    color: var(--ht-primary);
    box-shadow: none;
}

.ht-btn-outline:hover {
    background: var(--ht-primary);
    color: white;
}

.ht-product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.ht-product-feature {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--ht-shadow);
    text-align: center;
    transition: var(--ht-transition);
}

.ht-product-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ht-product-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ht-primary), #c2185b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 15px rgba(164, 22, 38, 0.3);
}

.ht-product-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-product-feature p {
    font-size: 14px;
    color: var(--ht-gray);
}

/* 产品详情标签页 */
.ht-product-tabs {
    margin-bottom: 80px;
}

.ht-tab-headers {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.ht-tab-header {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ht-gray);
    cursor: pointer;
    transition: var(--ht-transition);
    border-bottom: 3px solid transparent;
}

.ht-tab-header.active {
    color: var(--ht-primary);
    border-bottom-color: var(--ht-primary);
}

.ht-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ht-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ht-tab-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-tab-content p {
    margin-bottom: 15px;
    color: var(--ht-gray);
    line-height: 1.7;
}

.ht-tab-content ul {
    margin-bottom: 20px;
    /*padding-left: 20px;*/
}

.ht-tab-content li {
    margin-bottom: 8px;
    color: var(--ht-gray);
}

/* 相关产品 */
.ht-related-products {
    margin-bottom: 80px;
}

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

.ht-section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--ht-dark);
    letter-spacing: -1px;
}

.ht-section-title p {
    font-size: 18px;
    color: var(--ht-gray);
    max-width: 700px;
    margin: 0 auto;
}

.ht-section-title .ht-divider {
    width: 80px;
    height: 4px;
    background: var(--ht-primary);
    margin: 20px auto;
    border-radius: 2px;
}

.ht-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.ht-product-card-link {
    flex: 0 0 calc(25% - 19px); /* 25%宽度减去间隙的部分 */
    /* 计算：100% / 4 = 25%，但gap会占用额外空间 */
    /* 实际计算：25% - (25px * (4-1) / 4) ≈ 25% - 18.75px */
    min-width: 250px; /* 设置最小宽度防止过小 */
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .ht-product-card-link {
        flex: 0 0 calc(33.333% - 17px); /* 3列 */
    }
}

@media (max-width: 768px) {
    .ht-product-card-link {
        flex: 0 0 calc(50% - 13px); /* 2列 */
    }
}

@media (max-width: 480px) {
    .ht-product-card-link {
        flex: 0 0 100%; /* 1列 */
    }
}

.ht-product-card {
    background: white;
    /*border-radius: 16px;*/
    overflow: hidden;
    box-shadow: var(--ht-shadow);
    transition: var(--ht-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.ht-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.ht-product-card-img {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #ffffff, #a7a7a7);
}

.ht-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ht-transition);
    max-width: 80%;
    max-height: 80%;
}

.ht-product-card:hover .ht-product-card-img img {
    transform: scale(1.05);
}

.ht-product-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ht-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.ht-product-card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ht-product-card-category {
    color: var(--ht-primary);
    font-size: 11px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ht-product-card-name {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--ht-dark);
    line-height: 1.3;
    font-weight: 600;
}

.ht-product-card-specs {
    list-style: none;
    margin-bottom: 15px;
    flex-grow: 1;
}

.ht-product-card-specs li {
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--ht-gray);
    display: flex;
    align-items: center;
}

.ht-product-card-specs li i {
    margin-right: 8px;
    color: var(--ht-primary);
    font-size: 11px;
}

.ht-product-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    justify-content: center;
}

.ht-product-card-price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--ht-primary);
}

.ht-product-card-btn {
    background: var(--ht-primary);
    color: white;
    border: none;
    padding: 10px 45px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--ht-transition);
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ht-product-card-btn:hover {
    background: #8a1120;
    transform: translateY(-2px);
}

/* 页脚 */
.ht-footer {
    background: var(--ht-dark);
    color: white;
    padding: 70px 0 25px;
}

.ht-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 40px;
}

.ht-footer-col h3 {
    font-size: 17px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: white;
    font-weight: 600;
}

.ht-footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--ht-primary);
}

.ht-footer-links {
    list-style: none;
}

.ht-footer-links li {
    margin-bottom: 10px;
}

.ht-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--ht-transition);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.ht-footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.ht-footer-links a i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.ht-contact {
    list-style: none;
}

.ht-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.ht-contact i {
    margin-right: 10px;
    color: var(--ht-primary);
    min-width: 18px;
    margin-top: 3px;
}

.ht-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 切换按钮样式 */
.ht-gallery-prev,
.ht-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ht-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0;
}

.ht-gallery-prev {
    left: 20px;
}

.ht-gallery-next {
    right: 20px;
}

.ht-product-main-image:hover .ht-gallery-prev,
.ht-product-main-image:hover .ht-gallery-next {
    opacity: 1;
}

.ht-gallery-prev:hover,
.ht-gallery-next:hover {
    background: var(--ht-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.ht-gallery-prev:active,
.ht-gallery-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* 放大按钮样式 */
.ht-gallery-zoom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ht-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0;
}

.ht-product-main-image:hover .ht-gallery-zoom {
    opacity: 1;
}

.ht-gallery-zoom:hover {
    background: var(--ht-primary);
    color: white;
    transform: scale(1.1);
}

.ht-gallery-zoom:active {
    transform: scale(0.95);
}

/* 灯箱样式 - 修改：移除缩放效果 */
.ht-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #ffffff, #a7a7a7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ht-lightbox.active {
    display: flex;
    opacity: 1;
}

.ht-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 灯箱样式 - 修复版 */
.ht-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.2s ease !important;
    opacity: 1;
    width: auto;
    height: auto;
    position: static;
    transform: none;
}

.ht-lightbox.active .ht-lightbox-content img {
    opacity: 1;
}

/* 灯箱按钮样式 */
.ht-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--ht-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ht-lightbox-close:hover {
    background: var(--ht-primary);
    transform: scale(1.1);
}

.ht-lightbox-prev,
.ht-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--ht-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ht-lightbox-prev {
    left: -80px;
}

.ht-lightbox-next {
    right: -80px;
}

.ht-lightbox-prev:hover,
.ht-lightbox-next:hover {
    background: var(--ht-primary);
    transform: translateY(-50%) scale(1.1);
}

.ht-lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

/* 下载资料弹窗样式 - 优化版 */
.ht-download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(8px); /* 背景虚化效果 */
}

.ht-download-modal.active {
    display: flex;
    opacity: 1;
}

.ht-download-content {
    background: white;
    border-radius: 16px;
    width: 85%;
    max-width: 500px; /* 缩小最大宽度 */
    max-height: 70vh; /* 缩小高度 */
    overflow: hidden;
    transform: scale(0.7) translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ht-download-modal.active .ht-download-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.ht-download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px; /* 减小内边距 */
    background: linear-gradient(135deg, var(--ht-primary), #c2185b);
    color: white;
    position: relative;
}

.ht-download-logo {
    display: flex;
    align-items: center;
}

.ht-download-logo .ht-logo-icon {
    width: 35px; /* 缩小logo */
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
}

.ht-download-logo .ht-logo-text {
    font-size: 18px; /* 缩小字体 */
    font-weight: 700;
    color: white;
}

.ht-download-logo .ht-logo-text span {
    color: rgba(255, 255, 255, 0.9);
}

.ht-download-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px; /* 缩小关闭按钮 */
    height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--ht-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ht-download-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ht-download-body {
    padding: 25px; /* 减小内边距 */
    max-height: 350px; /* 缩小最大高度 */
    overflow-y: auto;
    /* 隐藏滚动条但保持滚动功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.ht-download-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.ht-download-body h3 {
    font-size: 20px; /* 缩小标题 */
    margin-bottom: 6px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-download-desc {
    color: var(--ht-gray);
    margin-bottom: 20px; /* 减小间距 */
    font-size: 14px; /* 缩小字体 */
}

.ht-download-list {
    display: flex;
    flex-direction: column;
    gap: 12px; /* 减小间距 */
}

.ht-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px; /* 减小内边距 */
    background: var(--ht-light-bg);
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: var(--ht-transition);
}

.ht-download-item:hover {
    border-color: var(--ht-primary);
    transform: translateY(-1px); /* 减小悬停移动距离 */
    box-shadow: 0 3px 8px rgba(164, 22, 38, 0.1);
}

.ht-download-info {
    display: flex;
    align-items: center;
    gap: 12px; /* 减小间距 */
    flex: 1;
}

.ht-download-number {
    width: 28px; /* 缩小序号圆圈 */
    height: 28px;
    background: var(--ht-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.ht-download-details h4 {
    font-size: 15px; /* 缩小字体 */
    margin-bottom: 3px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-download-details p {
    font-size: 12px; /* 缩小字体 */
    color: var(--ht-gray);
    margin: 0;
}

.ht-download-btn {
    background: var(--ht-primary);
    color: white;
    border: none;
    padding: 8px 16px; /* 减小内边距 */
    border-radius: 20px;
    cursor: pointer;
    transition: var(--ht-transition);
    font-weight: 500;
    font-size: 13px; /* 缩小字体 */
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ht-download-btn:hover {
    background: #8a1120;
    transform: translateY(-1px); /* 减小悬停移动距离 */
    box-shadow: 0 3px 8px rgba(164, 22, 38, 0.3);
}

.ht-download-btn:active {
    transform: translateY(0);
}

/* 没有资料时的样式 */
.ht-no-downloads {
    text-align: center;
    padding: 40px 25px; /* 减小内边距 */
    color: var(--ht-gray);
}

.ht-no-downloads i {
    font-size: 40px; /* 缩小图标 */
    color: var(--ht-gray);
    margin-bottom: 15px;
    opacity: 0.5;
}

.ht-no-downloads h4 {
    font-size: 16px; /* 缩小字体 */
    margin-bottom: 8px;
    color: var(--ht-dark);
}

.ht-no-downloads p {
    margin-bottom: 20px; /* 减小间距 */
    font-size: 13px; /* 缩小字体 */
}

/* 商品详情顶部横幅样式 */
.ht-product-hero {
    background: linear-gradient(135deg, #8a8a8a 0%, #afafaf 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

.ht-product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ht-product-hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.ht-product-hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.ht-product-hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ht-product-hero-image {
    text-align: center;
}

.ht-product-hero-image img {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 动画效果 */
.ht-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: htFadeInUp 0.8s ease forwards;
}

.ht-fade-in:nth-child(1) { animation-delay: 0.1s; }
.ht-fade-in:nth-child(2) { animation-delay: 0.3s; }
.ht-fade-in:nth-child(3) { animation-delay: 0.5s; }

@keyframes htFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*产品推荐新增样式*/
.ht-product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ht-product-card-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .ht-product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ht-products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ht-product-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ht-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-product-specs-list {
        grid-template-columns: 1fr;
    }
    
    .ht-product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .ht-product-hero-text h1 {
        font-size: 36px;
    }
    
    .ht-product-hero-btns {
        justify-content: center;
    }
    
    .ht-product-hero-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .ht-header-content {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .ht-logo {
        margin-bottom: 15px;
    }
    
    .ht-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ht-nav li {
        margin: 0 10px 10px;
    }
    
    .ht-products {
        grid-template-columns: 1fr;
    }
    
    .ht-product-features {
        grid-template-columns: 1fr;
    }
    
    .ht-tab-headers {
        flex-direction: column;
    }
    
    .ht-product-actions {
        flex-direction: column;
    }
    
    .ht-btn {
        justify-content: center;
    }
    
    .ht-product-hero {
        padding: 60px 0;
    }
    
    .ht-product-hero-text h1 {
        font-size: 32px;
    }
    
    .ht-product-hero-text p {
        font-size: 16px;
    }
    
    .ht-product-hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .ht-product-hero-btns .ht-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .ht-lightbox-prev {
        left: 10px;
    }
    
    .ht-lightbox-next {
        right: 10px;
    }
    
    .ht-lightbox-prev,
    .ht-lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .ht-lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .ht-lightbox-counter {
        bottom: 10px;
    }
    
    .ht-download-content {
        width: 90%;
        margin: 15px;
        max-height: 65vh;
    }
    
    .ht-download-header {
        padding: 18px 20px;
    }
    
    .ht-download-body {
        padding: 20px;
        max-height: 300px;
    }
    
    .ht-download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 8px 16px;
    }
    
    .ht-download-btn {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .ht-footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ht-download-content {
        width: 95%;
        max-height: 60vh;
    }
    
    .ht-download-header {
        padding: 15px 18px;
    }
    
    .ht-download-body {
        padding: 18px;
        max-height: 280px;
    }
}

/* ====== 表格容器通用样式 ====== */
.table-wrapper {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

/* ====== 表格标题样式优化 ====== */
#specifications h3,
#applications h3,
#support h3 {
  font-family: "微软雅黑", "Microsoft YaHei", sans-serif !important;
  font-size: 20px; /* 减小字号 */
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0; /* 减少下边距 */
  padding: 0; /* 移除内边距 */
  border: none; /* 移除边框 */
  position: relative;
  text-align: center; /* 居中显示 */
  display: block; /* 改为块级元素 */
  letter-spacing: 0.3px;
  line-height: 1.3;
}

/* 不同表格标题颜色 */
#specifications h3 {
  color: #a41626;
}

#applications h3 {
  color: #1565c0;
}

#support h3 {
  color: #2e7d32;
}

/* 移除标题装饰线 */
#specifications h3::after,
#applications h3::after,
#support h3::after {
  display: none;
}

/* ====== 表格主体样式 ====== */
#specifications table,
#applications table,
#support table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto; /* 关键：自动列宽分配 */
  font-family: "微软雅黑", "Microsoft YaHei", sans-serif !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 0;
  background: white;
}

/* 覆盖所有表格内字体 */
#specifications table *,
#applications table *,
#support table * {
  font-family: "微软雅黑", "Microsoft YaHei", sans-serif !important;
}

/* ====== 表头样式 ====== */
#specifications table tr.firstRow,
#applications table tr.firstRow,
#support table tr.firstRow {
  background: none;
}

#specifications table tr.firstRow td,
#applications table tr.firstRow td,
#support table tr.firstRow td {
  border: none !important;
  padding: 18px 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: 0.5px;
  position: relative;
}

/* 不同表格表头颜色 */
#specifications table tr.firstRow td {
  background: linear-gradient(135deg, #a41626 0%, #d32f2f 100%) !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#applications table tr.firstRow td {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%) !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#support table tr.firstRow td {
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%) !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 表头分隔线 */
#specifications table tr.firstRow td:not(:last-child)::after,
#applications table tr.firstRow td:not(:last-child)::after,
#support table tr.firstRow td:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* ====== 数据行样式 ====== */

/* 通用单元格样式 */
#specifications table tr:not(.firstRow) td,
#applications table tr:not(.firstRow) td,
#support table tr:not(.firstRow) td {
  border: 1px solid #eef2f7 !important;
  padding: 16px 14px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  vertical-align: middle !important;
  transition: all 0.3s ease;
  position: relative;
}

/* 项目列（第一列）- 智能宽度 */
#specifications table tr:not(.firstRow) td:first-child,
#applications table tr:not(.firstRow) td:first-child,
#support table tr:not(.firstRow) td:first-child {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  color: #2c3e50 !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding-left: 20px !important;
  width: auto; /* 自动宽度 */
  min-width: 65px; /* 最小宽度 */
  max-width: 280px; /* 最大宽度 */
  border-right: 2px solid #e1e8f0 !important;
  text-align: center !important;
}

/* 项目列装饰条 */
#specifications table tr:not(.firstRow) td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #a41626;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#applications table tr:not(.firstRow) td:first-child::before {
  background: #1565c0;
}

#support table tr:not(.firstRow) td:first-child::before {
  background: #2e7d32;
}

/* 内容列（其他列） */
#specifications table tr:not(.firstRow) td:not(:first-child),
#applications table tr:not(.firstRow) td:not(:first-child),
#support table tr:not(.firstRow) td:not(:first-child) {
  background: white !important;
  color: #4a5568 !important;
  text-align: left !important;
  font-weight: 500 !important;
  width: auto; /* 自动宽度分配 */
  min-width: 65px; /* 最小宽度保证可读性 */
  text-align: center !important;
}

/* ====== 智能列宽分配 ====== */

/* 针对不同表格的列数进行智能分配 */
/* 2列表格 */
#specifications table[cols="2"] tr:not(.firstRow) td:first-child,
#applications table[cols="2"] tr:not(.firstRow) td:first-child,
#support table[cols="2"] tr:not(.firstRow) td:first-child {
  width: 30%;
  min-width: 200px;
  max-width: 250px;
}

/* 3列表格 */
#specifications table[cols="3"] tr:not(.firstRow) td:first-child,
#applications table[cols="3"] tr:not(.firstRow) td:first-child,
#support table[cols="3"] tr:not(.firstRow) td:first-child {
  width: 25%;
  min-width: 180px;
  max-width: 220px;
}

/* 4列及以上表格 */
#specifications table[cols="4"] tr:not(.firstRow) td:first-child,
#applications table[cols="4"] tr:not(.firstRow) td:first-child,
#support table[cols="4"] tr:not(.firstRow) td:first-child,
#specifications table[cols="5"] tr:not(.firstRow) td:first-child,
#applications table[cols="5"] tr:not(.firstRow) td:first-child,
#support table[cols="5"] tr:not(.firstRow) td:first-child {
  width: 20%;
  min-width: 150px;
  max-width: 200px;
}

/* ====== 悬停效果 ====== */
#specifications table tr:not(.firstRow):hover td,
#applications table tr:not(.firstRow):hover td,
#support table tr:not(.firstRow):hover td {
  background-color: rgba(164, 22, 38, 0.05) !important;
}

#specifications table tr:not(.firstRow):hover td:first-child {
  background: linear-gradient(135deg, #f1f5f9 0%, #e8f0fa 100%) !important;
  color: #a41626 !important;
  border-right-color: #a41626 !important;
}

#applications table tr:not(.firstRow):hover td:first-child {
  background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%) !important;
  color: #1565c0 !important;
  border-right-color: #1565c0 !important;
}

#support table tr:not(.firstRow):hover td:first-child {
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%) !important;
  color: #2e7d32 !important;
  border-right-color: #2e7d32 !important;
}

/* 悬停时显示装饰条 */
#specifications table tr:not(.firstRow):hover td:first-child::before,
#applications table tr:not(.firstRow):hover td:first-child::before,
#support table tr:not(.firstRow):hover td:first-child::before {
  opacity: 1;
}

/* ====== 交替行背景 ====== */
#specifications table tr:nth-child(even):not(.firstRow) td:first-child,
#applications table tr:nth-child(even):not(.firstRow) td:first-child,
#support table tr:nth-child(even):not(.firstRow) td:first-child {
  background: linear-gradient(135deg, #f4f7fb 0%, #edf1f7 100%) !important;
}

#specifications table tr:nth-child(even):not(.firstRow) td:not(:first-child),
#applications table tr:nth-child(even):not(.firstRow) td:not(:first-child),
#support table tr:nth-child(even):not(.firstRow) td:not(:first-child) {
  background: #fafcff !important;
  text-align: center !important;
}

/* ====== 表格内容优化 ====== */
#specifications table td,
#applications table td,
#support table td {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  line-height: 1.6 !important;
  min-height: 52px;
  box-sizing: border-box;
}

/* 内容过多时的优雅处理 */
#specifications table td.content-overflow,
#applications table td.content-overflow,
#support table td.content-overflow {
  position: relative;
  max-height: 100px;
  overflow: hidden;
}

#specifications table td.content-overflow::after,
#applications table td.content-overflow::after,
#support table td.content-overflow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(transparent, white);
}

/* ====== 响应式设计 ====== */

/* 中等屏幕 */
@media screen and (max-width: 1200px) {
  #specifications h3,
  #applications h3,
  #support h3 {
    font-size: 19px;
  }
  
  #specifications table td,
  #applications table td,
  #support table td {
    padding: 14px 12px !important;
    font-size: 14.5px !important;
  }
  
  #specifications table tr.firstRow td,
  #applications table tr.firstRow td,
  #support table tr.firstRow td {
    padding: 16px 14px !important;
    font-size: 15px !important;
  }
}

/* 平板 */
@media screen and (max-width: 992px) {
  #specifications h3,
  #applications h3,
  #support h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  #specifications table td,
  #applications table td,
  #support table td {
    padding: 12px 10px !important;
    font-size: 14px !important;
  }
  
  #specifications table tr.firstRow td,
  #applications table tr.firstRow td,
  #support table tr.firstRow td {
    padding: 14px 12px !important;
    font-size: 14.5px !important;
  }
  
  /* 调整列宽 */
  #specifications table tr:not(.firstRow) td:first-child,
  #applications table tr:not(.firstRow) td:first-child,
  #support table tr:not(.firstRow) td:first-child {
    min-width: 180px;
    max-width: 240px;
  }
}

/* 手机横屏 */
@media screen and (max-width: 768px) {
  .table-wrapper {
    margin-bottom: 25px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #specifications table,
  #applications table,
  #support table {
    min-width: 700px; /* 确保表格有最小宽度，可以水平滚动 */
    border-radius: 8px;
  }
  
  #specifications h3,
  #applications h3,
  #support h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }
  
  #specifications table td,
  #applications table td,
  #support table td {
    padding: 11px 9px !important;
    font-size: 13.5px !important;
  }
  
  #specifications table tr.firstRow td,
  #applications table tr.firstRow td,
  #support table tr.firstRow td {
    padding: 14px 10px !important;
    font-size: 14px !important;
  }
  
  #specifications table tr:not(.firstRow) td:first-child,
  #applications table tr:not(.firstRow) td:first-child,
  #support table tr:not(.firstRow) td:first-child {
    min-width: 160px;
    max-width: 200px;
    padding-left: 16px !important;
  }
}

/* 手机竖屏 */
@media screen and (max-width: 576px) {
  #specifications table,
  #applications table,
  #support table {
    min-width: 600px;
  }
  
  #specifications h3,
  #applications h3,
  #support h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  #specifications table td,
  #applications table td,
  #support table td {
    padding: 10px 8px !important;
    font-size: 13px !important;
    min-height: 48px;
  }
  
  #specifications table tr.firstRow td,
  #applications table tr.firstRow td,
  #support table tr.firstRow td {
    padding: 12px 8px !important;
    font-size: 13.5px !important;
  }
  
  #specifications table tr:not(.firstRow) td:first-child,
  #applications table tr:not(.firstRow) td:first-child,
  #support table tr:not(.firstRow) td:first-child {
    min-width: 140px;
    max-width: 180px;
    padding-left: 14px !important;
  }
}

/* 超小屏幕 */
@media screen and (max-width: 480px) {
  #specifications table,
  #applications table,
  #support table {
    min-width: 550px;
  }
  
  #specifications h3,
  #applications h3,
  #support h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  #specifications table td,
  #applications table td,
  #support table td {
    padding: 9px 7px !important;
    font-size: 12.5px !important;
  }
  
  #specifications table tr.firstRow td,
  #applications table tr.firstRow td,
  #support table tr.firstRow td {
    padding: 11px 7px !important;
    font-size: 13px !important;
  }
}

/* ====== 打印优化 ====== */
@media print {
  #specifications table,
  #applications table,
  #support table {
    box-shadow: none;
    border: 1px solid #ddd;
    min-width: 100% !important;
  }
  
  #specifications table tr.firstRow td,
  #applications table tr.firstRow td,
  #support table tr.firstRow td {
    background: #a41626 !important;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
  
  #specifications table tr:not(.firstRow) td:first-child,
  #applications table tr:not(.firstRow) td:first-child,
  #support table tr:not(.firstRow) td:first-child {
    background: #f8f9fa !important;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }
}

/* ====== 动画效果 ====== */
#specifications table,
#applications table,
#support table {
  animation: tableSlideIn 0.5s ease-out;
}

@keyframes tableSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 产品图片区域样式 - 固定尺寸版 */
.ht-product-main-image {
    width: 687px;
    height: 400px;
    overflow: hidden;
    box-shadow: var(--ht-shadow);
    position: relative;
    background: radial-gradient(ellipse at center, #ffffff, #a7a7a7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 固定所有图片尺寸 */
.ht-product-main-image img {
    transition: opacity 0.2s ease !important;
    object-fit: contain;
    width: 80%; /* 固定宽度比例 */
    height: 80%; /* 固定高度比例 */
    max-width: 80%; /* 限制最大宽度 */
    max-height: 80%; /* 限制最大高度 */
    position: static;
    transform: none;
    top: auto;
    left: auto;
    margin: 0;
}

.ht-product-main-image img.fade-out {
    opacity: 0;
}

.ht-product-main-image img.fade-in {
    opacity: 1;
}

/* 灯箱图片也固定尺寸 */
.ht-lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.2s ease !important;
    opacity: 1;
    width: auto;
    height: auto;
    position: static;
    transform: none;
}

/* 缩略图也统一尺寸 */
.ht-product-thumbnail {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    position: relative;
}

.ht-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 相关产品图片也固定尺寸 */
.ht-product-card-img {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #ffffff, #a7a7a7);
    height: 190px; /* 固定高度 */
}

.ht-product-card-img img {
    width: 80%; /* 固定宽度 */
    height: 80%; /* 固定高度 */
    object-fit: contain; /* 保持比例 */
    transition: var(--ht-transition);
    max-width: 80%;
    max-height: 80%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ht-product-main-image {
        height: 300px; /* 移动端调整高度 */
    }
    
    .ht-product-main-image img {
        width: 85%; /* 移动端稍微放大一点 */
        height: 85%;
        max-width: 85%;
        max-height: 85%;
    }
    
    .ht-product-card-img {
        height: 200px; /* 移动端调整高度 */
    }
    
    .ht-lightbox-content img {
        max-width: 85%;
        max-height: 85%;
    }
}