/*
Theme Name: V&T Group – Máy Nén Khí
Theme URI: https://maynenkhicu.com/
Author: V&T Group
Description: Theme doanh nghiệp cho Công ty TNHH MTV V&T Group – máy nén khí cũ, phụ tùng, dầu nhớt và dịch vụ sửa chữa máy nén khí. Có kiểu nội dung Sản phẩm, danh mục, hãng sản xuất, form báo giá và thông tin liên hệ tuỳ biến.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vtgroup
License: GPLv2 or later
*/

:root {
  --red: #d7141d;
  --red-dark: #b10f17;
  --teal: #16707f;
  --navy: #0b2e3f;
  --navy-2: #123f55;
  --ink: #16232b;
  --muted: #5b6b75;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-alt: #f3f6f8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 46, 63, .06), 0 8px 24px rgba(11, 46, 63, .08);
  --shadow-lg: 0 18px 40px rgba(11, 46, 63, .16);
  --container: 1240px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.25; margin: 0 0 .6em; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(22, 112, 127, .45); outline-offset: 2px; }
.icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s; line-height: 1.2; white-space: nowrap; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; margin-top: 8px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(215, 20, 29, .28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: #fff5f5; color: var(--red-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy); color: #c9d7de; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #c9d7de; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(11, 46, 63, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-branding img { width: auto; height: 58px; transition: height .2s; }
.site-header.scrolled .site-branding img { height: 48px; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--navy); border-radius: 8px; }
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--red); background: #fff4f4; }
.main-nav .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: .93rem; }
.main-nav .sub-menu a:hover { background: var(--bg-alt); color: var(--red); }
.sub-toggle { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.icon-btn:hover { color: var(--red); border-color: var(--red); }
.nav-toggle { display: none; }
.header-hotline { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--red); color: #fff; }
.header-hotline:hover { background: var(--red-dark); color: #fff; }
.hl-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); animation: ring 2.4s infinite; }
.hl-text { display: flex; flex-direction: column; line-height: 1.15; }
.hl-text small { font-size: .72rem; opacity: .85; }
.hl-text strong { font-size: 1.02rem; letter-spacing: .02em; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 5%, 15% { transform: rotate(-14deg); } 10%, 20% { transform: rotate(14deg); } 25% { transform: rotate(0); } }

.search-panel { border-top: 1px solid var(--line); padding: 14px 0; background: #fff; }
.search-form { display: flex; max-width: 640px; margin: 0 auto; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.search-form input { flex: 1; border: 0; padding: 12px 18px; outline: none; min-width: 0; }
.search-form button { border: 0; background: var(--red); color: #fff; padding: 0 20px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(100deg, rgba(8, 32, 45, .96) 0%, rgba(11, 46, 63, .88) 45%, rgba(11, 46, 63, .55) 100%), var(--hero-img) center/cover no-repeat, var(--navy); overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(215, 20, 29, .18); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.hero .lead { font-size: 1.08rem; color: #d3e0e6; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.hero .eyebrow { color: #ff8a8f; background: rgba(215, 20, 29, .15); padding: 6px 12px; border-radius: 999px; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stats li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px 20px; backdrop-filter: blur(6px); }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: #fff; }
.hero-stats small { font-size: .9rem; margin-left: 2px; }
.hero-stats span { font-size: .88rem; color: #bcd0d9; }

.usp-strip { background: #fff; position: relative; z-index: 2; margin-top: -36px; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0; overflow: hidden; }
.usp { display: flex; gap: 14px; align-items: center; padding: 22px 22px; border-right: 1px solid var(--line); }
.usp:last-child { border-right: 0; }
.usp .icon { color: var(--red); }
.usp strong { display: block; color: var(--navy); }
.usp span { font-size: .87rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sm { padding-top: 48px; padding-bottom: 48px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #d3e0e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.section-head-row { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.section-head-row h2 { margin: 0; }
.section-title { font-size: 1.5rem; margin-bottom: 24px; padding-left: 14px; border-left: 4px solid var(--red); }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; color: var(--ink); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-img { aspect-ratio: 6/5; background: var(--bg-alt); overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-ph { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; color: #b7c5cd; background: linear-gradient(135deg, #eef3f6, #e2eaef); }
.cat-body { padding: 16px 18px 18px; }
.cat-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cat-body span { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--red); font-weight: 600; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.pc-img { position: relative; display: block; aspect-ratio: 6/5; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.pc-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s; }
.product-card:hover .pc-img img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pc-brand { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; }
.pc-title { font-size: 1rem; margin: 4px 0 8px; line-height: 1.4; }
.pc-title a { color: var(--navy); }
.pc-title a:hover { color: var(--red); }
.pc-meta { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); }
.pc-price { font-weight: 700; color: var(--red); font-size: .92rem; }
.pc-link { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--navy); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: all .25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--red); transition: width .3s; }
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card:hover::before { width: 100%; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #e8f3f5; color: var(--teal); margin-bottom: 18px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-block .eyebrow { color: #ff8a8f; }
.check-list { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: #4fd1c5; margin-top: 3px; }
.brand-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 32px; }
.brand-panel h3 { font-size: 1.1rem; margin-bottom: 20px; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brand-chip { display: block; text-align: center; padding: 16px 10px; border-radius: var(--radius-sm); background: #fff; color: var(--navy); font-weight: 800; letter-spacing: .06em; font-size: .95rem; transition: all .2s; }
.brand-chip:hover { background: var(--red); color: #fff; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.08rem; margin: 8px 0; }
.post-body h3 a { color: var(--navy); }
.post-body h3 a:hover { color: var(--red); }
.post-body p { color: var(--muted); font-size: .93rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .82rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-cat { background: #fff0f0; color: var(--red); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.hotlines { display: grid; gap: 10px; margin: 18px 0 24px; }
.hotlines a { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: var(--red); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; color: var(--teal); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.form-card h2 { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd8de; border-radius: var(--radius-sm); background: #fff; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22, 112, 127, .15); }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500; }
.notice-ok { background: #e7f7ef; color: #146c43; border: 1px solid #b7e4cc; }
.notice-err { background: #fdecec; color: #a3141b; border: 1px solid #f5c2c4; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); box-shadow: var(--shadow); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card em { display: block; font-style: normal; font-weight: 700; color: var(--navy); }
.cc-icon { width: 52px; height: 52px; border-radius: 50%; background: #fff0f0; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 480px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--red) 0%, #a90d15 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.cta-band p { margin: 0; color: #ffe1e2; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #07212e; color: #9fb4be; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer h3.mt { margin-top: 24px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c4d3da; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.footer-logo img { height: 48px; width: auto; }
.footer-contact .company { color: #fff; font-weight: 700; }
.footer-contact .icon { color: #ff6b72; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { border: 1px solid rgba(255, 255, 255, .18); padding: 4px 10px; border-radius: 999px; font-size: .8rem; }
.tag-list a:hover { border-color: var(--red); background: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }

/* Floating contact */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .2s; }
.float-contact a:hover { transform: scale(1.08); color: #fff; }
.fc-phone { background: var(--red); animation: pulse 2s infinite; }
.fc-zalo { background: #0068ff; font-weight: 800; font-size: .8rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 20, 29, .5); } 70% { box-shadow: 0 0 0 16px rgba(215, 20, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 20, 29, 0); } }
.mobile-bar { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #c9d7de; padding: 36px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .04); }
.page-hero-sm { padding: 16px 0; }
.page-title { color: #fff; margin: 10px 0 6px; }
.page-sub { max-width: 760px; margin: 0; color: #b6c8d1; }
.breadcrumb { font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: #9fb4be; }
.breadcrumb a { color: #d7e3e9; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span:last-child { color: #fff; }
.breadcrumb .sep { opacity: .5; }

.layout-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 36px; padding-top: 40px; padding-bottom: 72px; }
.layout-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 44px; padding-bottom: 72px; }
.sidebar .widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--red); }
.side-menu { list-style: none; margin: 0; padding: 0; }
.side-menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-size: .94rem; }
.side-menu a span { font-size: .75rem; background: var(--bg-alt); color: var(--muted); padding: 2px 8px; border-radius: 999px; }
.side-menu a:hover, .side-menu .active a { background: #fff4f4; color: var(--red); }
.side-menu .active a span { background: var(--red); color: #fff; }
.widget-hotline { background: linear-gradient(140deg, var(--navy), var(--navy-2)) !important; color: #c9d7de; border: 0 !important; }
.widget-hotline h3 { color: #fff; }
.filter-toggle { display: none; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--muted); font-size: .92rem; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .icon { color: #b7c5cd; margin: 0 auto 12px; }
.empty-state .search-form { margin: 20px auto; }
.empty-state .actions { display: flex; gap: 12px; justify-content: center; }
.big-404 { font-size: 7rem; font-weight: 800; color: var(--red); line-height: 1; margin: 0; }

.pagination { margin-top: 40px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination a:hover { border-color: var(--red); color: var(--red); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cat-filter a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .9rem; background: #fff; }
.cat-filter a.active, .cat-filter a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0; }
.pd-main { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.pd-main a { display: block; width: 100%; height: 100%; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 78px; height: 78px; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 2px; background: #fff; cursor: pointer; overflow: hidden; }
.pd-thumbs button.active, .pd-thumbs button:hover { border-color: var(--red); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); }
.chip-brand { background: #e8f3f5; color: var(--teal); letter-spacing: .06em; }
.pd-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pd-price { font-size: 1.05rem; padding: 14px 18px; background: #fff6f6; border-left: 4px solid var(--red); border-radius: 6px; }
.pd-price strong { color: var(--red); font-size: 1.3rem; }
.pd-price small { color: var(--muted); }
.pd-specs { margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pd-specs div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.pd-specs div:last-child { border-bottom: 0; }
.pd-specs dt { background: var(--bg-alt); padding: 10px 14px; font-weight: 600; color: var(--navy); font-size: .9rem; }
.pd-specs dd { margin: 0; padding: 10px 14px; font-size: .95rem; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-zalo { display: inline-block; margin-top: 12px; font-size: .92rem; font-weight: 600; color: #0068ff; }
.pd-commit { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.pd-commit li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .93rem; }
.pd-commit .icon { color: var(--teal); }
.pd-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 56px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { padding: 16px 24px; background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; padding: 28px; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; background: var(--bg-alt); color: var(--navy); font-weight: 600; }
.spec-table tr:nth-child(even) td { background: #fafcfd; }
.related { margin-bottom: 72px; }

/* Article */
.entry-content { font-size: 1.03rem; }
.entry-content img { border-radius: var(--radius-sm); margin: 20px auto; height: auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; display: block; overflow-x: auto; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 8px 12px; }
.entry-content iframe { max-width: 100%; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.post-meta.light { color: #b6c8d1; }
.post-meta.light .post-cat { background: rgba(255, 255, 255, .12); color: #fff; }
.article-cta { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--red); }
.article-cta span { color: var(--muted); margin-bottom: 8px; }
.article-cta .btn { text-decoration: none; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; line-height: 1.45; }
.recent-list li:last-child { border-bottom: 0; }
.recent-list a { color: var(--ink); }
.recent-list a:hover { color: var(--red); }
.mini-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-products a { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: .9rem; line-height: 1.4; }
.mini-products img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-hotline .hl-text small { display: none; }
  .main-nav .menu > li > a { padding: 10px 10px; font-size: .92rem; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-grid; }
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav { visibility: hidden; }
  .main-nav.open { visibility: visible; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; z-index: 200; padding: 80px 18px 24px; transform: translateX(100%); transition: transform .3s; overflow-y: auto; box-shadow: var(--shadow-lg); margin: 0; }
  .main-nav.open { transform: none; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(7, 33, 46, .5); z-index: 150; }
  body.nav-open .site-header { z-index: 300; }
  body.nav-open .nav-toggle { position: fixed; right: 18px; top: 18px; z-index: 210; }
  .main-nav .menu { flex-direction: column; }
  .main-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .main-nav .menu > li > a { flex: 1; padding: 14px 8px; }
  .main-nav .menu-item-has-children > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: var(--bg-alt); border-radius: 8px; cursor: pointer; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; display: none; padding: 0 0 10px 10px; }
  .main-nav .sub-open > .sub-menu { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 80px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(2) { border-right: 0; }
  .usp:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid, .post-grid, .search-results { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; gap: 20px; }
  .layout-article { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; margin-bottom: 12px; }
  .filter-panel { display: none; }
  .filter-panel.open { display: block; }
  .sidebar .widget-hotline { display: none; }
  .layout-article .sidebar .widget-hotline { display: block; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hide-md { display: none !important; }
}
@media (max-width: 720px) {
  body { font-size: 15px; padding-bottom: 58px; }
  .container { padding: 0 16px; }
  .topbar-left span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 68px; gap: 12px; }
  .site-branding img { height: 44px; }
  .header-hotline { display: none; }
  .section { padding: 56px 0; }
  .hero-stats strong { font-size: 1.5rem; }
  .hero-stats li { padding: 16px; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .usp:last-child { border-bottom: 0; }
  .cat-grid, .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 12px; }
  .pc-title { font-size: .92rem; }
  .pc-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .service-grid, .post-grid, .search-results { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-specs div { grid-template-columns: 120px 1fr; }
  .tab-panel { padding: 18px; }
  .float-contact { bottom: 72px; right: 12px; }
  .float-contact a { width: 48px; height: 48px; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--navy); box-shadow: 0 -4px 14px rgba(0, 0, 0, .15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px 6px; color: #fff; font-weight: 700; font-size: .9rem; border-right: 1px solid rgba(255, 255, 255, .1); }
  .mobile-bar a.accent { background: var(--red); }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
}
