/**
 * PC端文章详情页样式 - 产品展示型布局
 *
 * @package HiTemp
 * @since 1.0.0
 */

/* ===== 页面背景 ===== */
.product-detail-page {
    background: #efefef;
    min-height: calc(100vh - var(--header-height));
    padding: 40px 0;
    position: relative;
}

.product-detail-page .container {
    position: relative;
    z-index: 1;
}

/* ===== 主布局 ===== */
.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}

.product-info {
    order: 2;
}

.product-gallery {
    order: 1;
}

/* ===== 右侧产品信息 ===== */
.product-info {
    padding: 6px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #f66600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 价格区域 */
.product-price-box {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    gap: 5px;
    padding: 6px 14px;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 4px;
}

.price-tag::before {
    content: '\f005';
    font-family: 'FontAwesome';
    font-size: 11px;
}

.price-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: tag-shine 2.5s ease-in-out infinite;
}

@keyframes tag-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* 普通用户 - 蓝灰色 */
.price-tag-normal {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.4);
}
.price-tag-normal::before {
    content: '\f007';
}

/* 年卡会员 - 金色 */
.price-tag-yearly {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}
.price-tag-yearly::before {
    content: '\f005';
}

/* 终身会员 - 紫色 */
.price-tag-lifetime {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}
.price-tag-lifetime::before {
    content: '\f219';
}

/* 限时优惠 - 红色 */
.price-tag-promo {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
.price-tag-promo::before {
    content: '\f0e7';
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-label {
    font-size: 18px;
    color: #000;
    font-weight: 700;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #f66600;
}

.current-price em {
    font-size: 26px;
    font-style: normal;
}

.original-price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 45%, #f66600 100%);
    border-radius: 4px;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.discount-hint-badge {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #f39c12 100%);
    background-size: 200% 200%;
    border-radius: 20px;
    margin-left: 15px;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.35);
    animation: gradient-flow 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.discount-hint-badge::before {
    content: '\f0e7';
    font-family: 'FontAwesome';
    font-size: 12px;
    animation: flash 1.5s ease-in-out infinite;
}

.discount-hint-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s ease-in-out infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* 操作按钮 */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.actions-row {
    display: flex;
    gap: 12px;
}

.actions-row a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #f66600, #ff8534);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a00, #f66600);
}

.btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.btn-secondary:hover {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

/* 升级会员、查看演示：主题橙 */
.product-actions .btn-vip.btn-secondary,
.product-actions .btn-demo.btn-secondary {
    color: #fff;
    background: #f66600;
}

.product-actions .btn-vip.btn-secondary:hover,
.product-actions .btn-demo.btn-secondary:hover {
    color: #fff;
    background: #e55a00;
}

/* 升级会员钻石图标闪光效果 */
.btn-vip i {
    color: #ffd700;
    animation: diamond-sparkle 2s ease-in-out infinite;
}

@keyframes diamond-sparkle {
    0%, 100% {
        color: #ffd700;
        text-shadow: 0 0 2px #ffd700;
    }
    25% {
        color: #fff8dc;
        text-shadow: 0 0 8px #ffd700, 0 0 15px #ffec8b;
    }
    50% {
        color: #ffd700;
        text-shadow: 0 0 2px #ffd700;
    }
    75% {
        color: #fffacd;
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffa500;
    }
}

/* 产品属性 */
.product-meta-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    width: 90px;
    flex-shrink: 0;
    font-size: 14px;
    color: #64748b;
}

.meta-value {
    flex: 1;
    font-size: 14px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-value.highlight {
    color: #f66600;
    font-weight: 500;
}

.meta-value.highlight i {
    color: #10b981;
}

.update-link {
    font-size: 13px;
    color: #3b82f6;
    text-decoration: none;
}

.update-link:hover {
    text-decoration: underline;
}

/* ===== 左侧图片展示 ===== */
.product-gallery {
    /* 正常定位，跟随页面滚动 */
}

.gallery-main {
    width: 580px;
    height: 500px;
   /*  background: #fff;*/
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: pan-y;
}

.gallery-main.is-dragging {
    cursor: grabbing;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.gallery-main .no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #94a3b8;
    font-size: 16px;
}

.gallery-main .no-image i {
    font-size: 64px;
    margin-bottom: 15px;
}

/* 缩略图列表 */
.gallery-thumbs-wrap {
    position: relative;
    width: 580px; /* 与大图同宽 */
}

.gallery-thumbs-container {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.gallery-thumbs-container.is-dragging {
    cursor: grabbing;
}

.gallery-thumbs-container.is-dragging .gallery-thumbs,
.gallery-thumbs.no-transition {
    transition: none;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.thumb-item {
    flex-shrink: 0;
    width: 137.5px; /* (580 - 30间隔) / 4 = 137.5 */
    height: 103px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.thumb-item:hover,
.thumb-item.active {
    opacity: 1;
    border-color: #3b82f6;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* 缩略图导航按钮 - 覆盖在缩略图上 */
.thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.thumb-prev {
    left: 8px;
}

.thumb-next {
    right: 8px;
}

/* 鼠标悬停时显示按钮 */
.gallery-thumbs-wrap:hover .thumb-nav {
    opacity: 1;
    visibility: visible;
}

.thumb-nav:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* 翻到头时变灰且不可点击 - 默认也隐藏 */
.thumb-nav:disabled {
    background: rgba(200, 200, 200, 0.8);
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
}

.thumb-nav:disabled:hover {
    background: rgba(200, 200, 200, 0.8);
    color: #999;
    box-shadow: none;
}

/* ===== 内容区域 ===== */
.product-content-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* 标签页导航 */
.content-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: var(--nav-height, 70px);
    z-index: 100;
    border-radius: 16px 16px 0 0;
}

.content-tabs.is-sticky {
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.tab-btn:hover {
    color: #1e293b;
}

.tab-btn.active {
    color: #f66600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #f66600;
}

/* 内容面板 */
.content-panels {
    padding: 30px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 文章正文样式 */
.article-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #f66600;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 25px 0 12px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body a {
    color: #3b82f6;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8fafc;
    border-left: 4px solid #f66600;
    border-radius: 0 8px 8px 0;
    color: #64748b;
}

.article-body pre {
    margin: 20px 0;
    padding: 20px;
    background: #1e293b;
    border-radius: 8px;
    overflow-x: auto;
}

.article-body code {
    font-family: 'Consolas', monospace;
    font-size: 14px;
}

.article-body pre code {
    color: #e2e8f0;
}

.article-body :not(pre) > code {
    padding: 2px 6px;
    background: #f1f5f9;
    color: #e11d48;
    border-radius: 4px;
}

/* 更新记录 */
.changelog-content {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

/* 更新记录折叠面板 */
.changelog-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.changelog-accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.changelog-accordion-item:last-child {
    border-bottom: none;
}

.changelog-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8fafc;
    cursor: pointer;
    transition: background 0.2s;
}

.changelog-accordion-header:hover {
    background: #f1f5f9;
}

.changelog-accordion-item.active .changelog-accordion-header {
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
}

.changelog-version {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.changelog-accordion-item.active .changelog-version {
    color: #f66600;
}

.changelog-toggle {
    color: #64748b;
    transition: transform 0.3s;
}

.changelog-accordion-item.active .changelog-toggle {
    transform: rotate(180deg);
    color: #f66600;
}

.changelog-accordion-body {
    display: none;
    padding: 20px;
    background: #fff;
}

.changelog-accordion-body ul {
    padding-left: 20px;
    margin: 10px 0;
}

.changelog-accordion-body li {
    margin-bottom: 8px;
    color: #64748b;
}

.changelog-accordion-body p {
    margin-bottom: 10px;
    color: #64748b;
}

.changelog-accordion-body strong {
    color: #1e293b;
}

/* 更新记录分页 */
.changelog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 0;
}

.changelog-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.changelog-page-btn:hover:not(:disabled) {
    border-color: #f66600;
    color: #f66600;
    background: #fff7ed;
}

.changelog-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.changelog-page-info {
    font-size: 14px;
    color: #64748b;
}

.changelog-page-info span {
    font-weight: 600;
    color: #f66600;
}

/* 特色功能 */
.features-content {
    padding: 10px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    background: #fff;
    border: 1px solid #e8f4fc;
    border-radius: 8px;
    padding: 25px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
    border-color: #f66600;
    box-shadow: 0 8px 25px rgba(246, 102, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    color: var(--text-inverse);
    font-size: 32px;
}

.feature-box h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: center;
}

.feature-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* 常见问题 */
.faq-content {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

.faq-section {
    margin-bottom: 30px;
}

.faq-section:last-child {
    margin-bottom: 0;
}

.faq-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 3px solid #f66600;
}

.faq-item {
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-label {
    font-weight: 600;
    color: #3b82f6;
    margin-right: 5px;
}

.faq-text {
    color: #64748b;
}

.faq-text strong {
    color: #f66600;
}

.faq-item p {
    margin: 0;
    color: #64748b;
}

.faq-item p a {
    color: #3b82f6;
    text-decoration: none;
}

.faq-item p a:hover {
    text-decoration: underline;
}

.faq-item.warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.faq-item.warning p {
    color: #c2410c;
    margin: 0;
}

.faq-item.warning p strong {
    color: #dc2626;
}

.faq-content h3 {
    color: #1e293b;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 3px solid #f66600;
}

.faq-content ul,
.faq-content ol {
    padding-left: 30px;
    margin: 10px 0;
}

.faq-content li {
    margin-bottom: 8px;
}

.no-content {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    font-size: 15px;
}

/* ===== 相关推荐 ===== */
.related-products {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-item {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.related-thumbnail .no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 32px;
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.related-price {
    font-size: 16px;
    font-weight: 600;
    color: #f66600;
}

/* ===== 灯箱 ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

body.lightbox-open {
    overflow: hidden;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        order: 1;
    }
    
    .gallery-main {
        width: 100%;
        height: auto;
        aspect-ratio: 580 / 500;
    }
    
    .gallery-thumbs-wrap {
        width: 100%;
    }
    
    .product-info {
        order: 2;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 20px 0;
    }
    
    .product-info {
        padding: 25px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .content-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: none;
        width: 50%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-box {
        padding: 18px 15px;
    }
    
    .feature-box h4 {
        font-size: 14px;
    }
    
    .feature-box p {
        font-size: 12px;
    }
}

/* ===== 已购买下载按钮样式 ===== */
.product-actions .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
}

.product-actions .btn-download:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.product-actions .purchased-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.product-actions .purchased-badge i {
    color: #10b981;
}

.product-actions .btn-purchased {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #10b981;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

/* VIP免费下载按钮 */
.product-actions .btn-free-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    cursor: pointer;
}

.product-actions .btn-free-download:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.product-actions .vip-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.product-actions .vip-free-badge i {
    color: #f59e0b;
}