/* ==========================================================================
   Vệ Tinh Mag – CSS giao diện (theme độc lập)
   Màu, font, độ rộng lấy từ biến CSS (đổi trong Tùy biến), không cần sửa file này.

   Mục lục
     1. Biến                    9. Khối chuyên mục / thẻ bài
     2. Nền tảng                10. Sidebar & widget
     3. Khung & bố cục          11. Trang bài viết
     4. Thanh trên cùng         12. Nội dung bài (typography)
     5. Header & logo           13. Bình luận
     6. Menu (máy tính)         14. Footer
     7. Menu điện thoại         15. Trang chuyên mục, tìm kiếm, 404
     8. Nhãn, meta, slider      16. Tiện ích & responsive
                                17. Thông tin liên hệ, nút Gọi/Zalo, trang Liên hệ
                                18. Chủ đề ưu tiên (thẻ)
   ========================================================================== */

/* 1. Biến ----------------------------------------------------------------- */
:root {
	--vtm-accent: #128c3e;      /* xanh lá */
	--vtm-blue: #1565c0;        /* xanh dương */
	--vtm-dark: #0b3d6e;        /* xanh dương đậm */
	--vtm-accent-soft: #7fe0a0; /* xanh lá sáng trên nền tối */
	--vtm-blue-soft: #5b9be6;   /* xanh dương sáng trên nền tối */
	--vtm-text: #3f4a56;
	--vtm-muted: #6b7785;
	--vtm-line: #e3ebf3;
	--vtm-soft: #f3f7fb;
	--vtm-tint-green: #eaf6ee;
	--vtm-tint-blue: #eaf2fb;
	--vtm-white: #fff;
	--vtm-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--vtm-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--vtm-container: 1200px;
	--vtm-gutter: 20px;
	--vtm-gap: 30px;
	--vtm-radius: 0px;
	--vtm-header-h: 76px;
	--vtm-shadow: 0 10px 30px rgba(11, 61, 110, .12);
}

/* 2. Nền tảng ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--vtm-white);
	color: var(--vtm-text);
	font-family: var(--vtm-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--vtm-font-heading);
	color: var(--vtm-dark);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 .6em;
}

p { margin: 0 0 1.2em; }
a { color: var(--vtm-blue); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
a:hover { color: var(--vtm-accent); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--vtm-blue); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.vtm-skip {
	position: absolute; left: 12px; top: -100px; z-index: 1000;
	background: var(--vtm-accent); color: #fff; padding: 10px 16px; font-weight: 700;
}
.vtm-skip:focus { top: 12px; color: #fff; }

.vtm-btn, .vtm .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--vtm-accent); color: #fff; border: 0; cursor: pointer;
	font-family: var(--vtm-font-heading); font-weight: 700; font-size: 16px; line-height: 1;
	padding: 14px 24px; border-radius: var(--vtm-radius);
}
.vtm-btn:hover, .vtm .wp-block-button__link:hover { background: var(--vtm-blue); color: #fff; }

/* 3. Khung & bố cục ------------------------------------------------------- */
.vtm-site { min-height: 100vh; display: flex; flex-direction: column; }
.vtm-main { flex: 1; outline: 0; }

.vtm-container {
	width: 100%;
	max-width: calc(var(--vtm-container) + 2 * var(--vtm-gutter));
	margin: 0 auto;
	padding: 0 var(--vtm-gutter);
}

.vtm-layout { display: grid; gap: 48px; padding-top: 40px; padding-bottom: 64px; }
.vtm-layout--right { grid-template-columns: minmax(0, 1fr) 330px; }
.vtm-layout--left { grid-template-columns: 330px minmax(0, 1fr); }
.vtm-layout--left .vtm-layout__side { order: -1; }
.vtm-layout--full { grid-template-columns: minmax(0, 1fr); }
.single .vtm-layout--full .vtm-layout__main,
.page .vtm-layout--full .vtm-layout__main { max-width: 820px; margin: 0 auto; width: 100%; }
.vtm-layout__main { min-width: 0; }

/* 4. Thanh trên cùng ------------------------------------------------------ */
.vtm-topbar { background: var(--vtm-soft); border-bottom: 1px solid var(--vtm-line); font-size: 13px; }
.vtm-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.vtm-topbar__text { color: var(--vtm-muted); }

.vtm-topmenu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.vtm-topmenu li { padding: 0 14px; border-left: 1px solid var(--vtm-line); }
.vtm-topmenu li:first-child { border-left: 0; }
.vtm-topmenu li:last-child { padding-right: 0; }
.vtm-topmenu a {
	color: var(--vtm-muted); text-transform: uppercase; letter-spacing: .04em;
	font-family: var(--vtm-font-heading); font-weight: 700;
}
.vtm-topmenu a:hover { color: var(--vtm-accent); }

.vtm-topbar-blue .vtm-topbar { background: var(--vtm-blue); border-bottom: 0; }
.vtm-topbar-blue .vtm-topbar__text,
.vtm-topbar-blue .vtm-topmenu a { color: rgba(255, 255, 255, .88); }
.vtm-topbar-blue .vtm-topmenu a:hover { color: #fff; }
.vtm-topbar-blue .vtm-topmenu li { border-color: rgba(255, 255, 255, .22); }

/* Icon mạng xã hội nhỏ */
.vtm-social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vtm-social a {
	display: flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--vtm-line); color: var(--vtm-dark);
}
.vtm-social a:hover { background: var(--vtm-accent); color: #fff; }
.vtm-topbar-blue .vtm-social--top a { background: rgba(255, 255, 255, .16); color: #fff; }
.vtm-topbar-blue .vtm-social--top a:hover { background: var(--vtm-accent); }
.vtm-icon { display: inline-block; flex: none; vertical-align: middle; }
.vtm-icon--text { font-size: 11px; font-weight: 700; letter-spacing: .02em; }

/* 5. Header & logo -------------------------------------------------------- */
.vtm-header {
	position: relative;
	z-index: 100;
	background: var(--vtm-white);
	border-bottom: 1px solid var(--vtm-line);
	transition: box-shadow .25s;
}
.vtm-sticky .vtm-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
.vtm-header.is-stuck { box-shadow: 0 6px 20px rgba(11, 61, 110, .1); }

.vtm-header__inner { display: flex; align-items: stretch; gap: 0; height: var(--vtm-header-h); }

.vtm-brand { display: flex; align-items: center; flex: none; margin-right: 8px; }
.vtm-brand__title { margin: 0; font-family: var(--vtm-font-heading); font-size: 26px; font-weight: 700; line-height: 1.1; }
.vtm-brand__title a { color: var(--vtm-dark); }
.vtm-brand .custom-logo-link { display: flex; align-items: center; }
.vtm-brand .custom-logo { max-height: calc(var(--vtm-header-h) - 24px); width: auto; }

.vtm-logo-box .vtm-brand { background: var(--vtm-accent); padding: 0 30px; margin-right: 0; }
.vtm-logo-box .vtm-brand__title a { color: #fff; }

.vtm-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; padding-left: 12px; }
.vtm-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	color: var(--vtm-dark); border-radius: var(--vtm-radius);
}
.vtm-iconbtn:hover, .vtm-iconbtn[aria-expanded="true"] { color: var(--vtm-accent); background: var(--vtm-tint-green); }
.vtm-menu-toggle { display: none; }
.vtm-menu-toggle__close { display: none; }
.vtm-nav-open .vtm-menu-toggle__open { display: none; }
.vtm-nav-open .vtm-menu-toggle__close { display: inline-flex; }

.vtm-searchbar { background: var(--vtm-soft); border-top: 1px solid var(--vtm-line); padding: 18px 0; }
.vtm-searchbar .vtm-searchform { max-width: 680px; margin: 0 auto; }

.vtm-searchform { display: flex; width: 100%; }
.vtm-searchform__input {
	flex: 1; min-width: 0; height: 46px; padding: 0 14px;
	background: #fff; border: 1px solid var(--vtm-line); border-right: 0; border-radius: 0;
	-webkit-appearance: none; appearance: none;
}
.vtm-searchform__input:focus { outline: 0; border-color: var(--vtm-blue); }
.vtm-searchform__btn {
	flex: none; width: 50px; height: 46px; border: 0; cursor: pointer;
	background: var(--vtm-accent); color: #fff; display: flex; align-items: center; justify-content: center;
}
.vtm-searchform__btn:hover { background: var(--vtm-blue); }

/* 6. Menu (máy tính) ------------------------------------------------------ */
.vtm-menu, .vtm-menu .sub-menu { list-style: none; margin: 0; padding: 0; }

@media (min-width: 1024px) {
	.vtm-nav { display: flex; align-items: stretch; min-width: 0; }
	.vtm-menu { display: flex; align-items: stretch; }
	.vtm-menu > li { position: relative; display: flex; align-items: center; border-right: 1px solid var(--vtm-line); }
	.vtm-menu > li:first-child { border-left: 1px solid var(--vtm-line); }
	.vtm-menu > li > a {
		display: flex; align-items: center; height: 100%;
		padding: 0 20px;
		font-family: var(--vtm-font-heading); font-size: 17px; font-weight: 700;
		color: var(--vtm-dark); white-space: nowrap;
	}
	.vtm-menu > li.menu-item-has-children > a { padding-right: 34px; }
	.vtm-menu > li > a:hover,
	.vtm-menu > li.current-menu-item > a,
	.vtm-menu > li.current-menu-ancestor > a,
	.vtm-menu > li.current-cat > a { color: var(--vtm-accent); }
	/* Gạch xanh lá dưới mục đang chọn */
	.vtm-menu > li.current-menu-item::after,
	.vtm-menu > li.current-menu-ancestor::after,
	.vtm-menu > li.current-cat::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--vtm-accent);
	}

	.vtm-sub-toggle {
		position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
		display: flex; align-items: center; justify-content: center;
		width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--vtm-muted);
	}
	.vtm-menu .sub-menu {
		position: absolute; top: 100%; left: 0; z-index: 10;
		min-width: 240px; padding: 8px 0;
		background: #fff; border-top: 3px solid var(--vtm-accent); box-shadow: var(--vtm-shadow);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .18s, transform .18s, visibility .18s;
	}
	.vtm-menu .sub-menu .sub-menu { top: -11px; left: 100%; }
	.vtm-menu li:hover > .sub-menu,
	.vtm-menu li:focus-within > .sub-menu,
	.vtm-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.vtm-menu .sub-menu li { position: relative; }
	.vtm-menu .sub-menu a {
		display: block; padding: 10px 40px 10px 20px;
		font-size: 15px; font-weight: 600; color: var(--vtm-text);
	}
	.vtm-menu .sub-menu a:hover, .vtm-menu .sub-menu .current-menu-item > a { color: var(--vtm-accent); background: var(--vtm-tint-green); }
	.vtm-menu .sub-menu .vtm-sub-toggle { right: 12px; transform: translateY(-50%) rotate(-90deg); }
}

/* 7. Menu điện thoại ------------------------------------------------------ */
@media (max-width: 1023px) {
	:root { --vtm-header-h: 64px; }
	.vtm-menu-toggle { display: inline-flex; }
	.vtm-header__actions { position: relative; z-index: 210; }
	.vtm-logo-box .vtm-brand { padding: 0 18px; margin-left: calc(-1 * var(--vtm-gutter)); }
	.vtm-brand__title { font-size: 21px; }

	.vtm-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
		width: min(86vw, 360px);
		padding: calc(var(--vtm-header-h) + 8px) 0 32px;
		background: #fff; box-shadow: -10px 0 40px rgba(4, 20, 42, .25);
		overflow-y: auto; -webkit-overflow-scrolling: touch;
		transform: translateX(105%); visibility: hidden;
		transition: transform .28s ease, visibility .28s;
	}
	.vtm-nav-open .vtm-nav { transform: none; visibility: visible; }
	.vtm-nav-open .vtm-header { z-index: 300; }
	.vtm-nav-open::after {
		content: ""; position: fixed; inset: 0; z-index: 150;
		background: rgba(4, 20, 42, .5);
	}
	.vtm-nav-open { overflow: hidden; }

	.vtm-menu li { position: relative; border-bottom: 1px solid var(--vtm-line); }
	.vtm-menu a {
		display: block; padding: 14px 56px 14px 22px;
		font-family: var(--vtm-font-heading); font-size: 17px; font-weight: 700; color: var(--vtm-dark);
	}
	.vtm-menu .current-menu-item > a, .vtm-menu .current-cat > a { color: var(--vtm-accent); box-shadow: inset 4px 0 0 var(--vtm-accent); }
	.vtm-sub-toggle {
		position: absolute; right: 6px; top: 4px;
		display: flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--vtm-blue);
		transition: transform .2s;
	}
	.vtm-menu li.is-open > .vtm-sub-toggle { transform: rotate(180deg); }
	.vtm-menu .sub-menu { display: none; background: var(--vtm-soft); }
	.vtm-menu li.is-open > .sub-menu { display: block; }
	.vtm-menu .sub-menu li { border-bottom: 0; border-top: 1px solid var(--vtm-line); }
	.vtm-menu .sub-menu a { padding-left: 38px; font-size: 15px; font-weight: 600; color: var(--vtm-text); }
	.vtm-menu .sub-menu .sub-menu a { padding-left: 54px; }
}

/* 8. Nhãn, meta, slider --------------------------------------------------- */
.vtm-badge {
	display: inline-block;
	background: var(--vtm-accent); color: #fff !important;
	font-family: var(--vtm-font-heading); font-size: 14px; font-weight: 700; line-height: 1;
	padding: 9px 13px; border-radius: var(--vtm-radius);
}
.vtm-badge:hover { background: var(--vtm-blue); }

.vtm-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px;
	font-family: var(--vtm-font-heading); font-size: 14px; color: var(--vtm-muted);
	margin: 6px 0 0;
}
.vtm-meta a { color: var(--vtm-dark); font-weight: 700; }
.vtm-meta a:hover { color: var(--vtm-accent); }
.vtm-meta__by { color: var(--vtm-accent); }
.vtm-meta__sep { opacity: .6; }

.vtm-hero {
	position: relative;
	height: var(--vtm-hero-h, 520px); min-height: 380px;
	background: #0a2540; color: #fff; overflow: hidden;
}
.vtm-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.vtm-hero__slide.is-active { opacity: 1; visibility: visible; }
.vtm-hero__img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none;
	object-fit: cover; transform: scale(1.04); transition: transform 7s ease;
}
.vtm-hero__slide.is-active .vtm-hero__img { transform: scale(1); }
.vtm-hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(6, 28, 56, .2) 0%, rgba(6, 28, 56, .5) 45%, rgba(4, 20, 42, .92) 100%);
}
.vtm-hero__content {
	position: relative; z-index: 2; height: 100%;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding-bottom: 150px;
}
.vtm-hero__title { font-size: clamp(28px, 4.2vw, 56px); line-height: 1.1; max-width: 780px; margin: 18px 0 16px; color: #fff; }
.vtm-hero__title a { color: #fff; }
.vtm-hero__title a:hover { color: #fff; opacity: .85; }
.vtm-hero .vtm-meta, .vtm-hero .vtm-meta a { color: #fff; }
.vtm-hero .vtm-meta__by { color: var(--vtm-accent-soft); }

.vtm-hero__nav {
	position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3;
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--vtm-gap);
}
.vtm-hero__tab {
	display: flex; flex-direction: column; justify-content: flex-start; text-align: left;
	margin: 0; padding: 2px 0 2px 18px; background: none; border: 0; border-left: 3px solid var(--vtm-blue-soft);
	color: #fff; cursor: pointer; opacity: .85; transition: opacity .2s, border-color .2s;
}
.vtm-hero__tab:hover, .vtm-hero__tab.is-active { opacity: 1; }
.vtm-hero__tab.is-active { border-left-color: var(--vtm-accent-soft); }
.vtm-hero__tab:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.vtm-hero__tab-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-family: var(--vtm-font-heading); font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 12px;
}
.vtm-hero__tab-meta { display: block; font-size: 14px; color: var(--vtm-accent-soft); }
.vtm-hero__tab-meta b { color: #fff; font-weight: 600; }

/* 9. Khối chuyên mục & thẻ bài ------------------------------------------- */
.vtm-block { margin-bottom: 48px; }
.vtm-block__head {
	display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
	border-bottom: 3px solid var(--vtm-line); margin-bottom: 24px;
}
.vtm-block__title { position: relative; font-size: 22px; margin: 0; padding-bottom: 10px; }
.vtm-block__title::after {
	content: ""; position: absolute; left: 0; bottom: -3px; width: 56px; height: 3px; background: var(--vtm-accent);
}
.vtm-block__more { font-family: var(--vtm-font-heading); font-size: 14px; font-weight: 700; color: var(--vtm-blue); padding-bottom: 10px; white-space: nowrap; }

.vtm-block__split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--vtm-gap); }

.vtm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.vtm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }

.vtm-card { margin: 0; min-width: 0; }
.vtm-posts--big .vtm-card { margin-bottom: 48px; }
.vtm-posts--list .vtm-card { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--vtm-line); }
.vtm-card__media { position: relative; overflow: hidden; border-radius: var(--vtm-radius); background: var(--vtm-soft); }
.vtm-card__img { display: block; }
.vtm-card__img img, .vtm-card__img .vtm-noimg {
	display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover;
	transition: transform .5s ease;
}
.vtm-card:hover .vtm-card__img img { transform: scale(1.04); }
.vtm-card__media .vtm-badge { position: absolute; left: 14px; bottom: 14px; font-size: 13px; padding: 8px 11px; }
.vtm-card--big .vtm-card__media .vtm-badge { left: 24px; bottom: 24px; font-size: 15px; padding: 10px 15px; }

.vtm-card__body { padding-top: 14px; }
.vtm-card__title { font-size: 19px; line-height: 1.35; margin: 0; }
.vtm-card__title a { color: var(--vtm-dark); }
.vtm-card__title a:hover { color: var(--vtm-accent); }
.vtm-card--big .vtm-card__body { padding-top: 22px; }
.vtm-card--big .vtm-card__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.vtm-card__excerpt { color: var(--vtm-text); margin: 12px 0 10px; font-size: 16px; line-height: 1.65; }
.vtm-card__more { font-family: var(--vtm-font-heading); font-weight: 700; font-size: 15px; color: var(--vtm-accent); }
.vtm-card__more:hover { color: var(--vtm-blue); }

.vtm-card--list { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: start; }
.vtm-card--list .vtm-card__body { padding-top: 0; }
.vtm-card--list .vtm-card__title { font-size: 22px; line-height: 1.3; }

.vtm-noimg { display: block; background: linear-gradient(135deg, var(--vtm-tint-blue), var(--vtm-tint-green)); }
.vtm-hero .vtm-noimg { background: linear-gradient(135deg, #0b3d6e, #0a5a3a); }

/* Danh sách bài nhỏ */
.vtm-list { list-style: none; margin: 0; padding: 0; }
.vtm-mini {
	display: flex; gap: 14px; align-items: flex-start;
	margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--vtm-line);
}
.vtm-mini:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.vtm-mini__img { flex: 0 0 96px; }
.vtm-mini__img img, .vtm-mini__img .vtm-noimg { display: block; width: 96px; height: 64px; object-fit: cover; border-radius: var(--vtm-radius); }
.vtm-mini__num {
	flex: 0 0 34px; font-family: var(--vtm-font-heading); font-size: 30px; font-weight: 700; line-height: 1; color: var(--vtm-blue);
}
.vtm-mini:first-child .vtm-mini__num { color: var(--vtm-accent); }
.vtm-mini__body { min-width: 0; }
.vtm-mini__title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-family: var(--vtm-font-heading); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--vtm-dark);
}
.vtm-mini__title:hover { color: var(--vtm-accent); }
.vtm-mini .vtm-meta { font-size: 13px; margin-top: 4px; }

/* 10. Sidebar & widget ---------------------------------------------------- */
.vtm-widget { margin-bottom: 40px; }
.vtm-widget__title {
	position: relative; display: block;
	font-size: 20px; color: var(--vtm-dark);
	padding-bottom: 10px; margin: 0 0 20px; border-bottom: 3px solid var(--vtm-line);
}
.vtm-widget__title::after {
	content: ""; position: absolute; left: 0; bottom: -3px; width: 48px; height: 3px; background: var(--vtm-accent);
}

/* Widget lõi của WordPress */
.vtm-sidebar .vtm-widget ul:not(.vtm-list):not(.vtm-follow):not(.vtm-social):not(.vtm-topics):not(.vtm-contact) { list-style: none; margin: 0; padding: 0; }
.vtm-sidebar .vtm-widget ul:not(.vtm-list):not(.vtm-follow):not(.vtm-social):not(.vtm-topics):not(.vtm-contact) li { padding: 9px 0; border-bottom: 1px dashed var(--vtm-line); }
.vtm-sidebar .vtm-widget li a { color: var(--vtm-dark); font-weight: 600; }
.vtm-sidebar .vtm-widget li a:hover { color: var(--vtm-accent); }
.vtm-widget .wp-block-search__inside-wrapper { display: flex; }
.vtm-widget .wp-block-search__input { height: 46px; border: 1px solid var(--vtm-line); padding: 0 14px; border-radius: 0; }
.vtm-widget .wp-block-search__button {
	margin: 0; border: 0; border-radius: 0; background: var(--vtm-accent); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer;
}
.vtm-widget .wp-block-search__label { display: none; }
.wp-block-tag-cloud a, .tagcloud a {
	display: inline-block; margin: 0 6px 8px 0; padding: 6px 12px;
	font-size: 14px !important; background: var(--vtm-tint-blue); color: var(--vtm-blue); border-radius: var(--vtm-radius);
}
.wp-block-tag-cloud a:hover, .tagcloud a:hover { background: var(--vtm-accent); color: #fff; }

/* Ô theo dõi mạng xã hội */
.vtm-follow { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.vtm-follow__item {
	display: flex; align-items: center; justify-content: center; height: 46px;
	border: 1px solid var(--vtm-line); border-left: 3px solid var(--net, var(--vtm-blue));
	color: var(--net, var(--vtm-blue));
}
.vtm-follow__item:hover { background: var(--net, var(--vtm-blue)); color: #fff; }

.vtm-net--facebook  { --net: #1877f2; }
.vtm-net--x         { --net: #111; }
.vtm-net--linkedin  { --net: #0a66c2; }
.vtm-net--pinterest { --net: #e60023; }
.vtm-net--telegram  { --net: #229ed9; }
.vtm-net--youtube   { --net: #ff0000; }
.vtm-net--tiktok    { --net: #111; }
.vtm-net--zalo      { --net: #0068ff; }
.vtm-net--instagram { --net: #c13584; }
.vtm-net--email     { --net: #6b7785; }
.vtm-net--copy      { --net: var(--vtm-blue); }

/* 11. Trang bài viết ------------------------------------------------------ */
.vtm-crumbs { font-size: 14px; color: var(--vtm-muted); margin-bottom: 16px; }
.vtm-crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.vtm-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .7; }
.vtm-crumbs a { color: var(--vtm-blue); }
.vtm-crumbs a:hover { color: var(--vtm-accent); }
.vtm-crumbs [aria-current] { color: var(--vtm-muted); }

.vtm-article__head { margin-bottom: 26px; }
.vtm-article__title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; margin: 14px 0 12px; }
.vtm-article--page .vtm-article__title { margin-top: 0; }
.vtm-article__lead { font-size: 19px; line-height: 1.6; color: var(--vtm-text); margin: 0 0 14px; }
.vtm-article__head .vtm-meta { margin-bottom: 18px; }
.vtm-article__image { margin: 0 0 30px; }
.vtm-article__image img { display: block; width: 100%; border-radius: var(--vtm-radius); }
.vtm-article__image figcaption { font-size: 14px; color: var(--vtm-muted); text-align: center; margin-top: 8px; }
.vtm-article__foot { margin-top: 36px; }

/* Nút chia sẻ */
.vtm-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 24px; }
.vtm-share__label { font-family: var(--vtm-font-heading); font-weight: 700; color: var(--vtm-dark); margin-right: 6px; }
.vtm-share__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 40px; height: 40px; padding: 0 12px; margin: 0; border: 0; cursor: pointer;
	background: var(--net); color: #fff !important;
	font-family: var(--vtm-font-heading); font-size: 15px; font-weight: 700; line-height: 1;
	border-radius: var(--vtm-radius);
}
.vtm-share__btn:hover { filter: brightness(.9); }
.vtm-share__name { display: none; }
.vtm-net--facebook .vtm-share__name { display: inline; padding-right: 4px; }
.vtm-share__btn.is-copied { background: var(--vtm-accent); }

/* Thẻ */
.vtm-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.vtm-tags__label { font-family: var(--vtm-font-heading); font-weight: 700; color: var(--vtm-dark); }
.vtm-tags a { padding: 6px 12px; font-size: 14px; background: var(--vtm-tint-blue); color: var(--vtm-blue); border-radius: var(--vtm-radius); }
.vtm-tags a:hover { background: var(--vtm-accent); color: #fff; }

/* CTA về website chính */
.vtm-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 24px 28px; margin: 0 0 32px;
	background: var(--vtm-tint-green);
	background: linear-gradient(100deg, color-mix(in srgb, var(--vtm-accent) 9%, #fff), color-mix(in srgb, var(--vtm-blue) 9%, #fff));
	border-left: 4px solid var(--vtm-accent);
}
.vtm-cta p { margin: 0; }
.vtm-cta__title { font-family: var(--vtm-font-heading); font-size: 20px; font-weight: 700; color: var(--vtm-dark); margin-bottom: 4px !important; }
.vtm-cta__btn {
	flex: none; background: var(--vtm-accent); color: #fff !important;
	font-family: var(--vtm-font-heading); font-weight: 700; padding: 13px 22px; border-radius: var(--vtm-radius);
}
.vtm-cta__btn:hover { background: var(--vtm-blue); }

/* Hộp tác giả */
.vtm-author {
	display: flex; gap: 20px; align-items: flex-start;
	padding: 24px; margin: 0 0 32px;
	background: var(--vtm-soft); border: 1px solid var(--vtm-line); border-top: 3px solid var(--vtm-blue);
}
.vtm-author img { border-radius: 50%; flex: none; }
.vtm-author__label { margin: 0; font-size: 12px; color: var(--vtm-muted); text-transform: uppercase; letter-spacing: .06em; }
.vtm-author__name { font-family: var(--vtm-font-heading); font-size: 20px; font-weight: 700; color: var(--vtm-dark); }
.vtm-author__bio { margin: 6px 0 0; font-size: 15px; }

/* Bài trước / sau */
.vtm-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 48px; }
.vtm-postnav__item { display: block; padding: 18px 20px; border: 1px solid var(--vtm-line); }
.vtm-postnav__item:hover { border-color: var(--vtm-accent); background: var(--vtm-tint-green); }
.vtm-postnav__next { text-align: right; grid-column: 2; }
.vtm-postnav__label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--vtm-muted); text-transform: uppercase; letter-spacing: .05em; }
.vtm-postnav__title { display: block; margin-top: 6px; font-family: var(--vtm-font-heading); font-weight: 700; color: var(--vtm-dark); line-height: 1.35; }

/* 12. Nội dung bài -------------------------------------------------------- */
.vtm-content { font-size: 17px; line-height: 1.8; color: var(--vtm-text); }
.vtm-content > *:first-child { margin-top: 0; }
.vtm-content h2 { font-size: 27px; margin: 1.7em 0 .6em; padding-left: 14px; border-left: 4px solid var(--vtm-accent); }
.vtm-content h3 { font-size: 22px; margin: 1.5em 0 .5em; color: var(--vtm-blue); }
.vtm-content h4 { font-size: 19px; margin: 1.4em 0 .5em; }
.vtm-content p { margin: 0 0 1.3em; }
.vtm-content a { color: var(--vtm-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vtm-content a:hover { color: var(--vtm-accent); }
.vtm-content ul, .vtm-content ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.vtm-content li { margin-bottom: .45em; }
.vtm-content ul li::marker { color: var(--vtm-accent); }
.vtm-content ol li::marker { color: var(--vtm-blue); font-weight: 700; }
.vtm-content blockquote, .vtm-content .wp-block-quote {
	margin: 1.6em 0; padding: 18px 24px;
	background: var(--vtm-tint-blue); border-left: 4px solid var(--vtm-blue);
	font-size: 18px; color: var(--vtm-dark);
}
.vtm-content blockquote p:last-child { margin-bottom: 0; }
.vtm-content blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--vtm-muted); }
.vtm-content img { border-radius: var(--vtm-radius); }
.vtm-content figure { margin: 1.6em 0; }
.vtm-content figcaption, .vtm-content .wp-caption-text { font-size: 14px; color: var(--vtm-muted); text-align: center; margin-top: 8px; }
.vtm-content .wp-caption { max-width: 100%; }
.vtm-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; line-height: 1.5; }
.vtm-content th { background: var(--vtm-blue); color: #fff; text-align: left; font-family: var(--vtm-font-heading); }
.vtm-content th, .vtm-content td { padding: 10px 12px; border: 1px solid var(--vtm-line); }
.vtm-content tbody tr:nth-child(even) { background: var(--vtm-soft); }
.vtm-content hr { border: 0; height: 3px; background: linear-gradient(90deg, var(--vtm-accent), var(--vtm-blue)); width: 80px; margin: 2em 0; }
.vtm-content code { background: var(--vtm-soft); padding: 2px 6px; font-size: .9em; }
.vtm-content pre { background: #0b2440; color: #e8f1fb; padding: 18px; overflow-x: auto; font-size: 14px; }
.vtm-content pre code { background: none; padding: 0; }
.vtm-content iframe, .vtm-content video { display: block; max-width: 100%; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.vtm-content::after { content: ""; display: table; clear: both; }
.vtm-pagelinks { margin: 24px 0; font-weight: 700; }
.vtm-pagelinks a, .vtm-pagelinks > span { margin-left: 6px; }

/* 13. Bình luận ----------------------------------------------------------- */
.vtm-comments__list, .vtm-comments__list .children { list-style: none; margin: 0; padding: 0; }
.vtm-comments__list .children { padding-left: 28px; border-left: 2px solid var(--vtm-line); }
.vtm-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--vtm-line); font-size: 15px; }
.vtm-comments .comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--vtm-font-heading); font-weight: 700; color: var(--vtm-dark); }
.vtm-comments .comment-author img { border-radius: 50%; }
.vtm-comments .says { display: none; }
.vtm-comments .comment-metadata { font-size: 13px; margin: 4px 0 10px 58px; }
.vtm-comments .comment-metadata a { color: var(--vtm-muted); }
.vtm-comments .comment-content { margin-left: 58px; }
.vtm-comments .reply { margin-left: 58px; }
.vtm-comments .comment-reply-link { font-size: 14px; font-weight: 700; color: var(--vtm-accent); }
.vtm-comments__reply { margin-top: 32px; }
.vtm-comments .comment-respond { margin-top: 32px; }
.vtm-comments .comment-form label { display: block; font-weight: 600; color: var(--vtm-dark); margin-bottom: 6px; }
.vtm-comments .comment-form input[type="text"],
.vtm-comments .comment-form input[type="email"],
.vtm-comments .comment-form input[type="url"],
.vtm-comments .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--vtm-line); background: #fff; border-radius: 0;
}
.vtm-comments .comment-form input:focus, .vtm-comments .comment-form textarea:focus { outline: 0; border-color: var(--vtm-blue); }
.vtm-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.vtm-comments .comment-form-cookies-consent label { font-weight: 400; }

/* 14. Footer -------------------------------------------------------------- */
.vtm-footer {
	position: relative;
	background: var(--vtm-dark); color: rgba(255, 255, 255, .78);
	font-size: 15px;
}
.vtm-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, var(--vtm-accent), var(--vtm-blue));
}
.vtm-footer a { color: rgba(255, 255, 255, .85); }
.vtm-footer a:hover { color: var(--vtm-accent-soft); }

.vtm-footer__widgets { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.vtm-footer__widgets--4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.vtm-footer__widgets--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.vtm-footer__widgets--2 { grid-template-columns: 1fr 1fr; }
.vtm-footer__widgets--1 { grid-template-columns: 1fr; }

.vtm-footer__title, .vtm-footer .vtm-widget__title {
	position: relative; color: #fff; font-size: 18px; padding-bottom: 12px; margin: 0 0 18px; border: 0;
}
.vtm-footer__title::after, .vtm-footer .vtm-widget__title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--vtm-accent);
}
.vtm-footer .vtm-widget { margin-bottom: 28px; }
.vtm-footer ul:not(.vtm-social):not(.vtm-list):not(.vtm-follow) { list-style: none; margin: 0; padding: 0; }
.vtm-footer ul:not(.vtm-social):not(.vtm-list):not(.vtm-follow) li { padding: 6px 0; }
.vtm-footer .vtm-mini { border-color: rgba(255, 255, 255, .12); }
.vtm-footer .vtm-mini__title { color: #fff; }
.vtm-footer .vtm-meta { color: rgba(255, 255, 255, .55); }
.vtm-footer .vtm-mini__num { color: var(--vtm-blue-soft); }
.vtm-footer .vtm-follow__item { border-color: rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); color: #fff; }

.vtm-footer__brand { margin: 0 0 14px; font-family: var(--vtm-font-heading); font-size: 24px; font-weight: 700; }
.vtm-footer__brand a { color: #fff; }
.vtm-footer__about .custom-logo { max-height: 56px; width: auto; margin-bottom: 14px; }
.vtm-footer__about p { margin-bottom: 18px; }
.vtm-social--footer a { background: rgba(255, 255, 255, .1); color: #fff; width: 36px; height: 36px; }
.vtm-social--footer a:hover { background: var(--vtm-accent); color: #fff; }

.vtm-footer__bottom { background: rgba(0, 0, 0, .2); font-size: 14px; }
.vtm-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
.vtm-footer__copy { margin: 0; }
.vtm-footmenu { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }

/* 15. Chuyên mục, tìm kiếm, 404 ------------------------------------------ */
.vtm-archivehead {
	background: linear-gradient(120deg, var(--vtm-tint-blue), var(--vtm-tint-green));
	border-bottom: 1px solid var(--vtm-line);
	padding: 32px 0 30px;
}
.vtm-archivehead__title { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 8px; }
.vtm-archivehead__title span { color: var(--vtm-accent); }
.vtm-archivehead__desc { max-width: 760px; font-size: 16px; }
.vtm-archivehead__desc p:last-child { margin-bottom: 0; }
.vtm-archivehead__count { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--vtm-blue); }
.vtm-archivehead__search { max-width: 560px; margin-top: 18px; }

.vtm-pagehead { margin-bottom: 28px; }
.vtm-pagehead__title { font-size: clamp(26px, 3.2vw, 38px); margin: 0; }

.vtm-empty { padding: 32px; margin-bottom: 40px; background: var(--vtm-soft); border-top: 3px solid var(--vtm-blue); }
.vtm-empty__title { font-size: 24px; }
.vtm-empty .vtm-searchform { max-width: 520px; }

.vtm-404 { text-align: center; max-width: 640px; margin: 0 auto; padding: 64px 0 40px; }
.vtm-404__code {
	margin: 0; font-family: var(--vtm-font-heading); font-size: clamp(96px, 16vw, 160px); font-weight: 700; line-height: 1;
	background: linear-gradient(90deg, var(--vtm-accent), var(--vtm-blue));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.vtm-404__title { font-size: 28px; margin: 12px 0; }
.vtm-404 .vtm-searchform { max-width: 480px; margin: 24px auto; }

.vtm-magazine__intro { margin-bottom: 40px; }
.vtm-fullwidth { padding: 0 0 48px; }

/* 16. Tiện ích & responsive ---------------------------------------------- */
.vtm-pagination ul, .vtm-pagination ul.page-numbers { display: flex; border: 0; height: auto; min-width: 0; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.vtm-pagination li > .page-numbers {
	display: flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 10px;
	border: 1px solid var(--vtm-line); color: var(--vtm-dark);
	font-family: var(--vtm-font-heading); font-weight: 700;
}
.vtm-pagination li > .page-numbers.current { background: var(--vtm-accent); border-color: var(--vtm-accent); color: #fff; }
.vtm-pagination li > a.page-numbers:hover { background: var(--vtm-blue); border-color: var(--vtm-blue); color: #fff; }
.vtm-pagination .dots { border: 0; }

.vtm-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99999; pointer-events: none;
	background: linear-gradient(90deg, var(--vtm-accent), var(--vtm-blue));
	transform-origin: 0 50%; transform: scaleX(0);
}
.admin-bar .vtm-progress { top: var(--wp-admin--admin-bar--height, 32px); }

.vtm-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
	background: var(--vtm-blue); color: #fff; box-shadow: var(--vtm-shadow);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.vtm-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.vtm-totop:hover { background: var(--vtm-accent); color: #fff; }

.vtm-note { font-size: 14px; color: var(--vtm-muted); }

/* 17. Thông tin liên hệ --------------------------------------------------- */
.vtm-topbar__right { display: flex; align-items: center; gap: 16px; }
.vtm-topbar__left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.vtm-topbar__item { display: inline-flex; align-items: center; gap: 6px; color: var(--vtm-dark); font-weight: 600; white-space: nowrap; }
.vtm-topbar__item:hover { color: var(--vtm-accent); }
.vtm-topbar-blue .vtm-topbar__item { color: #fff; }
.vtm-topbar-blue .vtm-topbar__item:hover { color: var(--vtm-accent-soft); }
.vtm-social--top a { width: 26px; height: 26px; }

.vtm-contact { list-style: none; margin: 0; padding: 0; }
.vtm-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; line-height: 1.55; }
.vtm-contact__icon {
	flex: none; display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--vtm-tint-green); color: var(--vtm-accent);
}
.vtm-contact__text { padding-top: 5px; min-width: 0; overflow-wrap: anywhere; }
.vtm-contact a { color: var(--vtm-dark); font-weight: 600; }
.vtm-contact a:hover { color: var(--vtm-accent); }
.vtm-contact small { color: var(--vtm-muted); }
.vtm-contact--box { padding: 20px 24px; background: var(--vtm-soft); border-top: 3px solid var(--vtm-blue); margin: 0 0 1.4em; }
.vtm-content .vtm-contact { padding-left: 20px; }
.vtm-content .vtm-contact a { text-decoration: none; }
.vtm-footer .vtm-contact__icon { background: rgba(255, 255, 255, .1); color: var(--vtm-accent-soft); }
.vtm-footer .vtm-contact a { color: #fff; font-weight: 600; }
.vtm-footer .vtm-contact a:hover { color: var(--vtm-accent-soft); }
.vtm-sidebar .vtm-social--widget, .vtm-footer .vtm-social--widget { margin-top: 14px; }
.vtm-edit-hint { margin: 10px 0 0; font-size: 13px; }
.vtm-edit-hint a { color: var(--vtm-accent-soft); border-bottom: 1px dashed currentColor; }
.vtm-contactpage .vtm-edit-hint a { color: var(--vtm-blue); }

.vtm-map { margin: 0 0 1.6em; }
.vtm-map iframe { display: block; width: 100%; border: 0; background: var(--vtm-soft); }

/* Trang Liên hệ */
.vtm-contactpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 40px; padding-bottom: 40px; }
.vtm-contactpage__card { align-self: start; padding: 28px; background: var(--vtm-soft); border-top: 4px solid var(--vtm-accent); }
.vtm-contactpage__title { font-size: 22px; margin-bottom: 14px; }
.vtm-contactpage__card .vtm-social { margin: 16px 0 0 44px; }
.vtm-contactpage__call { margin-top: 20px; width: 100%; justify-content: center; }
.vtm-contactpage__map { padding-bottom: 56px; }
.vtm-contactpage .wpcf7 input:not([type="submit"]), .vtm-contactpage .wpcf7 textarea,
.vtm-contactpage .wpforms-field input, .vtm-contactpage .wpforms-field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--vtm-line); border-radius: 0;
}
.vtm-contactpage .wpcf7 input[type="submit"] {
	background: var(--vtm-accent); color: #fff; border: 0; padding: 14px 26px; font-weight: 700; cursor: pointer;
}

/* Nút Gọi & Zalo nổi */
.vtm-float { position: fixed; left: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; gap: 10px; }
.vtm-float__btn {
	display: inline-flex; align-items: center; gap: 8px;
	height: 50px; min-width: 50px; padding: 0 14px; border-radius: 999px;
	color: #fff !important; font-family: var(--vtm-font-heading); font-weight: 700; font-size: 15px;
	box-shadow: 0 8px 22px rgba(4, 20, 42, .25);
}
.vtm-float__call { background: var(--vtm-accent); animation: vtm-ring 2.4s infinite; }
.vtm-float__zalo { background: #0068ff; justify-content: center; padding: 0; width: 50px; }
.vtm-float__zalo-text { font-size: 13px; letter-spacing: .02em; }
.vtm-float__btn:hover { filter: brightness(1.08); }
@keyframes vtm-ring {
	0%, 100% { box-shadow: 0 8px 22px rgba(4, 20, 42, .25), 0 0 0 0 rgba(18, 140, 62, .45); }
	50% { box-shadow: 0 8px 22px rgba(4, 20, 42, .25), 0 0 0 10px rgba(18, 140, 62, 0); }
}
@media (prefers-reduced-motion: reduce) { .vtm-float__call { animation: none; } }

/* 18. Chủ đề ưu tiên (thẻ) ----------------------------------------------- */
.vtm-tbadge {
	display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px;
	font-family: var(--vtm-font-heading); font-size: 11px; font-weight: 700; line-height: 1.2;
	letter-spacing: .02em; text-transform: uppercase; vertical-align: middle; white-space: nowrap;
	background: var(--vtm-tint-blue); color: var(--vtm-blue);
}
.vtm-tbadge--hot   { background: var(--vtm-accent); color: #fff; }
.vtm-tbadge--new   { background: var(--vtm-blue); color: #fff; }
.vtm-tbadge--must  { background: var(--vtm-dark); color: #fff; }
.vtm-tbadge--guide { background: var(--vtm-tint-green); color: var(--vtm-accent); }

.vtm-topics { list-style: none; margin: 0; padding: 0; }

/* Kiểu danh sách (thanh bên phải) */
.vtm-topics--list .vtm-topics__item { margin: 0 0 6px; }
.vtm-topics.vtm-topics--list .vtm-topics__item > a {
	display: flex; align-items: center; gap: 4px;
	padding: 11px 14px; background: var(--vtm-soft); border-left: 3px solid var(--vtm-line);
	color: var(--vtm-dark); font-family: var(--vtm-font-heading); font-weight: 700; font-size: 15px;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.vtm-topics.vtm-topics--list .is-priority > a { border-left-color: var(--vtm-accent); background: var(--vtm-tint-green); }
.vtm-topics.vtm-topics--list .vtm-topics__item > a:hover,
.vtm-topics.vtm-topics--list .is-current > a { background: var(--vtm-accent); border-left-color: var(--vtm-dark); color: #fff; }
.vtm-topics.vtm-topics--list .vtm-topics__item > a:hover { transform: translateX(3px); }
.vtm-topics--list a:hover .vtm-topics__hash, .vtm-topics--list .is-current .vtm-topics__hash,
.vtm-topics--list a:hover .vtm-topics__count, .vtm-topics--list .is-current .vtm-topics__count { color: rgba(255, 255, 255, .85); }
.vtm-topics__hash { color: var(--vtm-accent); font-weight: 700; }
/* Dòng đang chọn / rê chuột (nền xanh lá): nhãn đổi sang nền trắng cho rõ */
.vtm-topics .vtm-topics__item > a:hover .vtm-tbadge,
.vtm-topics .is-current > a .vtm-tbadge { background: #fff; color: var(--vtm-accent); }
.vtm-topics__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtm-topics--list .vtm-topics__count { margin-left: auto; padding-left: 10px; font-size: 13px; font-weight: 600; color: var(--vtm-muted); white-space: nowrap; }

/* Kiểu nút bo tròn */
.vtm-topics--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vtm-topics.vtm-topics--chips .vtm-topics__item > a {
	display: inline-flex; align-items: center; gap: 2px;
	padding: 7px 14px; border: 1px solid var(--vtm-line); border-radius: 999px; background: #fff;
	color: var(--vtm-dark); font-family: var(--vtm-font-heading); font-size: 14px; font-weight: 700;
}
.vtm-topics.vtm-topics--chips .is-priority > a { border-color: var(--vtm-accent); }
.vtm-topics.vtm-topics--chips .vtm-topics__item > a:hover, .vtm-topics.vtm-topics--chips .is-current > a { background: var(--vtm-accent); border-color: var(--vtm-accent); color: #fff; }
.vtm-topics--chips a:hover .vtm-topics__hash { color: #fff; }
.vtm-topics--chips .vtm-topics__count { margin-left: 6px; font-size: 12px; color: var(--vtm-muted); font-weight: 600; }
.vtm-topics--chips .vtm-tbadge { margin-left: 6px; }
.vtm-footer .vtm-topics--list a { background: rgba(255, 255, 255, .06); color: #fff; border-left-color: rgba(255, 255, 255, .2); }
.vtm-footer .vtm-topics--list .is-priority a { border-left-color: var(--vtm-accent-soft); }

/* Trang chủ đề (thẻ) */
.vtm-archivehead__kicker {
	display: flex; align-items: center; margin: 0 0 6px;
	font-family: var(--vtm-font-heading); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vtm-accent);
}
.vtm-archivehead__hash { color: var(--vtm-accent); margin-right: 2px; }
.vtm-archivehead__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.vtm-archivehead__topics > span { font-size: 14px; font-weight: 700; color: var(--vtm-dark); }

/* Thẻ cuối bài: chủ đề ưu tiên nổi hơn */
.vtm-tags a { display: inline-flex; align-items: center; }
.vtm-tags a.is-priority { background: var(--vtm-tint-green); color: var(--vtm-accent); font-weight: 700; }
.vtm-tags a.is-priority:hover { background: var(--vtm-accent); color: #fff; }
.vtm-tags .vtm-tbadge { margin-left: 6px; font-size: 10px; padding: 2px 6px; }

@media (max-width: 1023px) {
	.vtm-contactpage { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 599px) {
	.vtm-float__call span { display: none; }
	.vtm-float__call { padding: 0; width: 50px; justify-content: center; }
	.vtm-topbar__email { display: none; }
	.vtm-topbar__right .vtm-social { display: none; }
}

@media (max-width: 1023px) {
	.vtm-layout--right, .vtm-layout--left { grid-template-columns: minmax(0, 1fr); }
	.vtm-layout--left .vtm-layout__side { order: 0; }
	.vtm-footer__widgets--4, .vtm-footer__widgets--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 849px) {
	.vtm-hero { height: auto; min-height: 0; aspect-ratio: 4 / 3; max-height: 560px; }
	.vtm-hero__content { justify-content: flex-end; padding-bottom: 54px; }
	.vtm-hero__nav { bottom: 22px; gap: 8px; }
	.vtm-hero__tab { height: 4px; padding: 0; border: 0; background: rgba(91, 155, 230, .6); }
	.vtm-hero__tab.is-active { background: var(--vtm-accent-soft); }
	.vtm-hero__tab-title, .vtm-hero__tab-meta { display: none; }

	.vtm-block__split { grid-template-columns: 1fr; }
	.vtm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vtm-cta { flex-direction: column; align-items: flex-start; }
	.vtm-card--list { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; }
	.vtm-card--list .vtm-card__title { font-size: 18px; }
	.vtm-card--list .vtm-card__excerpt { display: none; }
}

@media (max-width: 599px) {
	:root { --vtm-gutter: 16px; --vtm-gap: 20px; }
	.vtm-topmenu { display: none; }
	.vtm-hero { aspect-ratio: 3 / 4; }
	.vtm-grid, .vtm-grid--2 { grid-template-columns: 1fr; }
	.vtm-card--list { grid-template-columns: 120px minmax(0, 1fr); }
	.vtm-card--list .vtm-card__media .vtm-badge { display: none; }
	.vtm-card--list .vtm-card__title { font-size: 16px; }
	.vtm-card--big .vtm-card__media .vtm-badge { left: 14px; bottom: 14px; }
	.vtm-author { flex-direction: column; }
	.vtm-postnav { grid-template-columns: 1fr; }
	.vtm-postnav__next { grid-column: auto; }
	.vtm-footer__widgets--4, .vtm-footer__widgets--3, .vtm-footer__widgets--2 { grid-template-columns: 1fr; }
	.vtm-footer__bottom-inner { flex-direction: column; text-align: center; }
	.vtm-content { font-size: 16.5px; }
	.vtm-content table { display: block; overflow-x: auto; }
	.alignleft, .alignright { float: none; margin: 1em auto; }
	.vtm-sticky .vtm-header { top: 0; }
	.vtm-layout { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.vtm-hero__slide, .vtm-hero__img, .vtm-card__img img, .vtm-nav, .vtm-totop { transition: none; }
}

@media print {
	.vtm-topbar, .vtm-header, .vtm-layout__side, .vtm-share, .vtm-cta, .vtm-related, .vtm-comments, .vtm-footer, .vtm-totop, .vtm-progress { display: none !important; }
	.vtm-layout { display: block; }
}

/* ==========================================================================
   19. Sản phẩm – đèn LED & thiết bị điện (catalogue + WooCommerce)
   ========================================================================== */

/* Chip thông số */
.vtm-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.vtm-chip {
	display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 4px;
	background: var(--vtm-tint-blue); color: var(--vtm-blue);
	font-family: var(--vtm-font-heading); font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.vtm-chip--power, .vtm-chip--rated_current { background: var(--vtm-tint-green); color: var(--vtm-accent); }
.vtm-chip--cct::before { content: ""; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: linear-gradient(135deg, #ffd27a, #fff4e0 50%, #cfe6ff); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.vtm-chip--ip::before { content: "💧"; font-size: 10px; margin-right: 4px; }

/* Giá */
.vtm-price { font-family: var(--vtm-font-heading); font-weight: 700; color: var(--vtm-accent); }
.vtm-price ins { text-decoration: none; }
.vtm-price del { color: var(--vtm-muted); font-weight: 400; font-size: .85em; margin-right: 4px; }
.vtm-price--contact { color: var(--vtm-blue); font-family: var(--vtm-font-heading); font-weight: 700; }
.vtm-muted { color: var(--vtm-muted); }

/* Lưới & thẻ sản phẩm */
.vtm-pgrid { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.vtm-pgrid--2 { --cols: 2; } .vtm-pgrid--3 { --cols: 3; } .vtm-pgrid--4 { --cols: 4; } .vtm-pgrid--5 { --cols: 5; }
.vtm-pcard {
	display: flex; flex-direction: column; min-width: 0;
	background: #fff; border: 1px solid var(--vtm-line); border-radius: var(--vtm-radius);
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.vtm-pcard:hover { border-color: var(--vtm-accent); box-shadow: var(--vtm-shadow); transform: translateY(-2px); }
.vtm-pcard__media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.vtm-pcard__media img, .vtm-pcard__media .vtm-noimg { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.vtm-pcard__media .vtm-noimg { padding: 0; }
.vtm-pcard__sale {
	position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 4px;
	background: #e53935; color: #fff; font-family: var(--vtm-font-heading); font-weight: 700; font-size: 13px;
}
.vtm-pcard__stock {
	position: absolute; bottom: 10px; left: 10px; padding: 3px 8px; border-radius: 4px;
	background: rgba(11, 61, 110, .85); color: #fff; font-size: 12px; font-weight: 600;
}
.vtm-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; border-top: 1px solid var(--vtm-line); }
.vtm-pcard__brand { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vtm-blue); }
.vtm-pcard__title { margin: 0; font-size: 16px; line-height: 1.4; }
.vtm-pcard__title a {
	color: var(--vtm-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vtm-pcard__title a:hover { color: var(--vtm-accent); }
.vtm-pcard__foot { margin-top: auto; padding-top: 12px; font-size: 17px; }

/* Trang danh sách sản phẩm */
.vtm-shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 64px; }
.vtm-shop__mfilter { display: none; }
.vtm-ptoolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--vtm-line); }
.vtm-ptoolbar__count { margin: 0; font-weight: 600; color: var(--vtm-muted); }
.vtm-ptoolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.vtm-ptoolbar select, .vtm .woocommerce-ordering select {
	height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--vtm-line); border-radius: 0; background: #fff; color: var(--vtm-dark);
}

/* Bộ lọc */
.vtm-filters { display: flex; flex-direction: column; gap: 4px; }
.vtm-filter { border-bottom: 1px solid var(--vtm-line); padding: 12px 0; }
.vtm-filter:first-child { padding-top: 0; }
.vtm-filter__title {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	margin: 0 0 8px; font-family: var(--vtm-font-heading); font-size: 15px; font-weight: 700; color: var(--vtm-dark);
	cursor: pointer; list-style: none;
}
.vtm-filter__title::-webkit-details-marker { display: none; }
details.vtm-filter > .vtm-filter__title::after { content: "+"; color: var(--vtm-blue); font-size: 18px; margin-left: auto; }
details.vtm-filter[open] > .vtm-filter__title::after { content: "–"; }
details.vtm-filter:not([open]) > .vtm-filter__title { margin-bottom: 0; }
.vtm-filter__title b { background: var(--vtm-accent); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 12px; }
.vtm-filter ul { list-style: none; margin: 0; padding: 0; }
.vtm-filter__cats a {
	display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--vtm-dark); font-weight: 600; font-size: 15px;
}
.vtm-filter__cats a span, .vtm-filter__count { color: var(--vtm-muted); font-size: 12px; font-weight: 600; }
.vtm-filter__cats .is-current > a { color: var(--vtm-accent); }
.vtm-filter__cats ul { padding-left: 14px; border-left: 2px solid var(--vtm-line); margin: 2px 0 4px 4px; }
.vtm-filter__opts { display: flex; flex-direction: column; gap: 2px; }
.vtm-filter__opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--vtm-text); font-size: 15px; }
.vtm-filter__opt .vtm-filter__count { margin-left: auto; }
.vtm-filter__box { flex: none; width: 18px; height: 18px; border: 2px solid #b8c6d6; border-radius: 4px; background: #fff; transition: all .15s; }
.vtm-filter__opt:hover .vtm-filter__box { border-color: var(--vtm-accent); }
.vtm-filter__opt.is-on { color: var(--vtm-dark); font-weight: 700; }
.vtm-filter__opt.is-on .vtm-filter__box {
	border-color: var(--vtm-accent); background: var(--vtm-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.vtm-filter__clear { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 8px; padding: 6px 12px; border-radius: 999px; background: var(--vtm-tint-green); color: var(--vtm-accent); font-weight: 700; font-size: 14px; }

/* Trang chi tiết sản phẩm */
.vtm-psingle-wrap { padding-top: 24px; padding-bottom: 56px; }
.vtm-psingle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-bottom: 48px; }
.vtm-gallery__main { position: relative; margin: 0; aspect-ratio: 1; border: 1px solid var(--vtm-line); background: #fff; display: flex; align-items: center; justify-content: center; }
.vtm-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.vtm-gallery__main .vtm-noimg { width: 100%; height: 100%; }
.vtm-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.vtm-gallery__thumb { width: 76px; height: 76px; padding: 4px; border: 2px solid var(--vtm-line); background: #fff; cursor: pointer; }
.vtm-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.vtm-gallery__thumb.is-active, .vtm-gallery__thumb:hover { border-color: var(--vtm-accent); }
.vtm-psingle__brand { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vtm-blue); margin-bottom: 6px; }
.vtm-psingle__title, .vtm .product_title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; margin: 0 0 10px; }
.vtm-psingle__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; font-size: 14px; color: var(--vtm-muted); }
.vtm-stock { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.vtm-stock--instock { background: var(--vtm-tint-green); color: var(--vtm-accent); }
.vtm-stock--order { background: var(--vtm-tint-blue); color: var(--vtm-blue); }
.vtm-stock--out, .vtm-stock--stop { background: #fdecea; color: #c62828; }
.vtm-psingle__summary .vtm-chips { margin: 16px 0 4px; }
.vtm-psingle__summary .vtm-chip { font-size: 14px; padding: 6px 12px; }
.vtm-psingle__price { margin: 18px 0; padding: 16px 20px; background: var(--vtm-soft); border-left: 4px solid var(--vtm-accent); font-size: 28px; }
.vtm-psingle__excerpt { color: var(--vtm-text); margin-bottom: 18px; }
.vtm-psingle__excerpt p:last-child { margin-bottom: 0; }
.vtm-pbuttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.vtm-pbuttons .vtm-btn { flex-direction: column; justify-content: center; gap: 2px; text-align: center; min-height: 50px; }
.vtm-pbuttons .vtm-btn small { font-size: 12px; font-weight: 600; opacity: .85; }
.vtm-pbuttons--single .vtm-pbtn--buy { flex: 1 1 100%; font-size: 18px; min-height: 56px; }
.vtm-pbtn--zalo { background: #0068ff; }
.vtm-pbtn--call { background: var(--vtm-blue); flex-direction: row !important; }
.vtm-pbtn--zalo:hover, .vtm-pbtn--call:hover { background: var(--vtm-dark); }
.vtm-pbuttons--single .vtm-pbtn--zalo, .vtm-pbuttons--single .vtm-pbtn--call { flex: 1 1 0; }
.vtm-psingle__perks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--vtm-line); display: grid; gap: 8px; font-size: 15px; }
.vtm-psingle__perks li { display: flex; align-items: center; gap: 8px; }
.vtm-psingle__perks svg { color: var(--vtm-accent); }

/* Bảng thông số */
.vtm-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 32px; align-items: start; }
.vtm-specs__table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.vtm-specs__table caption {
	text-align: left; padding: 10px 14px; background: var(--vtm-blue); color: #fff;
	font-family: var(--vtm-font-heading); font-weight: 700; font-size: 15px;
}
.vtm-specs__table th, .vtm-specs__table td { padding: 10px 14px; border-bottom: 1px solid var(--vtm-line); text-align: left; vertical-align: top; }
.vtm-specs__table th { width: 46%; font-weight: 600; color: var(--vtm-muted); background: var(--vtm-soft); }
.vtm-specs__table td { color: var(--vtm-dark); font-weight: 600; }

/* Hộp sản phẩm chèn trong bài viết [vtm_product] */
.vtm-pbox {
	display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: center;
	margin: 1.8em 0; padding: 18px; border: 1px solid var(--vtm-line); border-left: 4px solid var(--vtm-accent); background: #fff;
}
.vtm-pbox__media { display: block; aspect-ratio: 1; }
.vtm-pbox__media img, .vtm-pbox__media .vtm-noimg { width: 100%; height: 100%; object-fit: contain; }
.vtm-pbox__kicker { margin: 0 0 4px !important; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--vtm-blue); }
.vtm-pbox__title { margin: 0 !important; font-family: var(--vtm-font-heading); font-size: 19px; font-weight: 700; line-height: 1.35; }
.vtm-content .vtm-pbox__title a { color: var(--vtm-dark); text-decoration: none; }
.vtm-pbox .vtm-chips { margin: 8px 0 0; padding: 0; }
.vtm-content .vtm-pbox .vtm-chips li { margin: 0; }
.vtm-pbox__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; font-size: 19px; }
.vtm-pbox .vtm-pbuttons { margin: 0; }
.vtm-pbox .vtm-btn { min-height: 42px; padding: 10px 16px; font-size: 15px; }
.vtm-content .vtm-pbox a.vtm-btn { color: #fff; text-decoration: none; }

/* Thẻ & tiêu đề khối sản phẩm khi chèn trong nội dung bài */
.vtm-content .vtm-pgrid, .vtm-content .vtm-chips { padding: 0; margin-left: 0; }
.vtm-content .vtm-chips li, .vtm-content .vtm-pgrid li { margin: 0; }
.vtm-content .vtm-pcard__title { font-size: 16px; margin: 0; color: var(--vtm-dark); }
.vtm-content .vtm-pcard a { text-decoration: none; }
.vtm-content .vtm-products .vtm-block__title { border-left: 0; padding-left: 0; margin: 0; font-size: 22px; }
.vtm-content .vtm-chips li::marker { content: none; }

/* Bảng so sánh [vtm_compare] */
.vtm-compare { overflow-x: auto; margin: 1.8em 0; }
.vtm-compare table { margin: 0; min-width: 560px; }
.vtm-compare thead th { background: #fff !important; color: var(--vtm-dark) !important; text-align: center; vertical-align: top; }
.vtm-compare thead a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none !important; color: var(--vtm-dark); font-size: 14px; line-height: 1.35; }
.vtm-compare thead img { width: 90px; height: 90px; object-fit: contain; }
.vtm-compare tbody th { background: var(--vtm-soft) !important; color: var(--vtm-muted) !important; font-weight: 600; white-space: nowrap; }
.vtm-compare td { text-align: center; font-weight: 600; color: var(--vtm-dark); }

/* WooCommerce – đồng bộ màu & kiểu với theme (giữ CSS gốc của WooCommerce cho bố cục) */
.vtm .woocommerce ul.products li.product, .vtm.woocommerce ul.products li.product {
	display: flex; flex-direction: column; padding: 0 0 16px; border: 1px solid var(--vtm-line); background: #fff; transition: box-shadow .2s, border-color .2s;
}
.vtm .woocommerce ul.products li.product:hover, .vtm.woocommerce ul.products li.product:hover { border-color: var(--vtm-accent); box-shadow: var(--vtm-shadow); }
.vtm.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; padding: 12px; margin: 0 0 4px; border-bottom: 1px solid var(--vtm-line); }
.vtm.woocommerce ul.products li.product .vtm-pcard__brand,
.vtm.woocommerce ul.products li.product .woocommerce-loop-product__title,
.vtm.woocommerce ul.products li.product .vtm-chips,
.vtm.woocommerce ul.products li.product .price,
.vtm.woocommerce ul.products li.product .button { margin-left: 16px; margin-right: 16px; }
.vtm.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--vtm-font-heading); font-size: 16px; color: var(--vtm-dark); padding: 0; }
.vtm.woocommerce ul.products li.product .price { margin-top: auto; padding-top: 10px; font-family: var(--vtm-font-heading); font-size: 17px; font-weight: 700; color: var(--vtm-accent); }
.vtm.woocommerce ul.products li.product .price del { color: var(--vtm-muted); font-weight: 400; }
.vtm.woocommerce ul.products li.product .price ins { text-decoration: none; }
.vtm.woocommerce span.onsale { background: #e53935; border-radius: 4px; min-height: 0; min-width: 0; padding: 4px 8px; line-height: 1.3; top: 10px; left: 10px; right: auto; margin: 0; }
.vtm.woocommerce a.button, .vtm.woocommerce button.button, .vtm.woocommerce input.button,
.vtm.woocommerce #respond input#submit, .vtm .woocommerce a.button, .vtm .woocommerce button.button {
	background: var(--vtm-accent); color: #fff; border-radius: var(--vtm-radius); font-family: var(--vtm-font-heading); font-weight: 700; padding: 12px 18px;
}
.vtm.woocommerce a.button:hover, .vtm.woocommerce button.button:hover, .vtm .woocommerce a.button:hover, .vtm .woocommerce button.button:hover { background: var(--vtm-blue); color: #fff; }
.vtm.woocommerce button.button.alt, .vtm .woocommerce button.button.alt, .vtm .woocommerce a.button.alt { background: var(--vtm-accent); font-size: 17px; padding: 15px 26px; }
.vtm.woocommerce button.button.alt:hover, .vtm .woocommerce a.button.alt:hover { background: var(--vtm-blue); }
.vtm.woocommerce div.product p.price, .vtm.woocommerce div.product span.price { color: var(--vtm-accent); font-family: var(--vtm-font-heading); font-weight: 700; font-size: 28px; }
.vtm.woocommerce div.product p.price del { color: var(--vtm-muted); font-size: .65em; font-weight: 400; }
.vtm.woocommerce div.product p.price ins { text-decoration: none; }
.vtm.woocommerce div.product .woocommerce-product-gallery { border: 1px solid var(--vtm-line); padding: 16px; }
.vtm.woocommerce div.product form.cart .qty { height: 52px; width: 70px; border: 1px solid var(--vtm-line); }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 3px solid var(--vtm-line); }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: none; border-radius: 0; margin: 0; padding: 0; }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .vtm.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 18px; font-family: var(--vtm-font-heading); font-size: 17px; color: var(--vtm-muted); }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs li.active { box-shadow: inset 0 -3px 0 var(--vtm-accent); margin-bottom: -3px; }
.vtm.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--vtm-dark); }
.vtm.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.vtm.woocommerce div.product .product_meta { font-size: 14px; color: var(--vtm-muted); padding-top: 14px; border-top: 1px dashed var(--vtm-line); }
.vtm .woocommerce-message, .vtm .woocommerce-info { border-top-color: var(--vtm-accent); }
.vtm .woocommerce-message::before, .vtm .woocommerce-info::before { color: var(--vtm-accent); }
.vtm.woocommerce .woocommerce-result-count { color: var(--vtm-muted); font-weight: 600; }
.vtm.woocommerce nav.woocommerce-pagination ul { border: 0; }
.vtm.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.vtm.woocommerce nav.woocommerce-pagination ul li a, .vtm.woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; padding: 10px; border: 1px solid var(--vtm-line); font-weight: 700; color: var(--vtm-dark); }
.vtm.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--vtm-accent); color: #fff; border-color: var(--vtm-accent); }
.vtm-crumbs--wc li a { color: var(--vtm-blue); }
.vtm-wc-single .vtm-crumbs { margin-bottom: 20px; }
.vtm.woocommerce div.product .vtm-pbuttons--single .vtm-btn { flex: 1 1 0; }

@media (max-width: 1023px) {
	.vtm-pgrid--4, .vtm-pgrid--5 { --cols: 3; }
	.vtm-shop { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 20px; }
	.vtm-shop__side { display: none; }
	.vtm-shop__mfilter { display: block; margin-bottom: 16px; }
	.vtm-shop__mfilter > summary { list-style: none; cursor: pointer; width: 100%; justify-content: center; }
	.vtm-shop__mfilter > summary::-webkit-details-marker { display: none; }
	.vtm-shop__mfilter[open] > summary { background: var(--vtm-blue); }
	.vtm-shop__mfilter .vtm-filters { padding: 16px; border: 1px solid var(--vtm-line); border-top: 0; }
	.vtm-psingle { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 599px) {
	.vtm-pgrid, .vtm-pgrid--3, .vtm-pgrid--4, .vtm-pgrid--5 { --cols: 2; gap: 12px; }
	.vtm-pcard__body { padding: 10px 12px 12px; }
	.vtm-pcard__title { font-size: 14px; }
	.vtm-pcard .vtm-chip { font-size: 11px; padding: 3px 6px; }
	.vtm-pcard__foot { font-size: 15px; }
	.vtm-pbox { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.vtm-pbox__foot { flex-direction: column; align-items: flex-start; }
	.vtm-psingle__price { font-size: 24px; }
}

/* ==========================================================================
   20. Mục lục bài viết · Giỏ hàng trên header · Trang Giỏ hàng / Thanh toán
   ========================================================================== */

/* Mục lục */
.vtm-content h2[id], .vtm-content h3[id] { scroll-margin-top: calc(var(--vtm-header-h) + var(--wp-admin--admin-bar--height, 0px) + 20px); }
.vtm-toc { margin: 1.6em 0 2em; border: 1px solid var(--vtm-line); border-left: 4px solid var(--vtm-blue); background: var(--vtm-soft); }
.vtm-toc details > summary { list-style: none; }
.vtm-toc details > summary::-webkit-details-marker { display: none; }
.vtm-toc__head {
	display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer;
	font-family: var(--vtm-font-heading); font-weight: 700; font-size: 17px; color: var(--vtm-dark);
}
.vtm-toc__head svg { color: var(--vtm-blue); }
.vtm-toc__count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--vtm-muted); }
.vtm-toc__head::after { content: "+"; font-size: 20px; line-height: 1; color: var(--vtm-blue); }
.vtm-toc details[open] > .vtm-toc__head::after { content: "–"; }
.vtm-toc details[open] > .vtm-toc__head { border-bottom: 1px solid var(--vtm-line); }
.vtm-content .vtm-toc__list { margin: 0; padding: 12px 18px 14px 40px; counter-reset: toc; list-style: none; }
.vtm-content .vtm-toc__list > li { counter-increment: toc; position: relative; margin: 0; padding: 4px 0; font-size: 16px; line-height: 1.5; }
.vtm-content .vtm-toc__list > li::before {
	content: counter(toc); position: absolute; left: -26px; top: 6px;
	width: 20px; height: 20px; border-radius: 50%; background: var(--vtm-accent); color: #fff;
	font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.vtm-content .vtm-toc__list ol { list-style: none; margin: 4px 0 2px; padding: 0 0 0 14px; border-left: 2px solid var(--vtm-line); }
.vtm-content .vtm-toc__list ol li { margin: 0; padding: 3px 0; font-size: 15px; }
.vtm-content .vtm-toc a { color: var(--vtm-dark); text-decoration: none; font-weight: 600; }
.vtm-content .vtm-toc ol ol a { font-weight: 500; color: var(--vtm-text); }
.vtm-content .vtm-toc a:hover, .vtm-content .vtm-toc a.is-active { color: var(--vtm-accent); }
.vtm-content .vtm-toc a.is-active { text-decoration: underline; text-underline-offset: 3px; }

/* Giỏ hàng & tài khoản trên header */
.vtm-cart-link { position: relative; }
.vtm-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--vtm-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
.vtm-cart-count.is-empty { background: var(--vtm-muted); }
.vtm-cart-total { display: none; } /* Muốn hiện tổng tiền cạnh giỏ: .vtm-cart-total { display: inline; } trong giao diện con */
.vtm-menu__more > .sub-menu { left: auto !important; right: 0; }
.vtm-menu__more .sub-menu .sub-menu { left: auto !important; right: 100%; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.vtm .vtm-menu > li > a { padding: 0 14px; font-size: 16px; }
	.vtm .vtm-menu > li.menu-item-has-children > a { padding-right: 28px; }
	.vtm-logo-box .vtm-brand { padding: 0 22px; }
}
@media (max-width: 599px) { .vtm-account-link { display: none; } }

/* Bộ lọc khoảng giá dạng nút chọn một */
.vtm-filter__opt--radio .vtm-filter__box { border-radius: 50%; }
.vtm-filter__opt--radio.is-on .vtm-filter__box { background: #fff; box-shadow: inset 0 0 0 4px var(--vtm-accent); border-color: var(--vtm-accent); }

/* Trang Giỏ hàng / Thanh toán / Tài khoản */
.vtm-wc-page .vtm-layout--full .vtm-layout__main { max-width: none; }
.vtm-wc-page .vtm-article__title { margin-bottom: 8px; }
.vtm-wc-page .vtm-content { font-size: 16px; line-height: 1.6; }
.vtm-wc-page .vtm-content a { text-decoration: none; }
.vtm-wc-page .vtm-content h2 { border-left: 0; padding-left: 0; font-size: 22px; }
/* – Cart & Checkout dạng khối (mặc định từ WooCommerce 8.3) */
.vtm .wc-block-components-button:not(.is-link),
.vtm .wc-block-cart__submit-button,
.vtm .wc-block-components-checkout-place-order-button {
	background: var(--vtm-accent) !important; color: #fff !important; border: 0 !important; border-radius: var(--vtm-radius) !important;
	font-family: var(--vtm-font-heading); font-weight: 700; min-height: 52px;
}
.vtm .wc-block-components-button:not(.is-link):hover { background: var(--vtm-blue) !important; }
.vtm .wc-block-components-text-input input, .vtm .wc-block-components-textarea, .vtm .wc-block-components-combobox .components-combobox-control__input,
.vtm .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: var(--vtm-radius) !important; border-color: #c9d4e0 !important; }
.vtm .wc-block-components-text-input.is-active input:focus, .vtm .wc-block-components-text-input input:focus { border-color: var(--vtm-blue) !important; box-shadow: 0 0 0 1px var(--vtm-blue) !important; }
.vtm .wc-block-components-title, .vtm .wc-block-cart__totals-title, .vtm .wc-block-components-checkout-step__title { font-family: var(--vtm-font-heading) !important; color: var(--vtm-dark); font-weight: 700 !important; }
.vtm .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.vtm .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--vtm-font-heading); font-weight: 700; font-size: 20px; color: var(--vtm-accent); }
.vtm .wc-block-components-product-name { color: var(--vtm-dark) !important; font-family: var(--vtm-font-heading); font-weight: 700; }
.vtm .wc-block-components-sidebar-layout .wc-block-components-sidebar { background: var(--vtm-soft); padding: 20px 24px; border-top: 3px solid var(--vtm-accent); }
.vtm .wc-block-components-radio-control__option-checked, .vtm .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--vtm-accent) !important; }
.vtm .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--vtm-accent); border-color: var(--vtm-accent); }
.vtm .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.vtm .wc-block-components-quantity-selector { border-radius: var(--vtm-radius); }
.vtm .wc-block-components-sale-badge { color: #e53935; border-color: #e53935; }
/* – Cart & Checkout dạng cổ điển ([woocommerce_cart], [woocommerce_checkout]) */
.vtm.woocommerce-cart table.shop_table, .vtm.woocommerce-checkout table.shop_table { border-radius: 0; border-color: var(--vtm-line); }
.vtm.woocommerce-cart table.shop_table th { background: var(--vtm-soft); color: var(--vtm-dark); font-family: var(--vtm-font-heading); }
.vtm .woocommerce form .form-row input.input-text, .vtm .woocommerce form .form-row textarea, .vtm .woocommerce form .form-row select {
	padding: 12px 14px; border: 1px solid #c9d4e0; border-radius: var(--vtm-radius); background: #fff;
}
.vtm .woocommerce .cart-collaterals .cart_totals, .vtm .woocommerce-checkout-review-order { background: var(--vtm-soft); padding: 20px 24px; border-top: 3px solid var(--vtm-accent); }
.vtm #add_payment_method #payment, .vtm.woocommerce-checkout #payment { background: var(--vtm-soft); border-radius: 0; }
/* – Tài khoản */
.vtm .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--vtm-line); }
.vtm .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--vtm-line); color: var(--vtm-dark); font-weight: 600; }
.vtm .woocommerce-MyAccount-navigation li.is-active a, .vtm .woocommerce-MyAccount-navigation li a:hover { background: var(--vtm-tint-green); color: var(--vtm-accent); box-shadow: inset 3px 0 0 var(--vtm-accent); }

/* Form đánh giá sản phẩm (WooCommerce) */
.vtm.woocommerce #reviews #comments h2, .vtm.woocommerce #reviews .comment-reply-title { font-family: var(--vtm-font-heading); font-size: 20px; color: var(--vtm-dark); display: block; margin: 0 0 10px; }
.vtm.woocommerce #reviews #review_form_wrapper { margin-top: 20px; padding: 24px; background: var(--vtm-soft); border-top: 3px solid var(--vtm-accent); }
.vtm.woocommerce #reviews label { display: block; font-weight: 600; color: var(--vtm-dark); margin-bottom: 6px; }
.vtm.woocommerce #reviews .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.vtm.woocommerce #reviews textarea, .vtm.woocommerce #reviews input[type="text"], .vtm.woocommerce #reviews input[type="email"] {
	width: 100%; padding: 12px 14px; border: 1px solid #c9d4e0; border-radius: var(--vtm-radius); background: #fff; box-sizing: border-box;
}
.vtm.woocommerce #reviews .comment-form-author, .vtm.woocommerce #reviews .comment-form-email { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.vtm.woocommerce #reviews .comment-form-author { margin-right: 12px; }
.vtm.woocommerce #reviews p.stars a { color: #f5a623; }
.vtm.woocommerce .star-rating span::before, .vtm.woocommerce .star-rating::before { color: #f5a623; }
@media (max-width: 599px) { .vtm.woocommerce #reviews .comment-form-author, .vtm.woocommerce #reviews .comment-form-email { display: block; width: 100%; margin-right: 0; } }

/* Số dạng bảng: giá, thông số, bộ đếm thẳng hàng, dễ so sánh */
.vtm-chip, .vtm-price, .vtm-specs__table td, .vtm-compare td, .vtm-filter__count, .vtm-cart-count, .vtm-meta, .vtm-mini__num, .vtm-psingle__price { font-variant-numeric: tabular-nums lining-nums; }

/* Nút Gọi nổi trên máy tính: tròn gọn, rê chuột mới hiện số – không che chữ trong bài */
@media (min-width: 1024px) {
	.vtm-float__call { width: 50px; padding: 0; justify-content: center; overflow: hidden; white-space: nowrap; transition: width .25s ease, padding .25s ease; }
	.vtm-float__call span { display: none; }
	.vtm-float__call:hover, .vtm-float__call:focus-visible { width: auto; padding: 0 18px 0 15px; justify-content: flex-start; }
	.vtm-float__call:hover span, .vtm-float__call:focus-visible span { display: inline; }
}
