:root {
    --primary-color: #1677ff;
    --primary-dark: #0056b3;
    --success-color: #28a745;
    --success-dark: #218838;
    --price-color: #ff6b00;
    --video-color: #6f42c1;
    --video-dark: #5a32a3;
    --border-color: #dee2e6;
    --bg-light: #f8f9fa;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
}

#mermaid-1737117350374 .node rect, #mermaid-1737117350374 .node circle, #mermaid-1737117350374 .node ellipse, #mermaid-1737117350374 .node polygon, #mermaid-1737117350374 .node path {
    fill: #ECECFF;
    stroke: #ffffff !important;
    stroke-width: 1px;
}

/* 产品头部样式 */
.product-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 30px;
    position: relative;
}

.product-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom right, transparent 49.5%, white 50%);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 商品主体内容样式 */
.product-content {
    padding: 2rem 0;
}

/* 商品价格区域 */
.product-price {
    font-size: 2rem;
    color: var(--price-color);
    font-weight: bold;
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
}

.price-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
}

.price-amount::before {
    content: "¥";
    font-size: 0.6em;
    margin-right: 4px;
}

/* 商品状态标签 */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
    font-size: 0.875rem;
}

/* 商品描述区域 */
.product-description {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-color);
    line-height: 1.6;
}

/* 商品详情区域 */
.product-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.product-details h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* 协议区域 */
.agreement-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.agreement-section h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* 侧边栏样式 */
.sidebar-card {
    position: sticky;
    top: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

/* 侧边栏按钮组 */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ai-consult {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-ai-consult:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-interactive {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-interactive:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-agreement {
    background: white;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-agreement:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.mobile-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -1px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 50px; /* 固定高度 */
}

.mobile-buy-bar .price {
    font-size: 1.25rem;
    font-weight: 500;
    color: #FF6A00; /* 支付宝特色橙色 */
}

/* 左侧功能按钮样式 */
.mobile-buy-bar .btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFF5F0; /* 浅橙色背景 */
    border: none;
    color: #FF6A00; /* 图标使用橙色 */
    font-size: 1.1rem;
}

.mobile-buy-bar .btn-icon:active {
    background: #FFE7DB;
}

/* 购买按钮样式 */
.mobile-buy-bar .btn-buy {
    background: #FF6A00;
    border: none;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* 与底部栏同高 */
    padding: 0 24px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: -15px; /* 抵消容器的padding */
}

.mobile-buy-bar .btn-buy:active {
    background: #F85F00;
}

/* 为了防止底部内容被固定栏遮挡 */
body {
    padding-bottom: 50px; /* 与底部栏高度一致 */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* 确保内容不会被底部栏遮挡 */
.footer {
    margin-bottom: 50px; /* 在移动端添加额外的底部间距 */
}

@media (min-width: 768px) {
    .footer {
        margin-bottom: 0;
    }
}