/* ================================================================
   头一号枸杞网 - 前台样式
   ================================================================ */
:root {
    --primary: #c8102e;
    --primary-dark: #a00d24;
    --primary-light: #e63946;
    --secondary: #f0a500;
    --dark: #2c2c2c;
    --gray: #666;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
    --bg: #fafafa;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --radius: 6px;
    --container: 1200px;
    --header-height: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* === 顶部栏 === */
.top-bar { background: var(--dark); color: #ccc; font-size: 12px; padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-right { display: flex; align-items: center; gap: 8px; }
.top-bar-right .divider { color: #555; }

/* === 头部 === */
.site-header { background: var(--white); box-shadow: var(--shadow); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: var(--header-height); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 48px; height: 48px; background: var(--primary); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: bold;
}
.logo-text strong { font-size: 22px; color: var(--dark); display: block; }
.logo-text small { font-size: 12px; color: var(--gray); }
.header-search { display: flex; }
.header-search input {
    width: 220px; padding: 8px 14px; border: 2px solid var(--border); border-radius: var(--radius) 0 0 var(--radius);
    font-size: 13px; outline: none;
}
.header-search button {
    padding: 8px 18px; background: var(--primary); color: #fff; border: none;
    border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 13px;
}
.header-search button:hover { background: var(--primary-dark); }

/* === 导航 === */
.main-nav { background: var(--primary); }
.nav-list { display: flex; list-style: none; }
.nav-list li a {
    color: #fff; padding: 14px 22px; display: block; font-size: 15px; font-weight: 500;
}
.nav-list li:hover { background: var(--primary-dark); }
.nav-list li.active a { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 10px; }

/* === 轮播 === */
.banner-slider { position: relative; max-height: 400px; overflow: hidden; background: #eee; }
.banner-track { position: relative; }
.banner-slide { display: none; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; max-height: 400px; object-fit: cover; }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dot { width: 10px; height: 10px; background: rgba(255,255,255,.5); border-radius: 50%; cursor: pointer; }
.banner-dot.active { background: #fff; }

/* === 优势 === */
.advantages { padding: 30px 0; background: var(--white); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-item { text-align: center; padding: 20px; }
.adv-icon {
    width: 56px; height: 56px; margin: 0 auto 12px; background: var(--light-gray);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: bold; color: var(--primary); border: 2px solid var(--primary);
}
.adv-item h3 { font-size: 16px; margin-bottom: 4px; }
.adv-item p { font-size: 12px; color: var(--gray); }

/* === 通用 Section === */
.section { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 30px; }
.section-title { font-size: 24px; color: var(--dark); }
.section-subtitle { font-size: 13px; color: var(--gray); margin-top: 4px; }
.section-more { text-align: center; margin-top: 24px; }
.btn-more { display: inline-block; padding: 8px 24px; border: 1px solid var(--primary); color: var(--primary); border-radius: var(--radius); }
.btn-more:hover { background: var(--primary); color: #fff; }

/* === 产品分类 === */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: all .2s; }
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card-name { font-size: 16px; font-weight: bold; color: var(--primary); margin-bottom: 6px; }
.cat-card-desc { font-size: 12px; color: var(--gray); }

/* === 产品网格 === */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.product-link { display: block; }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--light-gray); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.badge { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 3px; font-size: 11px; color: #fff; }
.badge-new { background: var(--secondary); }
.product-info { padding: 12px; }
.product-name { font-size: 14px; margin-bottom: 4px; color: var(--dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-subtitle { font-size: 12px; color: var(--gray); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-meta { display: flex; align-items: baseline; gap: 6px; }
.product-price { font-size: 18px; color: var(--primary); font-weight: bold; }
.product-original { font-size: 12px; color: #999; text-decoration: line-through; }
.product-unit { font-size: 12px; color: var(--gray); }

/* === 资讯网格 === */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-card > a { display: flex; gap: 16px; padding: 16px; }
.news-date { text-align: center; min-width: 50px; padding: 8px; background: var(--light-gray); border-radius: var(--radius); }
.news-day { font-size: 24px; font-weight: bold; color: var(--primary); display: block; }
.news-month { font-size: 11px; color: var(--gray); }
.news-title { font-size: 14px; margin-bottom: 6px; }
.news-summary { font-size: 12px; color: var(--gray); }

/* === CTA === */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 40px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-text h2 { color: #fff; font-size: 24px; }
.cta-text p { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }
.btn-cta { background: #fff; color: var(--primary); padding: 12px 28px; border-radius: var(--radius); font-size: 16px; font-weight: bold; }
.btn-cta:hover { background: var(--light-gray); }

/* === 页面布局 === */
.page-wrap { padding: 24px 0 40px; min-height: 400px; }
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--gray); }
.breadcrumb a { color: var(--gray); }
.breadcrumb span { margin: 0 6px; }
.page-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.main-content { min-width: 0; padding: 0 4px; }
.page-title { font-size: 22px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }

/* === 侧边栏 === */
.sidebar-box { background: var(--white); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow); }
.sidebar-title { background: var(--primary); color: #fff; padding: 10px 16px; font-size: 14px; }
.sidebar-cat, .sidebar-news { list-style: none; padding: 8px; }
.sidebar-cat li a { display: block; padding: 8px 12px; color: var(--dark); border-radius: 4px; font-size: 13px; }
.sidebar-cat li a:hover, .sidebar-cat li a.active { background: var(--light-gray); color: var(--primary); }
.sidebar-news li { padding: 6px 12px; border-bottom: 1px dashed var(--border); }
.sidebar-news li:last-child { border: none; }
.sidebar-news li a { font-size: 13px; color: var(--gray); }
.sidebar-contact { padding: 6px 16px; font-size: 13px; color: var(--gray); }

/* === 资讯列表 === */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.news-item:hover { transform: translateX(4px); }
.news-item-link { display: flex; gap: 16px; padding: 16px; }
.news-item-img { width: 160px; height: 100px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-title { font-size: 16px; margin-bottom: 8px; }
.news-item-summary { font-size: 13px; color: var(--gray); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-meta { display: flex; gap: 16px; font-size: 12px; color: #999; }
.tag-top { background: var(--primary); color: #fff; padding: 1px 6px; border-radius: 3px; font-size: 11px; margin-right: 4px; }

/* === 文章详情 === */
.article-detail { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-title { font-size: 24px; margin-bottom: 12px; line-height: 1.4; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #999; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.article-content { font-size: 15px; line-height: 1.8; overflow-wrap: break-word; }
.article-content h3 { font-size: 18px; margin: 20px 0 10px; color: var(--dark); }
.article-content p { margin-bottom: 12px; }
.article-content ul, .article-content ol { margin: 12px 0 12px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content img { max-width: 100%; border-radius: var(--radius); margin: 12px auto; }
.article-cover { margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.article-content blockquote { border-left: 4px solid var(--primary); background: var(--light-gray); padding: 12px 16px; margin: 14px 0; color: var(--gray); border-radius: 0 var(--radius) var(--radius) 0; }
.article-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 14px 0; font-size: 14px; -webkit-overflow-scrolling: touch; }
.article-content table th, .article-content table td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; white-space: nowrap; }
.article-content table th { background: var(--light-gray); font-weight: 600; }
.article-content a { color: var(--primary); }
.article-content code { background: var(--light-gray); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-tags .tags-label { font-size: 13px; color: var(--gray); }
.article-tags .tag { display: inline-block; padding: 4px 12px; background: var(--light-gray); border-radius: 14px; font-size: 12px; color: var(--gray); }
.article-tags .tag:hover { background: var(--primary); color: #fff; }
.article-share { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--gray); }
.share-btn { display: inline-block; padding: 6px 16px; border-radius: var(--radius); font-size: 12px; color: #fff; text-decoration: none; }
.share-copy { background: var(--secondary); }
.share-sina { background: #e6162d; }
.share-qq { background: #12b7f5; }
.share-btn:hover { opacity: .85; color: #fff; }
.related-list { list-style: none; }
.related-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.related-list li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-date { font-size: 12px; color: #bbb; flex-shrink: 0; }

/* === 分页 === */
.pagination { margin-top: 24px; text-align: center; }
.pagination ul { display: inline-flex; gap: 4px; list-style: none; }
.pagination li a { display: block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 4px; color: var(--dark); }
.pagination li a:hover, .pagination li.active a { background: var(--primary); color: #fff; border-color: var(--primary); }

/* === 产品详情 === */
.product-detail { display: grid; grid-template-columns: 400px 1fr; gap: 24px; background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }
.gallery-main { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--light-gray); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.gallery-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img:hover { border-color: var(--primary); }
.product-title { font-size: 20px; margin-bottom: 8px; }
.product-sub { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.product-price-box { background: var(--light-gray); padding: 16px; border-radius: var(--radius); margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; }
.price-label { font-size: 12px; color: var(--gray); }
.price-now { font-size: 28px; color: var(--primary); font-weight: bold; }
.price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.price-unit { font-size: 13px; color: var(--gray); }
.product-attrs { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.product-attrs td { padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.product-attrs td:first-child { width: 80px; color: var(--gray); }
.product-actions { display: flex; gap: 12px; margin-bottom: 16px; }
.btn-contact, .btn-message { padding: 10px 28px; border-radius: var(--radius); font-size: 14px; }
.btn-contact { background: var(--primary); color: #fff; border: none; }
.btn-contact:hover { background: var(--primary-dark); }
.btn-message { background: var(--secondary); color: #fff; border: none; }
.btn-message:hover { opacity: .9; }
.product-tip { background: #fff8e1; padding: 12px; border-radius: var(--radius); font-size: 12px; color: #856404; border: 1px solid #ffe082; }
.product-content { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }
.content-title { font-size: 18px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.related-products { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.related-articles { margin-top: 24px; padding: 0 4px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 0 4px; }
.article-nav > div { flex: 1; }
.article-nav span { display: block; font-size: 12px; color: #999; }
.article-nav a { font-size: 13px; }

/* === 联系页 === */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-layout > * { min-width: 0; }
.contact-info { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-info .article-content { word-break: break-word; }
.contact-info .article-content a { word-break: break-all; }
.contact-info-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; gap: 12px; padding: 12px; background: var(--white); border-radius: var(--radius); }
.contact-label { font-weight: bold; min-width: 40px; color: var(--gray); flex-shrink: 0; }
.contact-value { overflow-wrap: break-word; word-break: break-all; }
.contact-form-wrap { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-title { font-size: 18px; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; }
.form-group em { color: var(--primary); font-style: normal; }
.form-group input, .form-group textarea {
    width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px;
    font-size: 14px; outline: none; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.btn-submit { padding: 10px 28px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 14px; cursor: pointer; }
.btn-submit:hover { background: var(--primary-dark); }
.form-msg { margin-top: 12px; font-size: 13px; }
.form-msg.success { color: #28a745; }
.form-msg.error { color: var(--primary); }

/* === 搜索 === */
.search-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 2px solid var(--border); }
.search-tabs a { padding: 8px 20px; font-size: 14px; color: var(--gray); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.search-tabs a.active { color: var(--primary); border-color: var(--primary); }
.search-form { display: flex; gap: 8px; margin-top: 20px; }
.search-input { flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }

/* === 空状态 === */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }

/* === 底部 === */
.site-footer { background: var(--dark); color: #999; padding: 40px 0 calc(20px + env(safe-area-inset-bottom)); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; margin-bottom: 24px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-col li a { color: #999; font-size: 13px; }
.footer-col li a:hover { color: #fff; }
.contact-info li { font-size: 13px; padding: 2px 0; }
.friend-links { padding: 12px 0; border-top: 1px solid #444; margin-bottom: 12px; }
.friend-links span, .friend-links a { color: #777; font-size: 12px; margin-right: 8px; }
.friend-links a:hover { color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 16px; }
.footer-bottom p { font-size: 12px; color: #777; margin-bottom: 4px; }
.footer-bottom a { color: #777; }

/* === 返回顶部 === */
.back-to-top { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 44px; height: 44px; background: var(--primary); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 20px; opacity: 0; transition: opacity .3s; z-index: 999; }
.back-to-top.show { opacity: 1; }

/* === 单页面 === */
.single-page { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* === 移动端底部导航 === */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 56px; background: #fff; border-top: 1px solid #eee; z-index: 1000; box-shadow: 0 -2px 8px rgba(0,0,0,.04); }
.mobile-bottom-nav .mobile-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #999; text-decoration: none; gap: 2px; padding: 4px 0; transition: color .2s; }
.mobile-bottom-nav .mobile-nav-item.active { color: var(--primary); }
.mobile-bottom-nav .mobile-nav-icon { font-size: 20px; line-height: 1; }
.mobile-bottom-nav .mobile-nav-text { font-size: 11px; }

/* === 响应式 === */
@media (max-width: 992px) {
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .page-layout { grid-template-columns: 1fr; }
    /* 移动端/平板：主内容在上，侧边栏在下 */
    .page-layout .main-content { order: 1; }
    .page-layout .sidebar { order: 2; }
    .product-detail { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 4px; }
    .top-bar-left { display: none; }
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
    /* 移动端搜索框全宽，置于 logo 下方 */
    .header-search { order: 3; width: 100%; margin-top: 10px; }
    .header-search input { flex: 1; width: auto; min-width: 0; }
    .nav-list { display: none; }
    .nav-list.show {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--primary); z-index: 100; box-shadow: 0 6px 12px rgba(0,0,0,.15);
    }
    .nav-list.show li a { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
    .nav-toggle { display: block; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
    .main-nav .container { position: relative; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .news-item-link { flex-direction: column; }
    .news-item-img { width: 100%; height: 160px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .banner-slide img { max-height: 220px; }
    .product-actions { flex-direction: column; }
    .product-actions .btn-contact, .product-actions .btn-message { text-align: center; }
    .article-nav { flex-direction: column; gap: 8px; }
    /* 移动端标题降级 */
    .article-title { font-size: 20px; }
    .product-title { font-size: 18px; }
    .page-title { font-size: 19px; }
    .price-now { font-size: 24px; }
    .section-title { font-size: 21px; }
    .gallery-thumbs img { width: 56px; height: 56px; }
    .sidebar-box { margin-bottom: 12px; }
    /* 联系页移动端 */
    .contact-form-wrap { padding: 16px; }
    .contact-item { flex-wrap: wrap; }
    .contact-info { padding: 16px; }
    /* 移动端底部：隐藏栏目链接，显示底部导航 */
    .site-footer { padding: 20px 0 calc(16px + env(safe-area-inset-bottom)); }
    .footer-desktop-content { display: none; }
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 56px; }
    .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
    .logo-icon { width: 40px; height: 40px; font-size: 12px; }
    .logo-text strong { font-size: 18px; }
    .logo-text small { font-size: 11px; }
    .header-search input { padding: 7px 12px; }
    .header-search button { padding: 7px 14px; }
    .banner-slide img { max-height: 150px; }
    .adv-item { padding: 12px; }
    .product-grid { gap: 10px; }
    .product-info { padding: 8px; }
    .product-name { font-size: 13px; }
    .product-subtitle { font-size: 11px; margin-bottom: 4px; }
    .product-price { font-size: 15px; }
    .product-original { font-size: 11px; }
    .news-date { min-width: 42px; padding: 4px; }
    .news-day { font-size: 18px; }
    .news-month { font-size: 10px; }
    .news-item-img { height: 140px; }
    .news-title { font-size: 13px; }
    .article-detail, .product-content, .related-products, .product-detail, .single-page { padding: 14px; }
    .article-content { font-size: 15px; }
    .article-meta { gap: 8px 14px; }
    .sidebar-title { padding: 8px 12px; }
    .breadcrumb { font-size: 11px; }
    .back-to-top { right: 12px; width: 40px; height: 40px; font-size: 18px; }
    .footer-grid { gap: 20px; }
}
