 
.page {
    clear: both;
    margin: 50px 0px 20px 0px;
    text-align: center;
}

.page a {
    text-decoration: none;
    background-color: #dee2e6;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    border-radius: 4px;
    text-align: center;
    margin: 0 6px;
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    transition: .5s;
}

.page a:hover, .page a:focus {
    font-size: 15px;
    border: #7C9AB4 1px solid;
    color: #fff;
    background-color: #7C9AB4;
}

.page .current {
    border: #7C9AB4 1px solid;
    font-size: 15px;
    color: #fff;
    /*margin: 2px;*/
    background-color: #7C9AB4
}

#content-detail p{
     margin-bottom: 5px;
    line-height: 1.5;
}

#content-detail h2{
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 1.2;
}
#content-detail h3{
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 1.2;
}

   .product-gallery {
        position: relative;
    }
    .gallery-main {
        position: relative;
        width: 100%;
        padding-bottom: 100%;
        height: 0;
        overflow: hidden;
    }
    .gallery-main img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease;
    }
    .gallery-thumbs {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        overflow-x: auto;
    }
    .gallery-thumbs img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    .gallery-thumbs img.active {
        border-color: #FF9F1C;
    }
    .gallery-main video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #000;
        display: none;
    }
    .gallery-main video.active {
        display: block;
    }
    .gallery-main img.hidden {
        display: none;
    }
    .video-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 64px;
        height: 64px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 5;
        transition: all 0.3s ease;
        border: none;
        padding: 0;
    }
    .video-play-btn:hover {
        background: rgba(0, 0, 0, 0.7);
        transform: translate(-50%, -50%) scale(1.1);
    }
    .video-play-btn::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 22px solid white;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        margin-left: 6px;
    }
    .gallery-main.video-active .video-play-btn {
        display: flex;
    }
    .video-play-btn.playing {
        opacity: 0;
        pointer-events: none;
    }
    .gallery-thumbs .video-thumb {
        position: relative;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    .gallery-thumbs .video-thumb.active {
        border-color: #FF9F1C;
    }
    .gallery-thumbs .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .gallery-thumbs .video-thumb .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }
    .gallery-thumbs .video-thumb .play-icon::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 8px solid white;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        margin-left: 2px;
    }
    .gallery-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        z-index: 10;
    }
    .gallery-nav button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.8);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .gallery-nav button:hover {
        background: white;
        transform: scale(1.1);
    }
    #product-detail h2{
       margin-top: 10px;
       margin-bottom: 10px;
        font: 1.2em sans-serif; 
        font-weight: bold;
        color: #333;
    }

    /* ===== 产品参数表格样式 ===== */
.product-params {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.product-params tr {
    border-bottom: 1px solid #f1f5f9;
}

.product-params tr:last-child {
    border-bottom: none;
}

.product-params th {
    text-align: left;
    padding: 12px 16px 12px 0;
    width: 35%;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

.product-params td {
    padding: 12px 0 12px 16px;
    width: 65%;
    color: #1E293B;
    font-weight: 500;
    text-align: right;
}

/* ===== 响应式：小屏幕转为卡片样式 ===== */
@media (max-width: 640px) {
    .product-params {
        display: block;
    }
    
    .product-params tbody {
        display: block;
    }
    
    .product-params tr {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .product-params tr:last-child {
        border-bottom: none;
    }
    
    .product-params th {
        width: auto;
        padding: 0;
        white-space: normal;
        font-size: 0.9rem;
    }
    
    .product-params td {
        width: auto;
        padding: 0 0 0 16px;
        text-align: right;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    .sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}