/* ========================================================
1. TOP BAR (SẮC NÉT, ĐỘ TƯƠNG PHẢN CAO)
======================================================== */

.header-top {
	background-color: #c91818 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	min-height: 38px !important;
}

.header-top .flex-row.container {
	min-height: 38px !important;
	align-items: center;
}

.header-top .topbar-left-info,
.header-top .topbar-right-info {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 13px;
	color: #ffffff;
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}

.header-top .topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	color: #ffffff;
	font-weight: 500;
}

.header-top .topbar-item span {
	color: #ffffff !important;
}

.header-top .topbar-img-icon {
	width: 15px;
	height: 15px;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

/* Số Hotline vàng sáng */
.header-top .hotline-link {
	color: #ffb800 !important;
	font-weight: 700 !important;
	font-size: 13px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.header-top .hotline-link:hover {
	opacity: 0.85;
}

/* Cam kết xanh lá */
.header-top .commitment-item span {
	color: #ffcf06 !important;
	font-weight: 600;
}

/* Email */
.header-top .email-link {
	color: #ffffff !important;
	font-weight: 500;
	text-decoration: none;
}

.header-top .email-link:hover {
	color: #ffb800 !important;
}


/* ========================================================
2. FIX MENU FLATSOME (BỎ IN HOA, CHỈNH FONT & MÀU CHUẨN MẪU)
======================================================== */
.header-main {
	min-height: 75px !important;
}

.header-main .flex-row {
	min-height: 75px !important;
	align-items: center;
}

/* Bỏ ép in hoa của Flatsome, dùng chữ hoa đầu từ như mẫu */
.header-main .header-nav > li > a,
.header-main .nav-uppercase > li > a {
	text-transform: uppercase !important;
	color: #1e293b !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	padding: 8px !important;
	letter-spacing: 0 !important;
	transition: color 0.2s ease;
}

.header-main .header-nav > li:hover > a,
.header-main .header-nav > li.active > a,
.header-main .header-nav > li.current-menu-item > a {
	color: #b31217 !important;
}

.header-actions {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-left: 10px;
}

.header-actions .btn-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border-radius: 8px; /* Bo góc mềm mại chuẩn mẫu */
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	box-sizing: border-box;
	transition: all 0.25s ease;
}

/* 1. NÚT DỰ TOÁN ONLINE */
.header-actions .btn-estimate {
	background-color: #fffdf5 !important;
	border: 1.5px solid #f6be3c !important;
	color: #1a2538 !important;
	box-shadow: 0 2px 5px rgba(246, 190, 60, 0.12);
}

.header-actions .btn-estimate:hover {
	background-color: #fef8e2 !important;
	border-color: #e5a71c !important;
	transform: translateY(-1px);
}

.header-actions .btn-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: block;
}

/* 2. NÚT BÁO GIÁ NHANH (ĐỎ TƯƠI SANG TRỌNG + SHADOW CHUẨN) */
.header-actions .btn-quote {
	background: linear-gradient(90deg, #d90429 0%, #a0000a 100%) !important;
	border: none !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(217, 4, 41, 0.35) !important;
}

.header-actions .btn-quote:hover {
	background: linear-gradient(90deg, #ef0b32 0%, #b8000c 100%) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 15px rgba(217, 4, 41, 0.45) !important;
}

.header-actions .btn-sparkle-icon {
	width: 16px;
	height: 16px;
	color: #ffc72c;
	display: block;
	flex-shrink: 0;
}

/* ==========================================================
TỐI ƯU GIAO DIỆN FOOTER - BỎ MÀU VÀNG, CHỮ ĐẬM RÕ NÉT
========================================================== */


/* 1. NỀN & TỔNG THỂ FOOTER */
.footer {
	background-color: var(--color-bg-light); 
	color: #333333; /* Đã sửa: Màu chữ tổng thể đậm hơn để dễ đọc */
	font-size: 15px;
	line-height: 1.7;
	border-top: 3px solid var(--color-main); 
	padding: 50px 0 30px 0 !important; 
}

/* 2. TIÊU ĐỀ CỘT (H3) */
.footer h3 {
	color: #111111; /* Đã sửa: Tiêu đề đen tuyền, sắc nét */
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 12px;
}

/* Tạo đường gạch chân dưới mỗi tiêu đề */
.footer h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 45px;
	height: 3px;
	background: var(--color-main); /* Đã sửa: Thay màu Vàng thành màu Đỏ chủ đạo */
	border-radius: 2px;
}

/* 3. CỘT 1: GIỚI THIỆU & MẠNG XÃ HỘI */
.footer .col.gioithieu strong {
	display: block;
	font-size: 17px;
	margin-bottom: 12px;
	color: var(--color-main) !important;
	text-transform: uppercase;
}

.footer .col.gioithieu em {
	color: #111111; /* Đã sửa: Bỏ màu vàng, chuyển thành đen đậm */
	font-weight: 600;
}

/* Cụm kết nối mạng xã hội */
.footer .col.gioithieu .social-item {
	margin-top: 25px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.footer .col.gioithieu .label-connect {
	font-weight: 700;
	color: #111111; /* Chữ "Kết nối:" đậm và rõ hơn */
}

.footer .col.gioithieu .social-icons {
	display: flex;
	gap: 12px;
}

/* Nút mạng xã hội */
.footer .col.gioithieu .icon-div {
	width: 36px;
	height: 36px;
	background: var(--color-white);
	border: 1px solid #d0d0d0; /* Viền icon đậm hơn chút */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	position: relative;
}

.footer .col.gioithieu .icon-div:hover {
	background: var(--bg-gradient-red);
	border-color: transparent;
	transform: translateY(-4px); 
	box-shadow: 0 4px 10px rgba(179, 18, 23, 0.3);
}

/* CSS thêm icon bằng pseudo-element (chữ F, Y, Z tạm thời) */
.footer .icon-facebook::before { content: "F"; font-weight: bold; font-family: sans-serif; color: #1877F2; }
.footer .icon-youtube::before { content: "Y"; font-weight: bold; font-family: sans-serif; color: #FF0000; }
.footer .icon-zalo::before { content: "Z"; font-weight: bold; font-family: sans-serif; color: #0068FF; }
.footer .icon-div:hover::before { color: var(--color-white); }


/* 4. CỘT 2 & 3: MENU DỊCH VỤ & THÔNG TIN */
.footer .ux-menu {
	padding: 0;
	margin: 0;
}

.footer .ux-menu-link {
	padding: 12px 0;
	border-bottom: 1px dashed rgba(0,0,0,0.15); /* Đường gạch ngang rõ hơn xíu */
}

.footer .ux-menu-link:last-child {
	border-bottom: none;
}

.footer .ux-menu-link__link {
	color: #444444; /* Đã sửa: Chữ menu xám đậm hơn */
	font-weight: 500; /* Làm chữ menu hơi đậm lên để sang hơn */
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
}

/* Thêm icon mũi tên nhỏ trước mỗi menu */
.footer .ux-menu-link__link::before {
	content: '\203A'; /* Ký tự mũi tên › */
	color: var(--color-main); /* Đã sửa: Thay mũi tên vàng thành đỏ */
	font-size: 20px;
	margin-right: 10px;
	line-height: 1;
	transition: all 0.3s ease;
}

/* Hiệu ứng di chuột vào Menu */
.footer .ux-menu-link__link:hover {
	color: var(--color-main);
	transform: translateX(8px); 
}

.footer .ux-menu-link__link:hover::before {
	color: var(--color-main);
}


/* 5. CỘT 4: THÔNG TIN LIÊN HỆ & BẢN ĐỒ */
.footer .col.thongtinlienhe .icon-box {
	margin-bottom: 15px;
}

.footer .col.thongtinlienhe .icon-box-img {
	display: none; 
}

/* Định dạng lại Sub-heading (Trụ sở, Chi nhánh) */
.footer .col.thongtinlienhe h3 {
	font-size: 16px;
	color: #111111; /* Đã sửa: Tên chi nhánh đen rõ nét */
	margin-bottom: 5px;
	padding-bottom: 0;
	text-transform: none;
	font-weight: 700;
}

.footer .col.thongtinlienhe h3::after {
	display: none;
}

/* Định dạng chữ địa chỉ */
.footer .col.thongtinlienhe .icon-box-text {
	color: #333333; /* Đã sửa: Chữ địa chỉ rõ ràng hơn */
}

/* Tối ưu Bản đồ (Google Maps) */
.footer .col.thongtinlienhe iframe {
	width: 100% !important; 
	height: 180px;
	border-radius: 8px; 
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	margin-top: 15px;
	border: 1px solid #eaeaea !important;
}

/* 3. Tinh chỉnh chữ và khoảng cách trong từng thẻ a */
.header-main .nav-dropdown li a {
	color: var(--color-black);
	padding: 8px 0px !important;       
	font-size: 14px !important;
	line-height: 1.4 !important;
	transition: all 0.25s ease-in-out;
}

/* 4. Hiệu ứng Hover mượt mà */
.header-main .nav-dropdown li a:hover,
.header-main .nav-dropdown li.active > a {
	color: var(--color-main) !important; /* Đổi màu chữ khi rê chuột */
	background-color: #f9f9f9 !important;
	padding-left: 10px !important;       /* Đẩy chữ nhẹ sang phải tạo hiệu ứng đẹp */
}

.header-nav-main .sub-menu{
	border-radius: 8px !important;
	border: 1px solid var(--color-main) !important;
	padding: 10px !important;
	color: var(--color-black) !important;
}
.topbar-svg-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: currentColor;
}

.topbar-item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.absolute-footer{
	background:var(--color-main) !important;
	/* 	color: #000000 !important; */
}
#button-contact-vr {
	bottom: 51px !important;
	right: 0;
}
#logo{
	width : max-content !important;
}
@media (max-width:768px){
	.mobile-sidebar a{
		color: var(--color-black) !important;
	}
	.header-inner{
		background: linear-gradient(135deg, #DFC08A 0%, #C49C57 50%, #9E742D 100%);
	}
	.header-top .topbar-left-info, .header-top .topbar-right-info{
		display:flex;
		flex-direction:column;
		gap:0px;
	}
	.header-top {
		background: linear-gradient(135deg, #DFC08A 0%, #C49C57 50%, #9E742D 100%);
	}
	.header-top .hotline-link {
		color: var(--color-main) !important;
		font-size: 14px;
	}
	.mobile-sidebar .menu-item a{
		font-size:14px !important;
	}
	.header-inner .nav{
		justify-content: left !important;
		align-items: flex-end;
		padding-left:10px;
	}

	/* Áp dụng riêng trong khối .home_cttb */
	.home_cttb ul.nav.nav-line {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important; /* Chia đều 2 cột 50% - 50% */
		gap: 10px 0 !important; /* Khoảng cách hàng trên và hàng dưới */
		width: 100% !important;
		margin: 0 auto !important;
		padding: 0 !important;
	}

	.home_cttb ul.nav.nav-line > li.tab {
		width: 100% !important;
		margin: 0 !important;
		text-align: center !important;
	}

	.home_cttb ul.nav.nav-line > li.tab > a {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
		width: 100% !important;
	}
}