/*
Theme Name: Hanh Chi VLXD
Theme URI: https://sikaqn.com/
Author: Hanh Chi
Description: Theme WordPress cho VLXD Hạnh Chi: Vật liệu xây dựng, Sika & hóa chất xây dựng, Giải pháp và Kiến thức.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hanh-chi
*/

:root{--hc-red:#d71920;--hc-dark:#171717;--hc-gray:#f5f5f5;--hc-text:#292929;--hc-muted:#6d6d6d;--hc-border:#e6e6e6;--hc-max:1180px}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--hc-text);background:#fff;line-height:1.65} a{color:inherit;text-decoration:none} img{max-width:100%;height:auto} .container{width:min(100% - 32px,var(--hc-max));margin:auto}
.topbar{background:var(--hc-dark);color:#fff;font-size:13px}.topbar .container{display:flex;justify-content:space-between;padding:8px 0;gap:20px}
.site-header{background:#fff;border-bottom:1px solid var(--hc-border);position:sticky;top:0;z-index:20}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;border-radius:8px;background:var(--hc-red);color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}.brand-title{font-weight:800;font-size:20px}.brand-sub{font-size:11px;color:var(--hc-muted);display:block}
.nav-toggle{display:none;border:0;background:none;font-size:26px}.main-nav ul{list-style:none;display:flex;gap:24px;margin:0;padding:0}.main-nav a{font-weight:700;font-size:14px}.main-nav a:hover{color:var(--hc-red)}
.hero{background:linear-gradient(115deg,#171717 0%,#292929 60%,#4a1619 100%);color:#fff;padding:78px 0}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:50px;align-items:center}.eyebrow{color:#ffb0b3;text-transform:uppercase;font-size:13px;font-weight:800;letter-spacing:1.5px}.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:12px 0 18px}.hero h1 span{color:#ff4a50}.hero p{font-size:18px;color:#ddd;max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:7px;font-weight:800;border:1px solid transparent}.btn-primary{background:var(--hc-red);color:#fff}.btn-light{background:#fff;color:#171717}.hero-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:28px}.hero-card h3{margin-top:0}.hero-card ul{padding-left:20px;color:#ddd}
.section{padding:64px 0}.section-alt{background:var(--hc-gray)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-head h2{font-size:32px;margin:0}.section-head p{margin:0;color:var(--hc-muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid var(--hc-border);border-radius:12px;padding:24px;background:#fff;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.07)}.icon{font-size:34px}.card h3{margin:10px 0 6px;font-size:21px}.card p{color:var(--hc-muted);margin-top:0}.text-link{color:var(--hc-red);font-weight:800}
.problem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.problem{padding:20px;border-radius:10px;background:#fff;border:1px solid var(--hc-border);font-weight:800}.problem span{font-size:24px;margin-right:8px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product{border:1px solid var(--hc-border);border-radius:10px;overflow:hidden;background:#fff}.product-thumb{height:160px;background:#eee;display:grid;place-items:center;color:#888}.product-body{padding:18px}.product h3{font-size:17px;margin:0 0 8px}.product p{font-size:14px;color:var(--hc-muted);margin:0}
.cta{background:var(--hc-red);color:#fff;padding:38px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{margin:0;font-size:30px}.cta p{margin:5px 0 0;color:#ffe6e7}
.content-wrap{padding:55px 0}.content-wrap h1{font-size:42px;line-height:1.15}.content-wrap h2{margin-top:35px}.content-wrap p,.content-wrap li{font-size:17px}.breadcrumbs{font-size:13px;color:var(--hc-muted);margin-bottom:18px}
.site-footer{background:#171717;color:#ddd;padding:50px 0 20px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}.site-footer h3{color:#fff;margin-top:0}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:7px 0}.footer-bottom{border-top:1px solid #333;margin-top:35px;padding-top:18px;font-size:13px;color:#aaa}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card{border:1px solid var(--hc-border);border-radius:10px;padding:22px}.post-card h2{font-size:22px;margin:8px 0}.meta{font-size:13px;color:var(--hc-muted)}
@media(max-width:900px){.hero-grid,.footer-grid{grid-template-columns:1fr}.cards,.archive-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.problem-grid{grid-template-columns:repeat(2,1fr)}.nav-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:76px;background:#fff;border-bottom:1px solid var(--hc-border);padding:18px}.main-nav.is-open{display:block}.main-nav ul{flex-direction:column;gap:14px}}
@media(max-width:600px){.topbar .container{display:block}.topbar .container span{display:block}.header-inner{min-height:68px}.brand-title{font-size:17px}.brand-mark{width:38px;height:38px}.hero{padding:55px 0}.hero h1{font-size:40px}.section{padding:45px 0}.cards,.archive-grid,.product-grid,.problem-grid{grid-template-columns:1fr}.section-head{display:block}.section-head p{margin-top:7px}.cta-inner{display:block}.cta .btn{margin-top:18px;width:100%}}
/* Product system v2 */
.product-thumb-img{width:100%;height:220px;object-fit:contain;background:#f5f5f5;display:block}.product-grid-large .product-body{padding:20px}.product-grid-large .product h2{font-size:20px;margin:0 0 8px}.product-single-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.product-main-image{width:100%;max-height:560px;object-fit:contain;background:#f5f5f5;border-radius:12px}.product-placeholder{min-height:400px;background:#eee;border-radius:12px;display:grid;place-items:center;color:#888}.dark-eyebrow{color:var(--hc-red)}.product-single h1{font-size:48px;line-height:1.1;margin:8px 0 12px}.product-code{color:var(--hc-muted)}.product-summary{font-size:17px;margin:20px 0 25px}.product-details{margin-top:55px;border-top:1px solid var(--hc-border)}.detail-row{display:grid;grid-template-columns:220px 1fr;gap:30px;padding:22px 0;border-bottom:1px solid var(--hc-border)}.detail-row h3{margin:0;font-size:16px}.detail-row p{margin-top:0}.tag{display:inline-block;padding:7px 12px;background:#f5f5f5;border:1px solid var(--hc-border);border-radius:999px;margin:3px;font-size:13px;font-weight:700}.category-pills{margin:-10px 0 28px}.content-entry{margin-top:50px;max-width:850px}.content-entry h2{font-size:30px}.hc-admin-fields label{display:block;margin-bottom:6px}.hc-admin-fields p{margin:0 0 16px}.hc-admin-fields input,.hc-admin-fields textarea{font-family:inherit}.product-grid-large{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.product-single-grid{grid-template-columns:1fr}.product-single h1{font-size:38px}.product-grid-large{grid-template-columns:repeat(2,1fr)}.detail-row{grid-template-columns:1fr;gap:8px}}
@media(max-width:600px){.product-grid-large{grid-template-columns:1fr}.product-single h1{font-size:34px}.product-placeholder{min-height:280px}.product-details{margin-top:35px}}
