/* ============================================
   逗号CMS - 全局样式表
   橘红色主色调：#FF6B35
============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; 
    background: #f0f2f5; 
    color: #333; 
    line-height: 1.6;
}
a { text-decoration: none; color: #333; transition: color 0.3s; }
a:hover { color: #FF6B35; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部导航栏 ========== */
.header { 
    background: #fff; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); 
    position: relative;
    z-index: 100;
}
.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 64px; 
    gap: 20px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; max-width: 180px; object-fit: contain; }
.logo a { font-size: 22px; font-weight: bold; color: #FF6B35; display: flex; align-items: center; gap: 5px; }
.logo a:hover { color: #e55a2b; }

/* 导航菜单 */
.nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav a { 
    padding: 8px 16px; 
    border-radius: 18px; 
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: #555;
}
.nav a i { margin-right: 4px; font-size: 13px; }
.nav a:hover, 
.nav a.active { background: #FFF5F0; color: #FF6B35; }
.nav a.all-article { border: 1px solid #e0e0e0; padding: 8px 18px; }
.nav a.all-article:hover { border-color: #FF6B35; background: #fff; }

/* 搜索按钮 */
.search-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: #f5f5f5; color: #666;
    cursor: pointer; font-size: 16px; transition: all 0.3s;
    margin-left: 5px; flex-shrink: 0;
}
.search-toggle:hover { background: #FF6B35; color: #fff; }

/* 搜索区域 */
.search-section { display: none; background: #fff; padding: 15px 20px; border-top: 1px solid #f0f0f0; }
.search-section.show { display: block; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.search-form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.search-input { flex: 1; padding: 10px 18px; border: 1px solid #e0e0e0; border-radius: 20px; font-size: 14px; outline: none; transition: border-color 0.3s; }
.search-input:focus { border-color: #FF6B35; }
.search-btn { background: #FF6B35; color: #fff; border: none; padding: 10px 25px; border-radius: 20px; cursor: pointer; font-size: 14px; white-space: nowrap; transition: background 0.3s; }
.search-btn:hover { background: #e55a2b; }

/* 移动端菜单按钮 */
.menu-toggle { display: none; background: #FF6B35; color: #fff; border: none; width: 38px; height: 38px; border-radius: 8px; cursor: pointer; font-size: 18px; flex-shrink: 0; }

/* 桌面端导航内的菜单按钮始终隐藏 */
#menuToggle { display: none; }

/* 手机端操作按钮组 */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.search-toggle-mobile {
    display: none;
}

/* 菜单遮罩 */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}
.menu-overlay.show {
    display: block;
}

/* 手机端侧滑菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}
.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.mobile-menu-body {
    padding: 10px 0;
}

.mobile-menu-body a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #555;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

.mobile-menu-body a i {
    width: 22px;
    margin-right: 10px;
    color: #FF6B35;
    font-size: 14px;
}

.mobile-menu-body a:hover,
.mobile-menu-body a.active {
    background: #FFF5F0;
    color: #FF6B35;
}

.mobile-menu-body a.all-article {
    border-bottom: none;
}

/* ========== 页面主体间距 ========== */
.page-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ========== 轮播图 ========== */
.banner { 
    margin: 0 auto 20px; 
    position: relative; 
    overflow: hidden; 
    border-radius: 10px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.banner img { 
    width: 100%; 
    display: block; 
    object-fit: cover;
    height: 350px;
}

/* ========== 区块标题 ========== */
.section-title { 
    font-size: 20px; 
    margin: 0 0 15px; 
    padding-left: 12px; 
    border-left: 3px solid #FF6B35; 
    font-weight: 600;
    color: #333;
}
.section-title i { margin-right: 6px; color: #FF6B35; }

/* ========== 文章卡片 ========== */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-bottom: 10px; }
.article-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 14px; }
.article-card-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.article-card-title a { color: #333; }
.article-card-title a:hover { color: #FF6B35; }
.article-card-desc { color: #999; font-size: 13px; margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-meta { display: flex; justify-content: space-between; color: #bbb; font-size: 12px; padding-top: 10px; border-top: 1px solid #f5f5f5; }

/* ========== 横向列表 ========== */
.article-list-item { display: flex; gap: 18px; background: #fff; padding: 16px; border-radius: 10px; margin-bottom: 15px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); transition: transform 0.2s; }
.article-list-item:hover { transform: translateY(-2px); box-shadow: 0 3px 12px rgba(0,0,0,0.08); }
.article-list-item img { width: 200px; height: 140px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.article-list-item.list-mode-1 { flex-direction: row; }
.article-list-item.list-mode-2 { flex-direction: row-reverse; }
.article-list-content { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.article-list-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.article-list-title a { color: #333; }
.article-list-title a:hover { color: #FF6B35; }
.article-list-desc { color: #999; font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.article-list-meta { color: #bbb; font-size: 12px; display: flex; gap: 15px; }

/* ========== 两栏布局 ========== */
.two-col { display: flex; gap: 20px; }
.main-content { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }

/* ========== 热门排行 ========== */
.sidebar-card { background: #fff; padding: 18px; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); margin-bottom: 18px; }
.sidebar-card h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #FF6B35; color: #333; }
.sidebar-card h3 i { color: #FF6B35; margin-right: 6px; }
.hot-list { list-style: none; padding: 0; }
.hot-list li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px dashed #f0f0f0; gap: 10px; }
.hot-list li:last-child { border-bottom: none; }
.hot-rank { width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 4px; font-size: 12px; font-weight: 600; color: #999; background: #f5f5f5; flex-shrink: 0; }
.hot-rank.top1 { background: #e74c3c; color: #fff; }
.hot-rank.top2 { background: #ff9800; color: #fff; }
.hot-rank.top3 { background: #4caf50; color: #fff; }
.hot-list a { flex: 1; color: #555; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-list a:hover { color: #FF6B35; }
.hot-views { color: #bbb; font-size: 11px; flex-shrink: 0; }

/* ========== 侧边栏列表 ========== */
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 9px 0; border-bottom: 1px dashed #f0f0f0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { display: flex; justify-content: space-between; align-items: center; color: #555; font-size: 13px; }
.sidebar-list a:hover { color: #FF6B35; }
.sidebar-list .list-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.sidebar-list .list-views,
.sidebar-list .list-date,
.sidebar-list .list-count { color: #bbb; font-size: 11px; white-space: nowrap; }
.sidebar-list .list-thumb { width: 50px; height: 50px; border-radius: 4px; overflow: hidden; flex-shrink: 0; margin-right: 8px; }
.sidebar-list .list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-list .list-info { flex: 1; min-width: 0; }
.sidebar-list .list-meta { color: #bbb; font-size: 11px; }

/* ========== 分类列表页 ========== */
.category-tabs-wrapper { margin-bottom: 18px; }
.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s;
    text-decoration: none;
}
.category-tab i { font-size: 12px; }
.category-tab:hover { background: #FF6B35; color: #fff; }
.category-tab.active { background: #FF6B35; color: #fff; font-weight: 500; }
.category-tab .tab-count { font-size: 11px; opacity: 0.8; margin-left: 2px; }

/* ========== 文章详情页 ========== */
.article-detail { background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.article-detail h1 { font-size: 24px; margin-bottom: 15px; color: #222; line-height: 1.4; }
.article-detail .meta { color: #999; font-size: 13px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; display: flex; gap: 15px; flex-wrap: wrap; }
.article-detail .meta i { margin-right: 3px; }
.article-detail .content { line-height: 1.8; font-size: 15px; color: #333; }
.article-detail .content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.article-detail .content h2,
.article-detail .content h3 { margin: 20px 0 10px; }
.article-detail .content p { margin-bottom: 12px; }
.article-detail .content blockquote { border-left: 3px solid #FF6B35; padding: 10px 15px; margin: 15px 0; background: #fafafa; border-radius: 0 6px 6px 0; }
.article-tags { margin-top: 20px; padding-top: 15px; border-top: 1px solid #f0f0f0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-tags span { color: #666; font-size: 13px; }
.article-tags .tag { display: inline-block; padding: 5px 14px; background: #FFF5F0; color: #FF6B35; border-radius: 15px; font-size: 12px; transition: all 0.3s; }
.article-tags .tag:hover { background: #FF6B35; color: #fff; }
.article-navigation { display: flex; justify-content: space-between; gap: 15px; margin-top: 20px; }
.article-navigation a { flex: 1; padding: 12px 16px; background: #f9f9f9; border-radius: 8px; font-size: 13px; transition: all 0.3s; }
.article-navigation a:hover { background: #FFF5F0; color: #FF6B35; }
.article-navigation .nav-label { display: block; font-size: 11px; color: #999; margin-bottom: 4px; }
.article-navigation .next { text-align: right; }

/* ========== 列表页通用 ========== */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.article-count { color: #999; font-size: 13px; }
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state i { font-size: 48px; margin-bottom: 15px; color: #ddd; display: block; }
.empty-state p { font-size: 15px; margin-bottom: 15px; }
.btn-primary { display: inline-block; padding: 10px 25px; background: #FF6B35; color: #fff; border-radius: 20px; font-size: 14px; transition: all 0.3s; }
.btn-primary:hover { background: #e55a2b; color: #fff; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; margin-left: 5px; }
.badge-recommend { background: #fff3e0; color: #FF6B35; }
.badge-hot { background: #fce4ec; color: #e74c3c; }
.read-more { color: #FF6B35; font-size: 13px; font-weight: 500; white-space: nowrap; }
.read-more:hover { color: #e55a2b; }
.read-more i { font-size: 11px; margin-left: 2px; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 15px; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 13px; color: #666; }
.pagination a:hover { border-color: #FF6B35; color: #FF6B35; }
.pagination .current { background: #FF6B35; color: #fff; border-color: #FF6B35; }

/* ========== 底部 ========== */
.footer { background: #2c3e50; color: #bdc3c7; text-align: center; padding: 25px 0; margin-top: 40px; }
.footer a { color: #FF6B35; }
.footer a:hover { color: #f5a623; }
.footer p { font-size: 13px; margin-bottom: 5px; }
.footer i { color: #FF6B35; margin-right: 4px; }
.footer-content { display: flex; justify-content: center; align-items: center; }

.back-to-top {
    position: fixed; bottom: 25px; right: 25px;
    width: 40px; height: 40px; border-radius: 50%;
    background: #FF6B35; color: #fff; border: none;
    cursor: pointer; display: none; align-items: center; justify-content: center;
    font-size: 16px; box-shadow: 0 2px 10px rgba(255,107,53,0.3);
    transition: all 0.3s; z-index: 999;
}
.back-to-top:hover { background: #e55a2b; transform: translateY(-2px); }
.back-to-top.show { display: flex; }

/* ========== 产品列表 ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-bottom: 20px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,0.06); transition: transform .3s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.product-img { height: 200px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .no-img { width: 100%; height: 100%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 48px; }
.product-info { padding: 15px; }
.product-info h3 { font-size: 16px; margin-bottom: 10px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-price-row { display: flex !important; justify-content: space-between !important; align-items: center !important; }
.product-price { font-size: 16px; font-weight: 700; color: #e74c3c; }
.product-btn { display: inline-block; padding: 5px 16px; background: #FF6B35; color: #fff; border-radius: 20px; font-size: 12px; transition: background .3s; white-space: nowrap; flex-shrink: 0; }
.product-btn:hover { background: #e55a2b; }

/* ========== 产品详情 ========== */
.product-detail-page { max-width: 1200px; margin: 0 auto; }
.product-detail-top { display: flex; gap: 30px; margin-bottom: 30px; background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.product-detail-gallery { flex: 1; min-width: 0; }
.gallery-main { position: relative; border-radius: 8px; overflow: hidden; background: #f5f5f5; }
.gallery-main img { width: 100%; height: 400px; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 18px; transition: .3s; display: flex; align-items: center; justify-content: center; }
.gallery-arrow:hover { background: rgba(0,0,0,0.7); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: .3s; }
.gallery-dot.active { background: #FF6B35; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery-thumb { flex-shrink: 0; width: 80px; height: 60px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: .3s; }
.gallery-thumb.active { border-color: #FF6B35; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { flex: 1; min-width: 300px; }
.product-detail-info h1 { font-size: 24px; color: #222; margin-bottom: 12px; }
.product-meta {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
}
.product-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
}
.product-meta .meta-item i {
    color: #bbb;
    font-size: 13px;
}
.product-meta .meta-divider {
    width: 1px;
    height: 14px;
    background: #e0e0e0;
}
.product-description { background: #f9f9f9; padding: 15px; border-radius: 8px; margin-bottom: 20px; line-height: 1.7; color: #666; }
.product-description h3 { font-size: 16px; color: #333; margin-bottom: 8px; }

/* 价格联系方式美化 */
.product-price-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.product-price-box,
.product-contact-box {
    flex: 1;
    min-width: 180px;
    padding: 18px 20px;
    border-radius: 10px;
    text-align: center;
}
.product-price-box {
    background: linear-gradient(135deg, #FFF5F0, #FFEEE5);
    border: 1px solid #FFD5C0;
}
.product-contact-box {
    background: linear-gradient(135deg, #F0F7FF, #E5F0FF);
    border: 1px solid #C0D5FF;
}
.price-label,
.contact-label {
    font-size: 15px;
    color: #b54a4a;
    margin-bottom: 8px;
}
.contact-label i {
    margin-right: 4px;
    color: #5b9bd5;
}
.price-value {
    font-size: 26px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1.2;
}
.contact-value {
    font-size: 21px;
    color: #333;
    font-weight: 500;
    word-break: break-all;
}

.product-detail-bottom { display: flex; gap: 30px; }
.product-related { width: 340px; flex-shrink: 0; background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.product-related h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #FF6B35; color: #333; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-item { text-decoration: none; display: block; }
.related-img { height: 100px; border-radius: 6px; overflow: hidden; background: #f5f5f5; margin-bottom: 8px; }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 32px; }
.related-title { font-size: 13px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.related-item:hover .related-title { color: #FF6B35; }

.product-content { flex: 1; min-width: 0; background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.product-content h3 { font-size: 16px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #FF6B35; color: #333; }
.product-content .content { line-height: 1.8; font-size: 15px; color: #333; }
.product-content .content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .header-content { 
        height: auto; 
        padding: 10px 0; 
        position: relative;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .nav { display: none !important; }
    
    .mobile-actions { display: flex; position: static; }
    .search-toggle-mobile { display: flex; }
    .search-toggle-desktop { display: none; }
    #menuToggle { display: none !important; }
    #menuToggleMobile { display: flex; align-items: center; justify-content: center; }
    
    .mobile-menu { display: block; }
    
    .logo { padding-right: 0; }
    
    .banner img { height: 180px; }
    
    .two-col { flex-direction: column; }
    .sidebar { width: 100%; }
    .search-form { flex-direction: column; }
    .search-btn { text-align: center; }
    .article-navigation { flex-direction: column; }
    .article-detail h1 { font-size: 20px; }
    .category-tab { padding: 6px 12px; font-size: 13px; }

    .article-grid { display: flex; flex-direction: column; gap: 12px; }
    .article-card.recommend-card { display: flex; flex-direction: row; gap: 12px; padding: 12px; align-items: flex-start; }
    .article-card.recommend-card.list-mode-1 { flex-direction: row; }
    .article-card.recommend-card.list-mode-1 .list-thumb-link { flex-shrink: 0; width: 120px; height: 90px; }
    .article-card.recommend-card.list-mode-1 img { width: 120px; height: 90px; border-radius: 6px; }
    .article-card.recommend-card.list-mode-2 { flex-direction: row-reverse; }
    .article-card.recommend-card.list-mode-2 .list-thumb-link { flex-shrink: 0; width: 120px; height: 90px; }
    .article-card.recommend-card.list-mode-2 img { width: 120px; height: 90px; border-radius: 6px; }
    .article-card.recommend-card .article-card-body { flex: 1; padding: 0; min-width: 0; overflow: hidden; }
    .article-card.recommend-card .article-card-title { font-size: 14px; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .article-card.recommend-card .article-card-desc { font-size: 12px; margin-bottom: 6px; }
    .article-card.recommend-card .article-card-meta { font-size: 11px; padding-top: 6px; }

    .article-list-item { flex-direction: row !important; gap: 12px; padding: 12px; align-items: flex-start; }
    .article-list-item .list-thumb-link { flex-shrink: 0; width: 120px; height: 90px; }
    .article-list-item img { width: 120px !important; height: 90px !important; object-fit: cover; border-radius: 6px; }
    .article-list-item.list-mode-1 { flex-direction: row !important; }
    .article-list-item.list-mode-2 { flex-direction: row-reverse !important; }
    .article-list-content { flex: 1; min-width: 0; overflow: hidden; }
    .article-list-title { font-size: 14px; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .article-list-desc { font-size: 12px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; line-height: 1.4; }
    .article-list-meta { font-size: 11px; gap: 10px; flex-wrap: wrap; }
    
    .product-detail-top { flex-direction: column; padding: 15px; }
    .gallery-main img { height: 280px; }
    .product-detail-bottom { flex-direction: column; }
    .product-related { width: 100%; }
    .product-detail-info h1 { font-size: 20px; }
    .price-value { font-size: 22px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 769px) {
    .nav { display: flex !important; }
    .search-toggle-desktop { display: flex; }
    .mobile-actions { display: none; }
    .mobile-menu { display: none; }
    .menu-overlay { display: none; }
    #menuToggle { display: none; }
    #menuToggleMobile { display: none; }
}