/* 隐藏页脚下方的翻译工具栏 */
#translate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.product-image img {
    padding: 20px;
    /*min-width: 235.5px;*/
    height: 200px;
    object-fit: contain;
}

/* 导航栏样式（与首页相同） */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.search-bar {
    max-width: 600px;
    display: flex;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    margin-left: auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

.search-btn {
    padding: 12px 20px;
    background: #ff6b35;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #ff5722;
}

.nav {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-item-link {
    color: white;
    text-decoration: none;
    padding: 12px 0;
    display: block;
    transition: opacity 0.3s;
}

.nav-item-link:hover,
.nav-item.active .nav-item-link {
    opacity: 0.8;
    border-bottom: 2px solid white;
}

/* 下拉菜单 */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    transition: transform 0.3s;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 12px;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 10px 0;
    min-width: 220px;
    max-height: 600px;
    overflow-y: auto;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 语言切换器 */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.language-select {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
    min-width: 120px;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-select option {
    background: #2c3e50;
    color: white;
    padding: 10px;
}

/* 面包屑 */
.breadcrumb {
    background: white;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
}

.breadcrumb .container {
    white-space: nowrap;
}

.breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 主要内容 */
.main-content {
    padding: 30px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    max-width: 100%;
    overflow-x: hidden;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    overflow-x: hidden;
}

/* 商品展示区 */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    max-width: 100%;
    overflow-x: hidden;
}

.product-images-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    overflow-x: hidden;
}

.main-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: opacity 0.3s ease-in-out;
}

/* 轮播图箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-arrow svg {
    color: #333;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.thumb-img {
    width: 70px;
    height: 70px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    object-fit: cover;
}

.thumb-img:hover {
    border-color: #999;
}

.thumb-img.active {
    border-color: #1a73e8;
    box-shadow: 0 0 0 1px #1a73e8;
}

/* 内容卡片样式 */
.content-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.content-card-body {
    padding: 30px;
    line-height: 1.8;
    color: #333;
}

.content-card-body h1,
.content-card-body h2,
.content-card-body h3,
.content-card-body h4 {
    color: #1a1a1a;
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.content-card-body h1 {
    font-size: 28px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 12px;
}

.content-card-body h2 {
    font-size: 24px;
}

.content-card-body h3 {
    font-size: 20px;
}

.content-card-body h4 {
    font-size: 18px;
}

.content-card-body p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-card-body ul,
.content-card-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-card-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-card-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.content-card-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.content-card-body a:hover {
    color: #5568d3;
    border-bottom-color: #5568d3;
}

.content-card-body blockquote {
    border-left: 4px solid #667eea;
    background: #f7f8fc;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.content-card-body code {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e74c3c;
}

.content-card-body pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.content-card-body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.content-card-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.content-card-body table th,
.content-card-body table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.content-card-body table th {
    background: #f7f8fc;
    font-weight: 600;
    color: #333;
}

.content-card-body table tr:hover {
    background: #f9f9f9;
}

/* 商品信息区 - 第一块卡片 */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.product-price-area {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 5px 0;
}

.current-price {
    width: 150px;
    font-size: 38px;
    font-weight: 700;
    color: #d32f2f;
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 显示省略号来表示被截断的文本 */
}

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

.discount-tag {
    background: #ff6b35;
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.product-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rating-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stars {
    color: #ff9800;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-text {
    font-weight: 600;
    font-size: 16px;
}

.reviews-count {
    color: #666;
    font-size: 14px;
}

.posted-time {
    color: #999;
    font-size: 14px;
}

.btn-add-cart {
    width: 100%;
    padding: 16px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-add-cart:hover {
    background: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 商店信息区 */
.store-section {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 10px;
}

.store-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.store-card {
    display: flex;
    gap: 15px;
    align-items: center;
}

.store-icon {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.store-details {
    flex: 1;
}

.store-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.store-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.store-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* 文章内容包装器 - 第二块卡片 */
.article-content-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.post-description {
    line-height: 1.8;
}

.post-description p {
    margin-bottom: 16px;
    color: #333;
}

.post-description h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: #1a1a1a;
}

.post-description ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.post-description li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.post-note {
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #1a73e8;
    border-radius: 4px;
}

.post-note p {
    margin-bottom: 8px;
    font-size: 14px;
}

.post-note a {
    color: #1a73e8;
    text-decoration: none;
}

.post-note a:hover {
    text-decoration: underline;
}

/* 社区投票部分 */
.community-rating-box {
    padding: 40px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.community-rating-box h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.voting-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 35px 0;
}

.vote-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.vote-emoji {
    font-size: 56px;
}

.vote-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a73e8;
}

.vote-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.btn-submit-reaction {
    padding: 14px 36px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit-reaction:hover {
    background: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 评论区域 - 第三块卡片 */
.comments-area {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comments-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.comment-form-box {
    display: flex;
    gap: 15px;
    margin-bottom: 45px;
}

.comment-user-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.comment-input-wrapper {
    flex: 1;
}

.comment-input {
    width: 100%;
    min-height: 110px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 12px;
    line-height: 1.6;
}

.comment-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.comment-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-buttons {
    display: flex;
    gap: 8px;
}

.toolbar-btn {
    width: 38px;
    height: 38px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.btn-post-comment {
    padding: 10px 28px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-post-comment:hover {
    background: #1557b0;
}

.comments-display {
    margin-top: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 35px 0 20px;
    color: #1a1a1a;
}

.sort-filter {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.sort-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 8px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid #e8e8e8;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    background: #e0e0e0;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.comment-time {
    font-size: 13px;
    color: #999;
}

.comment-text {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 12px;
}

.comment-footer {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.comment-action {
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-action:hover {
    color: #1a73e8;
}

/* 侧边栏 */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    overflow-x: hidden;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    overflow-x: hidden;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.deal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deal-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.deal-rank {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.deal-info {
    flex: 1;
}

.deal-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.deal-rating {
    font-size: 12px;
    color: #ffc107;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.trending-item:hover {
    background: #f8f8f8;
}

.trending-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.trending-info {
    flex: 1;
}

.trending-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
}

.trending-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 5px;
}

.trending-rating {
    font-size: 12px;
    color: #ffc107;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .detail-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 100%;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }

    .product-images-section {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
}

/* 响应式设计 - 手机端 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .header {
        width: 100%;
        max-width: 100vw;
    }

    .header-top {
        position: relative;
        flex-wrap: wrap;
        width: 100%;
        gap: 12px;
        padding: 12px 0;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
        width: 100%;
    }

    .search-bar {
        order: 2;
        flex: 1;
        max-width: none;
        width: calc(100% - 115px);
        margin-left: 0;
    }

    .language-switcher {
        order: 3;
        margin-left: 8px;
        flex-shrink: 0;
    }

    .language-select {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 100px;
        white-space: nowrap;
    }

    .nav {
        width: 100%;
        max-width: 100vw;
        overflow-x: auto;
    }

    .nav-list {
        gap: 15px;
        overflow-x: auto;
        width: 100%;
        padding: 0;
    }

    .dropdown-menu {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        margin-top: 0;
        border-radius: 0;
        max-height: 60vh;
    }

    .detail-layout {
        width: 100%;
        max-width: 100%;
    }

    .detail-main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        gap: 20px;
    }

    .product-showcase {
        gap: 25px;
        width: 100%;
        max-width: 100%;
    }

    .product-images-section {
        width: 100%;
        max-width: 100%;
    }

    .main-image {
        width: 100%;
        max-width: 100%;
    }

    .product-info-section {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .product-title {
        font-size: 20px;
        word-wrap: break-word;
    }

    .current-price {
        font-size: 30px;
    }

    .original-price {
        font-size: 17px;
    }

    .product-tabs {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .content-card-body {
        padding: 20px;
        font-size: 15px;
    }

    .content-card-body h1 {
        font-size: 22px;
    }

    .content-card-body h2 {
        font-size: 20px;
    }

    .content-card-body h3 {
        font-size: 18px;
    }

    .content-card-body h4 {
        font-size: 16px;
    }

    .tab-headers {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }

    .tab-header {
        padding: 12px 20px;
        font-size: 14px;
    }

    .tab-contents {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .tab-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .post-description {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .article-content-wrapper {
        padding: 25px 20px;
    }

    .comments-area {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 25px 20px;
    }

    .comment-form-box {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .comment-user-avatar {
        display: none;
    }

    .comment-input-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .comment-input {
        width: 100%;
        max-width: 100%;
    }

    .voting-section {
        gap: 40px;
    }

    .vote-emoji {
        font-size: 48px;
    }

    .vote-number {
        font-size: 24px;
    }

    .detail-sidebar {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .sidebar-widget {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
    }

    .detail-main {
        gap: 15px;
    }

    .main-image {
        height: 300px;
        max-width: 100%;
    }

    .thumbnail-list {
        gap: 18px;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .thumb-img {
        width: 60px;
        height: 60px;
    }

    .product-price-area {
        flex-wrap: wrap;
    }

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

    .original-price {
        font-size: 16px;
    }

    .btn-add-cart {
        width: 100%;
        max-width: 100%;
    }

    .store-section {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .tab-header {
        padding: 10px 16px;
        font-size: 13px;
    }

    .comment-item {
        padding: 20px 0;
        width: 100%;
        max-width: 100%;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .comment-content {
        width: 100%;
        max-width: calc(100% - 50px);
        overflow-wrap: break-word;
    }

    .comment-text {
        font-size: 14px;
        word-wrap: break-word;
    }

    .toolbar-buttons {
        gap: 6px;
    }

    .toolbar-btn {
        width: 34px;
        height: 34px;
    }
}

/* ===================================
   新闻详情页样式 (news-detail.html)
   =================================== */

/* 文章元信息栏 */
.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.author-avatar-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.author-text {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.author-name-small {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.author-role {
    margin: auto;
    font-size: 13px;
    color: #666;
}

/* 文章统计数据 */
.article-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
}


/* 文章操作按钮 */
.article-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-primary {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    flex: 1;
    padding: 14px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f5f7ff;
}

.btn-bookmark svg,
.btn-share svg {
    flex-shrink: 0;
}

/* 分类徽章框 */
.category-badge-box {
    padding: 20px;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid #ffe082;
}

.category-label {
    font-size: 13px;
    font-weight: 600;
    color: #f57c00;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    color: #f57c00;
    border: 1px solid #ffb74d;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.category-badge:hover {
    background: #f57c00;
    color: white;
}

/* 文章完整内容 */
.article-full-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 4px;
    margin-bottom: 30px;
}

.article-full-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.article-full-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.article-full-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 25px 0 12px;
}

.article-full-content p {
    text-indent: 2ch;
    margin-bottom: 18px;
    text-align: justify;
}

.article-full-content p img{
    margin: auto;
    display: block;
}

.article-full-content ul,
.article-full-content ol {
    margin: 18px 0;
    padding-left: 30px;
}

.article-full-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-full-content strong {
    font-weight: 600;
    color: #2c3e50;
}

/* 内容特色框 */
.content-feature-box {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.content-feature-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1565c0;
    margin: 0 0 15px 0 !important;
}

.content-feature-box ul {
    margin: 0 !important;
    padding-left: 20px !important;
}

.content-feature-box li {
    color: #0d47a1;
    margin-bottom: 8px !important;
}

/* 对比表格 */
.content-comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.content-comparison-table h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px !important;
}

.content-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.content-comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.content-comparison-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.content-comparison-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.content-comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.content-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* 提示框 */
.content-tips-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.tip-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.tip-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.tip-content {
    flex: 1;
}

.tip-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0 !important;
}

.tip-content p {
    margin: 0 !important;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* 推荐框 */
.content-recommendation-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.recommendation-item {
    padding: 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.recommendation-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1565c0;
    margin: 0 0 10px 0 !important;
}

.recommendation-item p {
    margin: 0 !important;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* 购买渠道列表 */
.buying-channels-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.buying-channels-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.buying-channels-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

/* 警告框 */
.content-warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.content-warning-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #f57c00;
    margin: 0 0 15px 0 !important;
}

.content-warning-box ul {
    margin: 0 !important;
    padding-left: 20px !important;
}

.content-warning-box li {
    color: #e65100;
    margin-bottom: 8px !important;
}

/* 文章底部说明 */
.article-footer-note {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.article-footer-note p {
    margin-bottom: 10px !important;
    font-size: 14px;
    color: #666;
}

.article-footer-note p:last-child {
    margin-bottom: 0 !important;
}


/* 侧边栏标签云小部件 */
.tags-cloud-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-widget-item {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #555;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-widget-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 侧边栏处理 */
.deal-meta {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 新闻详情布局 */
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 100%;
    overflow-x: hidden;
}

.news-article-main {
    background: white;
    border-radius: 12px;
    padding: 50px 60px;
    max-width: 100%;
    overflow-x: hidden;
}

/* 文章头部 */
.article-header {
    margin-bottom: 40px;
}

.article-category {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.category-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.article-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 25px 0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.meta-item svg {
    flex-shrink: 0;
    color: #999;
}

/* 特色图片 */
.article-featured-image {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0 40px;
}

.article-featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 文章内容 */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.lead-paragraph {
    font-size: 19px;
    line-height: 1.7;
    color: #444;
    font-weight: 400;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 45px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 35px 0 18px;
}

.article-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #34495e;
    margin: 28px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

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

.article-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content ol li {
    padding-left: 10px;
}

.article-content strong {
    font-weight: 600;
    color: #2c3e50;
}

.article-content a {
    color: #1a73e8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.article-content a:hover {
    border-bottom-color: #1a73e8;
}

/* 内容高亮框 */
.content-highlight-box {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 10px;
    padding: 25px 30px;
    margin: 30px 0;
}

.content-highlight-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1565c0;
    margin: 0 0 15px 0;
}

.content-highlight-box ul {
    margin: 0;
    padding-left: 25px;
}

.content-highlight-box li {
    color: #0d47a1;
    margin-bottom: 10px;
}

/* 引用框 */
.content-quote-box {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
}

.content-quote-box p {
    font-size: 18px;
    color: #e65100;
    margin-bottom: 15px;
    line-height: 1.6;
}

.content-quote-box cite {
    display: block;
    text-align: right;
    font-size: 15px;
    color: #f57c00;
    font-style: normal;
    font-weight: 600;
}

/* 文章图片组 */
.article-image-group {
    margin: 35px 0;
    text-align: center;
}

.article-image-group img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* 文章标签 */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin: 40px 0;
}

.tags-label {
    font-weight: 600;
    color: #666;
    font-size: 15px;
}

.tag-link {
    display: inline-block;
    padding: 7px 16px;
    background: #f5f5f5;
    color: #555;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

/* 文章分享 */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.share-label {
    font-weight: 600;
    color: #666;
    font-size: 15px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.copy-link {
    background: #6c757d;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 作者信息框 */
.author-info-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.author-avatar {
    flex-shrink: 0;
}

.avatar-circle-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.author-title {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
}

.author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 15px;
}

.social-link {
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* 相关文章区域 */
.related-articles-section {
    margin: 50px 0;
}

.section-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.related-article-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.related-article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-content {
    padding: 20px;
}

.related-article-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

/* 评论区域 */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.comments-count {
    color: #667eea;
    font-weight: 400;
}

.comment-sort {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.comments-list {
    margin-top: 30px;
}

.btn-load-more {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 14px 30px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: #667eea;
    color: white;
}

/* 新闻侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
}

/* 热门文章 */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.popular-post-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.post-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
}

.post-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.post-views {
    font-size: 12px;
    color: #999;
}

/* 分类列表 */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.category-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.category-link .count {
    color: #999;
    font-size: 13px;
}

.category-link:hover .count {
    color: white;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud-item {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #555;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-cloud-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

/* Newsletter订阅 */
.newsletter-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px !important;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-desc {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.newsletter-btn {
    padding: 12px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* 广告位 */
.ad-widget {
    padding: 0 !important;
}

.ad-placeholder {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.ad-placeholder img {
    width: 100%;
    display: block;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-article-main {
        padding: 40px 30px;
    }

    .article-title {
        font-size: 30px;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-images-section {
        max-width: 500px;
        margin: 0 auto;
    }

    .article-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .content-comparison-table {
        font-size: 13px;
    }

    .content-comparison-table th,
    .content-comparison-table td {
        padding: 10px 8px;
    }
}

/* 响应式设计 - 手机端 */
@media (max-width: 768px) {
    .news-article-main {
        padding: 25px 20px;
        border-radius: 0;
    }

    .product-title {
        font-size: 22px;
    }

    .article-meta-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .article-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .article-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .article-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .article-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-intro,
    .lead-paragraph {
        font-size: 17px;
        padding: 15px;
    }

    .article-full-content h2,
    .article-content h2 {
        font-size: 22px;
        margin: 35px 0 15px;
    }

    .article-full-content h3,
    .article-content h3 {
        font-size: 20px;
    }

    .article-full-content h4,
    .article-content h4 {
        font-size: 18px;
    }

    .content-highlight-box,
    .content-quote-box,
    .content-feature-box,
    .content-warning-box {
        padding: 15px;
        margin: 20px 0;
    }

    .tip-item {
        flex-direction: column;
        padding: 15px;
    }

    .tip-icon {
        font-size: 28px;
    }

    .content-comparison-table {
        font-size: 12px;
    }

    .content-comparison-table th,
    .content-comparison-table td {
        padding: 8px 6px;
    }

    .article-tags,
    .article-share {
        flex-wrap: wrap;
    }

    .author-info-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .avatar-circle-large {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 22px;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-article-main {
        padding: 20px 15px;
    }

    .product-title {
        font-size: 20px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-category {
        flex-wrap: wrap;
    }

    .article-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
    }

    .stat-number {
        font-size: 18px;
    }

    .article-actions {
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px;
        font-size: 14px;
    }

    .article-content,
    .article-full-content {
        font-size: 15px;
    }

    .article-intro {
        font-size: 16px;
        padding: 12px;
    }

    .article-full-content h2,
    .article-content h2 {
        font-size: 20px;
    }

    .article-full-content h3,
    .article-content h3 {
        font-size: 18px;
    }

    .article-full-content h4,
    .article-content h4 {
        font-size: 16px;
    }

    .content-feature-box,
    .content-warning-box,
    .content-highlight-box {
        padding: 12px;
    }

    .tip-item {
        padding: 12px;
    }

    .tip-icon {
        font-size: 24px;
    }

    .recommendation-item {
        padding: 15px;
    }

    .content-comparison-table {
        font-size: 11px;
    }

    .content-comparison-table th,
    .content-comparison-table td {
        padding: 6px 4px;
    }

    .share-btn {
        width: 38px;
        height: 38px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-avatar-small {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .product-info-section {
        padding: 15px;
    }

    .article-content-wrapper {
        padding: 20px 15px;
    }

    .comments-area {
        padding: 20px 15px;
    }

}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
