/* ========================================
   article页面专属样式 - article.css
   包含：文章详情页、产品详情页、作品详情页
   ======================================== */

/* ========================================
   一、变量覆盖（不同页面有不同值）
   ======================================== */
:root {
    /* 底部导航高度：common: 60px | 产品: 60px | 文章/作品: 65px */
    --bottom-nav-height: 65px;
}

/* ========================================
   二、面包屑导航（文章/产品/作品页共有）
   ======================================== */
.breadcrumb {
    padding: 20px 24px 0;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-lighter);
}
.breadcrumb a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb span {
    color: var(--text-light);
}

/* ========================================
   三、商品/作品详情布局（通用）
   ======================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}
.detail-main {
    min-width: 0;
}
.detail-sidebar {
    position: relative;
}
.sticky-sidebar {
    position: sticky;
    position: -webkit-sticky;
    top: calc(var(--header-height) + 30px);
    z-index: 10;
}

/* ========================================
   四、图集/相册（产品页 + 作品页）
   ======================================== */
.gallery-container {
    position: relative;
    margin-bottom: 30px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16 / 9;
    max-height: 500px;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图集左右箭头 */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}
.gallery-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}
.gallery-arrow.prev {
    left: 16px;
}
.gallery-arrow.next {
    right: 16px;
}

/* 缩略图容器 */
.gallery-thumbs-wrapper {
    position: relative;
    margin-top: 16px;
    display: flex;
    align-items: center;
}
.gallery-thumbs-viewport {
    overflow: hidden;
    flex: 1;
    margin: 0 8px;
}
.gallery-thumbs {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
}
.gallery-thumb {
    flex: 0 0 100px;
    height: 70px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}
.gallery-thumb:hover {
    opacity: 0.9;
    border-color: rgba(0, 212, 255, 0.4);
}
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumb-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.thumb-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}
.thumb-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

/* ========================================
   五、作品/项目内容
   ======================================== */
.project-content h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.project-content .project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.project-content .project-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.project-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    margin-top: 24px;
}

/* ========================================
   六、侧边栏卡片（文章页 + 作品页）
   ======================================== */
.sidebar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 24px;
}
.sidebar-card .info-item {
    margin-bottom: 16px;
}
.sidebar-card .info-item:last-child {
    margin-bottom: 0;
}
.sidebar-card .info-label {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sidebar-card .info-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}
.sidebar-card .info-value a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
.sidebar-card .info-value a:hover {
    text-decoration: underline;
}

/* 服务列表（文章页侧边栏） */
.sidebar-card .service-list {
    list-style: none;
    padding: 0;
}
.sidebar-card .service-list li {
    margin-bottom: 10px;
}
.sidebar-card .service-list li:last-child {
    margin-bottom: 0;
}
.sidebar-card .service-list a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
    border: 1px solid transparent;
}
.sidebar-card .service-list a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

/* ========================================
   七、文章详情特有
   ======================================== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.article-main {
    min-width: 0;
}
.article-sidebar {
    position: relative;
    height: 100%;
}

.article-header {
    margin-bottom: 30px;
}
.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.article-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 16px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-lighter);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
}
.article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 30px 0 14px;
}
.article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin: 24px 0 10px;
}
.article-body p {
    margin-bottom: 16px;
}
.article-body strong {
    color: var(--white);
}
.article-body ul,
.article-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 8px;
}
.article-body blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-light);
    font-style: italic;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}
.article-tags .tag-label {
    font-size: 0.85rem;
    color: var(--text-lighter);
    font-weight: 600;
    margin-right: 4px;
    display: flex;
    align-items: center;
}
.article-tags a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: var(--transition);
}
.article-tags a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

.article-footer-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.article-footer-cta .qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: var(--radius);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.article-footer-cta .qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.article-footer-cta .cta-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.article-footer-cta .cta-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 6px;
}
.article-footer-cta .cta-content .highlight {
    color: var(--primary);
    font-weight: 600;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}
.article-nav a {
    flex: 1;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    padding: 12px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}
.article-nav a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}
.article-nav .nav-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
    margin-bottom: 4px;
}
.article-nav .nav-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 30px;
}
.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.author-info .author-role {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 6px;
}
.author-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   八、产品详情特有
   ======================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-info h1 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-info .category-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.product-info .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: var(--text-lighter);
}
.product-info .rating .stars {
    color: #fbbf24;
    font-size: 1rem;
}
.product-info .price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.product-info .price-box .current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}
.product-info .price-box .original-price {
    font-size: 0.95rem;
    color: var(--text-lighter);
    text-decoration: line-through;
}
.product-info .price-box .discount {
    font-size: 0.8rem;
    color: #fff;
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
}
.product-info .spec-list {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}
.product-info .spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
    color: var(--text-light);
}
.product-info .spec-list li span:first-child {
    color: var(--text-lighter);
}
.product-info .spec-list li span:last-child {
    font-weight: 500;
    text-align: right;
}

.product-info .quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.product-info .quantity-selector label {
    font-size: 0.88rem;
    color: var(--text-lighter);
}
.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.qty-input {
    width: 60px;
    height: 36px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
}

/* 产品操作按钮 */
.btn-lg {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-lg-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 8px 30px var(--primary-glow);
    flex: 1;
}
.btn-lg-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border: 1px solid var(--primary);
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.3rem;
}
.action-buttons {
    display: flex;
    gap: 10px;
}

/* 产品详情Tabs */
.detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}
.tab-btn {
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--text-lighter);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.tab-btn:hover {
    color: var(--primary);
}
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-content {
    display: none;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}
.tab-content.active {
    display: block;
}
.tab-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 16px 0 8px;
}
.tab-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.tab-content li {
    margin-bottom: 6px;
}

/* ========================================
   九、购物车按钮（产品页专属）
   ======================================== */
.nav-links .cart-btn {
    position: relative;
}
.nav-links .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ========================================
   十、相关文章/产品推荐（通用）
   ======================================== */
.related-section {
    margin-top: 30px;
    padding: 50px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    margin-bottom: 24px;
    text-align: center;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    transition: var(--transition);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.2);
}
.related-card .related-img {
    height: 130px;
    overflow: hidden;
}
.related-card .related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.related-card:hover .related-img img {
    transform: scale(1.05);
}
.related-card .related-info {
    padding: 14px;
}
.related-card .related-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.related-card .related-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1.3;
}
.related-card .related-info p {
    font-size: 0.78rem;
    color: var(--text-lighter);
}
.related-card .related-info .related-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

/* ========================================
   十一、底部导航（文章/作品页变体）
   ======================================== */
.bottom-nav-wrapper {
    display: none;
}
.bottom-nav {
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.bottom-nav a,
.bottom-nav .drop-btn {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}
.bottom-nav a.active,
.bottom-nav .drop-btn.active {
    color: var(--primary);
}
.bottom-nav .icon {
    font-size: 1.4rem;
}
.bottom-dropdown {
    position: absolute;
    bottom: 75px;
    right: 24px;
    background: rgba(15, 25, 45, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    min-width: 160px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.bottom-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.bottom-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    text-align: left;
}
.bottom-dropdown li a:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

/* ========================================
   十二、响应式覆盖
   ======================================== */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        display: none;
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        order: -1;
    }
    .sticky-sidebar {
        position: static;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-main {
        aspect-ratio: 4 / 3;
        max-height: 400px;
    }
    .article-footer-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .article-footer-cta .qr-code {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    .author-avatar {
        margin: 0 auto;
    }
    .gallery-thumb {
        flex: 0 0 80px;
        height: 56px;
    }
    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .project-content h1 {
        font-size: 1.4rem;
    }
    .detail-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.82rem;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .thumb-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .gallery-thumbs {
        gap: 8px;
    }
    .gallery-thumbs-viewport {
        margin: 0 4px;
    }
    /* 移动端菜单（已在common中定义，此处保留覆盖） */
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 15, 30, 0.95);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 90px 30px 30px;
        gap: 8px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
        transition: right 0.4s;
        z-index: 1001;
        align-items: stretch;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links > li > a {
        text-align: left;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        padding-left: 20px;
    }
    .bottom-nav-wrapper {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    body {
        padding-bottom: var(--bottom-nav-height);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .related-card .related-img {
        height: 100px;
    }
    .related-card .related-info {
        padding: 10px;
    }
    .related-card .related-info h3 {
        font-size: 0.82rem;
    }
}
    /* 注意事项卡片样式 */
.notice-block {
    background: #41414240;
    border-left: 5px solid #343538;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 30px 0 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s;
}
    .notice-block h4 {
        margin: 0 0 10px 0;
        color: #fcfcfc;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .notice-block h4 i {
        font-style: normal;
        font-size: 16px;
    }
    .notice-block ul {
        margin: 8px 0 0 0;
        padding-left: 22px;
        color: #f2f2f4;
        font-size: 14px;
        line-height: 1.7;
    }
    .notice-block ul li {
        margin-bottom: 4px;
    }
    .notice-block ul li strong {
        color: #fdfeff;
    }
    .gallery-thumb img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        transition: 0.2s;
    }
    .gallery-thumb.active {
        border-color: #0b63f8;
        box-shadow: 0 0 0 2px #0b63f8;
    }
    /* 图集容器微调 */
    .product-gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .gallery-main img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
        object-fit: cover;
        border-radius: 16px;
        background: #f0f3fa;
    }
    .gallery-thumbs {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }
    .gallery-thumb {
        width: 80px;
        height: 60px;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        transition: 0.2s;
        flex-shrink: 0;
    }
    .gallery-thumb:hover {
        transform: scale(1.03);
        border-color: #9bb9f0;
    }
    @media (max-width: 600px) {
        .gallery-thumb {
            width: 60px;
            height: 45px;
        }
    }
.article-body img {
    width: 100% !important;
}