/*!
 * Zacom-shop — core styles (tokens, layout, header, footer, home, blog).
 * Thiết kế flat: bo góc tối đa 5px, không box-shadow. Ảnh sản phẩm/bài viết tỷ lệ 1:1 (card) hoặc 16:9 (bài viết).
 *
 * Mục lục: 1. Tokens & reset · 2. Utilities & components · 3. Header (menu, flyout, sticky)
 * 4. Trang chủ · 5. Bài viết / trang · 6. Footer · 7. Responsive (core) · 8. Mobile kiểu app
 * (header, tabbar, bảng danh mục, ngăn kéo tài khoản) · 9. Blog v2 · 10. Tương thích plugin
 */

/* ------------------------------------------------------------------ *
 * 1. Tokens & reset
 * ------------------------------------------------------------------ */
:root {
	--zc-green: #067A33;
	--zc-green-dark: #05612A;
	--zc-green-soft: #EDF7F0;
	--zc-green-line: #BFDFC9;
	--zc-red: #E23744;
	--zc-orange: #F26522;
	--zc-text: #12161A;
	--zc-text-2: #3A4048;
	--zc-muted: #5B6470;
	--zc-faint: #6B7380; /* đạt tương phản ~4.8:1 trên nền trắng */
	--zc-line: #ECEEEC;
	--zc-line-2: #D6D9D6;
	--zc-bg: #F6F7F5;
	--zc-bg-2: #F4F5F3;
	--zc-white: #fff;
	--zc-radius: 5px;
	--zc-radius-lg: 12px;
	--zc-shadow-1: 0 1px 2px rgba(18, 22, 26, .06), 0 1px 1px rgba(18, 22, 26, .04);
	--zc-shadow-2: 0 6px 20px rgba(18, 22, 26, .08);
	--zc-space-1: 4px; --zc-space-2: 8px; --zc-space-3: 12px; --zc-space-4: 16px;
	--zc-space-5: 20px; --zc-space-6: 24px; --zc-space-7: 32px; --zc-space-8: 40px;
	--zc-fs-xs: .75rem; --zc-fs-sm: .875rem; --zc-fs-md: 1rem; --zc-fs-lg: 1.125rem; --zc-fs-xl: 1.375rem;
	--zc-cta: var(--zc-orange);
	--zc-overlay: rgba(18, 22, 26, .45);
	--zc-max: 1280px;
	--zc-gutter: clamp(16px, 4vw, 40px);
	--zc-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--zc-font-head: var(--zc-font);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--zc-bg); color: var(--zc-text); font: 400 1rem/1.5 var(--zc-font); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--zc-green); text-decoration: none; }
a:hover { color: var(--zc-red); }
h1, h2, h3, h4 { font-family: var(--zc-font-head); color: var(--zc-text); line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--zc-green); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; left: 8px; top: 8px; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 16px; background: #fff; z-index: 100000; border-radius: var(--zc-radius); }
@keyframes zc-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ *
 * 2. Utilities & components
 * ------------------------------------------------------------------ */
.zc-container { max-width: var(--zc-max); margin: 0 auto; padding-left: var(--zc-gutter); padding-right: var(--zc-gutter); }
.site-main { padding-top: 20px; padding-bottom: 44px; }
.zc-red { color: var(--zc-red); }
.zc-green { color: var(--zc-green); }
.zc-blue { color: #0068FF; }
.zc-muted { color: var(--zc-faint); font-size: .875rem; }
.zc-center { text-align: center; }
.zc-grow { flex: 1; min-width: 0; }
.zc-title { font-weight: 800; font-size: 1.375rem; margin: 0 0 16px; }
.zc-h2 { font-weight: 800; font-size: 1.375rem; margin: 0 0 16px; }
.zc-eyebrow { display: block; font-size: .6563rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--zc-faint); }
.zc-eyebrow-title { font-weight: 800; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.zc-more { font-size: .8438rem; font-weight: 700; white-space: nowrap; }
.zc-linkbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: .75rem; font-weight: 600; color: var(--zc-muted); }
.zc-linkbtn:hover { color: var(--zc-green); }
.zc-hide-sm, .zc-hide-md { display: initial; }
.zc-note { background: var(--zc-white); border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 14px 16px; }

.zc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: var(--zc-radius); font: 700 .875rem/1 var(--zc-font); text-align: center; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.zc-btn--sm { min-height: 36px; padding: 0 16px; font-size: .8125rem; }
.zc-btn--lg { min-height: 52px; padding: 0 24px; font-size: .9375rem; }
.zc-btn--block { display: flex; width: 100%; margin-top: 9px; }
.zc-btn--primary { background: var(--zc-green); color: #fff; }
.zc-btn--primary:hover { background: var(--zc-green-dark); color: #fff; }
.zc-btn--ghost { background: var(--zc-bg-2); border-color: var(--zc-line-2); color: var(--zc-text-2); }
.zc-btn--ghost:hover { border-color: var(--zc-green); color: var(--zc-green); }
.zc-btn--orange { background: var(--zc-orange); color: #fff; }
.zc-btn--orange:hover { background: #d9561a; color: #fff; }
.zc-btn--outline-red { background: #fff; border-color: var(--zc-red); color: var(--zc-red); }
.zc-btn--outline-red:hover { background: var(--zc-red); color: #fff; }
.zc-btn--outline-blue { background: #fff; border-color: #0068FF; color: #0068FF; }
.zc-btn--outline-blue:hover { background: #0068FF; color: #fff; }

.zc-panel { background: var(--zc-white); border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 16px; }
.zc-panel__title { font-size: .875rem; font-weight: 700; margin: 0 0 12px; }
.zc-pill { display: inline-block; background: var(--zc-green-soft); color: var(--zc-green-dark); font-size: .7188rem; font-weight: 700; padding: 3px 9px; border-radius: var(--zc-radius); }
.zc-chip { display: inline-block; border: 1px solid var(--zc-line-2); background: #fff; color: var(--zc-text-2); font-size: .8125rem; font-weight: 600; padding: 9px 16px; border-radius: var(--zc-radius); margin: 0; font-family: var(--zc-font); }
.zc-chip:hover { border-color: var(--zc-green); color: var(--zc-green); }
.zc-chip--solid { background: var(--zc-green); border-color: var(--zc-green); color: #fff; font-family: var(--zc-font-head); font-weight: 700; font-size: .8438rem; }
.zc-bar { height: 6px; border-radius: 999px; background: #E7EAE7; overflow: hidden; margin-top: 9px; }
.zc-bar > span { display: block; height: 100%; background: var(--zc-orange); border-radius: 999px; }
.zc-empty { text-align: center; padding: 44px 20px; }
.zc-empty__title { font: 700 1rem var(--zc-font-head); margin-bottom: 6px; }
.zc-empty--lg { padding: 80px 20px; }
.zc-404 { font: 800 4rem/1 var(--zc-font-head); color: var(--zc-green); margin: 0 0 8px; }

/* ------------------------------------------------------------------ *
 * 3. Header
 * ------------------------------------------------------------------ */
.zc-header { background: #fff; border-bottom: 1px solid var(--zc-line); }
.zc-topbar { background: var(--zc-text); color: #D7DAD8; font-size: .75rem; }
.zc-topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 7px var(--zc-gutter); max-width: none; }
.zc-topbar a { color: #D7DAD8; }
.zc-topbar a:hover { color: #fff; }
.zc-header__row { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.zc-logo { display: flex; align-items: center; flex: 0 0 auto; }
.zc-logo__icon { display: none; }
.zc-header__search { flex: 1; min-width: 0; max-width: 600px; }
.zc-search--native { display: flex; align-items: center; gap: 8px; background: var(--zc-bg-2); border-radius: var(--zc-radius); padding: 8px 8px 8px 16px; color: var(--zc-faint); }
.zc-search--native input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: .875rem; color: var(--zc-text); }
.zc-search--ajax .dgwt-wcas-search-wrapp, .zc-search--ajax [class*="wcas-search-wrapp"], .zc-search--ajax [class*="smt-as"] { max-width: none; width: 100%; }
.zc-header__contact { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.zc-info { display: flex; align-items: center; gap: 9px; color: var(--zc-text); }
.zc-info strong { display: block; font-size: .9063rem; font-weight: 700; line-height: 1.25; }
.zc-info .zc-eyebrow { line-height: 1.25; }
.zc-header__tools { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; margin-left: auto; }
.zc-account, .zc-cartlink { display: flex; align-items: center; gap: 9px; color: var(--zc-text-2); }
.zc-account small, .zc-cartlink small { display: block; font-size: .75rem; color: var(--zc-faint); line-height: 1.3; }
.zc-account strong, .zc-cartlink strong { display: block; font-size: .75rem; line-height: 1.3; color: var(--zc-text); }
.zc-cartlink__ico { position: relative; display: flex; }
.zc-cart-count { position: absolute; top: -7px; right: -8px; background: var(--zc-red); color: #fff; font-size: .625rem; font-weight: 700; border-radius: var(--zc-radius); padding: 1px 5px; line-height: 1.4; }
.zc-burger { display: none; background: none; border: 0; padding: 4px; color: var(--zc-text); }

.zc-nav { border-top: 1px solid var(--zc-line); }
.zc-nav__row { display: flex; align-items: center; gap: 20px; }
.zc-nav__list { display: flex; gap: 28px; list-style: none; padding: 12px 0; font-size: .8438rem; font-weight: 600; overflow: visible; }
.zc-nav__list li { white-space: nowrap; position: relative; }
.zc-nav__list a { color: var(--zc-text-2); }
.zc-nav__list a:hover { color: var(--zc-red); }
.zc-nav__list .current-menu-item > a, .zc-nav__list .current_page_item > a { color: var(--zc-green); }
.zc-nav__list .sub-menu { position: absolute; left: 0; top: 100%; min-width: 200px; background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 6px 0; list-style: none; display: none; z-index: 60; }
.zc-nav__list li:hover > .sub-menu, .zc-nav__list li:focus-within > .sub-menu { display: block; }
.zc-nav__list .sub-menu a { display: block; padding: 8px 16px; }

/* Nút + panel danh mục */
.zc-catbtn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: var(--zc-radius); background: var(--zc-green); color: #fff; font: 700 .8125rem var(--zc-font); white-space: nowrap; }
.zc-catbtn--lg { margin: 8px 0; padding: 10px 16px; font-size: .8438rem; gap: 9px; }
.zc-catbtn:hover { background: var(--zc-green-dark); }
.zc-catmenu, .zc-sticky__cat { position: relative; flex: 0 0 auto; }
.zc-catmenu__panel { position: absolute; left: 0; top: 100%; z-index: 70; width: 250px; background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 8px 0; }
.zc-sticky__cat .zc-catmenu__panel { top: calc(100% + 6px); }

.zc-catnav__list { list-style: none; }
.zc-catnav__item { position: static; }
.zc-catnav__link { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: .8125rem; font-weight: 500; color: var(--zc-text-2); }
.zc-catnav__link svg:last-child { color: #C9CEC9; flex: 0 0 auto; }
.zc-catnav__item:hover > .zc-catnav__link, .zc-catnav__item.is-hover > .zc-catnav__link { color: var(--zc-red); background: var(--zc-green-soft); }
.zc-ico { display: flex; flex: 0 0 auto; }

/* Flyout danh mục: số cột theo số danh mục con; không có danh mục con → lưới sản phẩm (tải AJAX khi rê chuột). */
.zc-flyout { display: none; z-index: 50; position: absolute; left: 100%; top: -1px; bottom: -1px; width: 640px; max-width: calc(100vw - 300px); background: #fff; border: 1px solid var(--zc-line); border-left: 0; border-radius: 0 var(--zc-radius) var(--zc-radius) 0; padding: 18px 22px; overflow: hidden; grid-template-columns: 1fr 240px; gap: 24px; }
.zc-catmenu__panel .zc-catnav__list, .zc-catnav--side { position: relative; z-index: 40; }
.zc-catnav__item.has-flyout:hover > .zc-flyout, .zc-catnav__item.is-hover > .zc-flyout { display: grid; }
.zc-flyout__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.zc-flyout__head span { font: 700 .9375rem var(--zc-font-head); }
.zc-flyout__head a { font-size: .7813rem; font-weight: 700; }
.zc-flyout__links { display: grid; grid-template-columns: repeat(var(--zc-fly-cols, 3), minmax(0, 1fr)); gap: 6px 24px; align-content: start; overflow-y: auto; max-height: 360px; }
.zc-flyout__links a { font-size: .8125rem; color: var(--zc-text-2); padding: 5px 0; border-bottom: 1px solid #F4F5F3; }
.zc-flyout__links a:hover { color: var(--zc-red); }
.zc-flyout__side { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid #F0F1EF; padding-left: 20px; }
.zc-flyout__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; align-content: start; }
.zc-flyout__grid .zc-mini { padding: 4px 0; }
.zc-flyout__grid .zc-mini__img { width: 64px; height: 64px; }
.zc-flyout--products .zc-eyebrow { margin: 0 0 10px; }
.zc-flyout__side [data-zc-fly] { display: flex; flex-direction: column; gap: 10px; }
[data-zc-fly].is-loading { min-height: 120px; border-radius: var(--zc-radius); background: linear-gradient(90deg, var(--zc-bg-2) 25%, #fff 50%, var(--zc-bg-2) 75%); background-size: 200% 100%; animation: zc-shimmer 1.2s infinite; }
.zc-mini { display: flex; gap: 10px; align-items: center; }
.zc-mini__img { width: 56px; height: 56px; flex: 0 0 auto; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); background: #fff; overflow: hidden; }
.zc-mini__img img { width: 100%; height: 100%; object-fit: contain; }
.zc-mini__name { display: block; font-size: .75rem; color: var(--zc-text); line-height: 1.35; transition: color .15s; }
.zc-mini:hover .zc-mini__name, .zc-mini:focus-visible .zc-mini__name { color: var(--zc-red); }
.zc-mini__price { display: block; font-weight: 700; font-size: .7813rem; color: var(--zc-red); margin-top: 3px; }
.zc-mini__price del { display: none; }
.zc-mini__price ins { text-decoration: none; }

/* Sticky header */
.zc-sticky { position: fixed; inset: 0 0 auto 0; z-index: 80; background: #fff; border-bottom: 1px solid var(--zc-line); transform: translateY(-110%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
.zc-sticky.is-on { transform: none; visibility: visible; }
.admin-bar .zc-sticky { top: 32px; }
.zc-sticky__in { display: flex; align-items: center; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.zc-sticky__spacer { flex: 1; }
.zc-sticky__hotline { display: flex; align-items: center; gap: 8px; color: var(--zc-red); font-weight: 700; font-size: .875rem; }
.zc-sticky__hotline span { color: var(--zc-text); white-space: nowrap; }
.zc-sticky .zc-cartlink__total { font-weight: 700; font-size: .8438rem; color: var(--zc-text); }

/* ------------------------------------------------------------------ *
 * 4. Trang chủ
 * ------------------------------------------------------------------ */
.zc-homepage { padding-top: 28px; }
.zc-hero { display: grid; grid-template-columns: 240px 1fr; gap: 16px; }
.zc-hero--solo { grid-template-columns: 1fr; }
.zc-catnav--side { position: relative; background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 6px 0; align-self: start; }
.zc-catnav--side .zc-catnav__link { min-height: 28px; padding: 5px 14px; font-size: .7813rem; line-height: 1.3; }
.zc-catnav--side .zc-catnav__link .zc-grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zc-catnav--side .zc-flyout { width: 1000px; max-width: calc(100vw - 340px); top: -1px; bottom: auto; height: calc(100% + 2px); min-height: 404px; }
.zc-flyout--c1, .zc-catnav--side .zc-flyout--c1 { width: 500px; }
.zc-flyout--c2, .zc-catnav--side .zc-flyout--c2 { width: 640px; }
.zc-flyout--c3, .zc-catnav--side .zc-flyout--c3 { width: 780px; }
.zc-flyout--c4, .zc-catnav--side .zc-flyout--c4 { width: 920px; }
.zc-flyout--products, .zc-catnav--side .zc-flyout--products { width: 720px; grid-template-columns: minmax(0, 1fr); }
.zc-hero__banner { position: relative; border-radius: var(--zc-radius); overflow: hidden; background: #E9ECE8; min-height: 200px; aspect-ratio: 1017 / 404; }
.zc-hero__img { width: 100%; height: 100%; object-fit: cover; }
.zc-hero__banner a { display: block; height: 100%; }
.zc-hslider__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.zc-hslider__track::-webkit-scrollbar { display: none; }
.zc-hslider__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.zc-hslider__slide picture { display: block; height: 100%; }
.zc-hslider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--zc-ink, #111); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); opacity: 0; transition: opacity .2s; }
.zc-hslider__nav--prev { left: 12px; }
.zc-hslider__nav--next { right: 12px; }
.zc-hslider:hover .zc-hslider__nav, .zc-hslider__nav:focus-visible { opacity: 1; }
.zc-hslider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.zc-hslider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; transition: width .2s, background .2s; }
.zc-hslider__dot.is-active { width: 20px; background: #fff; }
.zc-hero__ph { display: flex; align-items: center; justify-content: center; height: 100%; padding: 20px; text-align: center; color: var(--zc-faint); font-size: .875rem; }

.zc-section { margin-top: 28px; }
.zc-blocks > :first-child { margin-top: 0; }
.zc-cats { display: grid; grid-template-columns: repeat(var(--zc-cat-cols, 9), minmax(0, 1fr)); gap: 10px 6px; }
.zc-cats__img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
.zc-cats__item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 4px; color: var(--zc-text-2); }
.zc-cats__ico { width: 74px; height: 74px; border-radius: 999px; background: #EAF6FF; color: var(--zc-green); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.zc-cats__item:hover .zc-cats__ico { background: var(--zc-green-soft); }
.zc-cats__name { margin: 0; font: 400 .7813rem/1.4 var(--zc-font); color: inherit; text-align: center; }

.zc-chiprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.zc-chiprow__tags { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.zc-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 36px; padding: 24px; background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); }
.zc-trust__item { display: flex; align-items: center; gap: 12px; color: var(--zc-green); }
.zc-trust__item strong { font-size: .8125rem; font-weight: 600; color: var(--zc-text-2); }
.zc-promo { margin-top: 36px; border-radius: var(--zc-radius); overflow: hidden; }
.zc-promo img { width: 100%; height: auto; }

.zc-blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.zc-blog__head .zc-h2 { margin-bottom: 4px; }
.zc-blog__head p { margin: 0; }
.zc-blog__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: start; }
.zc-blog__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zc-topics { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.zc-topics .zc-chip { padding: 6px 12px; font-size: .7813rem; }

/* ------------------------------------------------------------------ *
 * 5. Bài viết (thẻ ở trang chủ) / trang
 * ------------------------------------------------------------------ */
.zc-post { background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); overflow: hidden; }
.zc-post__media { display: block; background: var(--zc-bg-2); }
.zc-post__media img { width: 100%; height: 100%; object-fit: cover; }
.zc-post__title { font-weight: 700; margin: 0; }
.zc-post__title a { color: var(--zc-text); }
.zc-post__title a:hover { color: var(--zc-red); }
.zc-post__meta { display: flex; align-items: center; gap: 8px; font-size: .7188rem; color: var(--zc-faint); flex-wrap: wrap; }
.zc-post--feature { display: flex; flex-direction: column; }
.zc-post--feature .zc-post__media { aspect-ratio: 16 / 9; }
.zc-post--feature .zc-post__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.zc-post--feature .zc-post__title { font-size: 1.0625rem; line-height: 1.38; }
.zc-post__excerpt { font-size: .8125rem; line-height: 1.7; color: var(--zc-muted); margin: 0; }
.zc-post--row { display: flex; gap: 12px; padding: 10px; align-items: flex-start; }
.zc-post--row .zc-post__media { width: 124px; flex: 0 0 124px; aspect-ratio: 16 / 9; border-radius: var(--zc-radius); overflow: hidden; }
.zc-post--row .zc-post__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.zc-post--row .zc-post__title { font-size: .8125rem; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zc-post__tag { color: var(--zc-green-dark); font-weight: 700; }
.zc-post__date { font-size: .7188rem; color: var(--zc-faint); }
.zc-post--card { display: grid; grid-template-columns: 240px 1fr; }
.zc-post--card .zc-post__media { aspect-ratio: 16 / 10; }
.zc-post--card .zc-post__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.zc-post--card .zc-post__title { font-size: 1.0625rem; }

.zc-pagehead { margin-bottom: 4px; }
.zc-sidebar .zc-panel { margin-bottom: 14px; }

.zc-article { background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: clamp(18px, 3vw, 32px); }
.zc-page--wc .zc-article { background: transparent; border: 0; padding: 0; }
.zc-article__head .zc-title { font-size: 1.75rem; }
.zc-article__thumb { margin: 0 0 20px; border-radius: var(--zc-radius); overflow: hidden; }
.entry-content { font-size: .9375rem; line-height: 1.8; color: var(--zc-text-2); }
.entry-content h2 { font-weight: 800; font-size: 1.3125rem; margin: 26px 0 12px; }
.entry-content h3 { font-weight: 700; font-size: 1.0625rem; margin: 22px 0 10px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin: 0 0 14px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { border-radius: var(--zc-radius); }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--zc-line); padding: 9px 12px; text-align: left; }
.entry-content blockquote { margin: 16px 0; padding: 4px 18px; border-left: 3px solid var(--zc-green); color: var(--zc-muted); }

/* Phân trang */
.zc-pagination { margin-top: 28px; }
.zc-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.zc-pagination a, .zc-pagination span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); background: #fff; color: var(--zc-text-2); font-size: .8125rem; font-weight: 600; }
.zc-pagination a:hover { border-color: var(--zc-green); color: var(--zc-green); }
.zc-pagination .current { background: var(--zc-green); border-color: var(--zc-green); color: #fff; }

/* Breadcrumb */
.zc-breadcrumb { margin-bottom: 12px; font-size: .7813rem; color: var(--zc-faint); }
.zc-breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 0; }
.zc-breadcrumb li { display: inline-flex; align-items: center; }
.zc-breadcrumb li + li::before { content: '/'; margin: 0 7px; color: #C9CEC9; }
.zc-breadcrumb a { color: var(--zc-faint); }
.zc-breadcrumb a:hover { color: var(--zc-red); }
.zc-breadcrumb [aria-current] span { color: var(--zc-text); }

/* Bình luận */
.zc-comments { margin-top: 28px; }
.zc-comments__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.zc-comments__list .comment-body { background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 14px 16px; }
.comment-form label { display: block; font-size: .75rem; color: var(--zc-muted); margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--zc-line-2); border-radius: var(--zc-radius); padding: 11px 12px; background: #fff; }
.comment-form .submit, .zc-submit { background: var(--zc-green); color: #fff; border: 0; border-radius: var(--zc-radius); padding: 12px 24px; font-weight: 700; }
.comment-form .submit:hover { background: var(--zc-green-dark); }

/* ------------------------------------------------------------------ *
 * 6. Footer
 * ------------------------------------------------------------------ */
.zc-footer { background: var(--zc-text); color: #B4B9B6; margin-top: 0; }
.zc-footer a { color: #B4B9B6; }
.zc-footer a:hover { color: #fff; }
.zc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.zc-footer__logo { display: flex; align-items: center; gap: 10px; }
.zc-footer__logo img:first-child { background: #fff; border-radius: var(--zc-radius); padding: 2px; }
.zc-footer__word { height: 19px; width: auto; filter: brightness(0) invert(1); }
.zc-footer__brand p { font-size: .7813rem; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.zc-footer__title { color: #fff; font: 700 .8438rem var(--zc-font); margin: 0 0 12px; }
.zc-footer__list { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: .7813rem; }
.zc-footer__contact { font-style: normal; font-size: .7813rem; line-height: 1.8; }
.zc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; padding: 16px; font-size: .7188rem; }

/* ------------------------------------------------------------------ *
 * 7. Responsive (core)
 * ------------------------------------------------------------------ */
@media (max-width: 1200px) {
	.zc-cats { grid-template-columns: repeat(min(var(--zc-cat-cols, 9), 6), minmax(0, 1fr)); }
	.zc-header__contact { display: none; }
}
@media (max-width: 960px) {
	.zc-hero { grid-template-columns: minmax(0, 1fr); }
	.zc-hero__banner { width: 100%; min-height: 0; }
	.zc-hero__banner:has(.zc-hero__ph) { display: none; } /* chưa có ảnh banner → bỏ khung xám trống */
	.zc-catnav--side { display: none; }
	.zc-blog__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.zc-header__row { flex-wrap: wrap; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
	.zc-logo__word { display: none; }
	.zc-logo__icon { display: block; }
	.zc-header__search { order: 3; flex: 1 0 100%; max-width: none; }
	.zc-header__tools { gap: 16px; }
	.zc-hide-md { display: none; }
	.zc-burger { display: flex; }
	.zc-nav { display: none; }
	.zc-nav.is-open { display: block; }
	.zc-nav__row { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
	.zc-nav__list { flex-direction: column; gap: 0; padding: 8px 0; }
	.zc-nav__list a { display: block; padding: 10px 0; }
	.zc-nav__list .sub-menu { position: static; display: block; border: 0; padding-left: 14px; }
	.zc-catmenu__panel { position: static; width: auto; }
	.zc-flyout { display: none !important; }
	.zc-sticky__cat, .zc-sticky .zc-sticky__spacer + .zc-sticky__hotline span { display: none; }
}
@media (max-width: 720px) {
	.zc-hide-sm { display: none; }
	.zc-topbar__in a { display: none; }
	.zc-post--card { grid-template-columns: 1fr; }
	.zc-blog__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.zc-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.zc-cats__ico { width: 60px; height: 60px; }
	.zc-hero__banner { aspect-ratio: auto; height: 150px; min-height: 150px; }
	.zc-hero__banner.has-mobile { aspect-ratio: var(--zc-hs-m); height: auto; min-height: 0; }
	.zc-hslider__nav { display: none; }
	.zc-hslider__dots { bottom: 6px; }
}

/* ------------------------------------------------------------------ *
 * 8. Mobile kiểu app (header 1 hàng, tabbar, bảng danh mục, ngăn kéo tài khoản)
 * ------------------------------------------------------------------ */
.zc-tabbar, .zc-catsheet { display: none; }
@media (max-width: 640px) {
	html, body { overflow-x: clip; }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); touch-action: manipulation; }
	.zc-topbar, .zc-sticky, .zc-nav, .zc-burger, .zc-header__contact, .zc-account { display: none !important; }

	/* Header dính, 1 hàng thấp; admin bar trên điện thoại cuộn theo trang → header sát đỉnh. */
	.zc-header { position: sticky; top: 0; z-index: 90; }
	.admin-bar .zc-header { top: 0; }
	.zc-header__row { flex-wrap: nowrap; gap: 10px; padding: 10px 14px; }
	.zc-header__row .zc-logo { order: 1; }
	.zc-logo__icon { display: block; width: 30px; height: 30px; border-radius: var(--zc-radius); }
	.zc-header__search { order: 2; flex: 1 1 auto; max-width: none; min-width: 0; }
	.zc-header__tools { order: 3; margin-left: 0; gap: 0; }
	.zc-cartlink__text { display: none; }
	.zc-search--native { padding: 8px 12px; background: #F4F5F3; }
	.zc-search--native input[type="search"] { font-size: .7813rem; }
	/* Ô tìm kiếm smt-ajax-search gọn 38px. */
	.zc-header .smt-as-sf-wrapp { padding: 0 !important; }
	.zc-header .smt-as-search-input { height: 44px !important; min-height: 44px !important; padding: 8px 12px 8px 46px !important; font-size: 1rem !important; border-radius: var(--zc-radius) !important; }
	.zc-header .smt-as-preloader { height: 44px !important; }
	.zc-header .smt-as-search-submit { height: 44px !important; top: 0 !important; }

	/* Thanh tab đáy */
	.zc-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; justify-content: space-around; background: #fff; border-top: 1px solid #F0F1EF; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
	.zc-tabbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 0; color: #9AA0A6; font-family: inherit; font-size: .625rem; font-weight: 500; line-height: 1.2; }
	.zc-tabbar__item.is-active { color: var(--zc-green); font-weight: 600; }
	.zc-tabbar__ico { position: relative; display: flex; }
	.zc-tabbar .zc-cart-count { top: -5px; right: -9px; font-size: .5rem; padding: 1px 4px; }

	/* Bảng danh mục: trượt vào từ TRÁI sang phải, cao toàn màn hình, chỉ danh sách (xổ danh mục con). */
	.zc-catsheet { display: block; position: fixed; inset: 0; z-index: 100001; }
	.zc-catsheet[hidden] { display: none; }
	.zc-catsheet__overlay { position: absolute; inset: 0; background: var(--zc-overlay); opacity: 0; transition: opacity .25s; }
	.zc-catsheet.is-open .zc-catsheet__overlay { opacity: 1; }
	.zc-catsheet__dialog { position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: min(92vw, 400px); height: 100%; display: flex; flex-direction: column; background: #fff; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 8px 0 24px rgba(18, 22, 26, .15); padding-bottom: env(safe-area-inset-bottom); }
	.zc-catsheet.is-open .zc-catsheet__dialog { transform: none; }
	.zc-catsheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #F0F1EF; font: 700 .9375rem var(--zc-font-head); }
	.zc-catsheet__head button { border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--zc-faint); }
	.zc-catsheet__body { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 0; }
	.zc-catsheet__body .zc-catnav__list, .zc-catsheet__body ul { list-style: none; margin: 0; padding: 0; }
	.zc-catsheet__body a { display: flex; align-items: center; gap: 10px; padding: 11px 8px; font-size: .875rem; color: var(--zc-text); }
	.zc-catsheet__body .zc-flyout { display: none !important; }
	.zc-clist { list-style: none; margin: 0; padding: 4px 0 20px; }
	.zc-clist__item { border-bottom: 1px solid #F0F1EF; }
	.zc-clist__row { display: flex; align-items: center; }
	.zc-clist__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: .875rem; color: var(--zc-text); }
	.zc-clist__link:hover, .zc-clist__link:active { color: var(--zc-green); background: var(--zc-bg-2); }
	.zc-clist__ico { flex: none; display: flex; color: var(--zc-green); }
	.zc-clist__toggle { flex: none; width: 48px; height: 46px; display: flex; align-items: center; justify-content: center; border: 0; border-left: 1px solid #F0F1EF; background: none; color: var(--zc-faint); cursor: pointer; }
	.zc-clist__toggle svg { transition: transform .2s; }
	.zc-clist__toggle[aria-expanded="true"] { color: var(--zc-green); }
	.zc-clist__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
	.zc-clist__sub { list-style: none; margin: 0; padding: 4px 0 8px 46px; background: var(--zc-bg-2); }
	.zc-clist__sub a { display: block; padding: 9px 16px 9px 0; font-size: .8125rem; color: var(--zc-text-2); }
	.zc-clist__sub a:hover { color: var(--zc-green); }
}
@media (min-width: 601px) and (max-width: 640px) { .admin-bar .zc-header { top: 46px; } }
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .zc-catsheet__dialog, .zc-catsheet__overlay { transition: none; } }

/* Ngăn kéo "Tài khoản" trượt từ phải sang trái. */
.zc-drawer { position: fixed; inset: 0; z-index: 100002; }
.zc-drawer[hidden] { display: none; }
.zc-drawer__overlay { position: absolute; inset: 0; background: var(--zc-overlay); opacity: 0; transition: opacity .25s; }
.zc-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .25s ease; box-shadow: -8px 0 24px rgba(18, 22, 26, .15); padding-bottom: env(safe-area-inset-bottom); }
.zc-drawer.is-open .zc-drawer__overlay { opacity: 1; }
.zc-drawer.is-open .zc-drawer__panel { transform: none; }
.zc-drawer__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 44px 18px 16px; background: var(--zc-green); color: #fff; }
.zc-drawer__avatar { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .6); }
.zc-drawer__avatar--guest { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .18); }
.zc-drawer__who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zc-drawer__who small { font-size: .75rem; opacity: .85; }
.zc-drawer__who strong { font: 700 .9375rem/1.3 var(--zc-font-head); }
.zc-drawer__x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; background: none; color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.zc-drawer__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 4px; }
.zc-drawer__auth .zc-btn { min-height: 40px; }
.zc-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.zc-drawer__link { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: var(--zc-text); font-size: .875rem; border-bottom: 1px solid #F0F1EF; }
.zc-drawer__link > svg:first-child { color: var(--zc-green); flex: none; }
.zc-drawer__link > span { flex: 1; }
.zc-drawer__link > svg:last-child { color: var(--zc-faint); }
.zc-drawer__link:active, .zc-drawer__link:hover { background: var(--zc-bg-2); color: var(--zc-text); }
.zc-drawer__link.is-logout, .zc-drawer__link.is-logout > svg:first-child { color: var(--zc-red); }
@media (prefers-reduced-motion: reduce) { .zc-drawer__panel, .zc-drawer__overlay { transition: none; } }

/* ------------------------------------------------------------------ *
 * 9. Blog v2: danh mục + chi tiết bài viết
 * ------------------------------------------------------------------ */
/* Header danh mục */
.zc-bhead { margin: 4px 0 14px; max-width: 760px; }
.zc-bhead__title { font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.25 var(--zc-font-head); margin: 0; color: var(--zc-text); }
.zc-bhead__desc { margin-top: 8px; font-size: .9375rem; line-height: 1.65; color: var(--zc-muted); }
.zc-bhead__desc p { margin: 0; }
.zc-bhead__count { margin: 6px 0 0; font-size: .8125rem; color: var(--zc-faint); }

/* Chip chuyển danh mục */
.zc-bnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin-bottom: 20px; }
.zc-bnav::-webkit-scrollbar { display: none; }
.zc-bnav__item { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--zc-line-2); font-size: .8125rem; font-weight: 600; color: var(--zc-text-2); white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.zc-bnav__item:hover { border-color: var(--zc-green); color: var(--zc-green); }
.zc-bnav__item.is-active { background: var(--zc-green); border-color: var(--zc-green); color: #fff; }

/* Thẻ bài viết */
.zc-bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.zc-bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.zc-bcard:hover { box-shadow: 0 8px 24px rgba(18, 22, 26, .08); transform: translateY(-2px); }
.zc-bcard__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--zc-bg-2); overflow: hidden; }
.zc-bcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.zc-bcard:hover .zc-bcard__media img { transform: scale(1.04); }
.zc-post__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--zc-green-soft), #fff 70%); color: var(--zc-green); }
.zc-post__ph b { font: 700 .75rem var(--zc-font-head); letter-spacing: .06em; text-transform: uppercase; }
.zc-bcard__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.zc-bcard__cat { align-self: flex-start; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--zc-green); }
.zc-bcard__cat:hover { color: var(--zc-red); }
.zc-bcard__title { margin: 0; font: 700 1rem/1.4 var(--zc-font-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zc-bcard__title a { color: var(--zc-text); }
.zc-bcard__title a:hover { color: var(--zc-red); }
.zc-bcard__excerpt { margin: 0; font-size: .8125rem; line-height: 1.6; color: var(--zc-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zc-bcard__meta { margin-top: auto; padding-top: 4px; display: flex; gap: 6px; font-size: .75rem; color: var(--zc-faint); }
/* Bài nổi bật đầu trang */
.zc-bcard--lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); margin-bottom: 20px; }
.zc-bcard--lead .zc-bcard__media { aspect-ratio: 16 / 10; min-height: 0; }
.zc-bcard--lead .zc-bcard__body { justify-content: center; padding: 28px 32px; gap: 12px; }
.zc-bcard--lead .zc-bcard__title { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); -webkit-line-clamp: 3; }
.zc-bcard--lead .zc-bcard__excerpt { font-size: .9375rem; -webkit-line-clamp: 3; }
.zc-bcard--lead .zc-bcard__meta { margin-top: 4px; }

/* Chi tiết bài viết */
.zc-readbar { position: fixed; left: 0; right: 0; top: 0; z-index: 99999; height: 3px; pointer-events: none; }
.admin-bar .zc-readbar { top: 32px; }
.zc-readbar span { display: block; height: 100%; background: var(--zc-red); transform: scaleX(0); transform-origin: 0 50%; }
.zc-art__head { max-width: 820px; margin: 4px auto 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.zc-art__head .zc-bcard__cat { align-self: center; }
.zc-art__title { margin: 0; font: 800 clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem)/1.25 var(--zc-font-head); color: var(--zc-text); }
.zc-art__lead { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--zc-muted); }
.zc-art__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; font-size: .8125rem; color: var(--zc-faint); }
.zc-art__avatar { width: 28px; height: 28px; border-radius: 999px; }
.zc-art__author { font-weight: 700; color: var(--zc-text-2); }
.zc-art__thumb { max-width: 1040px; margin: 0 auto 28px; border-radius: var(--zc-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--zc-bg-2); }
.zc-art__thumb img { width: 100%; height: 100%; object-fit: cover; }
.zc-art__layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: center; gap: 40px; align-items: start; }
.zc-art__content { font-size: 1.0625rem; line-height: 1.8; }
.zc-art__content > *:first-child { margin-top: 0; }
.zc-art__content h2, .zc-art__content h3 { scroll-margin-top: 90px; color: var(--zc-text); }
.zc-art__content h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.zc-art__content h3 { font-size: 1.1875rem; margin: 26px 0 10px; }
.zc-art__content p { margin: 0 0 18px; }
.zc-art__content a { color: var(--zc-green); text-decoration: underline; text-underline-offset: 3px; }
.zc-art__content a:hover { color: var(--zc-red); }
.zc-art__content figure, .zc-art__content img { max-width: 100%; height: auto; }
.zc-art__content figcaption { font-size: .8125rem; color: var(--zc-faint); text-align: center; margin-top: 6px; }
.zc-art__content blockquote { background: var(--zc-green-soft); border-left: 4px solid var(--zc-green); border-radius: 0 var(--zc-radius) var(--zc-radius) 0; padding: 14px 18px; color: var(--zc-text-2); font-style: italic; }
.zc-art__foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--zc-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.zc-art__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.zc-art__tags a { padding: 5px 12px; border-radius: 999px; background: var(--zc-bg-2); font-size: .75rem; color: var(--zc-text-2); }
.zc-art__tags a:hover { background: var(--zc-green); color: #fff; }
.zc-share { display: flex; align-items: center; gap: 8px; }
.zc-share__label { font-size: .8125rem; font-weight: 600; color: var(--zc-muted); }
.zc-share__btn { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--zc-line-2); background: #fff; color: var(--zc-text-2); font: 800 .8125rem var(--zc-font-head); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.zc-share__btn--fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.zc-share__btn--zalo:hover { background: #0068FF; border-color: #0068FF; color: #fff; }
.zc-share__btn:not(.zc-share__btn--fb):not(.zc-share__btn--zalo):hover, .zc-share__btn.is-done { border-color: var(--zc-green); color: var(--zc-green); }
.zc-share__btn.is-done::after { content: "\2713"; margin-left: 4px; }
.zc-art__nav { margin-top: 26px; }
.zc-art__nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zc-art__nav a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); background: #fff; color: var(--zc-text); font-weight: 700; font-size: .875rem; line-height: 1.4; }
.zc-art__nav a:hover { border-color: var(--zc-green); }
.zc-art__nav small { font-weight: 600; font-size: .75rem; color: var(--zc-faint); }
.zc-art__nav .nav-next { grid-column: 2; text-align: right; }
/* Sidebar */
.zc-art__sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.admin-bar .zc-art__sticky { top: 122px; }
.zc-art__box, .zc-toc--side { background: #fff; border: 1px solid var(--zc-line); border-radius: var(--zc-radius); padding: 16px; }
.zc-art__box .zc-mini + .zc-mini { margin-top: 12px; }
.zc-art__sidetitle { margin: 0 0 12px; font: 800 .8125rem var(--zc-font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--zc-text); }
.zc-art__cta .zc-btn--block:first-of-type { margin-top: 0; }
/* Mục lục */
.zc-toc ol { list-style: none; margin: 0; padding: 0; }
.zc-toc li { margin: 0; }
.zc-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--zc-line); font-size: .8125rem; line-height: 1.45; color: var(--zc-muted); transition: color .15s, border-color .15s; }
.zc-toc .zc-toc__h3 a { padding-left: 24px; font-size: .78rem; }
.zc-toc a:hover { color: var(--zc-text); }
.zc-toc a.is-active { border-left-color: var(--zc-green); color: var(--zc-green); font-weight: 700; }
.zc-toc--side .zc-toc__list { max-height: 50vh; overflow-y: auto; }
.zc-toc--inline { display: none; margin: 0 0 22px; background: var(--zc-bg-2); border-radius: var(--zc-radius); padding: 12px 14px; }
.zc-toc--inline summary { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .875rem; cursor: pointer; list-style: none; }
.zc-toc--inline summary::-webkit-details-marker { display: none; }
.zc-toc--inline[open] summary { margin-bottom: 8px; }
.zc-related-posts { margin: 48px 0 20px; }
.zc-related-posts .zc-tabtitle { margin-bottom: 18px; }

@media (max-width: 1024px) {
	.zc-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zc-art__layout { grid-template-columns: minmax(0, 720px); }
	.zc-art__side { display: none; }
	.zc-toc--inline:not([hidden]) { display: block; }
}
@media (max-width: 782px) { .admin-bar .zc-readbar { top: 46px; } }
@media (max-width: 640px) {
	.zc-bgrid { grid-template-columns: 1fr; gap: 14px; }
	.zc-bcard--lead { grid-template-columns: 1fr; }
	.zc-bcard--lead .zc-bcard__body { padding: 16px; }
	.zc-bgrid .zc-bcard { flex-direction: row; }
	.zc-bgrid .zc-bcard__media { flex: 0 0 120px; aspect-ratio: 1; }
	.zc-bgrid .zc-bcard__body { padding: 10px 12px; gap: 5px; }
	.zc-bgrid .zc-bcard__title { font-size: .875rem; }
	.zc-bgrid .zc-bcard__excerpt { display: none; }
	.zc-art__head { text-align: left; align-items: flex-start; }
	.zc-art__head .zc-bcard__cat { align-self: flex-start; }
	.zc-art__meta { justify-content: flex-start; }
	.zc-art__thumb { margin-left: -16px; margin-right: -16px; border-radius: 0; }
	.zc-art__content { font-size: 1rem; }
	.zc-art__nav .nav-links { grid-template-columns: 1fr; }
	.zc-art__nav .nav-next { grid-column: auto; }
	.admin-bar .zc-readbar { top: 0; }
}
@media (prefers-reduced-motion: reduce) { .zc-bcard, .zc-bcard__media img { transition: none; } .zc-bcard:hover { transform: none; } }

/* ------------------------------------------------------------------ *
 * 10. Tương thích plugin
 * ------------------------------------------------------------------ */
/* Nút liên hệ nổi (smt-wp-customize): mobile nằm trên thanh tab / thanh mua dưới đáy;
   ẩn ở giỏ hàng / thanh toán để không che tổng tiền & nút thanh toán. */
@media (max-width: 640px) {
	.smt-wpc-contact-float { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 900px) {
	.woocommerce-cart .smt-wpc-contact-float, .woocommerce-checkout .smt-wpc-contact-float { display: none !important; }
}
