/* ============================================
   电脑维护知识 - 主题样式 (theme352)
   主色: #1a73e8 (专业蓝)
   风格: 白色底 + 蓝色强调 + 专业简洁
   ============================================ */

@media (min-width: 1200px) { .container { width: 1170px; } }

:root {
    --color-primary: #1a73e8;
    --color-primary-dark: #1557b0;
    --color-primary-light: #e8f0fe;
    --color-accent: #ea4335;
    --color-text-dark: #202124;
    --color-text: #3c4043;
    --color-text-muted: #5f6368;
    --color-text-light: #9aa0a6;
    --color-bg: #f8f9fa;
    --color-bg-warm: #ffffff;
    --color-border: #dadce0;
    --color-border-dark: #bdc1c6;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
    --font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html, body { height: 100%; font-family: var(--font-family); background: var(--color-bg); font-size: 14px; color: var(--color-text); -webkit-font-smoothing: antialiased; }
body { padding-top: 54px; }
a { color: var(--color-primary); transition: color 0.18s; }
a:hover, a:focus { color: var(--color-primary-dark); text-decoration: none; }

/* ---- A11y ---- */
.skip-link { position: absolute; top: -50px; left: 8px; z-index: 9999; padding: 10px 18px; background: var(--color-primary); color: #fff !important; border-radius: 0 0 6px 6px; font-size: 14px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 3px; }

/* ---- Header ---- */
.header .navbar { background: #fff; border-bottom: 1px solid var(--color-border); min-height: 54px; margin-bottom: 0; box-shadow: var(--shadow-sm); }
.navbar-brand { display: flex; align-items: center; height: 54px; padding: 0 15px; }
.brand-text { font-size: 16px; font-weight: 600; color: var(--color-primary) !important; letter-spacing: 0.3px; }
.brand-icon { color: var(--color-primary); font-size: 20px; margin-right: 8px; }
.navbar-nav > li > a { font-size: 13px; font-weight: 500; padding: 17px 11px; color: var(--color-text); }
.navbar-nav > li > a:hover, .navbar-nav > li.active > a { color: var(--color-primary); background: transparent; }
.navbar-nav > li.active > a { border-bottom: 3px solid var(--color-primary); padding-bottom: 14px; }
.dropdown-menu { border-radius: var(--radius-sm); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); padding: 6px 0; }
.dropdown-menu > li > a { padding: 7px 18px; font-size: 13px; color: var(--color-text); }
.dropdown-menu > li > a:hover { background: var(--color-primary-light); color: var(--color-primary); }
.navbar-nav .dropdown { position: relative; }
.navbar-nav .dropdown:hover .dropdown-menu { display: block; }
.navbar-form { padding-top: 12px; }
.form-search { position: relative; }
.form-search .form-control { border-radius: 4px; border: 1px solid var(--color-border); height: 30px; padding: 4px 30px 4px 12px; font-size: 13px; width: 180px; transition: all 0.3s; background: var(--color-bg); }
.form-search .form-control:focus { width: 210px; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(26,115,232,0.2); background: #fff; }
.search-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 2px solid var(--color-text-muted); border-radius: 50%; }
.search-icon::after { content:''; position: absolute; bottom:-3px; right:-2px; width:5px; height:2px; background:var(--color-text-muted); transform: rotate(45deg); }

/* ---- Hero ---- */
.hero-section { padding: 0; overflow: hidden; position: relative; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; min-height: 320px; padding: 40px 0; }
.hero-text { flex: 1; min-width: 0; z-index: 2; }
.hero-title { font-size: 36px; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.2; letter-spacing: 0.3px; }
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.88); margin: 0 0 24px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary { display: inline-block; padding: 11px 28px; background: #fff; color: #1a73e8 !important; font-size: 14px; font-weight: 600; border-radius: 4px; border: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.btn-hero-secondary { display: inline-block; padding: 11px 28px; background: transparent; color: #fff !important; font-size: 14px; font-weight: 500; border-radius: 4px; border: 1.5px solid rgba(255,255,255,0.5); transition: border-color 0.2s, background 0.2s; }
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.hero-visual { flex-shrink: 0; margin-left: 50px; }
.hero-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-icon-item { width: 68px; height: 68px; background: rgba(255,255,255,0.13); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 20px; backdrop-filter: blur(4px); transition: transform 0.2s, background 0.2s; }
.hero-icon-item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.22); }
.hero-icon-item span { font-size: 10px; margin-top: 3px; opacity: 0.9; }

/* ---- Section ---- */
.section-header { text-align: center; margin: 30px 0 18px; }
.section-title { font-size: 24px; font-weight: 700; color: var(--color-text-dark); margin: 0 0 6px; }
.section-desc { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* ---- Category Grid ---- */
.category-grid-section { margin-bottom: 20px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category-card { background: #fff; border-radius: var(--radius-md); padding: 18px 12px; text-align: center; border: 1px solid var(--color-border); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; display: block; text-decoration: none !important; color: var(--color-text) !important; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.card-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 17px; }
.category-card h4 { font-size: 13px; font-weight: 600; color: var(--color-text-dark); margin: 0 0 3px; }
.category-card p { font-size: 11px; color: var(--color-text-muted); margin: 0; }

/* ---- Panel ---- */
.panel { border-radius: var(--radius-sm); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-bottom: 18px; background: #fff; }
.panel-heading { padding: 12px 18px; border-bottom: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.panel-title { font-size: 15px; font-weight: 600; color: var(--color-text-dark); margin: 0; }
.panel-body { padding: 18px; }
.p-0 { padding: 0 !important; }

/* ---- Article List ---- */
.article-item { padding: 18px; border-bottom: 1px solid var(--color-border); }
.article-item:last-child { border-bottom: none; }
.article-item .media-left { padding-right: 18px; }
.article-item .embed-responsive { width: 180px; border-radius: var(--radius-sm); overflow: hidden; }
.img-zoom img { transition: transform 0.4s; }
.img-zoom:hover img { transform: scale(1.05); }
.article-title { font-size: 16px; margin: 0 0 6px; }
.article-title a { color: var(--color-text-dark); }
.article-title a:hover { color: var(--color-primary); }
.article-intro { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-tag { font-size: 12px; color: var(--color-text-light); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tag-primary { display: inline-block; padding: 2px 8px; background: var(--color-primary-light); color: var(--color-primary); border-radius: 3px; font-size: 11px; font-weight: 500; }

/* ---- Article Card List ---- */
.article-card-list { display: flex; flex-direction: column; gap: 14px; }
.article-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; padding: 16px; transition: box-shadow 0.2s, border-color 0.2s; }
.article-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.article-cover { flex-shrink: 0; width: 200px; height: 135px; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-cover img { transform: scale(1.05); }
.article-body { flex: 1; min-width: 0; }
.article-body .article-title { font-size: 16px; color: var(--color-text-dark); margin: 0 0 8px; font-weight: 600; }
.article-body .article-title:hover { color: var(--color-primary); }
.article-body .article-intro { font-size: 13px; color: var(--color-text-muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--color-text-muted); }
.meta-cat { color: var(--color-primary); background: var(--color-primary-light); padding: 2px 8px; border-radius: 3px; font-size: 11px; }

/* ---- Article Detail ---- */
.article-detail-head { margin-bottom: 18px; }
.article-detail-title { font-size: 24px; font-weight: 700; color: var(--color-text-dark); margin: 0 0 10px; line-height: 1.35; }
.article-detail-meta { font-size: 13px; color: var(--color-text-muted); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.detail-cat { display: inline-block; padding: 2px 8px; background: var(--color-primary-light); color: var(--color-primary); border-radius: 3px; font-size: 11px; }
.article-detail-content { font-size: 15px; line-height: 1.85; color: var(--color-text); max-width: 750px; margin: 0 auto; }
.article-detail-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 14px 0; }
.article-detail-content h2 { font-size: 20px; color: var(--color-text-dark); margin: 26px 0 12px; }
.article-detail-content h3 { font-size: 17px; color: var(--color-text-dark); margin: 20px 0 10px; }
.article-detail-content p { margin-bottom: 14px; }
.article-detail-content code { background: #f1f3f4; padding: 2px 6px; border-radius: 3px; font-size: 13px; }

/* ---- Article Summary (SEO/A11y) ---- */
.article-summary { --as-primary: var(--color-primary); --as-bg: #f8f9fa; --as-border: var(--color-border-dark); --as-text: var(--color-text); --as-muted: var(--color-text-muted); --as-radius: var(--radius-sm); margin: 26px 0; padding: 18px 22px; background: var(--as-bg); border-left: 4px solid var(--as-primary); border-radius: var(--as-radius); }
.article-summary-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.summary-deco { color: var(--as-primary); flex-shrink: 0; }
.article-summary-title { font-size: 15px; margin: 0; color: var(--as-text); font-weight: 600; }
.article-summary-text { color: var(--as-text); font-size: 13px; line-height: 1.7; margin: 0 0 10px; }
.article-summary-cite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--as-border); font-size: 12px; color: var(--as-muted); }
.cite-label { font-weight: 600; flex-shrink: 0; }
.cite-text { flex: 1; min-width: 0; font-family: Menlo, Monaco, Consolas, monospace; background: #fff; padding: 4px 8px; border-radius: 3px; color: var(--as-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }

/* ---- Article Nav ---- */
.article-detail-nav { display: flex; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.detail-nav-item { flex: 1; min-width: 0; padding: 12px 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); transition: border-color 0.2s; }
.detail-nav-item:hover { border-color: var(--color-primary); }
.detail-nav-label { display: block; font-size: 12px; color: var(--color-text-muted); margin-bottom: 4px; }
.detail-nav-title { display: block; font-size: 13px; color: var(--color-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-nav-next { text-align: right; }

/* ---- Related ---- */
.related-section { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.related-section h3 { font-size: 16px; color: var(--color-text-dark); margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-card { display: block; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-border); transition: all 0.2s; }
.related-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related-cover img { width: 100%; height: 110px; object-fit: cover; }
.related-body { padding: 10px 12px; }
.related-body h4 { font-size: 13px; color: var(--color-text-dark); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-body span { font-size: 11px; color: var(--color-text-muted); }

/* ---- Widget ---- */
.widget { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 16px; overflow: hidden; }
.widget-head { padding: 12px 16px; border-bottom: 1px solid var(--color-border); background: #fafafa; }
.widget-title { font-size: 14px; margin: 0; color: var(--color-text-dark); font-weight: 600; }
.widget-title i { color: var(--color-primary); margin-right: 5px; }
.widget-body { padding: 8px 0; }
.widget-ad { background: transparent; border: none; }
.widget-ad img { width: 100%; border-radius: var(--radius-sm); }

/* Side Nav */
.nav-list { list-style: none; padding: 0; margin: 0; }
.nav-list li a { display: block; padding: 8px 16px; color: var(--color-text); font-size: 13px; border-left: 3px solid transparent; transition: all 0.18s; }
.nav-list li a:hover { color: var(--color-primary); background: var(--color-primary-light); border-left-color: var(--color-primary); }
.nav-list li a i { width: 18px; margin-right: 6px; text-align: center; color: var(--color-primary); font-size: 12px; }

/* Rank List */
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-item { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-bottom: 1px solid #f1f3f4; }
.rank-item:last-child { border-bottom: none; }
.rank-num { width: 20px; height: 20px; border-radius: 3px; background: #f1f3f4; color: var(--color-text-muted); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 600; }
.rank-num.rank-top { background: var(--color-primary); color: #fff; }
.rank-content { flex: 1; min-width: 0; }
.rank-title { display: block; font-size: 13px; color: var(--color-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-title:hover { color: var(--color-primary); }
.rank-meta { font-size: 11px; color: var(--color-text-light); }

/* Latest List */
.latest-list { list-style: none; padding: 0; margin: 0; }
.latest-item { }
.latest-link { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 12px; color: var(--color-text); transition: all 0.2s; }
.latest-link:hover { color: var(--color-primary); background: #fafafa; }
.latest-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }
.latest-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.latest-date { font-size: 10px; color: var(--color-text-light); flex-shrink: 0; }

/* ---- Text List ---- */
.text-list { padding: 0; }
.text-list-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f1f3f4; list-style: none; }
.text-list-item:last-child { border-bottom: none; }
.text-list-title { flex: 1; min-width: 0; color: var(--color-text); font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text-list-title:hover { color: var(--color-primary); }
.text-list-meta { flex-shrink: 0; margin-left: 12px; font-size: 12px; color: var(--color-text-muted); display: flex; gap: 10px; align-items: center; }

/* ---- Block ---- */
.channel-block { margin-bottom: 24px; }
.block-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); margin-bottom: 12px; }
.block-title { font-size: 16px; color: var(--color-text-dark); margin: 0; font-weight: 600; }

/* ---- page-banner ---- */
.page-banner { padding: 36px 0; position: relative; overflow: hidden; }
.page-banner-title { font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.breadcrumb-inline { font-size: 13px; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb-inline a { color: rgba(255,255,255,0.8); }
.breadcrumb-inline a:hover { color: #fff; }
.breadcrumb-inline i { font-size: 11px; }
.breadcrumb-box { font-size: 13px; margin-bottom: 16px; color: var(--color-text-muted); }
.breadcrumb-box a { color: var(--color-text-muted); }
.breadcrumb-box a:hover { color: var(--color-primary); }
.breadcrumb-box i { margin: 0 6px; font-size: 10px; }
.page-container { padding: 24px 0; }

/* ---- list-toolbar ---- */
.list-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 16px; }
.toolbar-title { font-size: 14px; color: var(--color-text-dark); font-weight: 600; }

/* ---- Images Grid ---- */
.images-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.image-tile { display: block; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-border); transition: all 0.2s; }
.image-tile:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.image-tile-cover img { width: 100%; height: 160px; object-fit: cover; }
.image-tile-body { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; }
.image-tile-title { font-size: 13px; color: var(--color-text); margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-tile-view { font-size: 11px; color: var(--color-text-muted); flex-shrink: 0; }

/* ---- Product Grid ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-border); transition: all 0.2s; }
.product-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-cover { display: block; }
.product-cover img { width: 100%; height: 170px; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-cover img { transform: scale(1.05); }
.product-body { padding: 12px 14px; }
.product-title { font-size: 14px; color: var(--color-text-dark); margin: 0 0 10px; font-weight: 500; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 15px; color: var(--color-accent); font-weight: 700; }
.product-btn { display: inline-block; padding: 4px 12px; font-size: 12px; color: var(--color-primary); border: 1px solid var(--color-primary); border-radius: var(--radius-sm); transition: all 0.2s; }
.product-btn:hover { color: #fff; background: var(--color-primary); }

/* Product Detail */
.product-detail-main { background: #fff; border-radius: var(--radius-sm); padding: 20px; border: 1px solid var(--color-border); }
.product-detail-img img { width: 100%; border-radius: var(--radius-sm); }
.product-detail-title { font-size: 22px; color: var(--color-text-dark); margin: 0 0 14px; font-weight: 700; }
.product-price-box { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 14px; }
.product-price-box .price { font-size: 24px; color: var(--color-accent); font-weight: 700; }
.product-params { margin-bottom: 16px; }
.param-row { display: flex; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--color-text); }
.param-key { color: var(--color-text-muted); flex-shrink: 0; min-width: 70px; }
.param-val { flex: 1; min-width: 0; }
.product-actions button { padding: 9px 24px; background: var(--color-primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.product-actions button:hover { background: var(--color-primary-dark); }
.product-detail-content { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.detail-content-body { padding: 14px 0; line-height: 1.8; color: var(--color-text); font-size: 14px; }
.nav-tabs { border-bottom: 1px solid var(--color-border); }
.nav-tabs > li > a { color: var(--color-text-muted); background: transparent; border: none; border-bottom: 3px solid transparent; padding: 8px 16px; font-size: 13px; }
.nav-tabs > li.active > a { color: var(--color-primary); background: transparent; border-bottom-color: var(--color-primary); }

/* ---- Single Page ---- */
.single-main { background: #fff; border-radius: var(--radius-sm); padding: 20px; border: 1px solid var(--color-border); }
.subnav { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border); overflow-x: auto; white-space: nowrap; }
.subnav ul { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.subnav ul li a { display: block; padding: 7px 14px; font-size: 13px; color: var(--color-text-muted); border-radius: var(--radius-sm); background: #f1f3f4; transition: all 0.2s; }
.subnav ul li.active a, .subnav ul li a:hover { background: var(--color-primary); color: #fff; }
.single-content { font-size: 14px; line-height: 1.85; color: var(--color-text); }
.single-content img { max-width: 100%; border-radius: var(--radius-sm); }
.single-content h2 { font-size: 22px; color: var(--color-text-dark); }
.single-content h3 { font-size: 17px; color: var(--color-text-dark); margin: 20px 0 10px; }
.single-content p { margin-bottom: 12px; }

/* ---- Contact ---- */
.contact-info-card { text-align: center; padding: 20px; background: #f8f9fa; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.contact-info-card .contact-icon { font-size: 28px; color: var(--color-primary); margin-bottom: 8px; }
.contact-info-card h4 { font-size: 15px; color: var(--color-text-dark); }
.contact-info-card p { color: var(--color-text-muted); font-size: 13px; }

/* ---- Form Message ---- */
.form-message { }
.form-row { display: flex; gap: 16px; margin-bottom: 14px; }
.form-row label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--color-text); }
.inp { width: 100%; padding: 8px 12px; background: #fff; border: 1px solid var(--color-border); color: var(--color-text-dark); border-radius: var(--radius-sm); font-size: 13px; }
.inp:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 2px rgba(26,115,232,0.15); }
.mes { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--color-text); margin-bottom: 14px; }
.mes textarea { width: 100%; height: 120px; padding: 8px 12px; background: #fff; border: 1px solid var(--color-border); color: var(--color-text-dark); border-radius: var(--radius-sm); resize: vertical; font-size: 13px; }
.mes textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 2px rgba(26,115,232,0.15); }
.msgbtn-box { display: flex; gap: 12px; }
.btn-contact { background: var(--color-primary); color: #fff; border: none; padding: 9px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.btn-contact:hover { background: var(--color-primary-dark); }
.btn-contact-reset { background: #fff; color: var(--color-text-muted); border: 1px solid var(--color-border); padding: 9px 28px; border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; transition: all 0.2s; }
.btn-contact-reset:hover { border-color: var(--color-text); color: var(--color-text); }

/* ---- Pagination ---- */
.pagination-box { text-align: center; margin-top: 24px; }
.pagination { display: inline-flex; list-style: none; padding: 0; margin: 0; gap: 4px; }
.pagination li a, .pagination li span { display: inline-block; min-width: 34px; height: 34px; line-height: 32px; padding: 0 12px; border: 1px solid var(--color-border); background: #fff; color: var(--color-text); text-align: center; border-radius: var(--radius-sm); font-size: 13px; }
.pagination li a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active a, .pagination .active span { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---- Footer ---- */
#footer { background: #f1f3f4; color: var(--color-text-muted); padding: 36px 0 24px; border-top: 1px solid var(--color-border); }
#footer h4 { color: var(--color-text-dark); font-size: 15px; margin-bottom: 10px; font-weight: 600; }
#footer h4 i { color: var(--color-primary); margin-right: 6px; }
#footer p { font-size: 12px; margin-bottom: 5px; line-height: 1.6; }
#footer a { color: var(--color-text-muted); }
#footer a:hover { color: var(--color-primary); }
.footer-links ul li { margin-bottom: 4px; }
.footer-links a { font-size: 12px; }

/* ---- Float Button ---- */
#floatbtn { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
#back-to-top { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--color-primary); color: #fff; text-align: center; border-radius: 4px; line-height: 1; padding: 0; font-size: 16px; opacity: 0.85; transition: all 0.2s; box-shadow: var(--shadow-md); }
#back-to-top i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; }
#back-to-top:hover { opacity: 1; transform: translateY(-2px); }
#back-to-top em { display: none; }

/* ---- btn-default ---- */
.btn-default { background: #fff; color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 8px 18px; font-size: 13px; transition: all 0.2s; }
.btn-default:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---- Responsive ---- */
@media (max-width: 1199px) { .category-grid { grid-template-columns: repeat(3, 1fr); } .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-visual { margin-left: 0; margin-top: 24px; }
    .hero-icon-grid { grid-template-columns: repeat(6, 1fr); }
    .hero-title { font-size: 28px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .images-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .article-item .media-left { display: block; padding-right: 0; }
    .article-item .embed-responsive { width: 100%; margin-bottom: 12px; }
    .article-card { flex-direction: column; }
    .article-cover { width: 100%; height: 180px; }
}
@media (max-width: 767px) {
    body { font-size: 13px; }
    .navbar-nav { display: flex; flex-wrap: wrap; float: none; margin: 0 -15px; }
    .navbar-nav > li { float: none; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }
    .hero-icon-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hero-icon-item { width: 56px; height: 56px; font-size: 16px; }
    .hero-icon-item span { font-size: 9px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .section-title { font-size: 20px; }
    .page-banner { padding: 24px 0; }
    .page-banner-title { font-size: 22px; }
    .article-detail-title { font-size: 19px; }
    .breadcrumb-box { display: none; }
    .form-row { flex-direction: column; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
.navbar-nav .dropdown-menu{max-height:320px;overflow-y:auto}
