/**
 * Apple24h Trade-in — UI bám CellphoneS /thu-cu-doi-moi/trade-in-laptop
 */

:root {
	--a24h-ti-red: #d70018;
	--a24h-ti-red-hover: #b80015;
	--a24h-ti-blue: #144e8d;
	--a24h-ti-blue-mid: #1a6fc4;
	--a24h-ti-blue-light: #3b82f6;
	--a24h-ti-bg: #ffffff;
	--a24h-ti-page: #f5f5f5;
	--a24h-ti-card: #ffffff;
	--a24h-ti-border: #e5e5e5;
	--a24h-ti-text: #0a0a0a;
	--a24h-ti-muted: #4a4a4a;
	--a24h-ti-radius: 12px;
	--a24h-ti-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* Page shell — nền xám nhạt như CPS */
body.a24h-ti-page-body,
body.a24h-ti-front-page {
	background: var(--a24h-ti-page) !important;
}

body.a24h-ti-page-body #main,
body.a24h-ti-page-body .page-wrapper,
body.a24h-ti-front-page #main,
body.a24h-ti-front-page .page-wrapper {
	background: transparent !important;
}

body.a24h-ti-page-body .page-title,
body.a24h-ti-front-page .page-title,
body.a24h-ti-page-body .page-header,
body.a24h-ti-front-page .page-header {
	display: none !important;
}

body.a24h-ti-page-body #content.content-area,
body.a24h-ti-front-page #content.content-area {
	max-width: none;
	padding: 0;
	width: 100%;
	background: transparent;
}

.a24h-buyback-only .cart-icon,
.a24h-buyback-only .add-to-cart-button,
.a24h-buyback-only .buy_now_button,
.a24h-buyback-only button.single_add_to_cart_button {
	display: none !important;
}

/* Header CTA */
.header-thu-mua-cta {
	list-style: none;
}

.header-thu-mua-cta__link {
	display: flex !important;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.2;
	padding: 6px 14px !important;
	border-radius: 8px;
	background: var(--a24h-ti-red);
	color: #fff !important;
	text-decoration: none !important;
	min-width: 120px;
}

.header-thu-mua-cta__link--mobile {
	flex-direction: row;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 8px 12px !important;
	font-weight: 700;
	font-size: 13px;
}

.header-thu-mua-cta__label {
	font-size: 11px;
	font-weight: 600;
	opacity: .92;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.header-thu-mua-cta__phone {
	font-size: 14px;
	font-weight: 700;
}

.header-thu-mua-cta__dropdown {
	padding: 14px;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.a24h-header-cta-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.a24h-header-cta-btn img {
	width: 18px;
	height: 18px;
	border-radius: 4px;
}

.a24h-header-cta-btn .fa-phone,
.a24h-header-cta-btn svg.a24h-fa-phone {
	font-size: 14px;
	width: 16px;
	height: 16px;
	color: #fff;
}

.header-nav li.html:before {
	display: none !important;
}

.a24h-header-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1.25;
	text-decoration: none !important;
	color: inherit !important;
}

.a24h-header-chip img {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	flex-shrink: 0;
}

.a24h-fa-phone--chip {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #E3342F;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
	padding: 6px;
	box-sizing: border-box;
}

.a24h-header-chip span {
	display: block;
}

/* Footer thu mua */
.a24h-site-footer {
	padding: 36px 16px 20px;
	color: var(--a24h-ti-text);
}

.a24h-site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr .9fr;
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
}

.a24h-site-footer__identity {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
}

.a24h-site-footer__identity .custom-logo-link {
	display: block;
	flex-shrink: 0;
	line-height: 0;
}

.a24h-site-footer__identity .custom-logo-link img,
.a24h-site-footer__identity .custom-logo {
	display: block;
	height: 44px;
	width: auto;
	max-width: 140px;
}

.a24h-site-footer__brand {
	font-size: 22px;
	font-weight: 800;
	margin: 0;
	color: var(--a24h-ti-red);
	line-height: 1.2;
}

.a24h-site-footer__col > p {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--a24h-ti-muted);
}

.a24h-site-footer__addr a {
	color: var(--a24h-ti-text);
	font-weight: 600;
}

.a24h-site-footer__title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--a24h-ti-text);
}

.a24h-site-footer__contact {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--a24h-ti-border);
	border-radius: 10px;
	margin-bottom: 10px;
	text-decoration: none !important;
	color: inherit !important;
	background: #fff;
}

.a24h-site-footer__contact img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	flex-shrink: 0;
}

.a24h-site-footer__tiktok {
	object-fit: contain;
	background: #111;
}

.a24h-site-footer__messenger {
	object-fit: contain;
	background: transparent;
	border-radius: 0;
}

.a24h-site-footer__contact-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.a24h-site-footer__contact-icon--phone {
	background: #E3342F;
	color: #fff;
	font-size: 16px;
}

.a24h-site-footer__contact-icon--phone svg {
	width: 18px;
	height: 18px;
	color: #fff;
}

.a24h-site-footer__contact span {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.a24h-site-footer__contact small {
	color: #777;
	font-size: 12px;
}

.a24h-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.a24h-site-footer__links li {
	margin: 0 0 8px;
}

.a24h-site-footer__links a {
	color: var(--a24h-ti-muted);
	text-decoration: none;
}

.a24h-site-footer__links a:hover {
	color: var(--a24h-ti-red);
}

@media (max-width: 900px) {
	.a24h-site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.a24h-site-footer__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-menu-mobile ul.menu > li > a img {
		filter: none !important;
		border-radius: 4px;
	}

	.footer-menu-mobile ul.menu > li > a i.fa-phone,
	.footer-menu-mobile ul.menu > li > a svg.a24h-fa-phone {
		font-size: 18px;
		width: 22px;
		height: 22px;
		color: #E3342F;
		margin-bottom: 5px;
		line-height: 1;
		display: block;
	}
}

/* ===== Page container ===== */
.a24h-ti-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 12px 48px;
	background: transparent;
}

.a24h-ti-page [id] {
	scroll-margin-top: var(--tm-sticky, 156px);
}

.a24h-ti-section-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--a24h-ti-text);
	margin: 0 0 16px;
	line-height: 1.35;
}

/* ===== Hero H1 — kiểu CPS ===== */
.a24h-ti-hero {
	margin: 8px 0 16px;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

.a24h-ti-hero__title {
	margin: 0;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	line-height: 1.35;
	color: var(--a24h-ti-text);
	letter-spacing: -.01em;
}

/* ===== Promo banners ===== */
.a24h-ti-banners {
	margin: 0 0 24px;
}

.a24h-ti-banners__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.a24h-ti-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	min-height: 140px;
	padding: 18px 20px;
	border-radius: var(--a24h-ti-radius);
	text-decoration: none !important;
	color: #fff !important;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.a24h-ti-banner:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	color: #fff !important;
}

.a24h-ti-banner--red {
	background: linear-gradient(135deg, #ff3b4a 0%, #d70018 55%, #9a0010 100%);
}

.a24h-ti-banner--blue {
	background: linear-gradient(135deg, #4da3ff 0%, #1a6fc4 50%, #0d3d6e 100%);
}

.a24h-ti-banner--dark {
	background: linear-gradient(135deg, #3d4654 0%, #1c2430 60%, #0a0e14 100%);
}

.a24h-ti-banner__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .2);
	backdrop-filter: blur(4px);
}

.a24h-ti-banner__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.a24h-ti-banner__desc {
	font-size: 13px;
	opacity: .9;
	line-height: 1.4;
}

.a24h-ti-banner__cta {
	font-size: 13px;
	font-weight: 700;
	margin-top: 4px;
}

/* ===== Buttons ===== */
.a24h-ti-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	line-height: 1;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.a24h-ti-btn--primary {
	background: var(--a24h-ti-red) !important;
	color: #fff !important;
}

.a24h-ti-btn--primary:hover {
	background: var(--a24h-ti-red-hover) !important;
	color: #fff !important;
}

.a24h-ti-btn--ghost {
	background: #fff !important;
	color: var(--a24h-ti-text) !important;
	border: 1px solid var(--a24h-ti-border) !important;
}

.a24h-ti-btn--ghost:hover {
	border-color: var(--a24h-ti-red) !important;
	color: var(--a24h-ti-red) !important;
}

.a24h-ti-btn--light {
	background: rgba(255, 255, 255, .15) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .4) !important;
}

.a24h-ti-btn--sm {
	min-height: 36px;
	padding: 0 14px;
	font-size: 13px;
}

/* ===== Picker ===== */
.a24h-ti-picker {
	background: var(--a24h-ti-card);
	border-radius: var(--a24h-ti-radius);
	padding: 20px 16px 24px;
	margin-bottom: 20px;
	box-shadow: var(--a24h-ti-shadow);
}

.a24h-ti-picker__head {
	margin-bottom: 12px;
}

.a24h-ti-picker__tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin-bottom: 16px;
	padding-bottom: 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.a24h-ti-picker__tab {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: var(--a24h-ti-muted);
	background: #f3f3f3;
	text-decoration: none !important;
	border: 1px solid transparent;
	white-space: nowrap;
}

.a24h-ti-picker__tab:hover {
	color: var(--a24h-ti-text);
	background: #ececec;
}

.a24h-ti-picker__tab.is-active {
	background: var(--a24h-ti-red);
	color: #fff;
}

.a24h-ti-picker__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-bottom: 18px;
}

/* Product card — kiểu CPS */
.a24h-ti-model {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 28px 10px 14px;
	border-radius: 10px;
	border: 1px solid var(--a24h-ti-border);
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
	font: inherit;
	color: inherit;
	text-align: center;
}

.a24h-ti-model:hover {
	border-color: #ccc;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.a24h-ti-model.is-selected {
	border-color: var(--a24h-ti-red);
	box-shadow: 0 0 0 1px var(--a24h-ti-red);
}

.a24h-ti-model__badge {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 3px 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
	background: var(--a24h-ti-red);
	border-radius: 9px 9px 0 0;
	line-height: 1.3;
}

.a24h-ti-model__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 88px;
	background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
	border-radius: 8px;
	overflow: hidden;
}

.a24h-ti-model__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	padding: 6px;
}

.a24h-ti-model__icon {
	font-size: 36px;
	line-height: 1;
}

.a24h-ti-model__name {
	font-size: 12px;
	font-weight: 600;
	color: var(--a24h-ti-text);
	line-height: 1.35;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.a24h-ti-picker__condition {
	margin-bottom: 20px;
	max-width: 420px;
}

.a24h-ti-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--a24h-ti-text);
}

.a24h-ti-select {
	width: 100%;
	height: 42px;
	border-radius: 8px;
	border: 1px solid var(--a24h-ti-border);
	padding: 0 12px;
	font-size: 14px;
	background: #fff;
	color: var(--a24h-ti-text);
}

/* Consult form — hộp riêng như CPS */
.a24h-ti-consult {
	margin-top: 8px;
}

.a24h-ti-consult__box {
	border: 1px solid var(--a24h-ti-border);
	border-radius: var(--a24h-ti-radius);
	padding: 20px;
	background: #fafafa;
}

.a24h-ti-consult__intro {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
	font-size: 14px;
	color: var(--a24h-ti-muted);
}

.a24h-ti-consult__intro strong {
	font-size: 16px;
	color: var(--a24h-ti-text);
}

.a24h-ti-form {
	position: relative;
}

.a24h-ti-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.a24h-ti-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.a24h-ti-form__field {
	margin-bottom: 12px;
}

.a24h-ti-form__field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--a24h-ti-text);
}

.a24h-ti-form__field input,
.a24h-ti-form__field textarea {
	width: 100%;
	border: 1px solid var(--a24h-ti-border);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
}

.a24h-ti-form__field input:focus,
.a24h-ti-form__field textarea:focus {
	outline: none;
	border-color: var(--a24h-ti-red);
	box-shadow: 0 0 0 2px rgba(215, 0, 24, .12);
}

.a24h-ti-form__field input {
	height: 42px;
}

.a24h-ti-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.a24h-ti-form__msg {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
}

.a24h-ti-form__msg.is-success {
	background: #e8f8ef;
	color: #0d6b3a;
}

.a24h-ti-form__msg.is-error {
	background: #fdecee;
	color: #b00020;
}

/* ===== Featured banner — xanh CPS ===== */
.a24h-ti-featured {
	margin: 0 0 24px;
}

.a24h-ti-featured__banner {
	background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 40%, #1e3a8a 100%);
	border-radius: 16px;
	padding: 24px 16px 28px;
}

.a24h-ti-featured__title {
	margin: 0 0 20px;
	text-align: center;
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	text-transform: none;
	letter-spacing: 0;
}

.a24h-ti-featured__track {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 8px 14px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #ffffff rgba(255, 255, 255, 0.28);
}

/* Hiện thanh cuộn ngang rõ trên nền xanh */
.a24h-ti-featured__track::-webkit-scrollbar {
	height: 8px;
	display: block;
}

.a24h-ti-featured__track::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
}

.a24h-ti-featured__track::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
}

.a24h-ti-featured__track::-webkit-scrollbar-thumb:hover {
	background: #fff;
}

/* Ít item: căn giữa; nhiều item: cuộn từ trái */
.a24h-ti-featured__track.is-centered {
	justify-content: center;
}

.a24h-ti-featured__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 110px;
	min-width: 110px;
	min-height: 120px;
	padding: 16px 10px 14px;
	border-radius: 14px;
	background: #fff;
	text-decoration: none !important;
	color: var(--a24h-ti-text);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
	transition: transform .2s ease;
}

.a24h-ti-featured__card:hover {
	transform: translateY(-4px);
	color: var(--a24h-ti-text);
}

.a24h-ti-featured__media {
	font-size: 40px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
}

.a24h-ti-featured__img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	display: block;
}

.a24h-ti-featured__label {
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	line-height: 1.25;
}

/* ===== 2-col layout ===== */
.a24h-ti-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
}

.a24h-ti-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ===== SEO — kiểu bài CPS ===== */
.a24h-ti-seo {
	background: var(--a24h-ti-card);
	border-radius: var(--a24h-ti-radius);
	padding: 24px 20px;
	box-shadow: var(--a24h-ti-shadow);
	font-size: 15px;
	line-height: 1.75;
	color: #333;
}

.a24h-ti-seo h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--a24h-ti-text);
	line-height: 1.35;
}

.a24h-ti-seo h2:not(:first-child) {
	margin-top: 28px;
}

.a24h-ti-seo h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 20px 0 8px;
	color: var(--a24h-ti-text);
}

.a24h-ti-seo p {
	margin: 0 0 12px;
}

.a24h-ti-seo ul {
	margin: 0 0 14px;
	padding-left: 20px;
}

.a24h-ti-seo li {
	margin-bottom: 6px;
}

.a24h-ti-seo a {
	color: var(--a24h-ti-red);
	font-weight: 600;
}

.a24h-ti-seo__highlight {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--a24h-ti-red) !important;
	margin: 18px 0 10px !important;
}

.a24h-ti-seo__bullets {
	columns: 2;
	column-gap: 24px;
}

.a24h-ti-seo__bullets li {
	break-inside: avoid;
}

/* ===== Process / prices / conditions / FAQ cards ===== */
.a24h-ti-process,
.a24h-ti-prices,
.a24h-ti-conditions,
.a24h-ti-faq,
.a24h-ti-cats {
	background: var(--a24h-ti-card);
	border-radius: var(--a24h-ti-radius);
	padding: 20px;
	box-shadow: var(--a24h-ti-shadow);
}

.a24h-ti-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.a24h-ti-process__item {
	display: flex;
	gap: 12px;
	padding: 14px;
	border-radius: 10px;
	background: #f8f8f8;
	border: 1px solid var(--a24h-ti-border);
}

.a24h-ti-process__num {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 14px;
	color: #fff;
	background: var(--a24h-ti-red);
}

.a24h-ti-process__title {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
	color: var(--a24h-ti-text);
}

.a24h-ti-process__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--a24h-ti-muted);
}

.a24h-ti-prices__note {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--a24h-ti-muted);
}

.a24h-ti-prices__disclaimer {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--a24h-ti-muted);
	font-style: italic;
}

.a24h-ti-table-wrap {
	overflow: visible;
	margin-top: 12px;
	border-radius: 8px;
	border: 1px solid var(--a24h-ti-border);
}

.a24h-ti-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #fff;
}

.a24h-ti-table th,
.a24h-ti-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--a24h-ti-border);
	vertical-align: top;
}

.a24h-ti-table th:first-child,
.a24h-ti-table td:first-child {
	padding-left: 20px;
}

.a24h-ti-table th {
	background: var(--a24h-ti-blue);
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	font-size: 12px;
}

.a24h-ti-table tbody tr:nth-child(even) td {
	background: #f7f9fc;
}

.a24h-ti-table tbody tr:hover td {
	background: #eef4fa;
}

.a24h-ti-table tr:last-child td {
	border-bottom: 0;
}

.a24h-ti-table--prices td.a24h-ti-price-high {
	font-weight: 800;
	color: var(--a24h-ti-red);
	white-space: nowrap;
}

.a24h-ti-table--prices td.a24h-ti-price-low {
	font-weight: 600;
	color: var(--a24h-ti-blue);
	white-space: nowrap;
}

/* Mobile: bảng → card, không trượt ngang */
@media (max-width: 767px) {
	.a24h-ti-table-wrap {
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	.a24h-ti-table,
	.a24h-ti-table thead,
	.a24h-ti-table tbody,
	.a24h-ti-table th,
	.a24h-ti-table td,
	.a24h-ti-table tr {
		display: block;
		width: 100%;
	}

	.a24h-ti-table thead {
		display: none;
	}

	.a24h-ti-table tbody {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.a24h-ti-table tr {
		border: 1px solid var(--a24h-ti-border);
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
		overflow: hidden;
		padding: 0;
	}

	.a24h-ti-table tbody tr td,
	.a24h-ti-table tbody tr:nth-child(even) td,
	.a24h-ti-table tbody tr:hover td {
		background: transparent;
	}

	.a24h-ti-table td {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 12px;
		padding: 10px 14px;
		border-bottom: 1px solid #f0f0f0;
		text-align: right;
		white-space: normal;
	}

	.a24h-ti-table td:first-child,
	.a24h-ti-table tbody tr td:first-child,
	.a24h-ti-table tbody tr:nth-child(even) td:first-child,
	.a24h-ti-table tbody tr:hover td:first-child {
		padding: 12px 14px;
		background: var(--a24h-ti-blue);
		color: #fff;
		justify-content: flex-start;
		text-align: left;
		border-bottom: 0;
	}

	.a24h-ti-table td:first-child strong {
		color: #fff;
		font-size: 14px;
	}

	.a24h-ti-table td:last-child {
		border-bottom: 0;
	}

	.a24h-ti-table td::before {
		content: attr(data-label);
		flex: 0 0 42%;
		max-width: 42%;
		font-size: 12px;
		font-weight: 700;
		color: var(--a24h-ti-muted);
		text-align: left;
		line-height: 1.35;
	}

	.a24h-ti-table td:first-child::before {
		display: none;
	}

	.a24h-ti-table--prices td.a24h-ti-price-high,
	.a24h-ti-table--prices td.a24h-ti-price-low {
		white-space: normal;
	}
}

/* FAQ */
.a24h-ti-faq__list {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.a24h-ti-faq__item {
	border: 1px solid var(--a24h-ti-border);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.a24h-ti-faq__item[open] {
	border-color: #c5d0dc;
}

.a24h-ti-faq__item summary {
	cursor: pointer;
	padding: 14px 40px 14px 14px;
	font-weight: 700;
	font-size: 14px;
	color: var(--a24h-ti-text);
	list-style: none;
	position: relative;
}

.a24h-ti-faq__item summary::-webkit-details-marker {
	display: none;
}

.a24h-ti-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	font-weight: 700;
	color: var(--a24h-ti-red);
}

.a24h-ti-faq__item[open] summary::after {
	content: "−";
}

.a24h-ti-faq__answer {
	padding: 0 14px 14px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--a24h-ti-muted);
}

.a24h-ti-faq__answer p {
	margin: 0;
}

/* Category grid */
.a24h-ti-cats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 4px;
}

.a24h-ti-cat-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 12px;
	border-radius: 10px;
	border: 1px solid var(--a24h-ti-border);
	background: #fff;
	text-decoration: none !important;
	color: inherit;
	transition: border-color .15s ease;
}

.a24h-ti-cat-card:hover {
	border-color: var(--a24h-ti-red);
}

.a24h-ti-cat-card__icon {
	font-size: 28px;
	line-height: 1;
}

.a24h-ti-cat-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 8px;
	background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
	border-radius: 12px;
	overflow: hidden;
}

.a24h-ti-cat-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	display: block;
}

.a24h-ti-cat-card__label {
	font-size: 13px;
	font-weight: 700;
	color: var(--a24h-ti-text);
}

.a24h-ti-cat-card__more {
	font-size: 12px;
	font-weight: 600;
	color: var(--a24h-ti-red);
}

/* ===== Sidebar ===== */
.a24h-ti-sidebar {
	position: sticky;
	top: calc(var(--tm-sticky, 156px) + 12px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.a24h-ti-widget {
	background: var(--a24h-ti-card);
	border-radius: var(--a24h-ti-radius);
	padding: 14px;
	box-shadow: var(--a24h-ti-shadow);
}

.a24h-ti-widget__title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--a24h-ti-text);
	text-transform: none;
	letter-spacing: 0;
}

.a24h-ti-widget__video {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #111;
	aspect-ratio: 16 / 9;
}

.a24h-ti-widget__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.a24h-ti-widget__video-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px;
	text-align: center;
	color: #fff;
	background: linear-gradient(160deg, #1c2430, #0a0e14);
}

.a24h-ti-widget__play {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--a24h-ti-red);
	font-size: 16px;
	padding-left: 3px;
}

.a24h-ti-widget__video-placeholder p {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	opacity: .9;
}

.a24h-ti-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14px;
	color: var(--a24h-ti-muted);
}

.a24h-ti-widget__list a {
	color: var(--a24h-ti-red);
	font-weight: 600;
	text-decoration: none;
}

.a24h-ti-widget__list a:hover {
	text-decoration: underline;
}

.a24h-ti-map {
	position: relative;
	z-index: 0;
	isolation: isolate;
	overflow: hidden;
	background: #e8eaed;
	border-radius: 8px;
	transform: translateZ(0);
}

.a24h-ti-map iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.a24h-ti-map--sidebar {
	margin-top: 12px;
	aspect-ratio: 4 / 3;
	min-height: 180px;
}

.a24h-ti-map--section {
	margin-top: 14px;
	aspect-ratio: 16 / 9;
	min-height: 280px;
	border-radius: 12px;
}

.a24h-ti-widget__map-link {
	margin: 10px 0 0;
	font-size: 13px;
}

.a24h-ti-location__addr {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--a24h-ti-text);
}

.a24h-ti-location__meta {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--a24h-ti-muted);
}

.a24h-ti-location__meta a,
.a24h-ti-widget__map-link a {
	color: var(--a24h-ti-red);
	font-weight: 700;
	text-decoration: none;
}

.a24h-ti-location__meta a:hover,
.a24h-ti-widget__map-link a:hover {
	text-decoration: underline;
}

/* Hero extras (note.txt) */
.a24h-ti-hero__sub {
	margin: 10px 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--a24h-ti-muted);
	max-width: 820px;
}

.a24h-ti-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.a24h-ti-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.a24h-ti-hero__points li {
	font-size: 12px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--a24h-ti-border);
	color: var(--a24h-ti-text);
}

/* TOC */
.a24h-ti-toc {
	background: #fff;
	border-radius: var(--a24h-ti-radius);
	padding: 16px 18px;
	box-shadow: var(--a24h-ti-shadow);
	margin-bottom: 4px;
}

.a24h-ti-toc__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	color: var(--a24h-ti-text);
}

.a24h-ti-toc__list {
	margin: 0;
	padding-left: 18px;
	columns: 2;
	column-gap: 24px;
	font-size: 14px;
}

.a24h-ti-toc__list a {
	color: var(--a24h-ti-red);
	text-decoration: none;
	font-weight: 600;
}

.a24h-ti-toc__list a:hover {
	text-decoration: underline;
}

.a24h-ti-toc__list li {
	margin-bottom: 6px;
	break-inside: avoid;
}

/* Why / brands / factors / districts / reviews / areas */
.a24h-ti-why,
.a24h-ti-brands,
.a24h-ti-factors,
.a24h-ti-districts,
.a24h-ti-areas,
.a24h-ti-location,
.a24h-ti-tool-note {
	background: var(--a24h-ti-card);
	border-radius: var(--a24h-ti-radius);
	padding: 20px;
	box-shadow: var(--a24h-ti-shadow);
}

.a24h-ti-section-sub {
	margin: -6px 0 16px;
	color: var(--a24h-ti-muted);
	font-size: 14px;
	line-height: 1.55;
}

.a24h-ti-why__grid,
.a24h-ti-factors__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.a24h-ti-why__item,
.a24h-ti-factors__item {
	padding: 14px;
	border-radius: 10px;
	background: #f8f8f8;
	border: 1px solid var(--a24h-ti-border);
}

.a24h-ti-why__title,
.a24h-ti-factors__title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 800;
	color: var(--a24h-ti-text);
}

.a24h-ti-why__desc,
.a24h-ti-factors__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--a24h-ti-muted);
}

.a24h-ti-brands__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}

.a24h-ti-brands__card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 12px;
	border-radius: 10px;
	border: 1px solid var(--a24h-ti-border);
	background: #fff;
	text-decoration: none !important;
	color: inherit;
	transition: border-color .15s ease;
}

.a24h-ti-brands__card:hover {
	border-color: var(--a24h-ti-red);
}

.a24h-ti-brands__label {
	font-size: 13px;
	font-weight: 800;
	color: var(--a24h-ti-text);
}

.a24h-ti-brands__more {
	font-size: 12px;
	font-weight: 600;
	color: var(--a24h-ti-red);
}

.a24h-ti-districts__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px 12px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.a24h-ti-districts__list li {
	font-size: 13px;
	font-weight: 600;
	padding: 10px 12px;
	border-radius: 8px;
	background: #f8f8f8;
	border: 1px solid var(--a24h-ti-border);
	color: var(--a24h-ti-text);
}

.a24h-ti-districts__note,
.a24h-ti-areas p,
.a24h-ti-tool-note p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--a24h-ti-muted);
	margin: 0 0 10px;
}

.a24h-ti-areas__bullets {
	margin: 0 0 12px;
	padding-left: 18px;
	color: var(--a24h-ti-muted);
	font-size: 14px;
}

.a24h-ti-areas a,
.a24h-ti-tool-note a {
	color: var(--a24h-ti-red);
	font-weight: 700;
}

.a24h-ti-reviews {
	background: transparent;
	box-shadow: none;
	padding: 4px 0 8px;
}

.a24h-ti-reviews__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.a24h-review-card {
	margin: 0;
	background: #fff;
	border: 1px solid #e8ecf1;
	border-radius: 12px;
	padding: 16px 18px;
	box-shadow: 0 1px 2px rgba(60, 64, 67, .08), 0 1px 3px rgba(60, 64, 67, .1);
	height: 100%;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.a24h-review-card:hover {
	border-color: #d5dde8;
}

.a24h-review-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.a24h-review-card__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	flex: 0 0 44px;
	background: #fff;
	border: 1px solid #e8ecf1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.a24h-review-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.a24h-ti-reviews .a24h-review-card__avatar:not(.has-photo) {
	background: #d70018;
	border-color: #d70018;
}

.a24h-ti-reviews__initials {
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.02em;
}

.a24h-review-card__meta {
	flex: 1;
	min-width: 0;
}

.a24h-review-card__name {
	font-size: 14px;
	font-weight: 700;
	color: #1c1c1c;
	line-height: 1.3;
}

.a24h-review-card__district {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.a24h-review-stars {
	display: flex;
	gap: 1px;
	flex: 0 0 auto;
	margin-left: auto;
}

.a24h-review-star {
	font-size: 13px;
	color: #d1d5db;
	line-height: 1;
}

.a24h-review-star.is-on {
	color: #f59e0b;
}

.a24h-review-card__device {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	color: #374151;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.a24h-review-card__comment,
.a24h-review-card__comment p {
	font-style: normal;
	color: #555;
	font-size: 14px;
	line-height: 1.65;
	margin: 0;
}

.a24h-ti-process__list {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
	.a24h-ti-why__grid,
	.a24h-ti-factors__grid,
	.a24h-ti-reviews__grid,
	.a24h-ti-toc__list {
		columns: 1;
		grid-template-columns: 1fr;
	}

	.a24h-ti-districts__list {
		grid-template-columns: 1fr 1fr;
	}

	.a24h-ti-process__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.a24h-ti-districts__list {
		grid-template-columns: 1fr;
	}
}

.a24h-ti-cta {
	margin: 8px 0 0;
}

.a24h-ti-cta__inner {
	text-align: center;
	padding: 36px 24px;
	border-radius: 16px;
	background:
		radial-gradient(800px 240px at 50% -40%, rgba(215, 0, 24, .4), transparent 60%),
		linear-gradient(160deg, #12151a 0%, #1e2430 100%);
	color: #fff;
}

.a24h-ti-cta__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: #fff;
}

.a24h-ti-cta__text {
	margin: 0 0 16px;
	color: rgba(255,255,255,.88);
	font-size: 15px;
}

.a24h-ti-cta__address {
	margin: 8px 0 16px;
	font-size: 14px;
	color: rgba(255,255,255,.9);
}

.a24h-ti-cta__address a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.a24h-ti-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.a24h-ti-cta .a24h-ti-btn--primary {
	background: #fff !important;
	color: #d70018 !important;
}

.a24h-ti-cta .a24h-ti-btn--primary:hover {
	background: #fff5f5 !important;
	color: #b80015 !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.a24h-ti-picker__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.a24h-ti-banners__track {
		grid-template-columns: 1fr;
	}

	.a24h-ti-banner {
		min-height: 110px;
	}
}

@media (max-width: 900px) {
	.a24h-ti-layout {
		grid-template-columns: 1fr;
	}

	.a24h-ti-sidebar {
		display: none;
	}

	.a24h-ti-process__list {
		grid-template-columns: 1fr;
	}

	.a24h-ti-seo__bullets {
		columns: 1;
	}
}

@media (max-width: 640px) {
	.a24h-ti-page {
		padding: 8px 8px 40px;
	}

	.a24h-ti-picker__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.a24h-ti-form__row {
		grid-template-columns: 1fr;
	}

	.a24h-ti-featured__title {
		font-size: 16px;
	}

	.a24h-ti-hero__title {
		font-size: 20px;
	}

	.header-thu-mua-cta__phone {
		display: none;
	}
}
