/*
Theme Name:   Astra – Vạn Thuận Phát
Description:  Child theme của Astra cho website Công ty TNHH CN Vạn Thuận Phát.
Template:     astra
Version:      1.0.0
Text Domain:  astra-vanthuanphat
*/

:root {
	--vtp-navy: #0f2a44;
	--vtp-navy-2: #183b5c;
	--vtp-orange: #f26b1d;
	--vtp-orange-dark: #d65a10;
	--vtp-bg: #f4f6f9;
	--vtp-text: #1f2933;
	--vtp-muted: #5f6b7a;
	--vtp-radius: 10px;
	--vtp-shadow: 0 6px 24px rgba(15, 42, 68, .08);
}

body,
button,
input,
select,
textarea {
	font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--vtp-text);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Be Vietnam Pro", system-ui, sans-serif;
	color: var(--vtp-navy);
	font-weight: 700;
}

a { color: var(--vtp-orange); }
a:hover { color: var(--vtp-orange-dark); }

/* ---------- Nút chung ---------- */
.vtp-btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, color .2s, transform .2s;
}
.vtp-btn:hover { transform: translateY(-2px); }
.vtp-btn--primary { background: var(--vtp-orange); color: #fff; }
.vtp-btn--primary:hover { background: var(--vtp-orange-dark); color: #fff; }
.vtp-btn--ghost { border: 2px solid #fff; color: #fff; }
.vtp-btn--ghost:hover { background: #fff; color: var(--vtp-navy); }

.vtp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vtp-section { padding: 72px 0; }
.vtp-section--alt { background: var(--vtp-bg); }
.vtp-section__head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.vtp-eyebrow {
	display: inline-block;
	color: var(--vtp-orange);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.vtp-section__head h2 { font-size: 34px; margin: 0 0 12px; }
.vtp-section__head p { color: var(--vtp-muted); margin: 0; }

/* ---------- Hero ---------- */
.vtp-hero {
	position: relative;
	background: linear-gradient(120deg, var(--vtp-navy) 0%, var(--vtp-navy-2) 100%);
	color: #fff;
	padding: 110px 0 100px;
	overflow: hidden;
}
.vtp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
}
.vtp-hero.has-image {
	background-size: cover;
	background-position: center;
}
.vtp-hero.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15,42,68,.92) 0%, rgba(15,42,68,.6) 100%);
}
.vtp-hero .vtp-container { position: relative; z-index: 1; }
.vtp-hero__tag {
	display: inline-block;
	background: rgba(242,107,29,.15);
	color: #ffb27f;
	border: 1px solid rgba(242,107,29,.4);
	padding: 6px 14px;
	border-radius: 99px;
	font-size: 14px;
	margin-bottom: 20px;
}
.vtp-hero h1 {
	color: #fff;
	font-size: 48px;
	line-height: 1.2;
	max-width: 760px;
	margin: 0 0 18px;
}
.vtp-hero p { font-size: 18px; max-width: 620px; opacity: .9; margin: 0 0 32px; }
.vtp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Thanh số liệu ---------- */
.vtp-stats {
	background: #fff;
	box-shadow: var(--vtp-shadow);
	border-radius: var(--vtp-radius);
	margin: -44px auto 0;
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.vtp-stats__item { padding: 26px 20px; text-align: center; border-right: 1px solid #e6eaf0; }
.vtp-stats__item:last-child { border-right: 0; }
.vtp-stats__item strong { display: block; font-size: 22px; color: var(--vtp-navy); }
.vtp-stats__item span { color: var(--vtp-muted); font-size: 14px; }

/* ---------- Thẻ danh mục (minh hoạ nét mảnh, nền sáng) ---------- */
.vtp-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vtp-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: var(--vtp-text);
	transition: transform .4s, box-shadow .4s, border-color .4s;
}
.vtp-cat::before { /* vạch cam trên cùng */
	content: "";
	position: absolute; left: 0; top: 0; z-index: 2;
	height: 3px; width: 100%;
	background: var(--vtp-orange);
	transform: scaleX(.15);
	transform-origin: left;
	transition: transform .6s cubic-bezier(.7, 0, .2, 1);
}
.vtp-cat:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(15, 42, 68, .13); border-color: #d3dde8; color: var(--vtp-text); }
.vtp-cat:hover::before { transform: scaleX(1); }

.vtp-cat__art {
	position: relative;
	aspect-ratio: 400 / 260;
	background:
		linear-gradient(rgba(93, 127, 159, .07) 1px, transparent 1px) 0 0 / 20px 20px,
		linear-gradient(90deg, rgba(93, 127, 159, .07) 1px, transparent 1px) 0 0 / 20px 20px,
		linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
	border-bottom: 1px solid #e9eef4;
	overflow: hidden;
}
.vtp-cat__art svg {
	position: absolute; inset: 8% 6% 4%;
	width: 88%; height: 88%;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.vtp-cat:hover .vtp-cat__art svg { transform: translateY(-4px) scale(1.04); }
.vtp-cat__art .vc-a { transition: stroke-width .3s; }
.vtp-cat:hover .vtp-cat__art .vc-a { stroke-width: 2.4; }
.vtp-cat__no {
	position: absolute; left: 18px; top: 14px;
	font: 600 12px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
	letter-spacing: .1em;
	color: var(--vtp-navy);
	background: #fff;
	border: 1px solid #e3e8ef;
	border-left: 2px solid var(--vtp-orange);
	padding: 6px 8px;
}
.vtp-cat__content { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.vtp-cat h3 { color: var(--vtp-navy); font-size: 21px; margin: 0 0 10px; }
.vtp-cat p { color: var(--vtp-muted); margin: 0 0 18px; font-size: 15px; line-height: 1.6; }
.vtp-cat__more {
	margin-top: auto;
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 14px;
	color: var(--vtp-orange);
	transition: gap .3s;
}
.vtp-cat:hover .vtp-cat__more { gap: 12px; }

/* ---------- Lưới sản phẩm (phong cách kỹ thuật) ---------- */
.vtp-products { display: grid; grid-template-columns: repeat(var(--vtp-cols, 3), 1fr); gap: 28px; }
.vtp-product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: var(--vtp-text);
	transition: border-color .35s, box-shadow .35s, transform .35s;
}
.vtp-product::after { /* vạch cam chạy dọc đáy khi hover */
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	height: 3px; width: 100%;
	background: var(--vtp-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.vtp-product:hover { border-color: #c6d2df; box-shadow: 0 18px 40px rgba(15, 42, 68, .14); transform: translateY(-6px); color: var(--vtp-text); }
.vtp-product:hover::after { transform: scaleX(1); }

.vtp-product__img { position: relative; aspect-ratio: 4 / 3; background: #0f2a44; overflow: hidden; }
.vtp-product__img img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s;
}
.vtp-product__img--empty { display: flex; align-items: center; justify-content: center; color: #8fb1d3; font-size: 13px; }
.vtp-product:hover .vtp-product__img img { transform: scale(1.08); filter: grayscale(.55) contrast(1.1) brightness(.75); }

/* lưới bản vẽ phủ lên ảnh */
.vtp-product__grid {
	position: absolute; inset: 0;
	background:
		linear-gradient(rgba(143, 177, 211, .22) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(143, 177, 211, .22) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(180deg, rgba(15, 42, 68, .1), rgba(15, 42, 68, .55));
	opacity: 0;
	transition: opacity .45s;
}
.vtp-product:hover .vtp-product__grid { opacity: 1; }

/* tia quét laser */
.vtp-product__scan {
	position: absolute; left: 0; right: 0; top: -10%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #ff8a3d 20%, #fff2e6 50%, #ff8a3d 80%, transparent);
	box-shadow: 0 0 12px 2px rgba(242, 107, 29, .75), 0 0 30px 6px rgba(242, 107, 29, .3);
	opacity: 0;
}
.vtp-product:hover .vtp-product__scan { animation: vtp-scan 1.6s cubic-bezier(.45, 0, .55, 1) .1s infinite; }
@keyframes vtp-scan {
	0% { top: -4%; opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { top: 102%; opacity: 0; }
}

/* 4 góc ngắm định vị kiểu CNC */
.vtp-product__corners { position: absolute; inset: 14px; pointer-events: none; }
.vtp-product__corners i {
	position: absolute; width: 22px; height: 22px;
	border: 0 solid #fff;
	opacity: 0;
	transition: all .45s cubic-bezier(.2, .7, .2, 1);
}
.vtp-product__corners i:nth-child(1) { left: -10px; top: -10px; border-left-width: 2px; border-top-width: 2px; }
.vtp-product__corners i:nth-child(2) { right: -10px; top: -10px; border-right-width: 2px; border-top-width: 2px; }
.vtp-product__corners i:nth-child(3) { left: -10px; bottom: -10px; border-left-width: 2px; border-bottom-width: 2px; }
.vtp-product__corners i:nth-child(4) { right: -10px; bottom: -10px; border-right-width: 2px; border-bottom-width: 2px; }
.vtp-product:hover .vtp-product__corners i { opacity: 1; }
.vtp-product:hover .vtp-product__corners i:nth-child(1) { left: 0; top: 0; }
.vtp-product:hover .vtp-product__corners i:nth-child(2) { right: 0; top: 0; }
.vtp-product:hover .vtp-product__corners i:nth-child(3) { left: 0; bottom: 0; }
.vtp-product:hover .vtp-product__corners i:nth-child(4) { right: 0; bottom: 0; }

.vtp-product__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.vtp-product__cat {
	font: 600 14px/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
	color: var(--vtp-orange);
	text-transform: uppercase;
	letter-spacing: .06em;
}
.vtp-product__title {
	font-family: var(--vtp-font-ind) !important;
	font-size: 23px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	margin: 8px 0 16px;
	color: var(--vtp-navy);
}
.vtp-product__more {
	margin-top: auto;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 600;
	color: var(--vtp-navy);
	transition: color .3s, gap .3s;
}
.vtp-product__more svg { transition: transform .3s; }
.vtp-product:hover .vtp-product__more { color: var(--vtp-orange); gap: 12px; }
.vtp-empty { text-align: center; color: var(--vtp-muted); }

@media (prefers-reduced-motion: reduce) {
	.vtp-product:hover .vtp-product__scan { animation: none; }
	.vtp-product, .vtp-product__img img, .vtp-product__corners i { transition: none; }
}

/* ---------- Năng lực ---------- */
.vtp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vtp-why__list { list-style: none; margin: 0; padding: 0; }
.vtp-why__list li { display: flex; gap: 14px; margin-bottom: 22px; }
.vtp-why__list li::before {
	content: "✓";
	flex: 0 0 28px; height: 28px;
	border-radius: 50%;
	background: var(--vtp-orange);
	color: #fff; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.vtp-why__list strong { display: block; color: var(--vtp-navy); }
.vtp-why__list span { color: var(--vtp-muted); }
.vtp-why__media {
	border-radius: var(--vtp-radius);
	min-height: 360px;
	background: linear-gradient(135deg, var(--vtp-navy), var(--vtp-navy-2));
	background-size: cover; background-position: center;
}

/* ---------- CTA ---------- */
/* Dải kêu gọi báo giá: nền sáng kiểu giấy kỹ thuật, dịu mắt */
.vtp-cta {
	padding: 64px 0;
	background:
		linear-gradient(rgba(93, 127, 159, .08) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(93, 127, 159, .08) 1px, transparent 1px) 0 0 / 24px 24px,
		#eef3f8;
	border-top: 1px solid #dfe6ee;
}
.vtp-cta .vtp-container {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	position: relative;
	background: #fff;
	border: 1px solid #dfe6ee;
	border-left: 4px solid var(--vtp-orange);
	border-radius: 4px;
	padding: 30px 36px;
	box-shadow: 0 14px 36px rgba(15, 42, 68, .08);
}
.vtp-cta h2 { color: var(--vtp-navy); margin: 0 0 6px; font-size: 28px; }
.vtp-cta p { margin: 0; color: var(--vtp-muted); }
.vtp-cta .vtp-btn--primary { background: var(--vtp-orange); color: #fff; }
.vtp-cta .vtp-btn--primary:hover { background: var(--vtp-orange-dark); color: #fff; }
.vtp-cta .vtp-btn--light { background: #0068ff; color: #fff; } /* xanh Zalo */
.vtp-cta .vtp-btn--light:hover { background: #0052cc; color: #fff; }
@media (max-width: 600px) { .vtp-cta .vtp-container { padding: 24px 22px; margin: 0 16px; } }

/* ---------- Hộp liên hệ (shortcode) ---------- */
.vtp-contact { display: grid; gap: 14px; }
.vtp-contact__item {
	display: flex; align-items: center; gap: 14px;
	background: var(--vtp-bg); border-radius: var(--vtp-radius);
	padding: 16px 18px; text-decoration: none; color: var(--vtp-text);
}
.vtp-contact__item strong { display: block; color: var(--vtp-navy); font-size: 18px; }
.vtp-contact__item span { color: var(--vtp-muted); font-size: 14px; }

/* ---------- Trang chi tiết sản phẩm ---------- */
.vtp-single-cta {
	margin-top: 32px; padding: 24px;
	background: var(--vtp-bg); border-left: 4px solid var(--vtp-orange);
	border-radius: var(--vtp-radius);
}
.vtp-single-cta h3 { margin-top: 0; }
.vtp-single-cta .vtp-btn { margin: 6px 8px 0 0; }

/* ---------- Nút gọi / Zalo nổi ---------- */
.vtp-float {
	position: fixed; right: 20px; bottom: 24px; z-index: 9999;
	display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.vtp-fab { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.vtp-fab__btn {
	position: relative;
	width: 58px; height: 58px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .28), inset 0 -3px 0 rgba(0, 0, 0, .15);
	transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.vtp-fab--zalo .vtp-fab__btn { background: linear-gradient(145deg, #2f86ff, #0068ff); }
.vtp-fab--call .vtp-fab__btn { background: linear-gradient(145deg, #ff8a3d, #e5531a); }
.vtp-fab:hover .vtp-fab__btn { transform: scale(1.06); }

/* sóng lan tỏa */
.vtp-fab__wave {
	position: absolute; inset: 0;
	border-radius: 50%;
	border: 2px solid currentColor;
	opacity: 0;
	animation: vtp-wave 3.6s ease-out infinite;
	pointer-events: none;
}
.vtp-fab__wave + .vtp-fab__wave { display: none; } /* chỉ giữ 1 vòng sóng */
.vtp-fab--zalo .vtp-fab__wave { color: #0068ff; background: rgba(0, 104, 255, .12); }
.vtp-fab--call .vtp-fab__wave { color: #f26b1d; background: rgba(242, 107, 29, .12); }
@keyframes vtp-wave {
	0% { transform: scale(1); opacity: .35; }
	60%, 100% { transform: scale(1.5); opacity: 0; }
}

.vtp-fab__icon { position: relative; z-index: 1; display: flex; }
.vtp-fab__icon--zalo {
	font: 800 15px/1 "Be Vietnam Pro", Arial, sans-serif;
	letter-spacing: -.01em;
}
.vtp-fab__icon--call { animation: vtp-shake 5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes vtp-shake {
	0%, 16%, 100% { transform: rotate(0); }
	2%, 6%, 10% { transform: rotate(-10deg); }
	4%, 8%, 12% { transform: rotate(10deg); }
}

/* nhãn bung ra khi rê chuột */
.vtp-fab__label {
	font: 700 16px/1 var(--vtp-font-ind);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
	padding: 10px 14px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(12px);
	pointer-events: none;
	transition: opacity .25s, transform .25s;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.vtp-fab--zalo .vtp-fab__label { background: #0068ff; }
.vtp-fab--call .vtp-fab__label { background: var(--vtp-navy); border-left: 3px solid var(--vtp-orange); }
.vtp-fab:hover .vtp-fab__label, .vtp-fab:focus-visible .vtp-fab__label { opacity: 1; transform: none; }

@media (max-width: 600px) {
	.vtp-float { right: 14px; bottom: 16px; gap: 14px; }
	.vtp-fab__btn { width: 52px; height: 52px; }
	.vtp-fab__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.vtp-fab__wave, .vtp-fab__icon--call, .vtp-fab__icon--zalo { animation: none; }
}


/* ---------- Trang chủ: bỏ khung flex của Astra ---------- */
body.vtp-home-page { overflow-x: hidden; }
.vtp-home-page #content > .ast-container,
.vtp-home-page .site-content > .ast-container {
	display: block !important;
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
}
.vtp-home-page #primary,
.vtp-home-page .content-area {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
.vtp-home-page #secondary { display: none; }
.vtp-home { width: 100%; display: block; }
.vtp-home > section,
.vtp-home > div { width: 100%; }
.vtp-home > .vtp-container { max-width: 1200px; }

/* =========================================================
 * HEADER kiểu công nghiệp
 * ======================================================= */
:root { --vtp-font-ind: "Barlow Condensed", "Be Vietnam Pro", "Arial Narrow", sans-serif; }

/* nền header (desktop + mobile, cả header cũ lẫn header builder của Astra) */
#masthead .main-header-bar,
#masthead .ast-primary-header-bar,
#masthead .ast-mobile-header-wrap .ast-primary-header-bar,
#masthead .ast-above-header-bar,
.ast-theme-transparent-header #masthead .main-header-bar {
	background: #0f2a44 !important;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(180deg, #12304e 0%, #0d243b 100%) !important;
	background-size: 46px 100%, 100% 100% !important;
	border-bottom: 0 !important;
}
#masthead { position: relative; z-index: 99; box-shadow: 0 10px 30px rgba(5, 15, 26, .45); }
#masthead::after { /* dải cam + vạch kỹ thuật dưới header */
	content: "";
	position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
	background:
		repeating-linear-gradient(-45deg, rgba(15, 42, 68, .35) 0 6px, transparent 6px 12px),
		var(--vtp-orange);
	pointer-events: none;
}
#masthead .site-primary-header-wrap,
#masthead .main-header-bar .ast-container { min-height: 84px; }

/* menu cấp 1 */
#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .main-header-menu > .menu-item > a {
	font-family: var(--vtp-font-ind) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #dfe7ef !important;
	padding: 0 16px;
	white-space: nowrap;
	position: relative;
	transition: color .25s;
}
#masthead .main-header-menu > .menu-item > .menu-link::before {
	content: "";
	position: absolute; left: 16px; right: 16px; bottom: 22px;
	height: 3px;
	background: var(--vtp-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s cubic-bezier(.7, 0, .2, 1);
}
#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
#masthead .main-header-menu > .menu-item.current-menu-ancestor > .menu-link { color: #fff !important; }
#masthead .main-header-menu > .menu-item:hover > .menu-link::before,
#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link::before,
#masthead .main-header-menu > .menu-item.current-menu-ancestor > .menu-link::before { transform: scaleX(1); }
#masthead .main-header-menu .ast-icon svg,
#masthead .main-header-menu .dropdown-menu-toggle svg { fill: currentColor; }

/* menu con */
#masthead .main-header-menu .sub-menu {
	background: #0f2a44 !important;
	border: 0 !important;
	border-top: 3px solid var(--vtp-orange) !important;
	box-shadow: 0 18px 40px rgba(5, 15, 26, .45);
	width: 320px !important;
	min-width: 0 !important;
	padding: 6px 0;
}
#masthead .main-header-menu .sub-menu .menu-item { width: 100%; }
#masthead .main-header-menu .sub-menu .menu-link {
	white-space: normal !important;
	overflow-wrap: anywhere;
	line-height: 1.3 !important;
	width: 100%;
	box-sizing: border-box;
}
#masthead .main-header-menu .sub-menu .sub-menu { left: 100% !important; top: -6px; }
#masthead .main-header-menu .sub-menu .menu-link {
	font-family: var(--vtp-font-ind) !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	text-transform: none;
	letter-spacing: .02em;
	color: #d5e0ea !important;
	padding: 11px 20px !important;
	border: 0 !important;
	border-left: 3px solid transparent !important;
	transition: background .2s, color .2s, border-color .2s, padding .2s;
}
#masthead .main-header-menu .sub-menu .menu-item:hover > .menu-link,
#masthead .main-header-menu .sub-menu .current-menu-item > .menu-link {
	background: rgba(255, 255, 255, .06) !important;
	color: #fff !important;
	border-left-color: var(--vtp-orange) !important;
	padding-left: 24px !important;
}
#masthead .main-header-menu .sub-menu .sub-menu { border-top-width: 0 !important; border-left: 1px solid rgba(255, 255, 255, .08) !important; }

/* nút hotline: tấm thép vát góc */
#masthead .vtp-menu-hotline { display: flex; align-items: center; margin-left: 14px; }
#masthead .main-header-menu > .menu-item.vtp-menu-hotline > a.vtp-hotline {
	height: auto !important;
	min-height: 0 !important;
	line-height: 1 !important;
	align-self: center;
	white-space: nowrap;
}
#masthead .main-header-menu > .menu-item.vtp-menu-hotline > a.vtp-hotline,
.vtp-hotline {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	padding: 8px 20px 8px 10px !important;
	background: var(--vtp-orange);
	color: #fff !important;
	text-decoration: none;
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
	transition: background .25s, transform .25s;
	line-height: 1;
}
.vtp-hotline::before { display: none !important; }
.vtp-hotline:hover,
#masthead .main-header-menu > .menu-item.vtp-menu-hotline > a.vtp-hotline:hover { background: #ff7d33; color: #fff !important; transform: translateY(-1px); }
.vtp-hotline__icon {
	width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(15, 42, 68, .25);
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
	animation: vtp-ring 2.4s ease-in-out infinite;
}
@keyframes vtp-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
.vtp-hotline__text { display: flex; flex-direction: column; gap: 3px; }
.vtp-hotline__text small {
	font: 600 11px/1 var(--vtp-font-ind);
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .85;
}
.vtp-hotline__text strong { font: 700 21px/1 var(--vtp-font-ind); letter-spacing: .03em; }

/* nút mở menu trên điện thoại */
#masthead .menu-toggle,
#masthead .ast-mobile-menu-trigger-minimal { color: #fff !important; background: transparent !important; border-color: rgba(255, 255, 255, .3) !important; }
#masthead .menu-toggle svg, #masthead .ast-mobile-svg { fill: #fff !important; }

/* menu xổ xuống trên điện thoại */
.ast-mobile-header-content,
#masthead .ast-mobile-header-content .main-header-menu,
.ast-header-break-point .main-header-bar-navigation .main-header-menu {
	background: #0f2a44 !important;
}
.ast-mobile-header-content .menu-link,
.ast-header-break-point .main-header-menu .menu-link {
	font-family: var(--vtp-font-ind) !important;
	font-size: 17px !important;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #dfe7ef !important;
	border-color: rgba(255, 255, 255, .08) !important;
	background: transparent !important;
}
.ast-mobile-header-content .menu-link::before, .ast-header-break-point .main-header-menu .menu-link::before { display: none; }
.ast-mobile-header-content .sub-menu, .ast-header-break-point .main-header-menu .sub-menu { background: #0b2034 !important; border-top: 0 !important; }
.ast-mobile-header-content .vtp-menu-hotline,
.ast-header-break-point .vtp-menu-hotline { padding: 16px 20px; margin: 0; }
.ast-mobile-header-content .menu-toggle, .ast-header-break-point .ast-menu-toggle { color: #fff !important; }

@media (max-width: 1200px) {
	#masthead .main-header-menu > .menu-item > .menu-link { padding: 0 11px; font-size: 16px !important; }
	#masthead .main-header-menu > .menu-item > .menu-link::before { left: 11px; right: 11px; }
}

/* =========================================================
 * FOOTER kiểu công nghiệp (đồng bộ header)
 * ======================================================= */
#colophon { position: relative; background: #0d243b !important; border-top: 0 !important; }
.vtp-footer {
	position: relative;
	color: #b9c8d7;
	padding: 76px 0 48px;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(180deg, #12304e 0%, #0d243b 100%);
	background-size: 46px 100%, 100% 100%;
	overflow: hidden;
}
.vtp-footer::before { /* dải sọc cam mép trên, giống đáy header */
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background:
		repeating-linear-gradient(-45deg, rgba(15, 42, 68, .35) 0 6px, transparent 6px 12px),
		var(--vtp-orange);
}
.vtp-footer::after { /* bánh răng in chìm */
	content: "";
	position: absolute; right: -90px; bottom: -110px;
	width: 420px; height: 420px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%238fb1d3' stroke-width='.6'%3E%3Cpath d='M44.55 12.39 L46.07 3.16 L53.93 3.16 L55.45 12.39 A38 38 0 0 1 64.08 14.71 L70.01 7.47 L76.82 11.41 L73.53 20.16 A38 38 0 0 1 79.84 26.47 L88.59 23.18 L92.53 29.99 L85.29 35.92 A38 38 0 0 1 87.61 44.55 L96.84 46.07 L96.84 53.93 L87.61 55.45 A38 38 0 0 1 85.29 64.08 L92.53 70.01 L88.59 76.82 L79.84 73.53 A38 38 0 0 1 73.53 79.84 L76.82 88.59 L70.01 92.53 L64.08 85.29 A38 38 0 0 1 55.45 87.61 L53.93 96.84 L46.07 96.84 L44.55 87.61 A38 38 0 0 1 35.92 85.29 L29.99 92.53 L23.18 88.59 L26.47 79.84 A38 38 0 0 1 20.16 73.53 L11.41 76.82 L7.47 70.01 L14.71 64.08 A38 38 0 0 1 12.39 55.45 L3.16 53.93 L3.16 46.07 L12.39 44.55 A38 38 0 0 1 14.71 35.92 L7.47 29.99 L11.41 23.18 L20.16 26.47 A38 38 0 0 1 26.47 20.16 L23.18 11.41 L29.99 7.47 L35.92 14.71 A38 38 0 0 1 44.55 12.39Z'/%3E%3Ccircle cx='50' cy='50' r='26'/%3E%3Ccircle cx='50' cy='50' r='10'/%3E%3Cpath d='M50 14v72M14 50h72' stroke-dasharray='4 2 1 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .14;
	pointer-events: none;
}
.vtp-footer__grid {
	position: relative; z-index: 1;
	display: grid;
	grid-template-columns: 1.35fr .9fr .8fr 1.35fr;
	gap: 44px;
}
.vtp-footer__logo img { width: 260px; max-width: 100%; height: auto; display: block; margin-bottom: 20px; }
.vtp-footer__about p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.vtp-footer__slogan {
	display: inline-block;
	font: 600 15px/1 var(--vtp-font-ind);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	padding: 10px 14px;
	border-left: 3px solid var(--vtp-orange);
	background: rgba(255, 255, 255, .05);
}
.vtp-footer__title {
	position: relative;
	font: 700 19px/1.2 var(--vtp-font-ind) !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff !important;
	margin: 6px 0 24px !important;
	padding-bottom: 12px;
}
.vtp-footer__title::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 36px; height: 3px;
	background: var(--vtp-orange);
	box-shadow: 42px 0 0 -0px rgba(242, 107, 29, .35);
}
.vtp-footer__links { list-style: none; margin: 0; padding: 0; }
.vtp-footer__links li { margin: 0 0 12px; }
.vtp-footer__links a {
	position: relative;
	display: inline-block;
	color: #b9c8d7;
	text-decoration: none;
	font-size: 15px;
	padding-left: 16px;
	transition: color .25s, padding .25s;
}
.vtp-footer__links a::before {
	content: "";
	position: absolute; left: 0; top: 50%;
	width: 7px; height: 7px;
	border-top: 2px solid var(--vtp-orange);
	border-right: 2px solid var(--vtp-orange);
	transform: translateY(-50%) rotate(45deg);
	transition: left .25s;
}
.vtp-footer__links a:hover { color: #fff; padding-left: 20px; }
.vtp-footer__contact ul { list-style: none; margin: 0; padding: 0; }
.vtp-footer__contact li { display: flex; gap: 14px; margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.vtp-footer__contact li > svg {
	flex: 0 0 34px; width: 34px; height: 34px;
	padding: 8px; box-sizing: border-box;
	color: var(--vtp-orange);
	background: rgba(242, 107, 29, .1);
	border: 1px solid rgba(242, 107, 29, .3);
	clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.vtp-footer__contact small {
	display: block;
	font: 600 12px/1.4 var(--vtp-font-ind);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #7f9bb6;
	margin-bottom: 2px;
}
.vtp-footer__contact a { color: #fff; text-decoration: none; font-weight: 600; }
.vtp-footer__contact a:hover { color: var(--vtp-orange); }

/* thanh bản quyền của Astra */
#colophon .site-below-footer-wrap,
#colophon .ast-small-footer,
#colophon .site-primary-footer-wrap,
#colophon .ast-footer-overlay {
	background: #0a1d30 !important;
	border-top: 1px solid rgba(255, 255, 255, .07) !important;
}
#colophon .ast-footer-copyright,
#colophon .ast-footer-copyright p,
#colophon .ast-small-footer-section {
	font: 500 14px/1.6 var(--vtp-font-ind) !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #7f9bb6 !important;
}
#colophon .ast-footer-copyright a { color: #b9c8d7 !important; }

@media (max-width: 1024px) {
	.vtp-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
	.vtp-footer { padding: 60px 0 36px; }
	.vtp-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.vtp-footer::after { width: 300px; height: 300px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vtp-products { gap: 22px; }
}
@media (max-width: 860px) {
	.vtp-hero { padding: 80px 0 90px; }
	.vtp-hero h1 { font-size: 34px; }
	.vtp-cats, .vtp-why { grid-template-columns: 1fr; }
	.vtp-products { grid-template-columns: repeat(2, 1fr); }
	.vtp-stats { grid-template-columns: 1fr; margin-top: -30px; }
	.vtp-stats__item { border-right: 0; border-bottom: 1px solid #e6eaf0; }
	.vtp-stats__item:last-child { border-bottom: 0; }
	.vtp-section { padding: 56px 0; }
	.vtp-section__head h2 { font-size: 28px; }
}
@media (max-width: 520px) {
	.vtp-products { grid-template-columns: 1fr; }
}

/* ---------- Logo ---------- */
.site-branding .custom-logo-link img.custom-logo,
.ast-site-identity .custom-logo-link img {
	width: 280px;
	max-width: 280px;
	height: auto;
}
@media (max-width: 1200px) {
	.site-branding .custom-logo-link img.custom-logo,
	.ast-site-identity .custom-logo-link img { width: 240px; max-width: 240px; }
}
.custom-logo-link + .ast-site-title-wrap,
.ast-site-identity:has(.custom-logo-link) .ast-site-title-wrap { display: none; }
@media (max-width: 544px) {
	.site-branding .custom-logo-link img.custom-logo,
	.ast-site-identity .custom-logo-link img { width: 200px; max-width: 200px; }
}
