/* 产品容器 */
.product-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* 产品主图区域 */
.product-hero {
    height: 500px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 1rem;
}

.product-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    top: -50%;
    left: -50%;
}


.main-product-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.5s;
    cursor: pointer;
}

.product-container:hover .product-hero>img {
    transform: scale(1.01);
}


/* 主图导航按钮 */
.main-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-image-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.main-image-prev {
    left: 10px;
}

.main-image-next {
    right: 10px;
}

/* 产品缩略图 */
.thumbnail-container {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #fafafa;
    position: relative;
    margin: 1rem;
}

.thumbnail-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.thumbnail-wrapper::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnail-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.thumbnail-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.product-thumbnail {
    min-width: 80px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #85c9f9;
    transform: translateY(0px);
}

/* 缩略图导航按钮 */
.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.thumbnail-nav:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.thumbnail-nav-prev {
    left: 10px;
}

.thumbnail-nav-next {
    right: 10px;
}

.thumbnail-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.thumbnail-nav.disabled:hover {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 全屏图片查看器 */
.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

.fullscreen-viewer.active {
    display: flex;
    opacity: 1;
}

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

.fullscreen-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.fullscreen-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-prev {
    left: 30px;
}

.fullscreen-next {
    right: 30px;
}

.fullscreen-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.fullscreen-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.image-counter {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.2rem;
}

.navbar img {
    opacity: 1 !important;
}

.txz img {
    opacity: 1 !important;
}
.d-flex img {
    opacity: 1 !important;
}

/* 产品标题区域 */
.product-title-section {
    padding: 2rem;
    background: white;
}

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

.product-name {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.product-subtitle {
    font-size: 1.2rem;
    color: #454444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    background: #ffeee9;
    padding: 10px;
}

.product-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--danger-red);
    margin-right: 1rem;
}

.original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background-color: #ff4757;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1rem;
}

.product-features {
    margin-top: .6rem;
    margin-bottom: 1.6rem;
    margin-left: 1.6rem;
    margin-right: 1.6rem;
}

/* 产品特色 */
/* .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
} */

.productcontent{
    
}

/* 规格表格 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.specs-table td {
    padding: .86rem;
    border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark-color);
    width: 30%;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
}

.btn-primary-custom:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 110, 138, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
}

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

/* 响应式调整 */
@media (max-width: 992px) {
    .product-name {
        font-size: 2.2rem;
    }

    .product-hero {
        height: 400px;
    }

    .fullscreen-prev {
        left: 10px;
    }

    .fullscreen-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .product-name {
        font-size: 1.8rem;
    }

    .product-hero {
        height: 300px;
    }

    .main-image-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .fullscreen-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .fullscreen-prev {
        left: 10px;
    }

    .fullscreen-next {
        right: 10px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.3s ease-out;
}