/*产品详情页样式*/
:root {
    --primary-color: #ffb600; /* 核心黄色 */
    --secondary-color: #e0a800;
    --accent-color: #ff6b00;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 0px; /* 修改：圆角改为0 */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --info-border-color: #bbbbbb;
    --breadcrumb-border-color: #eee;
}

/* 基础样式重置 - 统一风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* 基准字体大小 */
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* 仅保留购买按钮的黄色主题 */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 182, 0, 0.3);
}

/* 内页横幅样式 - 统一风格 */
#banner-area {
    position: relative;
    height: 400px; /* 与参考代码轮播图高度一致 */
    background-size: cover;
    background-position: center;
    width: 100%;
    overflow: hidden;
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
}

/* 面包屑导航样式 - 核心修改：参考提供的代码风格 */
.breadcrumb-container {
    padding: 0.625rem 0; /* 10px 转 rem */
    margin-top: 1.25rem; /* 20px 转 rem */
    margin-bottom: 1.25rem; /* 20px 转 rem */
    border-bottom: 1px solid var(--breadcrumb-border-color);
    width: 100%;
}

.banner-heading {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
}

.banner-heading nav {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 0px; /* 修改：圆角改为0 */
    display: inline-block;
}

.banner-heading nav a {
    color: #fff !important;
}

.banner-heading nav a:hover {
    color: var(--primary-color) !important;
}

/* 面包屑导航容器 - 关键调整：与参考代码保持一致 */
.breadcrumb-standalone {
    width: 100%;
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 15px;
}

.breadcrumb-standalone .container {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* 产品展示区 */
.product-details {
    padding: 5px 0;
}

/* 核心调整：产品信息+图片 横向容器 */
.product-top-wrapper {
    background: #fff;
    border-radius: var(--border-radius); /* 已改为0 */
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--info-border-color);
}

/* 产品信息区 */
.product-info {
    flex: 1;
    min-width: 320px;
    padding: 15px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-right: none;
    border-radius: 0 0 0 0; /* 修改：圆角改为0 */
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
}

.product-subtitle {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 12px;
    font-weight: 400;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-color);
}

.product-meta i {
    margin-right: 8px;
    color: #ffb600;
}

/* 核心调整：价格+按钮同排布局 */
.price-action-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.product-price {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
}

.product-price .original-price {
    font-size: 14px !important;
    color: var(--gray-color);
    text-decoration: line-through;
    margin-left: 10px;
}

/* 核心调整：标签自动换行 */
.product-tags {
    display: flex;
    flex-wrap: wrap !important;
    gap: 8px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.tag {
    padding: 6px 12px;
    background: #fafafa;
    border-radius: 0px; /* 修改：圆角改为0 */
    font-size: 12px;
    color: #70777e;
    font-weight: 500;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* 核心调整：缩小按钮尺寸并放在价格右侧 */
.product-actions {
    display: flex;
    gap: 10px;
    margin: 0 !important;
    flex-grow: 1;
    justify-content: flex-start;
}

.btn {
    padding: 6px 12px !important;
    border-radius: 0px; /* 修改：圆角改为0 */
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    height: 37px;
    box-sizing: border-box;
}

.btn i {
    margin-right: 6px;
    font-size: 12px;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 182, 0, 0.3);
}

.btn-outline-secondary {
    border: 2px solid var(--gray-color);
    color: var(--gray-color);
    background: transparent;
}

.btn-outline-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 182, 0, 0.05);
    transform: translateY(-2px);
}

/* 专门针对联系客服按钮的样式 */
a.btn.btn-outline-secondary.wechat-popup {
    border: 2px solid var(--gray-color) !important;
    outline: none !important;
    box-shadow: none !important;
}

a.btn.btn-outline-secondary.wechat-popup:hover {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 产品图片区 */
.product-gallery {
    width: 300px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 0 0; /* 修改：圆角改为0 */
    position: relative;
}

.main-image {
    flex: 1;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.03);
}

/* 删除左右切换按钮样式 */
.image-nav-btn {
    display: none !important;
}

/* 图片指示器样式 - 新增 */
.image-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 0; /* 修改：圆点改为方块 */
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: rgba(255, 182, 0, 0.7);
}

/* 移除缩略图容器 */
.thumbnail-container {
    display: none !important;
}

/* 选项卡样式 - 移至下方，全屏宽度 */
.product-tabs {
    background: #fff;
    border-radius: var(--border-radius); /* 已改为0 */
    box-shadow: var(--box-shadow);
    overflow: hidden;
    width: 100%;
    border: 1px solid #bbbbbb;
}

.nav-tabs {
    border-bottom: 1px solid #bbbbbb;
    padding: 0 30px;
    background: linear-gradient(to right, #f8f9fa, #fff);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--gray-color);
    font-weight: 600;
    padding: 15px 25px;
    position: relative;
    background: transparent;
    font-size: 16px;
}

.nav-tabs .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
}

.nav-tabs .nav-link.active:after {
    width: 100%;
}

.tab-content {
    padding: 30px;
    border-top: none;
}

/* 技术参数表格 */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.spec-table th, 
.spec-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.spec-table th {
    font-weight: 600;
    color: var(--dark-color);
    background: #f8f9fa;
    width: 30%;
}

.spec-table tr:hover {
    background-color: rgba(255, 182, 0, 0.03);
}

/* 下载区域 */
.download-section {
    position: relative;
}

/* 核心修改：下载选项卡改为横向并排 */
.download-tabs-combined {
    display: flex;
    flex-direction: row;
    gap: 10px;
    border-radius: 0px; /* 修改：圆角改为0 */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-tab-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
    border-right: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    flex: 1;
    min-width: 280px;
}

.download-tab-item:last-child {
    border-right: none;
}

.download-tab-item:hover {
    background: rgba(255, 182, 0, 0.05);
    transform: translateY(-5px);
}

.download-tab-item.active {
    background: rgba(255, 182, 0, 0.1);
    box-shadow: inset 0 4px 0 var(--primary-color);
}

.download-tab-item.active .tab-content-wrapper {
    color: var(--dark-color);
}

.download-tab-item.active .tab-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.download-tab-item.active .tab-title {
    color: var(--primary-color);
}

.download-tab-item.active .tab-desc {
    color: var(--gray-color);
}

.download-tab-item.active .download-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.download-tab-item.active .download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-content-wrapper {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    transition: all 0.3s ease;
}

.tab-icon {
    width: 60px;
    height: 60px;
    border-radius: 0px; /* 修改：圆角改为0 */
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: var(--gray-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tab-info {
    flex: 1;
    margin-right: 20px;
}

.tab-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.tab-desc {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.download-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    color: var(--gray-color);
    border: none;
    border-radius: 0px; /* 修改：圆角改为0 */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.download-btn:hover {
    background: rgba(255, 182, 0, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.download-btn i {
    margin-right: 6px;
}

/* 专业级3D模型查看器 */
.professional-model-viewer {
    width: 100%;
    height: 700px;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 0px; /* 修改：圆角改为0 */
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.professional-model-viewer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 182, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* 专业加载指示器 */
#loadingIndicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px 40px;
    border-radius: 0px; /* 修改：圆角改为0 */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#loadingIndicator .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 0; /* 修改：圆角改为0 */
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

#loadingIndicator p {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* 预览区域样式 */
.preview-section {
    margin-top: 0;
    border: 1px solid #bbbbbb;
    border-radius: 0px; /* 修改：圆角改为0 */
    overflow: hidden;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.preview-section.active {
    display: block;
    animation: slideInUp 0.5s ease forwards;
}

.preview-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 25px;
    border-bottom: 1px solid #bbbbbb;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.preview-header i {
    margin-right: 8px;
    color: var(--primary-color);
}

.preview-content {
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.pdf-preview {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 0;
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 占位符样式优化 */
.preview-placeholder {
    text-align: center;
    color: var(--gray-color);
    padding: 60px 20px;
}

.preview-placeholder i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #dee2e6;
    display: block;
}

.preview-placeholder p {
    font-size: 16px;
    margin: 0;
}

/* 相关产品 */
.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-product {
    background: #fff;
    border-radius: var(--border-radius); /* 已改为0 */
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #bbbbbb;
}

.related-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.related-product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.related-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.related-product-info {
    padding: 20px;
}

.related-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* 核心调整：配套产品价格样式统一 */
.related-product-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 18px;
}

.price-negotiable {
    color: var(--primary-color) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

/* 内容区域 */
.product-content {
    line-height: 1.8;
}

.product-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0px; /* 修改：圆角改为0 */
    margin: 15px 0;
}

/* 响应式设计 - 与参考代码保持一致 */
@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .product-top-wrapper {
        flex-direction: column;
    }
    
    .product-gallery {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--info-border-color);
        border-radius: 0 0 0 0; /* 保持0 */
    }
    
    .product-info {
        border-right: 1px solid var(--info-border-color);
        border-bottom: none;
        border-radius: 0 0 0 0; /* 保持0 */
    }
    
    .main-image {
        min-height: 160px;
    }
    
    .product-info {
        padding: 12px 15px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-subtitle {
        font-size: 14px;
    }
    
    .price-action-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .btn {
        width: auto;
        flex-grow: 0;
    }

    /* 响应式调整面包屑导航 */
    #banner-area {
        height: 300px;
    }
    
    /* 响应式调整分隔线宽度 */
    .breadcrumb-standalone {
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    #banner-area {
        height: 250px;
    }
    
    .main-image {
        min-height: 140px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .product-subtitle {
        font-size: 13px;
    }
    
    .nav-tabs .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .related-products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .tab-content-wrapper {
        padding: 20px;
        flex-wrap: wrap;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 15px;
    }
    
    .tab-title {
        font-size: 16px;
    }
    
    .tab-desc {
        font-size: 13px;
    }
    
    .download-btn {
        margin-top: 10px;
        margin-left: 70px;
    }
    
    .professional-model-viewer {
        height: 500px;
    }
    
    .pdf-preview {
        height: 500px;
    }
    
    .preview-content {
        min-height: 400px;
    }
    
    .product-actions {
        flex-direction: row;
        gap: 10px;
    }
    
    .btn {
        width: auto;
        flex-grow: 1;
    }

    .banner-heading {
        padding-left: 10px;
    }
    
    /* 响应式调整分隔线宽度 */
    .breadcrumb-standalone {
        max-width: 720px;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    #banner-area {
        height: 200px;
    }
    
    .main-image {
        min-height: 120px;
    }
    
    .product-info {
        padding: 10px 12px;
        min-width: 100%;
    }
    
    .tab-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tab-icon {
        margin-bottom: 10px;
    }
    
    .tab-info {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .download-btn {
        margin-left: 0;
        align-self: stretch;
        justify-content: center;
    }
    
    .professional-model-viewer {
        height: 400px;
    }
    
    .pdf-preview {
        height: 400px;
    }
    
    /* 响应式调整分隔线宽度 */
    .breadcrumb-standalone {
        max-width: 540px;
    }
}

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

.product-top-wrapper {
    animation: fadeIn 0.6s ease forwards;
}

.product-tabs {
    animation: fadeIn 0.6s ease 0.2s forwards;
    opacity: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 0; /* 修改：圆角改为0 */
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* ========== 全新设计的微信弹窗样式 ========== */
/* 弹窗遮罩层 */
.wechat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 弹窗主体 */
.wechat-modal {
    width: 340px;
    background: #fff;
    border-radius: 0px; /* 修改：圆角改为0 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.wechat-modal-overlay.active .wechat-modal {
    transform: translateY(0);
}

/* 弹窗标题栏 */
.wechat-modal-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    position: relative;
}

.wechat-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* 关闭按钮 */
.wechat-modal-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 0; /* 修改：圆角改为0 */
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wechat-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* 弹窗内容区 */
.wechat-modal-body {
    padding: 25px 20px;
    text-align: center;
}

.wechat-qrcode {
    width: 220px;
    height: 220px;
    border-radius: 0px; /* 修改：圆角改为0 */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* 弹窗底部 */
.wechat-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.wechat-modal-btn {
    padding: 8px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0px; /* 修改：圆角改为0 */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wechat-modal-btn:hover {
    background: var(--secondary-color);
    box-shadow: 0 3px 10px rgba(255, 182, 0, 0.2);
}

/* ========== 页面底部空白修复 ========== */
.product-details {
    padding-bottom: 40px !important; /* 与页脚保持40px空白 */
}

/* 响应式适配弹窗 */
@media (max-width: 768px) {
    .wechat-modal {
        width: 90%;
        max-width: 300px;
    }
    
    .wechat-modal-title {
        font-size: 16px;
    }
    
    .wechat-qrcode {
        width: 200px;
        height: 200px;
    }
}