/**
 * Footer + CTA ChonWeb (mockup 2026)
 */

.hl-ft-site {
	position: relative;
	z-index: 2;
	width: 100%;
	background: transparent;
	overflow: visible;
}

.hl-ft-cta-wrap {
	position: relative;
	z-index: 5;
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 32px;
	margin-bottom: 0;
	padding: 0 15px;
	box-sizing: border-box;
}

.hl-ft-cta {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px 40px;
	padding: 40px 44px 42px;
	/* Âm ~50% chiều cao CTA → mép nền tối footer nằm giữa khối xanh */
	margin-bottom: -98px;
	border-radius: 24px;
	background: linear-gradient(105deg, #12b86a 0%, #00a859 42%, #008f4c 100%);
	box-shadow: 0 20px 50px rgba(0, 120, 60, 0.32);
	color: #fff;
}

.hl-ft-cta__content {
	flex: 1 1 280px;
	min-width: 0;
}

.hl-ft-cta__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	margin-bottom: 14px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.hl-ft-cta__title {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.22;
	color: #fff;
	letter-spacing: -0.02em;
}

.hl-ft-cta__sub {
	margin: 0;
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
	font-weight: 400;
}

.hl-ft-cta__btn {
	flex: 0 0 auto;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 32px;
	border-radius: 14px;
	background: #ef5340;
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(233, 78, 69, 0.45);
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	white-space: nowrap;
}

.hl-ft-cta__btn:hover {
	background: #d8433a;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(233, 78, 69, 0.5);
	color: #fff !important;
}

/* Footer shell */
div#footer.hl-ft {
	float: none;
	width: 100%;
	margin-top: 0 !important;
	padding: 0 !important;
	padding-top: 0 !important;
	background: #0a0e1b !important;
	border: none;
	color: #b4bcc8;
}

body#kho-giao-dien div#footer.hl-ft,
body#index div#footer.hl-ft {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

div#footer.hl-ft .wrap {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

div#footer.hl-ft p,
div#footer.hl-ft a,
div#footer.hl-ft h3,
div#footer.hl-ft li,
div#footer.hl-ft ul {
	float: none !important;
	width: auto !important;
	margin-right: 0 !important;
}

div#footer.hl-ft p,
div#footer.hl-ft a:not(.hl-ft-cta__btn) {
	padding: 0 !important;
	line-height: inherit;
	background: none !important;
}

div#footer.hl-ft .hl-ft__company {
	color: #fff !important;
}

div#footer.hl-ft .hl-ft__legal-box p {
	color: #9ca3af !important;
}

div#footer.hl-ft .hl-ft__legal-box strong {
	color: #d1d5db !important;
}

div#footer.hl-ft .hl-ft__copy {
	color: #6b7280 !important;
}

div#footer.hl-ft h3 {
	font-size: inherit;
	margin: 0 0 18px;
	color: #fff;
}

.hl-ft__inner {
	position: relative;
	z-index: 1;
	/* Đẩy 4 cột (vùng khoanh đỏ) xuống dưới đáy CTA */
	padding-top: 132px;
	padding-bottom: 0;
}

.hl-ft__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 1fr) minmax(160px, 1fr) minmax(200px, 1.05fr);
	gap: 36px 32px;
	padding-bottom: 44px;
	align-items: start;
}

.hl-ft__logo-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.hl-ft__logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.hl-ft__logo-img {
	display: block;
	width: auto;
	max-width: 220px;
	height: 48px;
	object-fit: contain;
	object-position: left center;
}

.hl-ft__logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(145deg, #00a859, #007a3d);
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.hl-ft__logo-text strong {
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.02em;
}

.hl-ft__logo-text span {
	display: block;
	font-size: 10px;
	font-weight: 600;
	color: #8b939f;
	letter-spacing: 0.06em;
	margin-top: 2px;
}

.hl-ft__company {
	margin: 0 0 20px;
	padding: 0 !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hl-ft__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl-ft__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.55;
	color: #b4bcc8;
}

.hl-ft__contact li svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #00a859;
}

.hl-ft__contact a {
	color: #e5e7eb !important;
	text-decoration: none;
	padding: 0 !important;
}

.hl-ft__contact a:hover {
	color: #00a859 !important;
}

.hl-ft__heading {
	margin: 0 0 20px;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hl-ft__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hl-ft__links li {
	margin-bottom: 12px;
}

.hl-ft__links a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	position: relative;
	padding-left: 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82) !important;
	text-decoration: none;
	transition: color 0.15s;
}

.hl-ft__chev {
	flex-shrink: 0;
	color: #00c853;
	font-weight: 700;
	font-size: 12px;
	line-height: 1.5;
}

.hl-ft__links a:hover {
	color: #fff !important;
}

div#footer.hl-ft .hl-ft__links a {
	color: rgba(255, 255, 255, 0.82) !important;
}

.hl-ft__legal-box {
	padding: 18px 20px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.hl-ft__legal-box p {
	margin: 0 0 8px;
	padding: 0 !important;
	font-size: 12px;
	line-height: 1.55;
	color: #9ca3af !important;
}

.hl-ft__legal-box p:last-child {
	margin-bottom: 0;
}

.hl-ft__legal-box strong {
	color: #d1d5db !important;
	font-weight: 600;
}

.hl-ft__bct {
	display: inline-block;
	padding: 0 !important;
}

.hl-ft__bct img {
	display: block;
	max-width: 150px;
	height: auto;
	border-radius: 6px;
}

.hl-ft__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0 22px;
}

.hl-ft__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hl-ft__copy {
	margin: 0;
	padding: 0 !important;
	font-size: 12px;
	color: #6b7280 !important;
}

.hl-ft__bar-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.hl-ft__bar-right > a {
	font-size: 12px;
	color: #6b7280 !important;
	text-decoration: none;
	padding: 0 !important;
}

.hl-ft__bar-right > a:hover {
	color: #00a859 !important;
}

.hl-ft__social {
	display: flex;
	gap: 10px;
}

.hl-ft__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	padding: 0 !important;
	transition: background 0.15s, border-color 0.15s;
}

.hl-ft__social a svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.hl-ft__social a:hover {
	background: rgba(0, 168, 89, 0.25);
	border-color: #00a859;
}

body.hl-page-ck-success .hl-ft-cta-wrap {
	display: none;
}

body.hl-page-ck-success div#footer.hl-ft .hl-ft__inner {
	padding-top: 48px;
}

body#index .center_homepage,
body#kho-giao-dien .body-wrapper1 {
	padding-bottom: 56px;
}

.hl-ft-site {
	margin-top: 40px;
	clear: both;
}

.phantrang,
.phtrang_detail {
	margin-bottom: 48px !important;
	position: relative;
	z-index: 1;
}

body#index .listgiaodien_re > .phtrang_detail {
	margin-bottom: 0 !important;
}

.phantrang {
	display: flex !important;
	justify-content: center !important;
	align-items: center;
	width: 100% !important;
}

.phantrang .page_navi {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center !important;
	align-items: center;
	float: none !important;
	width: fit-content !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	overflow: visible;
}

.phantrang .page_navi > a,
.phantrang .page_navi > span,
.phantrang .page_navi a span {
	float: none !important;
}

@media (max-width: 1199px) {
	.hl-ft-cta {
		flex-wrap: wrap;
		margin-bottom: -132px;
	}

	.hl-ft__inner {
		padding-top: 168px;
	}

	.hl-ft-cta__title {
		font-size: 26px;
	}
}

@media (min-width: 768px) {
	.hl-ft__acc-toggle {
		display: block;
		width: 100%;
		padding: 0;
		border: none;
		background: transparent;
		cursor: default;
		pointer-events: none;
		text-align: left;
	}

	.hl-ft__acc-chevron {
		display: none;
	}

	.hl-ft__acc-body {
		display: block !important;
		padding-bottom: 0;
	}
}

@media (max-width: 991px) {
	.hl-ft__grid {
		grid-template-columns: 1fr 1fr;
	}

	.hl-ft-cta-wrap {
		margin-top: 20px;
		padding: 0 12px;
	}

	.hl-ft-cta {
		padding: 24px 22px 26px;
		gap: 20px;
	}

	.hl-ft-cta__title {
		font-size: 20px;
		margin-bottom: 8px;
	}

	.hl-ft-cta__sub {
		font-size: 14px;
	}

	.hl-ft-cta__btn {
		padding: 14px 22px;
		font-size: 12px;
	}
}

@media (max-width: 767px) {
	.hl-ft-cta {
		flex-wrap: nowrap;
		align-items: center;
		padding: 12px 14px;
		gap: 10px;
		margin-bottom: -52px;
		border-radius: 14px;
	}

	.hl-ft-cta__badge,
	.hl-ft-cta__sub {
		display: none;
	}

	.hl-ft-cta__content {
		flex: 1 1 auto;
		min-width: 0;
	}

	.hl-ft-cta__title {
		margin: 0;
		font-size: 15px;
		line-height: 1.25;
	}

	.hl-ft-cta__btn {
		flex: 0 0 auto;
		width: auto;
		max-width: 46%;
		padding: 9px 11px;
		font-size: 10px;
		letter-spacing: 0.02em;
		border-radius: 9px;
		white-space: nowrap;
		box-shadow: 0 4px 12px rgba(233, 78, 69, 0.35);
	}

	.hl-ft-cta__btn svg {
		display: none;
	}

	.hl-ft__inner {
		padding-top: 80px;
	}

	.hl-ft__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.hl-ft__brand {
		margin-bottom: 20px;
		padding-bottom: 8px;
	}

	.hl-ft__col {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding: 0;
	}

	.hl-ft__acc-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		margin: 0;
		padding: 14px 0;
		border: none;
		background: transparent;
		cursor: pointer;
		text-align: left;
		color: inherit;
		font: inherit;
		pointer-events: auto;
	}

	.hl-ft__acc-toggle .hl-ft__heading {
		margin: 0;
		padding: 0;
		flex: 1 1 auto;
		min-width: 0;
		align-self: center;
		line-height: 1.25;
	}

	.hl-ft__acc-chevron {
		display: block;
		flex-shrink: 0;
		align-self: center;
		width: 10px;
		height: 10px;
		box-sizing: border-box;
		border-right: 2px solid #00c853;
		border-bottom: 2px solid #00c853;
		transform: rotate(45deg);
		transform-origin: 50% 50%;
		transition: transform 0.2s ease;
	}

	.hl-ft__col.is-open .hl-ft__acc-chevron {
		transform: rotate(-135deg);
	}

	.hl-ft__acc-body {
		display: none;
		padding-bottom: 16px;
	}

	.hl-ft__col.is-open .hl-ft__acc-body {
		display: block;
	}

	.hl-ft__col .hl-ft__heading {
		margin-bottom: 0;
	}
}

@media (max-width: 640px) {
	.hl-ft-cta-wrap {
		margin-top: 12px;
		padding: 0 10px;
	}

	.hl-ft-cta {
		padding: 10px 12px;
		margin-bottom: -46px;
		gap: 8px;
		box-shadow: 0 8px 24px rgba(0, 120, 60, 0.25);
	}

	.hl-ft-cta__title {
		font-size: 14px;
	}

	.hl-ft-cta__btn {
		padding: 8px 10px;
		font-size: 9px;
		max-width: 48%;
	}

	.hl-ft__inner {
		padding-top: 72px;
	}

	.hl-ft__bar-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.hl-ft-cta {
		padding: 8px 10px;
		margin-bottom: -40px;
		border-radius: 12px;
	}

	.hl-ft-cta__title {
		font-size: 13px;
		line-height: 1.2;
	}

	.hl-ft-cta__btn {
		padding: 7px 8px;
		font-size: 8px;
		max-width: 50%;
	}

	.hl-ft__inner {
		padding-top: 64px;
	}
}
