/**
 * layout-v2.css — Header + Footer (giao diện v2). Body có class .ankhang-layout-v2.
 * Dùng token màu trong v2-base.css.
 */

/* ======================= TOP BAR ======================= */
.ankhang-layout-v2 #top-bar,
.ankhang-layout-v2 .header-top {
	min-height: 38px;
	background: var(--ak-navy, #16206b) !important;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
}
.ankhang-layout-v2 #top-bar .flex-row { min-height: 38px; }
.ankhang-layout-v2 #top-bar .nav > li { margin: 0 0 0 18px; }
.ankhang-layout-v2 #top-bar .nav-left > li:first-child { margin-left: 0; }
.ak-top__item a,
.ak-top__text {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 0 !important;
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 38px;
}
.ak-top__item span { color: inherit; font-size: inherit; }
.ak-top__item a:hover { color: #fff !important; }
.ak-top__item svg { flex: 0 0 auto; opacity: 0.8; }
.ak-top__item--muted .ak-top__text { color: rgba(255, 255, 255, 0.62) !important; }

/* ======================= HEADER CHÍNH ======================= */
.ankhang-layout-v2 .header-main {
	background: #fff !important;
	border-bottom: 1px solid var(--ak-line, #e5e8f0);
}
.ankhang-layout-v2 .header-main .top-divider { display: none; }
.ankhang-layout-v2 .stuck .header-main { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08); }
.ankhang-layout-v2 #logo img { max-height: 58px; width: auto; }
.ankhang-layout-v2 .stuck #logo img { max-height: 48px; }

/* Menu — luôn 1 dòng (Flatsome đặt flex-wrap: wrap cho link → mũi tên/icon bị rơi xuống dòng) */
.ankhang-layout-v2 .header-nav-main.nav { flex-wrap: nowrap; white-space: nowrap; }
.ankhang-layout-v2 .header-nav-main.nav > li > a,
.ankhang-layout-v2 .header-main .nav-right > li > a,
.ankhang-layout-v2 .ak-hcta a { flex-wrap: nowrap !important; white-space: nowrap; }
.ankhang-layout-v2 .header-inner .flex-col.flex-right { flex-shrink: 0; }
.ankhang-layout-v2 .header-nav-main.nav > li { margin: 0 2px; }
.ankhang-layout-v2 .header-nav-main.nav > li > a {
	position: relative;
	padding: 10px 11px;
	border-radius: 10px;
	color: var(--ak-ink, #0f172a);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.ankhang-layout-v2 .header-nav-main.nav > li > a:hover,
.ankhang-layout-v2 .header-nav-main.nav > li.has-dropdown:hover > a {
	background: var(--ak-soft, #f5f7fb);
	color: var(--ak-primary, #1c22cc);
}
.ankhang-layout-v2 .header-nav-main.nav > li.active > a,
.ankhang-layout-v2 .header-nav-main.nav > li.current-menu-ancestor > a,
.ankhang-layout-v2 .header-nav-main.nav > li.current-menu-parent > a { color: var(--ak-primary, #1c22cc); }
.ankhang-layout-v2 .header-nav-main.nav > li.active > a::after,
.ankhang-layout-v2 .header-nav-main.nav > li.current-menu-ancestor > a::after,
.ankhang-layout-v2 .header-nav-main.nav > li.current-menu-parent > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 2px;
	height: 3px;
	border-radius: 3px;
	background: var(--ak-red, #c0182f);
}
.ankhang-layout-v2 .header-nav-main .icon-angle-down { margin-left: 4px; font-size: 12px; opacity: 0.6; }

/* Dropdown */
.ankhang-layout-v2 .header-nav .nav-dropdown {
	min-width: 230px;
	padding: 8px;
	border: 1px solid var(--ak-line, #e5e8f0);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.ankhang-layout-v2 .header-nav .nav-dropdown > li > a {
	padding: 10px 12px;
	border: 0 !important;
	border-radius: 10px;
	color: var(--ak-text, #334155);
	font-size: 14.5px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}
.ankhang-layout-v2 .header-nav .nav-dropdown > li > a:hover { background: var(--ak-soft, #f5f7fb); color: var(--ak-primary, #1c22cc); }
.ankhang-layout-v2 .header-nav .nav-dropdown > li.current-menu-item > a { color: var(--ak-primary, #1c22cc); font-weight: 600; }
.ankhang-layout-v2 .nav-dropdown-default::before,
.ankhang-layout-v2 .nav-dropdown-default::after { display: none; }

/* Tìm kiếm */
.ankhang-layout-v2 .header-search > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border: 1px solid var(--ak-line, #e5e8f0);
	border-radius: 12px;
	color: var(--ak-ink, #0f172a) !important;
}
.ankhang-layout-v2 .header-search > a:hover { border-color: var(--ak-primary, #1c22cc); color: var(--ak-primary, #1c22cc) !important; }
.ankhang-layout-v2 .header-search .nav-dropdown { min-width: 320px; padding: 12px; }

/* Nút gọi + báo giá */
.ankhang-layout-v2 .header-main .nav-right > li.ak-hcta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.ak-hcta__call {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	padding: 0 !important;
	color: var(--ak-ink, #0f172a) !important;
	text-transform: none !important;
}
.ak-hcta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(192, 24, 47, 0.1);
	color: var(--ak-red, #c0182f);
	transition: background 0.2s ease, color 0.2s ease;
}
.ak-hcta__call:hover .ak-hcta__icon { background: var(--ak-red, #c0182f); color: #fff; }
.ak-hcta__text { display: flex; flex-direction: column; line-height: 1.15; }
.ak-hcta__text small { font-size: 12px; font-weight: 500; color: var(--ak-muted, #64748b); letter-spacing: 0; }
.ak-hcta__text strong { font-size: 16.5px; font-weight: 800; color: var(--ak-red, #c0182f); letter-spacing: 0.01em; }
.ak-hcta__quote {
	display: inline-flex !important;
	align-items: center;
	min-height: 42px;
	padding: 0 18px !important;
	border-radius: 999px;
	background: var(--ak-navy, #16206b);
	color: #fff !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(22, 32, 107, 0.25);
	transition: transform 0.15s ease, background 0.2s ease;
}
.ak-hcta__quote:hover { background: var(--ak-primary, #1c22cc); transform: translateY(-1px); }
/* Nút CTA nằm trong .header-nav-main → không nhận nền xám nhạt của hover menu (gây chữ trắng trên nền sáng) */
.ankhang-layout-v2 .header-nav-main.nav > li.ak-hcta > a.ak-hcta__quote:hover,
.ankhang-layout-v2 .header-nav-main.nav > li.ak-hcta > a.ak-hcta__quote:focus-visible { background: var(--ak-primary, #1c22cc); color: #fff !important; }
.ankhang-layout-v2 .header-nav-main.nav > li.ak-hcta > a.ak-hcta__call:hover { background: transparent; }

/* Mobile */
.ak-mcall a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border-radius: 50%;
	background: var(--ak-red, #c0182f);
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(192, 24, 47, 0.35);
}
.ankhang-layout-v2 .mobile-nav .icon-menu { font-size: 22px; color: var(--ak-ink, #0f172a); }

/* Container Flatsome cố định ~1200px → header chỉ giữ icon gọi + nút báo giá; số hotline nằm ở top bar */
.ak-hcta__text { display: none; }
.ankhang-layout-v2 .header-main .nav-right > li.ak-hcta { margin-left: 6px; gap: 8px; }
.ak-top__item--hotline a { color: #fff !important; font-weight: 700 !important; }
.ak-top__item--hotline svg { color: #ff8fa0; opacity: 1; }
@media (max-width: 1180px) {
	.ankhang-layout-v2 .header-nav-main.nav > li > a { padding: 10px 7px; font-size: 14.5px; }
	.ak-hcta__quote { padding: 0 14px !important; font-size: 14px !important; }
}

/* ======================= MENU MOBILE (drawer v2) =======================
 * Khung off-canvas của Flatsome (.mfp-wrap.off-canvas-left > .mfp-content > #main-menu).
 */
.ankhang-layout-v2 .mobile-nav .nav-icon > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border: 1px solid var(--ak-line, #e5e8f0);
	border-radius: 12px;
}
.mfp-bg.main-menu-overlay {
	background: rgba(11, 16, 64, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}
.mfp-bg.main-menu-overlay.mfp-ready { opacity: 1; }
.ankhang-layout-v2 .off-canvas-left .mfp-content {
	width: min(86vw, 360px);
	padding: 0;
	background: #fff;
	box-shadow: 18px 0 48px rgba(11, 16, 64, 0.28);
	transform: translateX(-104%);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	overscroll-behavior: contain;
}
.ankhang-layout-v2 .off-canvas-left.mfp-ready .mfp-content { transform: none; }
.ankhang-layout-v2 .off-canvas-left .mfp-close { display: none !important; } /* dùng nút đóng trong đầu drawer */
.ankhang-layout-v2 #main-menu {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	font-family: var(--ak-font);
	color: var(--ak-ink, #0f172a);
}

/* Đầu drawer */
.ak-mnav__head {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 12px 18px;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ak-mnav__logo { display: inline-flex; align-items: center; }
.ak-mnav__logo img { display: block; height: 40px; width: auto; max-width: 200px; object-fit: contain; }
/* ẩn nút liên hệ nổi (plugin) khi drawer mở — drawer đã có thanh Gọi/Zalo */
.has-off-canvas #button-contact-vr { display: none !important; }
.ak-mnav__logo strong { font-size: 17px; font-weight: 800; color: var(--ak-navy, #16206b); }
.ak-mnav__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ak-soft, #f5f7fb);
	color: var(--ak-ink, #0f172a);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.ak-mnav__close:hover,
.ak-mnav__close:focus-visible { background: #e9edf6; transform: rotate(90deg); }

/* Nút mở tìm kiếm v2 */
.ak-mnav__search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: calc(100% - 32px);
	min-height: 46px;
	margin: 2px 16px 6px;
	padding: 0 14px;
	border: 1px solid var(--ak-line, #e5e8f0);
	border-radius: 14px;
	background: var(--ak-soft, #f5f7fb);
	color: var(--ak-muted, #64748b);
	font: 500 14.5px/1.2 var(--ak-font);
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}
.ak-mnav__search svg { flex: 0 0 auto; color: var(--ak-primary, #1c22cc); }
.ak-mnav__search:hover { border-color: var(--ak-primary, #1c22cc); }

/* Danh sách menu */
.ankhang-layout-v2 #main-menu .sidebar-menu { flex: 1 0 auto; padding: 6px 0 8px; }
.ankhang-layout-v2 #main-menu .nav-sidebar { padding: 0 10px; }
.ankhang-layout-v2 #main-menu .nav-sidebar.nav-vertical > li { position: relative; border: 0; margin: 2px 0; border-radius: 14px; background: none; }
.ankhang-layout-v2 #main-menu .nav-sidebar.nav-vertical > li.menu-item:hover { background: none; }
.ankhang-layout-v2 #main-menu .nav-sidebar > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	padding: 8px 52px 8px 10px !important;
	border-radius: 14px;
	color: var(--ak-ink, #0f172a);
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.ankhang-layout-v2 #main-menu .nav-sidebar > li > a:hover,
.ankhang-layout-v2 #main-menu .nav-sidebar > li.active > a { background: var(--ak-soft, #f5f7fb); }
/* icon từng mục (mask SVG theo đường dẫn) */
.ankhang-layout-v2 #main-menu .nav-sidebar > li > a::before {
	content: "";
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--ak-soft, #f5f7fb) var(--ak-mi, none) center / 18px 18px no-repeat;
	box-shadow: inset 0 0 0 1px var(--ak-line, #e5e8f0);
}
#main-menu .nav-sidebar > li { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li.menu-item-home { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li:has(> a[href*="/gioi-thieu/"]) { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li:has(> a[href*="/cua-thep-van-go/"]) { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0182f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Crect x='8' y='6' width='8' height='5' rx='.5'/%3E%3Crect x='8' y='13' width='8' height='5' rx='.5'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li:has(> a[href*="/cua-go-nhua/"]) { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17M3 21h18'/%3E%3Ccircle cx='14.5' cy='12.5' r='1'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li:has(> a[href*="/tin-tuc/"]) { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2zM17 9h3v10a2 2 0 0 1-2 2M8 9h5M8 13h5M8 17h3'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li:has(> a[href*="/du-an/"]) { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E"); }
#main-menu .nav-sidebar > li:has(> a[href*="/lien-he/"]) { --ak-mi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316206b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
/* mục đang xem */
.ankhang-layout-v2 #main-menu .nav-sidebar > li.current-menu-item > a,
.ankhang-layout-v2 #main-menu .nav-sidebar > li.current-menu-ancestor > a,
.ankhang-layout-v2 #main-menu .nav-sidebar > li.current-menu-parent > a {
	background: rgba(28, 34, 204, 0.07);
	color: var(--ak-primary, #1c22cc);
}
.ankhang-layout-v2 #main-menu .nav-sidebar > li.current-menu-item > a::after,
.ankhang-layout-v2 #main-menu .nav-sidebar > li.current-menu-ancestor > a::after,
.ankhang-layout-v2 #main-menu .nav-sidebar > li.current-menu-parent > a::after {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 3px;
	border-radius: 3px;
	background: var(--ak-red, #c0182f);
}
/* nút mở mục con (Flatsome chèn button.toggle) */
.ankhang-layout-v2 #main-menu .nav-sidebar > li > .toggle {
	position: absolute;
	top: 7px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: 0;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ak-line, #e5e8f0) !important;
	color: var(--ak-ink, #0f172a);
	opacity: 1;
}
.ankhang-layout-v2 #main-menu .nav-sidebar > li > .toggle i { font-size: 18px; }
.ankhang-layout-v2 #main-menu .nav-sidebar > li.active > .toggle { background: var(--ak-navy, #16206b); color: #fff; box-shadow: none !important; }
/* mục con */
.ankhang-layout-v2 #main-menu .nav-sidebar .sub-menu {
	margin: 2px 0 8px 27px;
	padding: 4px 0 4px 14px;
	border-left: 2px solid var(--ak-line, #e5e8f0);
}
.ankhang-layout-v2 #main-menu .nav-sidebar .sub-menu > li { margin: 0; border: 0; }
.ankhang-layout-v2 #main-menu .nav-sidebar .sub-menu a {
	display: block;
	padding: 10px 12px !important;
	border-radius: 10px;
	color: var(--ak-text, #334155);
	font-size: 14.5px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}
.ankhang-layout-v2 #main-menu .nav-sidebar .sub-menu a:hover { background: var(--ak-soft, #f5f7fb); color: var(--ak-primary, #1c22cc); }
.ankhang-layout-v2 #main-menu .nav-sidebar .sub-menu .current-menu-item > a { color: var(--ak-primary, #1c22cc); font-weight: 700; background: rgba(28, 34, 204, 0.06); }

/* Khối tư vấn + thông tin */
.ak-mnav__info { margin: 14px 16px 6px; }
.ak-mnav__eyebrow {
	margin: 0 0 8px 2px;
	color: var(--ak-muted, #64748b);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ak-mnav__quote {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	border-radius: 16px;
	background: radial-gradient(240px 140px at 90% 0%, #2b35b4 0%, var(--ak-navy, #16206b) 70%);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(22, 32, 107, 0.25);
}
.ak-mnav__quote span { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ak-mnav__quote strong { font-size: 15.5px; font-weight: 800; color: #fff !important; }
.ak-mnav__call span, .ak-mnav__call svg { color: #fff !important; }
.ak-mnav__zalo span, .ak-mnav__zalo svg { color: #0068ff !important; }
.ak-mnav__quote small { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.78); }
.ak-mnav__quote svg { flex: 0 0 auto; }
.ak-mnav__meta { margin: 14px 0 0; padding: 0; list-style: none; }
.ak-mnav__meta li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 10px;
	padding: 0 2px;
	color: var(--ak-text, #334155);
	font-size: 13.5px;
	line-height: 1.45;
}
.ak-mnav__meta svg { flex: 0 0 auto; margin-top: 2px; color: var(--ak-primary, #1c22cc); }
.ak-mnav__meta a { color: var(--ak-text, #334155); font-weight: 600; }
.ak-mnav__meta b { color: var(--ak-ink, #0f172a); }

/* Thanh Gọi / Zalo dính đáy drawer */
.ak-mnav__bar {
	position: sticky;
	bottom: 0;
	z-index: 3;
	display: flex;
	gap: 10px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 -1px 0 var(--ak-line, #e5e8f0);
}
.ak-mnav__call,
.ak-mnav__zalo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.ak-mnav__call { flex: 1; background: var(--ak-red, #c0182f); color: #fff !important; box-shadow: 0 8px 18px rgba(192, 24, 47, 0.3); }
.ak-mnav__zalo { padding: 0 16px; background: rgba(0, 104, 255, 0.08); color: #0068ff !important; box-shadow: inset 0 0 0 1px rgba(0, 104, 255, 0.25); }
@media (prefers-reduced-motion: reduce) {
	.ankhang-layout-v2 .off-canvas-left .mfp-content { transition: none; }
}

/* ======================= FOOTER ======================= */
.ankhang-layout-v2 #footer { background: transparent; }
.ak-footer {
	position: relative;
	color: rgba(255, 255, 255, 0.78);
	background:
		radial-gradient(900px 320px at 100% 0%, rgba(80, 96, 255, 0.28), transparent 60%),
		radial-gradient(700px 300px at 0% 100%, rgba(192, 24, 47, 0.18), transparent 60%),
		#0d1450;
}
.ak-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s ease; }
.ak-footer a:hover { color: #fff; }
.ak-footer p, .ak-footer li, .ak-footer span { color: inherit; }
.ak-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
	gap: 40px;
	padding-top: 60px;
	padding-bottom: 48px;
}
.ak-footer__logo { display: inline-block; margin-bottom: 14px; }
.ak-footer__logo img { width: 112px; height: auto; }
.ak-footer__about { margin: 0 0 20px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.72) !important; }
.ak-footer__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-fbtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	color: #fff !important;
	white-space: nowrap;
}
.ak-fbtn span { color: #fff; }
.ak-fbtn--call { background: var(--ak-red, #c0182f); }
.ak-fbtn--call:hover { background: #a8142a; }
.ak-fbtn--zalo { background: #0068ff; }
.ak-fbtn--zalo:hover { background: #0056d6; }
.ak-fbtn--fb { background: rgba(255, 255, 255, 0.12); }
.ak-fbtn--fb:hover { background: rgba(255, 255, 255, 0.2); }

.ak-footer__title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 12px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #fff !important;
}
.ak-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--ak-red, #c0182f);
}
.ak-footer__col ul { margin: 0; padding: 0; list-style: none; }
.ak-footer__col li { margin: 0 0 10px; padding: 0; font-size: 14.5px; line-height: 1.5; list-style: none; }
.ak-footer__col li a { display: inline-block; }
.ak-footer__col:not(.ak-footer__contact) li a:hover { transform: translateX(2px); }
.ak-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.ak-footer__contact svg { flex: 0 0 17px; margin-top: 2px; color: #ff8fa0; }

.ak-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ak-footer__bottom .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.ak-footer__bottom p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.6) !important; }
.ak-footer__legal strong { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.ak-footer__bottom p span { margin: 0 8px; opacity: 0.5; }
.ak-footer__bottom a { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 1100px) {
	.ak-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.ak-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 24px; align-items: start; }
	.ak-footer__brand .ak-footer__logo { grid-row: span 2; }
}
@media (max-width: 849px) {
	.ak-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 44px; padding-bottom: 32px; }
	.ak-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 549px) {
	.ak-footer__brand { display: block; }
	.ak-footer__main { grid-template-columns: 1fr 1fr; }
	.ak-footer__col li { font-size: 14px; }
	.ak-footer__bottom .container { flex-direction: column; align-items: flex-start; padding-left: 86px; padding-bottom: 28px; }
}

/* ======================= TRANG VĂN BẢN (chính sách) ======================= */
.ak-pagehero {
	padding: 34px 0 36px;
	border-bottom: 1px solid var(--ak-line, #e5e8f0);
	background:
		radial-gradient(800px 260px at 90% 0%, rgba(28, 34, 204, 0.07), transparent 60%),
		linear-gradient(180deg, #f4f6fd 0%, #fff 100%);
}
.ak-pagehero__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ak-muted, #64748b); }
.ak-pagehero__crumbs a, .ak-pagehero__crumbs span { color: var(--ak-muted, #64748b); }
.ak-pagehero__crumbs a:hover { color: var(--ak-primary, #1c22cc); }
.ak-pagehero__title {
	margin: 12px 0 8px;
	font-size: clamp(1.8rem, 3.6vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ak-ink, #0f172a);
}
.ak-pagehero__meta { margin: 0; font-size: 14.5px; color: var(--ak-muted, #64748b); }
.ak-legal-page #content,
.ak-legal-page .page-wrapper { padding-top: 32px; }
.ak-legal-page .page-wrapper .entry-content,
.ak-legal-page #content .entry-content { max-width: 860px; font-size: 16.5px; line-height: 1.8; color: var(--ak-text, #334155); }
.ak-legal-page .entry-content h2 {
	position: relative;
	margin: 2em 0 0.7em;
	padding-left: 14px;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ak-ink, #0f172a);
}
.ak-legal-page .entry-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	bottom: 0.2em;
	width: 4px;
	border-radius: 4px;
	background: var(--ak-red, #c0182f);
}
.ak-legal-page .entry-content h3 { margin: 1.5em 0 0.5em; font-size: 1.1rem; font-weight: 700; color: var(--ak-ink, #0f172a); }
.ak-legal-page .entry-content table { border: 1px solid var(--ak-line, #e5e8f0); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.ak-legal-page .entry-content td { padding: 11px 16px; border-top: 1px solid var(--ak-line, #e5e8f0); }
.ak-legal-page .entry-content tr:first-child td { border-top: 0; }
.ak-legal-page .entry-content td:first-child { width: 36%; background: var(--ak-soft, #f5f7fb); font-weight: 600; color: var(--ak-ink, #0f172a); }
.ak-legal-page .entry-content a { color: var(--ak-primary, #1c22cc); text-decoration: underline; text-underline-offset: 3px; }

/* ======================= TIÊU ĐỀ H1 / H2 / H3 (màu thương hiệu) ======================= */
/* H1 trên nền sáng: chữ chuyển màu navy → xanh + vạch nhấn đỏ→xanh */
body.ankhang-layout-v2 .akv2-hero__title,
body.ankhang-layout-v2 .aks-summary__title,
body.ankhang-layout-v2 .ak-pagehero__title {
	position: relative;
	padding-bottom: 18px;
	color: var(--ak-navy, #16206b) !important;
	background: linear-gradient(100deg, #101a5e 0%, #1c22cc 55%, #3b47e6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
body.ankhang-layout-v2 .akv2-hero__title::after,
body.ankhang-layout-v2 .aks-summary__title::after,
body.ankhang-layout-v2 .ak-pagehero__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 4px;
	width: 72px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--ak-red, #c0182f), #ff5a6e 45%, var(--ak-primary, #1c22cc));
	-webkit-text-fill-color: initial;
}

/* H1 trên banner tối: trắng ánh xanh + vạch nhấn */
body.ankhang-layout-v2 .akv2-banner__title,
body.ankhang-layout-v2 .aks-banner__title {
	position: relative;
	padding-bottom: 16px;
	color: #fff !important;
	background: linear-gradient(100deg, #ffffff 0%, #ffffff 45%, #c7d0ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
body.ankhang-layout-v2 .akv2-banner__title::after,
body.ankhang-layout-v2 .aks-banner__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 64px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, #ff5a6e, var(--ak-red, #c0182f));
}

/* H2: navy + vạch dọc chuyển màu đỏ → xanh */
body.ankhang-layout-v2 .akv2-prose h2,
body.ankhang-layout-v2 .aks-section__title,
body.ankhang-layout-v2 .akv2-section-title,
body.ankhang-layout-v2.ak-legal-page .entry-content h2 {
	color: var(--ak-navy, #16206b) !important;
}
body.ankhang-layout-v2 .akv2-prose h2::before,
body.ankhang-layout-v2 .aks-section__title::before,
body.ankhang-layout-v2 .akv2-section-title::before,
body.ankhang-layout-v2.ak-legal-page .entry-content h2::before {
	width: 5px;
	background: linear-gradient(180deg, var(--ak-red, #c0182f) 0%, #ff5a6e 40%, var(--ak-primary, #1c22cc) 100%);
}
/* H2 trong nội dung bài/sản phẩm: thêm đường kẻ mờ phía dưới để tách mục */
body.ankhang-layout-v2 .akv2-prose h2 {
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(22, 32, 107, 0.08);
}
body.ankhang-layout-v2 .akv2-prose h2::before { bottom: calc(0.22em + 10px); }

/* H3: xanh đậm, có chấm nhấn đỏ */
body.ankhang-layout-v2 .akv2-prose h3,
body.ankhang-layout-v2.ak-legal-page .entry-content h3 {
	position: relative;
	padding-left: 16px;
	color: #1a2299 !important;
}
body.ankhang-layout-v2 .akv2-prose h3::before,
body.ankhang-layout-v2.ak-legal-page .entry-content h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ak-red, #c0182f);
	box-shadow: 0 0 0 3px rgba(192, 24, 47, 0.15);
}

/* Tiêu đề cột footer + khối CTA giữ nguyên màu trắng */
body.ankhang-layout-v2 .akv2-cta__title { -webkit-text-fill-color: initial; }

/* Nút Zalo / gọi nổi (plugin button-contact-vr): mobile thu nhỏ để không che nội dung, nút video; ẩn khi mở tìm kiếm */
@media (max-width: 549px) {
	#button-contact-vr { transform: scale(0.7); transform-origin: 0 100%; }
}
/* Tablet, laptop nhỏ: nhỏ hơn và sát góc để không che thẻ bên trái */
@media (min-width: 550px) and (max-width: 1199px) {
	#button-contact-vr { transform: scale(0.6); transform-origin: 0 100%; left: 0 !important; bottom: 4px !important; }
}
html.ak-search-open #button-contact-vr { display: none !important; }

/* Nút lên đầu trang */
.ankhang-layout-v2 #top-link {
	border-color: var(--ak-line, #e5e8f0) !important;
	background: #fff !important;
	color: var(--ak-navy, #16206b) !important;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

/* Nút viền "nut-chi-tiet" (CSS tùy biến cũ ghi nhầm "##0a2d9a" → nền không đổi khi hover, chữ trắng trên nền trắng) */
.button.nut-chi-tiet:hover,
.button.nut-chi-tiet:focus-visible { background-color: #0a2d9a !important; border-color: #0a2d9a !important; }
.button.nut-chi-tiet:hover span,
.button.nut-chi-tiet:focus-visible span { color: #fff !important; }

/* Chặn tràn ngang (cột có hiệu ứng fadeInLeft/Right bị dịch ra ngoài màn hình trước khi chạy animation) */
#wrapper { overflow-x: clip; }
