/* =========================================================
   Đồ cũ Thiên Tiến – giao diện website
   ========================================================= */
:root {
    --green-900: #022a1d;
    --green-800: #003527;
    --green: #063a29;
    --green-700: #004832;
    --green-600: #0b5a3e;
    --green-50: #eef5f1;
    --yellow: #f7d924;
    --yellow-600: #e9c80d;
    --yellow-50: #fff9d6;
    --red: #e3342f;
    --stock: #1e9e4a;
    --text: #1f2a24;
    --muted: #5f6b65;
    --line: #e6ebe8;
    --bg: #ffffff;
    --bg-soft: #f6f8f7;
    --radius: 10px;
    --shadow: 0 2px 10px rgba(6, 58, 41, .06);
    --shadow-lg: 0 10px 30px rgba(6, 58, 41, .14);
    --container: 1280px;
    --font: "Be Vietnam Pro", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-brand: "Noto Serif", "Times New Roman", Georgia, serif;
    --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--green); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: 0 0 auto; }
.container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.sr-only, .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(--yellow); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.mt-30 { margin-top: 30px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 2px solid transparent;
    font-weight: 700; font-size: 14px; line-height: 1.2; cursor: pointer; text-transform: none; transition: .18s; white-space: nowrap; }
.btn .ic { font-size: 1.25em; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--green-900); box-shadow: 0 4px 14px rgba(247, 217, 36, .25); }
.btn-yellow:hover { background: var(--yellow-600); color: var(--green-900); transform: translateY(-1px); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .9); color: #fff; background: rgba(0, 0, 0, .12); }
.btn-outline-light:hover { background: #fff; color: var(--green); }
.btn-outline-green { border-color: var(--green-700); color: var(--green-700); background: #fff; }
.btn-outline-green:hover { background: var(--green-700); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: #04291d; color: #e6efe9; font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.topbar-left .sep { opacity: .7; }
.topbar-right { display: flex; align-items: center; gap: 28px; }
.topbar a { color: #e6efe9; }
.topbar a:hover { color: var(--yellow); }
.topbar-loc { display: inline-flex; align-items: center; gap: 4px; }
.topbar-social { display: inline-flex; gap: 14px; margin-left: 8px; font-size: 14px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: inherit; }
.brand img { width: 64px; height: 64px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-brand); font-weight: 700; font-size: 25px; color: var(--green); letter-spacing: .2px; }
.brand-slogan { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; white-space: nowrap; font-weight: 600; font-size: 15px; color: var(--green-900); position: relative; }
.nav > ul > li > a .ic { font-size: 13px; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--green-700); transform: scaleX(0); transition: transform .2s; }
.nav > ul > li > a:hover::after, .nav > ul > li > a.active::after { transform: scaleX(1); }
.nav > ul > li > a.active { color: var(--green-700); }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; border-top: 3px solid var(--yellow); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.nav .sub a:hover { background: var(--green-50); color: var(--green-700); }
.sub-toggle, .nav-call, .header-actions .menu-btn { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 19px; transition: .18s; }
.icon-btn:hover { background: var(--green-700); }
.search-panel { display: none; background: var(--green-50); padding: 14px 0; border-top: 1px solid var(--line); }
.search-panel.open { display: block; }
.search-panel .container, .search-inline { display: flex; gap: 8px; }
.search-panel input, .search-inline input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid #cfdad4; border-radius: 8px; background: #fff; outline: none; }
.search-panel input:focus, .search-inline input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(0, 72, 50, .12); }
.search-inline { max-width: 640px; margin: 0 0 24px; }
.center .search-inline { margin: 0 auto 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--green); color: #fff; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0 0 0 30%; background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, #063a29 0%, #063a29 30%, rgba(6, 58, 41, .88) 42%, rgba(6, 58, 41, .45) 58%, rgba(6, 58, 41, .12) 75%, rgba(6, 58, 41, 0) 100%); }
.hero-in { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 30px; padding-bottom: 6px; }
.hero-content { max-width: 640px; }
.hero-tag { display: inline-block; background: var(--yellow); color: var(--green-900); font-weight: 800; font-size: 14.5px; padding: 6px 16px; border-radius: 8px; letter-spacing: .2px; margin-bottom: 12px; }
.hero-title { color: #fff; font-size: 50px; font-weight: 800; line-height: 1.08; margin: 0 0 8px; letter-spacing: .5px; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero-title span { display: block; }
.hero-title .y { color: var(--yellow); }
.hero-sub { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.hero-features { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 34px; margin-bottom: 20px; font-size: 15px; }
.hero-features li { display: flex; align-items: center; gap: 10px; }
.hero-features .ic { color: var(--yellow); font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { position: relative; z-index: 2; align-self: flex-end; display: flex; gap: 36px; padding: 12px 40px 12px 34px; margin-top: -58px; background: rgba(6, 40, 28, .72); backdrop-filter: blur(3px); border-top-left-radius: 12px; }
.hb { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; }
.hb strong { display: block; font-weight: 700; }
.hb .ic { font-size: 34px; color: #fff; }
.hb .ic-truck { width: 46px; }
.hb .ic-handshake { width: 46px; }

/* ---------- Sections ---------- */
.section { padding: 34px 0; }
.page-top { padding-top: 26px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.sec-title { font-size: 26px; font-weight: 800; color: var(--green); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .2px; }
.sec-title.sm { font-size: 21px; }
.sec-sub { color: var(--muted); margin: 0; font-size: 15px; }
.sec-more { display: inline-flex; align-items: center; gap: 8px; color: var(--green-900); font-weight: 500; white-space: nowrap; padding-bottom: 4px; }
.sec-more:hover { color: var(--green-700); }
.sec-more .ic { font-size: 18px; transition: transform .18s; }
.sec-more:hover .ic { transform: translateX(3px); }

/* Danh mục */
.sec-cats { padding-top: 30px; padding-bottom: 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.cat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 8px 14px; text-align: center; box-shadow: var(--shadow); transition: .2s; color: inherit; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfe0d6; color: inherit; }
.cat-img { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 312 / 222; background: var(--bg-soft); margin-bottom: 12px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-name { font-size: 14.5px; font-weight: 700; color: var(--green-900); margin: 0 0 4px; }
.cat-desc { display: block; font-size: 12.5px; color: var(--muted); }

/* Tabs + slider */
.sec-products { padding-top: 26px; padding-bottom: 14px; }
.sec-head-tabs { align-items: center; }
.sec-head-tabs > div:first-child { flex: 0 0 auto; }
.tabs-bar { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.sec-head-tabs .tabs-bar { flex: 1 1 auto; justify-content: flex-end; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; padding: 9px 16px; border-radius: 7px; cursor: pointer; font-size: 13.5px; color: var(--text); transition: .18s; }
.tab:hover { border-color: var(--green-700); color: var(--green-700); }
.tab.active { background: var(--green-700); border-color: var(--green-700); color: #fff; font-weight: 600; }
.slider-nav { display: flex; gap: 6px; flex: 0 0 auto; }
.sn-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; font-size: 17px; color: var(--green-900); transition: .18s; }
.sn-btn:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.p-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none; }
.p-slider::-webkit-scrollbar { display: none; }
.p-slider > * { scroll-snap-align: start; }
.p-more { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; border: 2px dashed #cfe0d6; border-radius: var(--radius); color: var(--green-700); font-size: 14px; padding: 16px; }
.p-more:hover { background: var(--green-50); }

/* Product card */
.p-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.p-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.p-thumb { position: relative; display: block; aspect-ratio: 6 / 5; background: var(--bg-soft); overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.p-card:hover .p-thumb img { transform: scale(1.05); }
.p-badge { position: absolute; top: 10px; left: 10px; color: #fff; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 4px; line-height: 1.3; z-index: 1; }
.p-badge-sale { background: var(--red); }
.p-badge-new { background: #f5a623; }
.p-stock { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 4px; color: #fff; }
.p-stock.in { background: var(--stock); }
.p-stock.out { background: rgba(255, 255, 255, .92); color: #3a4540; }
.p-fav { position: absolute; top: 9px; right: 9px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 0; display: grid; place-items: center; cursor: pointer; font-size: 17px; color: #26312c; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); z-index: 2; }
.p-fav.on { color: var(--red); }
.p-fav.on svg path { fill: currentColor; }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-name { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-name a { color: var(--green-900); }
.p-name a:hover { color: var(--green-700); }
.p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; }
.p-price strong { color: var(--red); font-size: 17px; font-weight: 800; }
.p-price del { color: #8a948f; font-size: 13px; }

/* Thu mua + form + kho */
.sec-buy { padding-top: 14px; padding-bottom: 26px; }
.buy-grid { display: grid; grid-template-columns: 1.05fr .78fr .88fr; gap: 18px; align-items: stretch; }
.buy-box { position: relative; display: flex; border-radius: 12px; overflow: hidden; background: var(--green); color: #fff; min-height: 380px; box-shadow: var(--shadow-lg); }
.buy-content { position: relative; z-index: 2; padding: 30px 0 30px 32px; flex: 0 0 78%; display: flex; flex-direction: column; align-items: flex-start; }
.buy-img { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; background-size: cover; background-position: center; }
.buy-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #063a29 0%, rgba(6, 58, 41, .55) 30%, rgba(6, 58, 41, 0) 60%); }
.buy-title { color: var(--yellow); white-space: nowrap; font-size: clamp(19px, 1.75vw, 26px); font-weight: 800; margin: 0 0 22px; }
.buy-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; font-size: 16px; }
.buy-list li { display: flex; align-items: center; gap: 14px; }
.buy-list .ic { font-size: 22px; }
.buy-link { color: #d9ebe1; margin-top: 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.buy-link:hover { color: var(--yellow); }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 24px; box-shadow: var(--shadow); }
.box-title { font-size: 21px; font-weight: 800; color: var(--green-900); text-transform: uppercase; margin: 0 0 4px; }
.box-title.sm { font-size: 17px; margin-top: 22px; }
.box-sub { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

/* Form */
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.field { position: relative; display: flex; align-items: flex-start; border: 1px solid #dfe5e2; border-radius: 8px; background: #fff; transition: .18s; }
.field:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(0, 72, 50, .1); }
.field > .ic { position: absolute; left: 14px; top: 13px; color: #3e4a44; font-size: 16px; pointer-events: none; }
.field input, .field select, .field textarea { width: 100%; border: 0; background: transparent; padding: 11px 14px 11px 42px; outline: none; font-size: 14px; border-radius: 8px; min-height: 44px; }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; color: var(--text); }
.field select:invalid { color: #8a948f; }
.field .caret { position: absolute; right: 14px; top: 14px; left: auto; font-size: 16px; pointer-events: none; color: #26312c; }
.field input::placeholder, .field textarea::placeholder { color: #8a948f; }
.field-file { flex-direction: column; padding: 10px 14px 10px 42px; }
.field-file input { padding: 0; min-height: 0; font-size: 13px; }
.file-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.lead-form .btn-green { padding: 14px; font-size: 15px; margin-top: 4px; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.alert .ic { font-size: 18px; margin-top: 1px; }
.alert-ok { background: #e7f6ec; color: #13612f; border: 1px solid #bfe5cc; }
.alert-err { background: #fdecec; color: #a31d1d; border: 1px solid #f5c2c2; }

/* Map + locations */
.map-box { position: relative; border-radius: 8px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 7.6; margin: 14px 0 16px; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card { position: absolute; top: 10px; left: 10px; background: #fff; padding: 8px 12px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); font-size: 12.5px; line-height: 1.4; }
.map-card strong { display: block; color: #202124; font-weight: 600; }
.map-card span { color: #1a73e8; }
.loc-list { display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; }
.loc-list li { display: grid; grid-template-columns: 22px 92px 1fr; gap: 8px; align-items: start; }
.loc-list .ic { color: var(--green-900); font-size: 20px; }
.loc-list strong { color: var(--green-900); font-size: 14px; }
.loc-list span { color: #3e4a44; }

/* News */
.sec-news { padding-top: 14px; padding-bottom: 44px; }
.news-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.news-grid-4 { grid-template-columns: repeat(4, 1fr); }
.news-grid-3 { grid-template-columns: repeat(3, 1fr); }
.n-card { display: flex; flex-direction: column; }
.n-thumb { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 180 / 69; background: var(--bg-soft); margin-bottom: 10px; }
.news-grid-4 .n-thumb, .news-grid-3 .n-thumb { aspect-ratio: 16 / 9; }
.n-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.n-card:hover .n-thumb img { transform: scale(1.05); }
.n-title { font-size: 15px; font-weight: 700; margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.n-title a { color: var(--green-900); }
.n-title a:hover { color: var(--green-700); }
.n-excerpt { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; }
.n-date { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* Home about */
.sec-about { padding-top: 0; }
.about-content { background: var(--bg-soft); border-radius: 12px; padding: 26px 30px; }

/* Read more */
[data-readmore].collapsed { max-height: 420px; overflow: hidden; position: relative; }
[data-readmore].collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.about-content[data-readmore].collapsed::after { background: linear-gradient(rgba(246, 248, 247, 0), var(--bg-soft)); }
.readmore-btn { display: flex; align-items: center; gap: 6px; margin: 12px auto 0; background: #fff; border: 1px solid var(--green-700); color: var(--green-700); padding: 8px 20px; border-radius: 30px; cursor: pointer; font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px 0; margin: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; color: #9aa59f; }
.breadcrumb a { color: var(--green-700); }
.breadcrumb [aria-current] { color: var(--text); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 60ch; }

/* ---------- Listing ---------- */
.page-title { font-size: 30px; font-weight: 800; color: var(--green); margin: 0 0 8px; }
.page-intro { color: var(--muted); font-size: 15.5px; max-width: 900px; }
.list-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.side-title { font-weight: 800; color: var(--green); text-transform: uppercase; font-size: 15px; margin-bottom: 10px; }
.side-cats a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 6px; color: var(--text); font-size: 14.5px; }
.side-cats a span { color: var(--muted); font-size: 12.5px; background: var(--bg-soft); padding: 1px 8px; border-radius: 10px; }
.side-cats a:hover, .side-cats a.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.side-cta { background: var(--green); border: 0; color: #e9f2ed; }
.side-cta .side-title { color: var(--yellow); }
.side-cta p { font-size: 14px; }
.side-cta .btn + .btn { margin-top: 8px; }
.side-posts li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.side-posts li:last-child { border: 0; }
.side-posts a { color: var(--text); font-weight: 500; font-size: 14px; line-height: 1.45; display: block; }
.side-posts a:hover { color: var(--green-700); }
.side-posts time { font-size: 12px; color: var(--muted); }
.side-sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 16px; padding: 10px 14px; background: var(--bg-soft); border-radius: 8px; font-size: 14px; }
.list-toolbar select { margin-left: 8px; padding: 6px 10px; border-radius: 6px; border: 1px solid #d6dfda; background: #fff; }
.count { color: var(--muted); }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-grid-4 { grid-template-columns: repeat(4, 1fr); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.chip { padding: 7px 14px; border-radius: 30px; border: 1px solid var(--line); color: var(--text); font-size: 14px; background: #fff; }
.chip:hover, .chip.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.empty { padding: 30px; background: var(--bg-soft); border-radius: 12px; text-align: center; color: var(--muted); }
.seo-content { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 8px; }
.pg { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-weight: 600; background: #fff; }
a.pg:hover { border-color: var(--green-700); color: var(--green-700); }
.pg.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pg.disabled { opacity: .4; }
.pg.dots { border: 0; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.pd-main { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 6 / 5; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs button { flex: 0 0 88px; height: 74px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; background: var(--bg-soft); }
.pd-thumbs button.active { border-color: var(--green-700); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: 28px; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.p-stock-inline { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.p-stock-inline.in { color: var(--stock); }
.p-stock-inline.out { color: #8a948f; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 14px 18px; background: #fff7f6; border-radius: 10px; margin-bottom: 16px; }
.pd-price strong { color: var(--red); font-size: 30px; font-weight: 800; }
.pd-price del { color: #8a948f; font-size: 17px; }
.pd-price .save { background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.pd-short { margin-bottom: 16px; color: #33403a; }
.pd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pd-commit { display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin-bottom: 20px; }
.pd-commit li { display: flex; gap: 8px; align-items: center; }
.pd-commit .ic { color: var(--stock); font-size: 17px; }
.pd-order .box-title { font-size: 18px; }
.pd-detail { margin-top: 40px; }
.pd-related { margin-top: 40px; }

/* ---------- Article / page ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.article { min-width: 0; }
.article-title { font-size: 31px; font-weight: 800; color: var(--green); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-sapo { font-size: 17px; font-weight: 600; color: #33403a; border-left: 4px solid var(--yellow); padding: 4px 0 4px 16px; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--green); color: #e9f2ed; border-radius: 12px; padding: 20px 24px; margin-top: 30px; }
.article-cta strong { display: block; color: var(--yellow); font-size: 17px; }
.page-hero { position: relative; background: var(--green) var(--bg, none) center / cover; color: #fff; padding: 56px 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #063a29 0%, rgba(6, 58, 41, .92) 45%, rgba(6, 58, 41, .6) 100%); }
.page-hero .container { position: relative; }
.page-hero-title { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 10px; max-width: 820px; }
.page-hero-sub { font-size: 17px; max-width: 760px; color: #e1ece6; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 6px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { color: var(--green-700); font-size: 19px; margin-top: 3px; }
.contact-map .map-box { aspect-ratio: 21 / 7; margin-top: 24px; }
.err-code { font-size: 96px; font-weight: 800; color: var(--yellow); line-height: 1; text-shadow: 2px 2px 0 var(--green); }

/* Nội dung soạn bằng KEditor */
.k-content { font-size: 16px; line-height: 1.75; color: #26312c; overflow-wrap: anywhere; }
.k-content h2 { font-size: 24px; margin: 1.4em 0 .6em; color: var(--green); }
.k-content h3 { font-size: 20px; margin: 1.3em 0 .5em; color: var(--green); }
.k-content h4 { font-size: 17px; margin: 1.2em 0 .5em; }
.k-content ul, .k-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.k-content ul { list-style: disc; }
.k-content ol { list-style: decimal; }
.k-content li { margin-bottom: .35em; }
.k-content img { border-radius: 8px; margin: 8px auto; height: auto !important; }
.k-content a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.k-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.k-content th, .k-content td { border: 1px solid var(--line); padding: 8px 10px; }
.k-content th { background: var(--green-50); }
.k-content blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--yellow); background: var(--bg-soft); border-radius: 0 8px 8px 0; }

/* ---------- Footer ---------- */
.footer { background: var(--green-800); color: #dfe9e3; font-size: 14px; position: relative; }
.footer::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
    background-image: radial-gradient(circle at 20% 30%, #fff 0, transparent 40%), radial-gradient(circle at 80% 70%, #fff 0, transparent 35%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 2.1fr 1.6fr 1.15fr 1fr 1.2fr; gap: 28px; padding-top: 34px; padding-bottom: 26px; }
.footer a { color: #dfe9e3; }
.footer a:hover { color: var(--yellow); }
.f-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.f-brand img { width: 84px; height: 84px; border-radius: 50%; }
.f-name { display: block; font-family: var(--font-brand); font-size: 21px; white-space: nowrap; font-weight: 700; color: #fff; line-height: 1.2; }
.f-company { display: block; font-size: 16px; color: #fff; margin-top: 4px; }
.f-about p { color: #cfdcd5; font-size: 13.5px; }
.f-title { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.f-contact { display: flex; flex-direction: column; gap: 12px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ic { font-size: 18px; margin-top: 2px; color: #fff; }
.f-contact .ic.y { color: var(--yellow); }
.f-contact strong { color: #fff; font-weight: 600; }
.f-links li { padding: 3px 0; }
.f-links a { display: inline-flex; align-items: center; gap: 8px; }
.f-links a::before { content: "›"; font-size: 16px; line-height: 1; }
.f-qr { align-self: start; background: var(--yellow); border-radius: 10px; padding: 14px 16px; color: var(--green-900); }
.f-qr-title { text-align: center; font-weight: 600; font-size: 13.5px; line-height: 1.4; margin-bottom: 10px; }
.f-qr-body { display: flex; align-items: center; gap: 12px; }
.f-qr-body img { width: 104px; height: 104px; background: #fff; border-radius: 6px; padding: 5px; }
.f-qr-social { display: flex; flex-wrap: wrap; gap: 6px; }
.f-qr-social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; font-size: 16px; }
.s-zalo { background: #0a68fe; }
.s-fb { background: #1877f2; }
.s-yt { background: #ff0000; }
.s-tt { background: #111; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.fb-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.fb-links { display: flex; flex-wrap: wrap; gap: 12px; color: #9fc3d8; }
.fb-links a { color: #8fd3ff; }
.fb-links strong { color: #fff; }

/* Floating contact */
.float-contact { position: fixed; right: 18px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.fc { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; font-size: 26px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); position: relative; }
.fc-phone { background: #1fae3a; animation: ring 1.6s infinite; }
.fc-phone::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(31, 174, 58, .5); animation: pulse 1.6s infinite; }
.fc-mess { background: #1e88f5; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fc-phone, .fc-phone::after { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .header-in { gap: 12px; }
    .nav > ul > li > a { padding: 10px 7px; font-size: 13.5px; }
    .brand img { width: 56px; height: 56px; }
    .brand-name { font-size: 20px; }
    .brand-slogan { font-size: 11px; }
    .footer-grid .f-name { white-space: normal; }
    .hero-title { font-size: 46px; }
    .cat-grid { gap: 12px; }
    .cat-name { font-size: 13.5px; }
    .p-name { font-size: 14px; }
    .p-price strong { font-size: 15.5px; }
}
@media (max-width: 1023px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .p-slider { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
    .buy-grid { grid-template-columns: 1fr 1fr; }
    .buy-box { grid-column: 1 / -1; }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .p-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    :root { --header-h: 72px; }
    .topbar-right .topbar-loc { display: none; }
    .brand img { width: 50px; height: 50px; }
    .brand-name { font-size: 19px; }
    .brand-slogan { font-size: 11.5px; }
    .header-in { justify-content: space-between; }
    .header-actions .menu-btn { display: grid; background: var(--yellow); color: var(--green-900); }
    .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; z-index: 200; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; flex-direction: column; justify-content: flex-start; padding: 20px 16px; overflow-y: auto; box-shadow: var(--shadow-lg); }
    body.nav-open .nav { transform: none; visibility: visible; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 150; opacity: 0; visibility: hidden; transition: .2s; }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav > ul > li { border-bottom: 1px solid var(--line); }
    .nav > ul > li > a { padding: 14px 6px; font-size: 16px; }
    .nav > ul > li > a .ic, .nav > ul > li > a::after { display: none; }
    .sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: var(--green-50); border-radius: 8px; color: var(--green); }
    .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; min-width: 0; }
    .nav .has-sub.open .sub { display: block; }
    .nav .has-sub.open .sub-toggle { transform: rotate(180deg); }
    .nav-call { display: flex; margin-top: 18px; }
    .hero { min-height: 0; }
    .hero-in { padding-bottom: 26px; }
    .hero-bg { inset: 0; }
    .hero::before { background: linear-gradient(90deg, rgba(6, 58, 41, .96) 0%, rgba(6, 58, 41, .85) 55%, rgba(6, 58, 41, .55) 100%); }
    .hero-title { font-size: 40px; }
    .hero-badges { align-self: stretch; justify-content: space-around; border-radius: 0; padding: 12px 16px; gap: 14px; margin-top: 0; }
    .list-layout, .article-layout { grid-template-columns: 1fr; }
    .list-layout .sidebar { order: 2; }
    .side-sticky { position: static; }
    .pd-grid { grid-template-columns: 1fr; gap: 24px; }
    .sec-head-tabs { flex-direction: column; align-items: stretch; }
    .sec-head-tabs .tabs-bar { width: 100%; justify-content: space-between; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    body { font-size: 14.5px; }
    .topbar { font-size: 12px; }
    .topbar .hide-sm, .topbar-left .sep { display: none; }
    .section { padding: 28px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .sec-title { font-size: 21px; }
    .hero-in { padding-top: 28px; padding-bottom: 24px; }
    .hero-tag { font-size: 12.5px; }
    .hero-title { font-size: 31px; }
    .hero-sub { font-size: 16.5px; }
    .hero-features { grid-template-columns: 1fr; gap: 8px; font-size: 14.5px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .hero-badges { flex-wrap: wrap; justify-content: flex-start; }
    .hb { flex: 1 1 140px; font-size: 13px; }
    .hb .ic { font-size: 26px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .p-slider { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
    .p-grid, .p-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .p-body { padding: 10px; }
    .p-name { font-size: 14px; }
    .p-price strong { font-size: 15px; }
    .buy-grid { grid-template-columns: 1fr; }
    .buy-box { min-height: 0; }
    .buy-content { flex-basis: 100%; padding: 26px 22px; }
    .buy-img { width: 100%; opacity: .25; }
    .buy-title { font-size: 22px; }
    .news-grid, .news-grid-4, .news-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .n-thumb { aspect-ratio: 16 / 9; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .f-about, .f-qr { grid-column: 1 / -1; }
    .fb-in { flex-direction: column; text-align: center; }
    .page-title, .article-title, .pd-title { font-size: 24px; }
    .page-hero { padding: 36px 0; }
    .page-hero-title { font-size: 27px; }
    .pd-price strong { font-size: 25px; }
    .loc-list li { grid-template-columns: 22px 1fr; }
    .loc-list li span { grid-column: 2; }
    .contact-map .map-box { aspect-ratio: 4 / 3; }
    .float-contact { right: 12px; bottom: 16px; }
    .fc { width: 48px; height: 48px; font-size: 22px; }
    .list-toolbar { flex-wrap: wrap; }
}
@media (max-width: 420px) {
    .brand-slogan { display: none; }
    .brand-name { font-size: 17px; }
    .header-actions .icon-btn { width: 40px; height: 40px; }
}
