/*
Theme Name: Zitech
Theme URI: https://zitech.vn
Author: Zitech
Description: Theme trang chủ cho Zitech - Giải pháp điện thông minh. HTML/CSS thuần, không dùng framework.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: zivix
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--zx-orange: #ff6a00;
	--zx-orange-dark: #e65c00;
	--zx-dark: #1b1e25;
	--zx-dark-2: #23262f;
	--zx-text: #222222;
	--zx-text-light: #6b7280;
	--zx-bg-light: #f6f7f9;
	--zx-border: #e7e8ec;
	--zx-white: #ffffff;
	--zx-radius: 10px;
	--zx-container: 1200px;
	--zx-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

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

img {
	max-width: 100%;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, p {
	margin: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.zx-container {
	max-width: var(--zx-container);
	margin: 0 auto;
	padding: 0 24px;
}

.zx-eyebrow {
	color: var(--zx-orange);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.zx-section {
	padding: 40px 0;
}

.zx-section--light {
	background: var(--zx-bg-light);
}

.zx-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
	flex-wrap: wrap;
	gap: 12px;
}

.zx-title-underline {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.zx-title-underline h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.zx-title-underline .zx-bar {
	width: 48px;
	height: 3px;
	background: var(--zx-orange);
}

.zx-title-center {
	text-align: center;
	margin: 0 auto 26px;
	max-width: 560px;
}

.zx-title-center h2 {
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.zx-title-center .zx-bar {
	width: 48px;
	height: 3px;
	background: var(--zx-orange);
	margin: 10px auto;
}

.zx-title-center p {
	color: var(--zx-text-light);
	font-size: 15px;
}

.zx-link-arrow {
	color: var(--zx-orange);
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.zx-link-arrow:hover {
	color: var(--zx-orange-dark);
	text-decoration: underline;
}

.zx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	border: 2px solid transparent;
	transition: all 0.2s ease;
}

.zx-btn--primary {
	background: var(--zx-orange);
	color: var(--zx-white);
}

.zx-btn--primary:hover {
	background: var(--zx-orange-dark);
}

.zx-btn--outline {
	background: transparent;
	border-color: var(--zx-dark);
	color: var(--zx-dark);
}

.zx-btn--outline:hover {
	background: var(--zx-dark);
	color: var(--zx-white);
}

.zx-btn:disabled,
.zx-btn[disabled] {
	background: var(--zx-border);
	color: var(--zx-text-light);
	border-color: var(--zx-border);
	cursor: not-allowed;
	opacity: 0.7;
}

/* ==========================================================================
   Header
   ========================================================================== */
.zx-header {
	border-bottom: 1px solid var(--zx-border);
	position: sticky;
	top: 0;
	background: var(--zx-white);
	z-index: 100;
}

.zx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 24px;
}

.zx-logo {
	display: flex;
	align-items: center;
}

.zx-logo__img {
	height: 72px;
	width: auto;
	display: block;
}

.zx-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.zx-nav a {
	font-size: 14px;
	font-weight: 600;
	color: var(--zx-text);
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
}

.zx-nav a.is-active,
.zx-nav .current-menu-item > a,
.zx-nav .current_page_item > a,
.zx-nav a:hover {
	color: var(--zx-orange);
	border-color: var(--zx-orange);
}

/* Dropdown submenu (Sản phẩm / Tài liệu → danh mục) */
.zx-nav li {
	position: relative;
}

.zx-nav li:has( > .sub-menu ) > a {
	position: relative;
	padding-right: 20px;
}

/*
 * The caret is a real <button>, injected by nav.js, instead of a pseudo-element
 * on the link. On touch/trackpad devices a CSS-:hover-only dropdown needs a
 * first tap just to reveal itself, silently swallowing the tap that should
 * have followed the link — visiting the parent page then took a second tap.
 * A dedicated toggle button lets the link itself always navigate on one tap,
 * while the caret alone opens/closes the submenu.
 */
.zx-nav-caret {
	/* Sized and positioned to sit entirely inside the link's own
	   padding-right — it must never overlap the link's visible text,
	   or a tap aimed at the text can land on the caret instead. */
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: inherit;
}

.zx-nav-caret::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.zx-nav li.is-open > .zx-nav-caret::after {
	transform: rotate(225deg);
}

.zx-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background: var(--zx-white);
	border: 1px solid var(--zx-border);
	border-radius: 8px;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
	/* Extra top padding (instead of a margin/gap) gives breathing room while
	   staying part of the hoverable box — a real gap here breaks :hover
	   continuity, which is why the submenu used to close before it could
	   be clicked. */
	padding: 18px 8px 8px;
	z-index: 50;
}

.zx-nav li:hover > .sub-menu,
.zx-nav li:focus-within > .sub-menu,
.zx-nav li.is-open > .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.zx-nav .sub-menu a {
	display: block;
	width: 100%;
	padding: 9px 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	border-bottom: none;
	border-radius: 6px;
	box-sizing: border-box;
}

.zx-nav .sub-menu a:hover {
	background: var(--zx-bg-light);
	border-bottom: none;
}

.zx-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.zx-icon-btn {
	width: 20px;
	height: 20px;
	display: inline-block;
}

.zx-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: none;
	flex: none;
}

.zx-nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--zx-dark);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.zx-nav-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.zx-nav-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.zx-nav-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.zx-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, #f0efec 100%);
}

.zx-hero__slides {
	display: flex;
	width: 100%;
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
	transition: transform 0.5s ease;
}

.zx-hero__slides.is-dragging {
	cursor: grabbing;
	transition: none;
}

.zx-hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	min-height: 360px;
	display: flex;
	align-items: center;
}

.zx-hero__bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 58%;
	height: 100%;
	max-width: 820px;
}

.zx-hero__bg svg {
	position: absolute;
	right: -30px;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 88%;
}

.zx-hero__bg img {
	position: absolute;
	right: -30px;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 88%;
	object-fit: contain;
}

.zx-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.zx-hero__content {
	max-width: 520px;
	padding: 36px 0;
}

.zx-hero h1 {
	font-size: 38px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	margin: 10px 0 14px;
}

.zx-hero p {
	color: var(--zx-text-light);
	font-size: 16px;
	max-width: 480px;
	margin-bottom: 22px;
}

.zx-hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.zx-hero__dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 3;
}

.zx-hero__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--zx-border);
	display: inline-block;
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.zx-hero__dots button.is-active {
	width: 22px;
	border-radius: 4px;
	background: var(--zx-orange);
}

/* ==========================================================================
   Feature strip (icon columns)
   ========================================================================== */
.zx-features {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
	border-top: 1px solid var(--zx-border);
	border-bottom: 1px solid var(--zx-border);
	padding: 18px 0;
}

.zx-feature {
	text-align: center;
}

.zx-feature__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: var(--zx-bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zx-orange);
}

.zx-feature h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.3px;
}

.zx-feature p {
	font-size: 13px;
	color: var(--zx-text-light);
}

/* ==========================================================================
   Vì sao nên chọn nhà thông minh
   ========================================================================== */
.zx-smarthome {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 32px;
	align-items: center;
	margin-bottom: 24px;
}

.zx-smarthome__text .zx-eyebrow {
	display: block;
	margin-bottom: 6px;
}

.zx-smarthome__text h2 {
	font-size: 30px;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.zx-smarthome__text p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--zx-text-light);
}

.zx-smarthome__illustration {
	width: 100%;
	text-align: center;
}

.zx-smarthome__illustration svg {
	aspect-ratio: 4 / 3;
	width: 100%;
	max-height: 300px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.zx-smarthome__illustration img {
	width: 100%;
	max-height: 300px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.zx-benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.zx-benefit-card {
	background: var(--zx-white);
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	padding: 20px 18px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zx-benefit-card:hover {
	transform: translateY(-4px);
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-benefit-card__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--zx-bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zx-orange);
}

.zx-benefit-card h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 10px;
}

.zx-benefit-card p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--zx-text-light);
}

/* ==========================================================================
   Video giới thiệu + Tìm kiếm nhanh
   ========================================================================== */
.zx-video-search {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	overflow: hidden;
}

.zx-video-search__video,
.zx-video-search__search {
	padding: 28px;
}

.zx-video-search__search {
	border-left: 1px solid var(--zx-border);
}

.zx-video-search__video h3,
.zx-video-search__search h3 {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 16px;
}

.zx-video-search__search p {
	font-size: 13px;
	color: var(--zx-text-light);
	margin-bottom: 22px;
}

.zx-video-search__player {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, #1b1e25, #2c2f3a);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.zx-video-search__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.zx-video-search__player::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
	z-index: 1;
	pointer-events: none;
}

.zx-video-search__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	z-index: 3;
}

.zx-video-search__play {
	position: relative;
	z-index: 2;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.65);
	color: var(--zx-white);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px);
}

.zx-video-search__play:hover {
	background: var(--zx-orange);
	border-color: var(--zx-orange);
}

.zx-video-search__form {
	display: flex;
	gap: 10px;
	margin-bottom: 22px;
}

.zx-video-search__form input {
	flex: 1;
	min-width: 0;
	padding: 13px 16px;
	border: 1px solid var(--zx-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
}

.zx-video-search__form button {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--zx-orange);
	color: var(--zx-white);
	border: none;
	padding: 0 22px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	white-space: nowrap;
}

.zx-video-search__form button:hover {
	background: var(--zx-orange-dark);
}

.zx-video-search__popular span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 10px;
}

.zx-video-search__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.zx-video-search__tags a {
	padding: 8px 14px;
	border: 1px solid var(--zx-border);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

.zx-video-search__tags a:hover {
	border-color: var(--zx-orange);
	color: var(--zx-orange);
}

/* ==========================================================================
   Three column row: products / news / docs
   ========================================================================== */
.zx-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.zx-col-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--zx-orange);
	padding-bottom: 12px;
}

.zx-col-head h3 {
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
}

.zx-news-list,
.zx-doc-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.zx-news-item {
	display: flex;
	gap: 14px;
}

.zx-news-item h4 {
	transition: color 0.2s ease;
}

.zx-news-item:hover h4 {
	color: var(--zx-orange);
}

.zx-news-item__thumb {
	width: 84px;
	height: 64px;
	flex: none;
	background: var(--zx-bg-light);
	border-radius: 6px;
	overflow: hidden;
}

.zx-news-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zx-news-item h4 {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.zx-news-item time {
	font-size: 12px;
	color: var(--zx-text-light);
}

.zx-doc-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: var(--zx-bg-light);
	border-radius: 8px;
	transition: background 0.2s ease;
}

.zx-doc-item:hover {
	background: #eee0d3;
}

.zx-doc-item__icon {
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 6px;
	background: var(--zx-orange);
	color: var(--zx-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
}

.zx-doc-item h4 {
	font-size: 13px;
	font-weight: 600;
}

.zx-drive-embed {
	margin: 20px 0 32px;
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	overflow: hidden;
}

.zx-drive-embed iframe {
	display: block;
	width: 100%;
	height: 600px;
	border: 0;
}

.zx-doc-download {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 820px;
	margin: 32px 0;
	padding: 20px 24px;
	background: var(--zx-bg-light);
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zx-doc-download:hover {
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-doc-download__icon {
	width: 52px;
	height: 52px;
	flex: none;
	border-radius: 10px;
	background: var(--zx-orange);
	color: var(--zx-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.zx-doc-download__body strong {
	display: block;
	font-size: 16px;
}

/* ==========================================================================
   Stats (Zitech trong những con số)
   ========================================================================== */
.zx-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.zx-stat-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--zx-white);
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	padding: 22px 18px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zx-stat-card:hover {
	transform: translateY(-4px);
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-stat-card__icon {
	width: 44px;
	height: 44px;
	flex: none;
	color: var(--zx-orange);
	display: flex;
	align-items: center;
	justify-content: center;
}

.zx-stat-card__body strong {
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: var(--zx-dark);
	line-height: 1.1;
}

.zx-stat-card__body span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--zx-text-light);
	line-height: 1.4;
	margin-top: 4px;
}

/* ==========================================================================
   Partners (Ứng dụng kết nối & Đối tác)
   ========================================================================== */
.zx-partners {
	overflow: hidden;
	position: relative;
	width: 100%;
	padding: 12px 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.zx-partners__track {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	animation: zx-partners-marquee 28s linear infinite;
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
}

.zx-partners:hover .zx-partners__track {
	animation-play-state: paused;
}

.zx-partners--js .zx-partners__track {
	animation: none;
}

.zx-partners.is-dragging .zx-partners__track {
	cursor: grabbing;
}

@keyframes zx-partners-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.zx-partner-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	width: 200px;
	padding: 8px 20px;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: var(--zx-radius);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zx-partner-item:hover {
	transform: translateY(-4px);
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-partner-item img {
	max-height: 76px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	-webkit-user-drag: none;
	user-select: none;
}

@media (prefers-reduced-motion: reduce) {
	.zx-partners__track {
		animation: none;
	}
}

.zx-partner-item__name {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--zx-text);
}

/* ==========================================================================
   Process (Quy trình hỗ trợ kỹ thuật)
   ========================================================================== */
.zx-process {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.zx-process-step {
	position: relative;
	text-align: center;
	padding-top: 34px;
}

.zx-process-step__number {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--zx-orange);
	color: var(--zx-white);
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 1025px) {
	.zx-process-step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 13px;
		left: 50%;
		width: 100%;
		height: 0;
		border-top: 2px dashed var(--zx-border);
		z-index: 1;
	}
}

.zx-process-step__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--zx-white);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zx-orange);
	transition: background 0.2s ease, color 0.2s ease;
}

.zx-process-step:hover .zx-process-step__icon {
	background: var(--zx-orange);
	color: var(--zx-white);
}

.zx-process-step h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.zx-process-step p {
	font-size: 12px;
	color: var(--zx-text-light);
}

/* ==========================================================================
   Carousel-style rows (categories / new products)
   ========================================================================== */
.zx-carousel {
	position: relative;
	padding: 0 48px;
}

.zx-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(180px, 1fr);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}

.zx-carousel__arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--zx-white);
	border: 1px solid var(--zx-border);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zx-dark);
	z-index: 5;
	padding: 0;
}

.zx-carousel__arrow:hover {
	background: var(--zx-orange);
	border-color: var(--zx-orange);
	color: var(--zx-white);
}

.zx-carousel__arrow--prev {
	left: 0;
}

.zx-carousel__arrow--next {
	right: 0;
}

.zx-carousel__track::-webkit-scrollbar {
	height: 6px;
}

.zx-carousel__track::-webkit-scrollbar-thumb {
	background: var(--zx-border);
	border-radius: 4px;
}

.zx-category-card {
	scroll-snap-align: start;
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	padding: 14px;
	text-align: center;
	background: var(--zx-white);
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zx-category-card:hover {
	transform: translateY(-4px);
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-category-card__thumb {
	background: var(--zx-bg-light);
	border-radius: 8px;
	aspect-ratio: 1;
	margin-bottom: 12px;
	position: relative;
	color: var(--zx-text-light);
	font-size: 12px;
}

/* Absolutely positioned + inset (rather than width/height: 100% inside a
   flex box) so the icon/photo sizes against the thumb's own aspect-ratio-
   derived height instead of an indeterminate one — the percentage-height
   version rendered as a tall rectangle instead of a square. */
.zx-category-card__thumb img,
.zx-category-card__thumb svg {
	position: absolute;
	inset: 18px;
	width: calc(100% - 36px);
	height: calc(100% - 36px);
	object-fit: contain;
}

.zx-category-card h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.zx-category-card p {
	font-size: 12px;
	color: var(--zx-text-light);
	margin-bottom: 14px;
}

.zx-card-viewall {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	border: 1px dashed var(--zx-border);
	border-radius: var(--zx-radius);
	color: var(--zx-orange);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.4;
	transition: all 0.2s ease;
}

.zx-card-viewall:hover {
	background: var(--zx-bg-light);
	border-color: var(--zx-orange);
}

.zx-card-viewall__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--zx-bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zx-orange);
}

/* ==========================================================================
   Solutions grid
   ========================================================================== */
.zx-solutions {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.zx-solution-card {
	position: relative;
	border-radius: var(--zx-radius);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--zx-dark-2);
	display: flex;
	align-items: flex-end;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zx-solution-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.zx-solution-card:hover .zx-solution-icon {
	background: var(--zx-white);
	color: var(--zx-orange);
}

.zx-solution-card__art {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.zx-solution-card__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zx-solution-card__art::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
}

.zx-solution-card__overlay {
	position: relative;
	z-index: 2;
	padding: 20px;
	color: var(--zx-white);
}

.zx-solution-card__overlay .zx-solution-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--zx-orange);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	transition: background 0.2s ease, color 0.2s ease;
}

.zx-solution-card__overlay h3 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.zx-solution-card__overlay p {
	font-size: 12px;
	opacity: 0.85;
}

/* ==========================================================================
   Page banner (subpages)
   ========================================================================== */
.zx-page-banner {
	background: linear-gradient(135deg, var(--zx-dark), var(--zx-dark-2));
	color: var(--zx-white);
	padding: 14px 0;
}

.zx-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.zx-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

.zx-breadcrumb a:hover {
	color: var(--zx-orange);
}

.zx-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Prose (nội dung WYSIWYG cho trang tĩnh)
   ========================================================================== */
.zx-prose {
	max-width: 820px;
}

.zx-prose h2 {
	font-size: 24px;
	font-weight: 800;
	margin: 32px 0 14px;
}

.zx-prose h2:first-child {
	margin-top: 0;
}

.zx-prose h3 {
	font-size: 19px;
	font-weight: 700;
	margin: 26px 0 10px;
}

.zx-prose p {
	margin-bottom: 16px;
	color: var(--zx-text);
	line-height: 1.75;
}

.zx-prose ul,
.zx-prose ol {
	margin: 0 0 16px 20px;
}

.zx-prose ul {
	list-style: disc;
}

.zx-prose ol {
	list-style: decimal;
}

.zx-prose li {
	margin-bottom: 8px;
	line-height: 1.7;
}

.zx-prose a {
	color: var(--zx-orange);
	text-decoration: underline;
}

.zx-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--zx-radius);
	margin: 20px 0;
}

/*
 * WordPress adds these alignment classes to images/embeds when the editor's
 * align-left/center/right buttons are used, but never ships CSS for them —
 * themes have to define what "aligncenter" etc. actually mean. Without this,
 * the global `img { display: block; }` reset above makes text-align:center
 * on the wrapping <p> a no-op, so "căn giữa" in the editor visibly does nothing.
 */
.zx-prose .aligncenter {
	display: block;
	margin: 20px auto;
}

/*
 * TinyMCE center-align can set text-align:center on the <p> without adding
 * "aligncenter" to the image inside it — since img is display:block, it
 * ignores the parent's text-align, so it stays put unless centered directly.
 */
.zx-prose p[style*="text-align: center"] img {
	margin-left: auto;
	margin-right: auto;
}

.zx-prose .alignleft {
	float: left;
	margin: 4px 20px 16px 0;
}

.zx-prose .alignright {
	float: right;
	margin: 4px 0 16px 20px;
}

.zx-prose blockquote {
	border-left: 3px solid var(--zx-orange);
	padding-left: 16px;
	color: var(--zx-text-light);
	font-style: italic;
	margin: 20px 0;
}

.zx-doc-button-wrap {
	display: flex;
	justify-content: center;
	margin: 8px 0 24px;
}

.zx-prose a.document-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 6px;
	background: var(--zx-orange);
	color: var(--zx-white);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.3px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.zx-prose a.document-button:hover {
	background: var(--zx-orange-dark);
	color: var(--zx-white);
}

.zx-doc-subhead {
	margin: 32px 0 16px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--zx-text);
}

.zx-doc-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 24px;
}

.zx-prose .zx-doc-links a.document-button {
	justify-content: flex-start;
	text-align: left;
}

.zx-doc-note {
	margin: -4px 0 0;
	font-size: 0.85rem;
	color: var(--zx-text-light);
	font-style: italic;
}

.zx-video-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 0 24px;
}

.zx-video-card {
	width: 280px;
	max-width: 100%;
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	overflow: hidden;
	background: var(--zx-white);
}

.zx-video-card__title {
	padding: 12px 14px;
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--zx-text);
	border-bottom: 1px solid var(--zx-border);
}

.zx-video-card__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	background: #000;
}

.zx-video-card__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   Hỗ trợ (FAQ + kênh hỗ trợ)
   ========================================================================== */
.zx-faq-list {
	max-width: 820px;
	margin-top: 28px;
}

.zx-faq-item {
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	margin-bottom: 12px;
	overflow: hidden;
}

.zx-faq-item__q {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-weight: 700;
	cursor: pointer;
	background: var(--zx-white);
	transition: background 0.15s ease;
}

.zx-faq-item__q:hover {
	background: var(--zx-bg-light);
}

.zx-faq-item__q::-webkit-details-marker {
	display: none;
}

.zx-faq-item__chevron {
	flex: none;
	display: flex;
	color: var(--zx-orange);
	transition: transform 0.2s ease;
}

.zx-faq-item[open] .zx-faq-item__chevron {
	transform: rotate(90deg);
}

.zx-faq-item__a {
	padding: 0 22px 20px;
	color: var(--zx-text-light);
	line-height: 1.7;
}

.zx-faq-item__a > *:last-child {
	margin-bottom: 0;
}

.zx-faq-item__a table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0;
	font-size: 0.94rem;
}

.zx-faq-item__a th,
.zx-faq-item__a td {
	border: 1px solid var(--zx-border);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.zx-faq-item__a th {
	background: var(--zx-bg-light);
	color: var(--zx-text);
	font-weight: 600;
	white-space: nowrap;
}

.zx-faq-item__a .zx-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.zx-support-channels {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 28px;
}

.zx-support-channels__item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--zx-white);
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	padding: 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zx-support-channels__item:hover {
	transform: translateY(-4px);
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-support-channels__icon {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	background: var(--zx-bg-light);
	color: var(--zx-orange);
	display: flex;
	align-items: center;
	justify-content: center;
}

.zx-support-channels__item strong {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.zx-support-channels__item span {
	font-size: 14px;
	color: var(--zx-text-light);
}

/* ==========================================================================
   Blog (Tin tức)
   ========================================================================== */
.zx-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.zx-blog-card {
	display: block;
	border: 1px solid var(--zx-border);
	border-radius: var(--zx-radius);
	overflow: hidden;
	background: var(--zx-white);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zx-blog-card:hover {
	transform: translateY(-4px);
	border-color: var(--zx-orange);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.zx-blog-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--zx-bg-light);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.zx-blog-card__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 0;
}

.zx-blog-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--zx-orange);
	color: var(--zx-white);
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: uppercase;
	z-index: 2;
}

.zx-blog-card__body {
	padding: 20px;
}

.zx-blog-card h3 {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 10px;
	transition: color 0.2s ease;
}

.zx-blog-card:hover h3 {
	color: var(--zx-orange);
}

.zx-blog-card__body p {
	font-size: 13px;
	color: var(--zx-text-light);
	margin-bottom: 14px;
}

.zx-blog-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
}

.zx-blog-card__meta time {
	color: var(--zx-text-light);
}

.zx-blog-card__meta span {
	color: var(--zx-orange);
	font-weight: 700;
}

.zx-pagination {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}

.zx-pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.zx-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--zx-border);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

.zx-pagination .page-numbers.current {
	background: var(--zx-orange);
	border-color: var(--zx-orange);
	color: var(--zx-white);
}

.zx-pagination .page-numbers:not(.current):hover {
	border-color: var(--zx-orange);
	color: var(--zx-orange);
}

.zx-single-title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: 14px;
}

.zx-single-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 13px;
	color: var(--zx-text-light);
}

.zx-single-meta__cat {
	background: var(--zx-orange);
	color: var(--zx-white);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 4px;
}

.zx-single-fallback-thumb {
	background: var(--zx-bg-light);
	border-radius: var(--zx-radius);
	aspect-ratio: 16 / 9;
	max-width: 320px;
	padding: 24px;
	box-sizing: border-box;
	margin-bottom: 24px;
}

.zx-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.zx-single-tags__item {
	background: var(--zx-bg-light);
	color: var(--zx-text-light);
	font-size: 13px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.zx-single-tags__item:hover {
	background: var(--zx-orange);
	color: var(--zx-white);
}

.zx-single-back {
	margin-top: 8px;
}

/* ==========================================================================
   Category / document archive grids (subpages)
   ========================================================================== */
.zx-category-grid,
.zx-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 20px;
}

/* ==========================================================================
   404
   ========================================================================== */
.zx-404 {
	padding: 90px 0;
}

.zx-404__inner {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
}

.zx-404__code {
	display: block;
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	color: var(--zx-orange);
	margin-bottom: 8px;
}

.zx-404__inner h1 {
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.zx-404__inner > p {
	color: var(--zx-text-light);
	font-size: 15px;
	margin-bottom: 28px;
}

.zx-404__search {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.zx-404__search input {
	flex: 1;
	min-width: 0;
	padding: 13px 16px;
	border: 1px solid var(--zx-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
}

.zx-404__search button {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--zx-orange);
	color: var(--zx-white);
	border: none;
	padding: 0 22px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	white-space: nowrap;
}

.zx-404__search button:hover {
	background: var(--zx-orange-dark);
}

.zx-404__actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ==========================================================================
   Single product
   ========================================================================== */
.zx-product-single {
	display: grid;
	grid-template-columns: 460px 1fr;
	gap: 48px;
	align-items: start;
}

.zx-product-single__main {
	background: var(--zx-bg-light);
	border-radius: var(--zx-radius);
	width: 100%;
	height: 460px;
	padding: 12px;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zx-product-single__main img,
.zx-product-single__main svg {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.zx-product-single__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-top: 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding-bottom: 4px;
}

.zx-product-thumb {
	width: 68px;
	height: 68px;
	flex-shrink: 0;
	padding: 0;
	background: var(--zx-bg-light);
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
	scroll-snap-align: start;
}

.zx-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.zx-product-thumb:hover {
	border-color: var(--zx-border);
}

.zx-product-thumb.is-active {
	border-color: var(--zx-orange);
}

.zx-product-single__info .zx-single-title {
	margin: 8px 0 12px;
}

.zx-sku-badge {
	display: inline-block;
	background: var(--zx-bg-light);
	border: 1px solid var(--zx-border);
	border-radius: 6px;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--zx-text-light);
	margin-bottom: 18px;
}

.zx-product-price {
	font-size: 24px;
	font-weight: 800;
	color: var(--zx-orange);
	margin-bottom: 24px;
}

.zx-product-price__label {
	font-size: 15px;
	font-weight: 600;
	color: var(--zx-orange);
	margin-right: 4px;
}

.zx-product-variants {
	width: 100%;
	max-width: 560px;
	border-collapse: collapse;
	margin-bottom: 24px;
	table-layout: fixed;
}

.zx-product-variants th,
.zx-product-variants td {
	border: 1px solid var(--zx-border);
	padding: 10px 14px;
	text-align: left;
}

.zx-product-variants th {
	background: var(--zx-bg-light);
	font-size: 13px;
	font-weight: 700;
}

.zx-product-variants th:last-child,
.zx-product-variants td:last-child {
	width: 120px;
}

.zx-product-variants td:last-child {
	font-weight: 800;
	color: var(--zx-orange);
	white-space: nowrap;
}

.zx-product-single__desc {
	color: var(--zx-text);
	line-height: 1.75;
	margin-bottom: 24px;
}

.zx-product-single__desc img {
	max-width: 100%;
	height: auto;
	border-radius: var(--zx-radius);
}

.zx-product-single__desc iframe {
	max-width: 100%;
}

.zx-product-single__desc .aligncenter {
	display: block;
	margin: 20px auto;
}

.zx-product-single__desc p[style*="text-align: center"] img {
	margin-left: auto;
	margin-right: auto;
}

.zx-product-single__desc .alignleft {
	float: left;
	margin: 4px 20px 16px 0;
}

.zx-product-single__desc .alignright {
	float: right;
	margin: 4px 0 16px 20px;
}

.zx-product-single__info h3 {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.zx-product-specs {
	list-style: none;
	margin: 0 0 28px;
	border-top: 1px solid var(--zx-border);
}

.zx-product-specs li {
	padding: 6px 0;
	border-bottom: 1px solid var(--zx-border);
	font-size: 14px;
	color: var(--zx-text);
}


/* ==========================================================================
   Contact page
   ========================================================================== */
.zx-contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 48px;
}

.zx-contact-grid h2 {
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.zx-contact-form-wrap > p {
	color: var(--zx-text-light);
	font-size: 14px;
	margin-bottom: 22px;
}

.zx-contact-success {
	background: #eefaf1;
	border: 1px solid #b7e6c3;
	color: #1e7a3a;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 14px;
	margin-bottom: 20px;
}

.zx-contact-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.zx-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.zx-contact-form input,
.zx-contact-form textarea {
	width: 100%;
	border: 1px solid var(--zx-border);
	border-radius: 6px;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
	resize: vertical;
}

.zx-contact-form input:focus,
.zx-contact-form textarea:focus {
	outline: none;
	border-color: var(--zx-orange);
}

.zx-contact-form button {
	align-self: flex-start;
}

.zx-contact-info {
	background: var(--zx-bg-light);
	border-radius: var(--zx-radius);
	padding: 28px;
}

.zx-contact-info__item {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--zx-border);
}

.zx-contact-info__item:first-of-type {
	padding-top: 0;
}

.zx-contact-info__icon {
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: var(--zx-white);
	color: var(--zx-orange);
	display: flex;
	align-items: center;
	justify-content: center;
}

.zx-contact-info__item strong {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.zx-contact-info__item span,
.zx-contact-info__item a {
	font-size: 14px;
	color: var(--zx-text-light);
}

.zx-contact-info__item a:hover {
	color: var(--zx-orange);
}

.zx-contact-info__social {
	margin-top: 20px;
}

.zx-contact-info__social a {
	background: var(--zx-white);
	color: var(--zx-dark);
}

.zx-contact-info__social a:hover {
	background: var(--zx-orange);
	color: var(--zx-white);
}

.zx-contact-map {
	line-height: 0;
}

.zx-contact-map iframe {
	display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.zx-footer {
	background: var(--zx-dark);
	color: rgba(255, 255, 255, 0.7);
	padding: 64px 0 24px;
}

.zx-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 32px;
	padding-bottom: 40px;
}

.zx-footer__brand strong {
	font-size: 24px;
	font-weight: 800;
	color: var(--zx-orange);
	letter-spacing: 1px;
}

.zx-footer__brand span {
	display: block;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
	margin: 4px 0 16px;
}

.zx-footer__brand p {
	font-size: 13px;
	line-height: 1.7;
}

.zx-footer h4 {
	color: var(--zx-white);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 18px;
	letter-spacing: 0.3px;
}

.zx-footer ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.zx-footer ul a,
.zx-footer ul li {
	font-size: 13px;
}

.zx-footer ul a {
	transition: color 0.2s ease;
}

.zx-footer ul a:hover {
	color: var(--zx-orange);
}

.zx-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.zx-footer__social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.zx-footer__social a:hover {
	background: var(--zx-orange);
	transform: translateY(-3px);
}

.zx-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	flex-wrap: wrap;
	gap: 12px;
}

.zx-footer__bottom ul {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

/* Floating contact buttons */
.zx-floating {
	position: fixed;
	right: 24px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 200;
}

.zx-floating a {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zx-white);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	font-size: 18px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zx-floating a:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.zx-floating a.zx-float-phone { background: var(--zx-orange); }
.zx-floating a.zx-float-zalo { background: #0068ff; }
.zx-floating a.zx-float-messenger { background: #0084ff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.zx-hero__bg {
		width: 46%;
		opacity: 0.6;
	}

	.zx-features,
	.zx-solutions,
	.zx-stats,
	.zx-process,
	.zx-benefits {
		grid-template-columns: repeat(3, 1fr);
	}

	.zx-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 782px) {
	.zx-contact-grid,
	.zx-product-single {
		grid-template-columns: 1fr;
	}

	.zx-product-single__media {
		max-width: 320px;
		margin: 0 auto;
	}

	.zx-product-single__main {
		max-width: 320px;
		height: 320px;
		margin: 0 auto;
	}

	.zx-contact-form__row {
		grid-template-columns: 1fr;
	}

	.zx-support-channels {
		grid-template-columns: 1fr;
	}

	.zx-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		background: var(--zx-white);
		border-bottom: 1px solid var(--zx-border);
		padding: 12px 24px 20px;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
	}

	.zx-nav.is-open {
		display: flex;
	}

	.zx-nav li {
		width: 100%;
	}

	.zx-nav a {
		width: 100%;
		padding: 10px 0;
		border-bottom: 1px solid var(--zx-border);
	}

	.zx-nav .sub-menu {
		display: flex;
		flex-direction: column;
		position: static;
		min-width: 0;
		border: none;
		box-shadow: none;
		margin: 0 0 4px;
		padding: 0 0 0 16px;
	}

	/* Submenus are already always expanded inline on mobile — no toggle needed. */
	.zx-nav-caret {
		display: none;
	}

	.zx-nav li:has( > .sub-menu ) > a {
		padding-right: 0;
	}

	.zx-nav .sub-menu a {
		padding: 8px 0;
		border-bottom: none;
		color: var(--zx-text-light);
	}

	.zx-nav-toggle {
		display: flex;
	}

	.zx-video-search {
		grid-template-columns: 1fr;
	}

	.zx-smarthome {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.zx-smarthome__illustration {
		max-width: 360px;
		margin: 0 auto;
	}

	.zx-video-search__search {
		border-left: none;
		border-top: 1px solid var(--zx-border);
	}

	.zx-video-search__form,
	.zx-404__search {
		flex-direction: column;
	}

	.zx-404__code {
		font-size: 72px;
	}

	.zx-hero__slide {
		min-height: 0;
		flex-direction: column;
		align-items: stretch;
	}

	.zx-hero__bg {
		position: relative;
		width: 100%;
		max-width: none;
		height: 200px;
		opacity: 1;
	}

	.zx-hero__bg svg,
	.zx-hero__bg img {
		position: static;
		transform: none;
		width: 100%;
		height: 100%;
	}

	.zx-hero__content {
		padding: 20px 0 56px;
		max-width: none;
	}

	.zx-carousel {
		padding: 0;
	}

	.zx-carousel__arrow {
		display: none;
	}

	.zx-hero h1 {
		font-size: 30px;
	}

	.zx-features,
	.zx-solutions,
	.zx-stats,
	.zx-process,
	.zx-two-col,
	.zx-blog-grid,
	.zx-benefits {
		grid-template-columns: 1fr 1fr;
	}

	.zx-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.zx-features,
	.zx-solutions,
	.zx-stats,
	.zx-process,
	.zx-two-col,
	.zx-blog-grid,
	.zx-benefits {
		grid-template-columns: 1fr;
	}
}
