.header-top {
	background: #09090b !important;
	color: var(--color-white);
	min-height: 40px;
	font-size: 14px !important;
}

.header-top .flex-row {
	min-height: 40px;
	align-items: center;
}

.header-top .nav {
	min-height: 40px;
	align-items: center;
}

.header-top .nav > li {
	margin: 0;
}

.header-top .html {
	width: 100%;
}

.header-top .topbar-info {
	display: flex;
	align-items: center;
	gap: 28px;
}

.header-top .topbar-info .topbar-item {
	display: flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.header-top .topbar-info .topbar-item svg {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
}

.header-top .topbar-info .topbar-item span {
	color: var(--color-white);
	font-size:14px;
	line-height: 1.4;
}

.header-top .topbar-info .topbar-item a {
	color: var(--color-white);
	text-decoration: none;
	transition: 0.25s ease;
}

.header-top .topbar-info .topbar-item a:hover {
	color: var(--color-main);
}

.header-top .topbar-contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	font-size:14px !important;
	white-space: nowrap;
	font-weight: 600;
}

.header-top .topbar-contact .topbar-contact-item {
	display: flex;
	align-items: center;
	gap: 7px;
}

.header-top .topbar-contact .topbar-contact-item svg {
	flex-shrink: 0;
}

.header-top .topbar-contact .topbar-contact-item span {
	color: var(--color-white);
}

.header-top .topbar-contact .topbar-contact-item a {
	color: var(--color-white);
	text-decoration: none;
	font-weight: 700;
	transition: 0.25s ease;
}

.header-top .topbar-contact > .topbar-contact-item:nth-child(2) a {
	color: var(--color-main);
}

.header-top .topbar-contact .topbar-contact-item a:hover {
	color: var(--color-main);
}

.header-top .topbar-contact > span {
	color: #777;
	font-weight: 400;
	margin: 0 2px;
}

.header-top .nav-divided > li + li > a::after,
.header-top .nav-divided > li + li > .nav-top-link::after {
	display: none;
}

/* 1. KHUNG DROPDOWN (Bo góc, viền trên đỏ, đổ bóng) */
.header-main ul.nav-dropdown,
.header-main ul.nav-dropdown-default {
	background-color: var(--color-white, #ffffff) !important;
	border: none !important;
	border-top: 4px solid var(--color-main, #DC2626) !important; /* Viền đỏ trên cùng */
	border-radius: 12px !important;                             /* Bo góc mềm */
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
	padding: 8px 0 !important;
	min-width: 270px !important;
	overflow: hidden !important;
}

/* 2. XOÁ BỎ HOÀN TOÀN ĐƯỜNG KẺ MẶC ĐỊNH CỦA THEME FLATSOME */
.header-main .nav-dropdown > li,
.header-main .nav-dropdown-default > li,
.header-main .nav-dropdown > li > a,
.header-main .nav-dropdown-default > li > a {
	border: none !important;
	border-bottom: 0 !important; /* Triệt tiêu đường gạch xám */
	margin: 0 !important;
}

/* 3. ĐỊNH DẠNG CHỮ TỪNG MỤC (Đậm, rõ, không in hoa như Hình 1) */
.header-main .nav-dropdown-default > li > a,
.header-main .nav-dropdown > li > a {
	display: block !important;
	padding: 12px 20px !important;
	font-size: 15px !important;
	font-weight: 700 !important;                  /* Chữ đậm như hình 1 */
	line-height: 1.4 !important;
	color: #2e384d !important;                    /* Màu chữ tối nét */
	text-transform: none !important;              /* Bỏ in hoa */
	transition: all 0.2s ease-in-out !important;
}

/* 4. HIỆU ỨNG HOVER: Nền đỏ nhạt, chữ chuyển đỏ */
.header-main .nav-dropdown-default > li:hover > a,
.header-main .nav-dropdown > li:hover > a,
.header-main .nav-dropdown > li.current-menu-item > a {
	background-color: #fef2f2 !important;         /* Nền đỏ nhạt (soft red) */
	color: var(--color-main, #DC2626) !important; /* Chữ đỏ */
}
.sub-menu.nav-dropdown{
	padding-top:0px !important;
	padding-bottom:0px !important;
}

/* Thiết lập nền chung cho footer */
.footer_page {
	background-color: var(--color-main);
	border-top: 2px solid var(--color-black);
}

/* Ẩn triệt để các thẻ br tự sinh làm rớt dòng icon/chữ */
.footer_page br {
	display: none !important;
}

/* Tiêu đề h3 các cột: Chữ in hoa + thanh đỏ dọc | ở đầu */
.footer_page h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--color-white);
	text-transform: uppercase;
	display: flex;
	align-items: center;
	margin-bottom: 16px;
	line-height: 1.2;
}

.footer_page h3::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 15px;
	background-color: var(--color-white);
	margin-right: 8px;
	border-radius: 2px;
	flex-shrink: 0;
}
.footer_page .ux-menu-link__link{
	color: var(--color-white);
}
/* ==================== CỘT 1: GIỚI THIỆU & LIÊN HỆ ==================== */
/* Đoạn mô tả đầu tiên có gạch mờ phân cách bên dưới */
.footer_page .intro p:first-child {
	color: #4b5563;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e5e7eb;
}

/* 3 dòng thông tin liên hệ bên dưới */
.footer_page .intro p:not(:first-child) {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 15px;
	color: var(--color-white);
	line-height: 1.5;
}

/* Màu đỏ cho các icon SVG */
.footer_page .intro svg {
	flex-shrink: 0;
	color: var(--color-white
		}

/* Dòng số điện thoại in đậm */
.footer_page .intro p:nth-child(3) {
	font-weight: 700;
	color: var(--color-black);
}

/* Link số điện thoại và email */
.footer_page .intro a {
	color: inherit;
	text-decoration: none;
}

/* ==================== CỘT 2 & 3: MENU LIÊN KẾT ==================== */
.footer_page .ux-menu {
	gap: 10px;
}

.footer_page .ux-menu-link {
	border: none !important;
	margin: 0 !important;
}

.footer_page .ux-menu-link a {
	padding: 0 !important;
	color: #4b5563 !important;
	font-size: 15px;
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Mũi tên xám › phía trước mỗi menu */
.footer_page .ux-menu-link a::before {
	content: "›";
	font-size: 16px;
	color: #9ca3af;
	margin-right: 8px;
	font-weight: 700;
	line-height: 1;
}

/* Hiệu ứng khi rê chuột vào menu */
.footer_page .ux-menu-link a:hover {
	color: var(--color-main) !important;
	transform: translateX(3px);
}

.footer_page .ux-menu-link a:hover::before {
	color: var(--color-main);
}

/* ==================== CỘT 4: BẢN ĐỒ ==================== */
.footer_page iframe {
	width: 100% !important;
	height: 150px !important;
	border-radius: 8px !important;
	border: 1px solid #e5e7eb !important;
	display: block;
}

.header-nav-main .menu-item .sub-menu.nav-dropdown{
	min-width: 280px;
	padding: 3px 10px !important;
	font-size: 13px !important;
	padding: 3px 10px !important;
	font-size: 13px !important;
	border-radius: 5px !important;
	border: 1px solid var(--color-main) !important;
}


.header-nav-main .menu-item .sub-menu.nav-dropdown a{
	color: var(--color-black);
	font-size:14px;
}

.header-main  .header-nav-main.nav > li > a{
	font-size:15px;	
}

.footer_page .intro p a{
	color: var(--color-white) !important;
}

@media (max-width: 849px) {
	.header-top {
		min-height: 38px;
	}

	.header-top .flex-row {
		min-height: 38px;
	}

	.header-top .nav {
		min-height: 38px;
		width: 100%;
	}

	.header-top .mobile-nav {
		width: 100%;
		justify-content: center;
	}

	.header-top .mobile-nav > li {
		width: 100%;
	}

	.header-top .topbar-info {
		width: 100%;
		justify-content: center;
		gap: 14px;
	}

	.header-top .topbar-info .topbar-item {
		font-size: 11px;
	}

	.header-top .topbar-info .topbar-item svg {
		width: 13px;
		height: 13px;
		flex-basis: 13px;
	}
}

@media (max-width: 600px) {
	.header-top .topbar-info {
		flex-direction: column;
		gap: 2px;
		padding: 6px 0;
	}

	.header-top .topbar-info .topbar-item {
		white-space: normal;
		text-align: center;
		justify-content: center;
	}

	.header-top .topbar-info .topbar-item span,
	.header-top .topbar-info .topbar-item a {
		font-size: 11px;
	}

	.header-top .topbar-info .topbar-item svg {
		flex-shrink: 0;
	}
	.footer_page .ux-menu-link a,
	.footer_page p
	{
		color:#000000 !important;
	}
	.mobile-sidebar .nav-uppercase .menu-item a{
		color: var(--color-black);
	}
	.topbar-item2{
		display:none;
	}
}

/* --- HIỆU ỨNG VIỀN SÁNG CHẠY Ở MOBILE (ĐÃ FIX LỖI IPHONE/SAFARI) --- */
@media (max-width: 767px) {
  .home_intro .info-card {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 15px 15px !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
    
    /* 3 Dòng dưới đây là THẦN CHÚ để fix lỗi viền không bo góc trên iPhone/Safari */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }

  /* 1. Lớp vệt sáng xoay vòng ở dưới cùng */
  .home_intro .info-card::before {
    content: "" !important;
    position: absolute !important;
    top: -100% !important;
    left: -100% !important;
    width: 300% !important;
    height: 300% !important;
    /* Dải màu chạy: Trong suốt -> Đỏ -> Cam */
    background: conic-gradient(
      transparent 0deg, 
      transparent 270deg, 
      #d01b1b 320deg, 
      #ff7a00 360deg
    ) !important;
    animation: spinBorderMobile 3s linear infinite !important;
    z-index: 1 !important;
  }

  /* 2. Lớp nền trắng (ruột thẻ) đè lên trên, chừa lại mép 2px làm viền */
  .home_intro .info-card::after {
    content: "" !important;
    position: absolute !important;
    /* Dùng top/left/right/bottom thay cho inset để tương thích iOS cũ */
    top: 2px !important; 
    bottom: 2px !important;
    left: 2px !important;
    right: 2px !important;
    background: #ffffff !important; /* Màu nền trắng */
    border-radius: 10px !important; /* Bo góc nhỏ hơn thẻ cha 2px */
    z-index: 2 !important;
  }

  /* 3. Đưa Nội dung (chữ) nổi lên trên cùng */
  .home_intro .info-card h3,
  .home_intro .info-card p {
    position: relative !important;
    z-index: 3 !important; 
  }
}

/* 4. Khung hình động xoay */
@keyframes spinBorderMobile {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}