/* ==========================================================================
   GIALOP.VN — Mockup trang chủ
   CSS nền của toàn site (token, header, footer, nút…) — nạp ở mọi trang.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design token
   -------------------------------------------------------------------------- */
/* Nguồn duy nhất cho màu, font, bo góc, bóng và khoảng cách. Lớp chuẩn hoá
   core/design.css (nạp sau cùng) đưa CSS riêng của từng trang về các token này. */
:root {
	/* Màu thương hiệu: nền nhấn #1E3666. */
	--gl-navy: #1E3666;
	--gl-navy-d: #162A50;
	--gl-navy-l: #EEF2F8;
	--gl-yellow: #f5c842;
	--gl-yellow-d: #e0b32e;
	--gl-red: #e23744;
	--gl-green: #1a9e5c;

	/* Nền: chính #FFFFFF, khu vực phụ #F8F9FC, ảnh sản phẩm xám sáng. */
	--gl-bg: #FFFFFF;
	--gl-bg-soft: #F8F9FC;
	--gl-cream: var(--gl-bg-soft);
	--gl-img-bg: #F2F4F7;

	--gl-text: #1a1a1a;
	--gl-muted: #6b7280;
	--gl-line: #e3e6ec;
	--gl-white: #ffffff;

	/* Bo góc: thẻ 12px, nút và ô nhập 8px. */
	--gl-radius-sm: 8px;
	--gl-radius: 12px;
	--gl-radius-lg: 12px;
	/* Một mức bóng nhẹ cho mọi khối; bóng lớn chỉ dành cho popup. */
	--gl-shadow: 0 4px 18px rgba(30, 54, 102, .07);
	--gl-shadow-md: 0 4px 18px rgba(30, 54, 102, .07);
	--gl-shadow-lg: 0 12px 32px rgba(30, 54, 102, .12);

	/* Khoảng cách dọc mỗi section: 72–96px desktop, 48–56px mobile. */
	--gl-section-y: 80px;
	--gl-section-y-tight: 72px;

	--gl-max: 1240px;
	--gl-gap: 24px;
	--gl-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gl-font-head: var(--gl-font);
}

@media (max-width: 768px) {
	:root {
		--gl-section-y: 52px;
		--gl-section-y-tight: 48px;
	}
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--gl-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gl-text);
	background: var(--gl-white);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--gl-font-head);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
}

p {
	margin: 0;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	color: inherit;
}

input,
select {
	font: inherit;
	color: inherit;
}

[hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   3. Layout dùng chung
   -------------------------------------------------------------------------- */
.gl-wrap {
	width: 100%;
	max-width: var(--gl-max);
	margin-inline: auto;
	padding-inline: 20px;
}

.gl-section {
	padding-block: var(--gl-section-y);
}

.gl-section--cream {
	background: var(--gl-cream);
}

.gl-section--navy {
	background: var(--gl-navy);
	color: var(--gl-white);
}

.gl-section--tight {
	padding-block: var(--gl-section-y-tight);
}

/* Đầu đề section */
.gl-head {
	max-width: 640px;
	margin-bottom: 44px;
}

.gl-head--center {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

/* Phần mô tả hẹp hơn tiêu đề để dễ đọc */
.gl-head--center .gl-lede {
	max-width: 620px;
	margin-inline: auto;
}

.gl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gl-muted);
	margin-bottom: 14px;
}

.gl-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--gl-yellow);
}

.gl-section--navy .gl-eyebrow {
	color: rgba(255, 255, 255, .72);
}

.gl-head--center .gl-eyebrow::before {
	display: none;
}

/* text-wrap: balance — chia đều số chữ giữa các dòng, tránh rớt 1 chữ xuống dòng cuối */
.gl-h2 {
	font-size: clamp(28px, 4vw, 40px);
	text-wrap: balance;
}

/* Phần nhấn trong tiêu đề = dòng phụ thanh mảnh hơn, cùng màu. */
.gl-h2 em {
	font-style: normal;
	font-weight: 400;
	color: inherit;
}

.gl-lede {
	text-wrap: pretty;
	margin-top: 14px;
	font-size: 16px;
	color: var(--gl-muted);
}

.gl-section--navy .gl-lede {
	color: rgba(255, 255, 255, .78);
}

/* Nút */
.gl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: var(--gl-radius-sm);
	font-weight: 600;
	font-size: 15px;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	white-space: nowrap;
}

.gl-btn--primary {
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
}

.gl-btn--primary:hover {
	background: var(--gl-yellow-d);
}

.gl-btn--navy {
	background: var(--gl-navy);
	color: var(--gl-white);
}

.gl-btn--navy:hover {
	background: var(--gl-navy-d);
}

.gl-btn--ghost {
	border: 1.5px solid rgba(255, 255, 255, .3);
	color: var(--gl-white);
}

.gl-btn--ghost:hover {
	border-color: var(--gl-yellow);
	color: var(--gl-yellow);
}

.gl-btn--block {
	width: 100%;
}

/* Placeholder ảnh chưa có */
.gl-ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px;
	background: var(--gl-img-bg);
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
	border-radius: var(--gl-radius);
	overflow: hidden;
}

.gl-ph::after {
	content: "ẢNH CẦN BỔ SUNG";
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 8px;
	background: rgba(28, 55, 103, .85);
	color: #fff;
	font-size: 9px;
	letter-spacing: .08em;
	border-radius: 4px;
}

.gl-ph--4x3 {
	aspect-ratio: 4 / 3;
}

.gl-ph--1x1 {
	aspect-ratio: 1 / 1;
}

.gl-ph--16x9 {
	aspect-ratio: 16 / 9;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.gl-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--gl-navy);
	color: var(--gl-white);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.gl-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.gl-logo {
	flex-shrink: 0;
}

.gl-logo img {
	height: 34px;
	width: auto;
}

/* Nav */
.gl-nav {
	margin-left: auto;
}

.gl-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.gl-nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	color: rgba(255, 255, 255, .92);
	transition: background-color .15s ease, color .15s ease;
}

.gl-nav__link:hover,
.gl-nav__item--open>.gl-nav__link {
	background: rgba(255, 255, 255, .1);
	color: var(--gl-white);
}

.gl-nav__caret {
	width: 10px;
	height: 10px;
	transition: transform .2s ease;
}

.gl-nav__item--open .gl-nav__caret {
	transform: rotate(180deg);
}

.gl-nav__item {
	position: relative;
}

.gl-submenu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 248px;
	padding: 8px;
	background: var(--gl-white);
	color: var(--gl-text);
	border-radius: var(--gl-radius);
	box-shadow: var(--gl-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.gl-nav__item--open>.gl-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Cấp 3 — bay ra bên phải mục cấp 2 */
.gl-submenu__item {
	position: relative;
}

.gl-submenu__caret {
	width: 10px;
	height: 10px;
	margin-left: auto;
	transform: rotate(-90deg);
	flex-shrink: 0;
}

.gl-submenu--sub {
	top: -8px;
	left: calc(100% + 8px);
	transform: translateX(-6px);
}

/* Vùng đệm để rê chuột từ cấp 2 sang cấp 3 không bị tắt */
.gl-submenu--sub::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 100%;
	width: 12px;
}

.gl-submenu__item:hover>.gl-submenu--sub,
.gl-submenu__item:focus-within>.gl-submenu--sub,
.gl-submenu__item.is-open>.gl-submenu--sub {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

/* Hai mục ngoài cùng bên phải: cấp 3 bay sang trái để không tràn màn hình */
.gl-nav__item:nth-last-child(-n+2) .gl-submenu--sub {
	left: auto;
	right: calc(100% + 8px);
	transform: translateX(6px);
}

.gl-nav__item:nth-last-child(-n+2) .gl-submenu--sub::before {
	right: auto;
	left: 100%;
}

.gl-nav__item:nth-last-child(-n+2) .gl-submenu__item:hover>.gl-submenu--sub,
.gl-nav__item:nth-last-child(-n+2) .gl-submenu__item:focus-within>.gl-submenu--sub,
.gl-nav__item:nth-last-child(-n+2) .gl-submenu__item.is-open>.gl-submenu--sub {
	transform: translateX(0);
}

.gl-submenu__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	transition: background-color .15s ease, color .15s ease;
}

.gl-submenu__link:hover {
	background: var(--gl-cream);
	color: var(--gl-navy);
}

.gl-submenu__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gl-yellow);
	flex-shrink: 0;
}

/* Hotline + tài khoản */
.gl-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

.gl-hotline {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gl-hotline__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
}

.gl-hotline__num {
	display: block;
	font-weight: 800;
	font-size: 16px;
	line-height: 1.2;
}

.gl-hotline__label {
	display: block;
	font-size: 11px;
	color: rgba(255, 255, 255, .62);
}

.gl-account {
	position: relative;
}

.gl-account__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	text-decoration: none;
	border-radius: var(--gl-radius-sm);
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-weight: 700;
	font-size: 15px;
}

.gl-account__btn:hover {
	background: var(--gl-yellow-d);
}

.gl-account .gl-submenu {
	left: auto;
	right: 0;
	min-width: 232px;
}

.gl-account--open .gl-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.gl-submenu__sep {
	height: 1px;
	margin: 6px 10px;
	background: var(--gl-line);
}

/* Nút mở menu mobile */
.gl-burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .12);
	place-items: center;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.gl-hero {
	position: relative;
	background: var(--gl-navy-d);
	color: var(--gl-white);
	overflow: hidden;
}

.gl-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gl-hero__veil {
	position: absolute;
	inset: 0;
}

/* Hero trang chủ: một cột căn trái — tiêu đề 2 dòng rồi khối tra cứu.
   Lớp phủ navy đậm bên trái, nhạt dần sang phải (đè lớp phủ chung của design.css). */
:root .gl-hero--home .gl-hero__veil {
	background: linear-gradient(90deg, rgba(22, 42, 80, .9) 0%, rgba(22, 42, 80, .72) 45%, rgba(22, 42, 80, .25) 100%) !important;
}

.gl-hero__inner {
	position: relative;
	padding-block: 128px;
}

/* Tiêu đề in hoa: dòng 1 đậm, dòng 2 mảnh (đè quy chuẩn H1 của design.css). */
:root .gl-hero--home .gl-hero__title {
	max-width: 760px;
	font-size: clamp(30px, 2.2vw + 14px, 48px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

:root .gl-hero--home .gl-hero__title span {
	display: block;
	font-weight: 300;
	color: inherit;
}

/* Khối tra cứu 2 tab (bộ lọc chung lopxe_tire_finder() bên trong). */
.gl-hero-finder {
	max-width: 740px;
	margin-top: 32px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--gl-radius);
	background: rgba(30, 54, 102, .78);
	backdrop-filter: blur(6px);
}

.gl-hero-finder__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.gl-hero-finder__tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1.5px solid rgba(255, 255, 255, .28);
	border-radius: var(--gl-radius-sm);
	background: rgba(255, 255, 255, .08);
	color: var(--gl-white);
	text-align: left;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.gl-hero-finder__tab:hover {
	border-color: rgba(255, 255, 255, .5);
}

.gl-hero-finder__tab[aria-selected="true"] {
	border-color: var(--gl-yellow);
	background: var(--gl-white);
	color: var(--gl-navy);
}

.gl-hero-finder__tab-text {
	min-width: 0;
}

.gl-hero-finder__tab strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.gl-hero-finder__tab small {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.35;
	opacity: .85;
}

.gl-hero-finder__arrow {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: var(--gl-radius-sm);
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-weight: 700;
}

/* Một hàng: 3 ô chọn + nút. Tab Loại xe hiện 3 ô xe, tab Kích cỡ hiện 3 ô kích thước. */
.gl-hero-finder .gl-tf {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
}

.gl-hero-finder .gl-tf .gl-tf__grid {
	grid-column: 1;
	grid-row: 1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.gl-hero-finder[data-mode="vehicle"] .gl-tf__grid > .gl-tf__field:nth-child(n+4),
.gl-hero-finder[data-mode="size"] .gl-tf__grid > .gl-tf__field:nth-child(-n+3) {
	display: none;
}

.gl-hero-finder .gl-tf .gl-tf__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.gl-hero-finder .gl-tf select {
	border-color: transparent;
}

.gl-hero-finder .gl-tf select:disabled {
	background-color: rgba(255, 255, 255, .55);
	color: #5b6880;
}

.gl-hero-finder .gl-tf .gl-tf__note {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-top: 0;
	color: rgba(255, 255, 255, .85);
}

.gl-hero-finder .gl-tf .gl-tf__note-title {
	color: var(--gl-white);
}

.gl-hero-finder .gl-tf .gl-tf__foot {
	grid-column: 2;
	grid-row: 1;
	margin-top: 0;
}

.gl-hero-finder .gl-tf .gl-tf__submit {
	min-height: 46px;
	padding: 0 24px;
	font-weight: 700;
}

.gl-hero-finder .gl-tf .gl-tf__submit svg {
	display: none;
}

.gl-usp {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 20px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .06);
	font-size: 14px;
	font-weight: 600;
}

.gl-usp svg {
	color: var(--gl-yellow);
	flex-shrink: 0;
}

.gl-finder__search {
	display: flex;
	margin-top: 22px;
	border: 1.5px solid var(--gl-line);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .15s ease;
}

.gl-finder__search:focus-within {
	border-color: var(--gl-navy);
}

.gl-finder__search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	padding: 0 14px;
	min-width: 0;
}

.gl-finder__search-field svg {
	color: var(--gl-muted);
	flex-shrink: 0;
}

.gl-finder__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	padding: 14px 0;
	font-size: 15px;
	background: none;
}

.gl-finder__search button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 22px;
	background: var(--gl-navy);
	color: var(--gl-white);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.gl-finder__search button:hover {
	background: var(--gl-navy-d);
}

.gl-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.gl-field__label {
	font-size: 13px;
	font-weight: 600;
}

.gl-field select {
	appearance: none;
	width: 100%;
	padding: 13px 38px 13px 14px;
	border: 1.5px solid var(--gl-line);
	border-radius: 10px;
	background-color: var(--gl-white);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	font-size: 15px;
	cursor: pointer;
	transition: border-color .15s ease;
}

.gl-field select:focus {
	outline: 0;
	border-color: var(--gl-navy);
}

.gl-field select:disabled {
	background-color: #f6f7f9;
	color: #9aa3b2;
	cursor: not-allowed;
}

/* Dải USP vàng */
.gl-strip {
	background: var(--gl-yellow);
}

.gl-strip__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	text-align: center;
}

.gl-strip__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 12px;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gl-navy-d);
	position: relative;
}

.gl-strip__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--gl-navy);
	color: var(--gl-yellow);
	flex-shrink: 0;
}

.gl-strip__item+.gl-strip__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 22px;
	background: rgba(21, 42, 79, .22);
}

/* --------------------------------------------------------------------------
   6. Dải danh mục sản phẩm
   -------------------------------------------------------------------------- */
.gl-cats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.gl-cat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	aspect-ratio: 1 / 1.1;
	padding: 16px;
	overflow: hidden;
	background: #fdf3d2;
	color: var(--gl-navy-d);
	border-radius: var(--gl-radius);
	transition: background-color .18s ease, transform .18s ease;
}

.gl-cat:hover {
	background: #fbe7a6;
	transform: translateY(-3px);
}

.gl-cat__name {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.25;
}

.gl-cat__count {
	font-size: 13px;
	color: rgba(21, 42, 79, .62);
}

/* Ảnh lớn sát đáy ô — ảnh tách nền (PNG) sẽ nổi thẳng trên nền vàng nhạt */
.gl-cat__media {
	flex: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 0;
	margin-top: 10px;
	color: var(--gl-navy);
}

.gl-cat__media img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
	transition: transform .25s ease;
}

.gl-cat:hover .gl-cat__media img {
	transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   7. Grid hãng lốp
   -------------------------------------------------------------------------- */
.gl-brands {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gl-gap);
}

.gl-brand {
	display: flex;
	flex-direction: column;
	padding: 26px 24px 24px;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius);
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gl-brand:hover {
	border-color: var(--gl-navy);
	transform: translateY(-4px);
	box-shadow: var(--gl-shadow-md);
}

.gl-brand__logo {
	display: grid;
	place-items: center;
	height: 62px;
	margin-bottom: 16px;
	min-width: 0;
}

/* Logo co được theo bề ngang card — nếu cố định px, card không thu nhỏ dưới 182px và tràn ngang trên mobile */
.gl-brand__logo img {
	width: 100%;
	max-width: 132px;
	height: auto;
}

.gl-brand__name {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-align: center;
}

.gl-brand__stats {
	margin: 18px 0 20px;
	padding-top: 16px;
	border-top: 1px solid var(--gl-line);
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.gl-brand__stat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
}

.gl-brand__stat dt {
	color: var(--gl-muted);
}

.gl-brand__stat dd {
	margin: 0;
	font-weight: 700;
}

.gl-brand__stat dd em {
	font-style: normal;
	color: var(--gl-navy);
}

.gl-brand__cta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	border-radius: var(--gl-radius-sm);
	background: var(--gl-cream);
	color: var(--gl-navy);
	font-weight: 600;
	font-size: 14px;
	transition: background-color .18s ease, color .18s ease;
}

.gl-brand:hover .gl-brand__cta {
	background: var(--gl-navy);
	color: var(--gl-white);
}

/* --------------------------------------------------------------------------
   8. Dải dịch vụ
   -------------------------------------------------------------------------- */
.gl-services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gl-gap);
}

.gl-service {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--gl-white);
	color: var(--gl-text);
	border-radius: var(--gl-radius);
	transition: transform .18s ease;
}

.gl-service:hover {
	transform: translateY(-3px);
}

/* Ảnh tràn viền phía trên thẻ */
.gl-service__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--gl-cream);
}

.gl-service__media img,
.gl-service__media .gl-ph {
	width: 100%;
	height: 100%;
}

.gl-service__media img {
	object-fit: cover;
	transition: transform .3s ease;
}

.gl-service:hover .gl-service__media img {
	transform: scale(1.05);
}

.gl-service__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.gl-service__name {
	font-size: 17px;
	font-weight: 700;
	color: var(--gl-navy-d);
}

.gl-service__desc {
	font-size: 14px;
	color: var(--gl-muted);
}

.gl-service__more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--gl-navy);
}

.gl-services__cta {
	margin-top: 36px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   9. Thu cũ đổi mới — 4 bước
   -------------------------------------------------------------------------- */
.gl-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gl-gap);
}

.gl-step {
	position: relative;
	padding-right: 14px;
}

/* Nhãn "Bước 01" — mốc của dòng thời gian, gạch nối chạy ngang tâm nhãn */
.gl-step__label {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 13px;
	font-weight: 800;
	line-height: 18px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.gl-step__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

/* Icon bước — ô vàng bo góc như icon dịch vụ */
.gl-step__icon {
	display: grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: var(--gl-radius);
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
}

/* Đường nối giữa các bước */
.gl-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 14px;
	left: 112px;
	right: -12px;
	height: 2px;
	background: repeating-linear-gradient(90deg, rgba(245, 200, 66, .5) 0 7px, transparent 7px 14px);
}

.gl-step__name {
	min-width: 0;
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 700;
}

.gl-step__desc {
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
}

/* Form gửi thông tin */
.gl-tradein {
	margin-top: 52px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 0;
	background: var(--gl-white);
	color: var(--gl-text);
	border-radius: var(--gl-radius-lg);
	overflow: hidden;
	box-shadow: var(--gl-shadow-lg);
}

.gl-tradein__media {
	position: relative;
	min-width: 0;
	overflow: hidden;
}

/* Ảnh phủ kín cột trái, cao theo cột form */
.gl-tradein__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Phủ tối nhẹ ở đáy để nhãn vàng nổi rõ */
.gl-tradein__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 40%;
	background: linear-gradient(180deg, transparent, rgba(21, 42, 79, .55));
	pointer-events: none;
}

.gl-tradein__note {
	z-index: 1;
}

/* Bỏ aspect-ratio để chiều cao bám theo cột form, chiều rộng không tràn sang chữ */
.gl-tradein__media .gl-ph {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
}

.gl-tradein__body {
	min-width: 0;
}

.gl-tradein__note {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 13px;
	font-weight: 700;
	box-shadow: var(--gl-shadow-md);
}

.gl-tradein__body {
	padding: 38px 36px;
}

.gl-tradein__title {
	font-size: 25px;
	text-wrap: balance;
}

.gl-tradein__sub {
	margin-top: 10px;
	font-size: 15px;
	color: var(--gl-muted);
}

.gl-tradein__form {
	margin-top: 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}

.gl-tradein__form .gl-field--full {
	grid-column: 1 / -1;
}

.gl-tradein__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gl-tradein__agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--gl-muted);
}

.gl-tradein__agree input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: var(--gl-navy);
}

.gl-tradein__message {
	margin: 0;
	padding: 11px 13px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 600;
}

.gl-tradein__message[data-kind="ok"] {
	background: #e8f7ef;
	color: #087443;
}

.gl-tradein__message[data-kind="err"] {
	background: #fff0f0;
	color: var(--gl-red);
}

.gl-tradein__submit {
	min-height: 48px;
}

.gl-tradein__spinner {
	display: none;
	width: 17px;
	height: 17px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: gl-tradein-spin .7s linear infinite;
}

.gl-tradein__submit.is-loading .gl-tradein__spinner {
	display: block;
}

.gl-tradein__submit.is-loading .gl-tradein__submit-icon {
	display: none;
}

.gl-tradein__submit:disabled {
	cursor: wait;
	opacity: .82;
	transform: none;
}

@keyframes gl-tradein-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.gl-tradein__spinner { animation: none; }
}

.gl-field input[type="text"],
.gl-field input[type="tel"] {
	width: 100%;
	padding: 13px 14px;
	border: 1.5px solid var(--gl-line);
	border-radius: 10px;
	font-size: 15px;
	transition: border-color .15s ease;
}

.gl-field input:focus {
	outline: 0;
	border-color: var(--gl-navy);
}

/* Nút mua trên sàn TMĐT — thấp, đúng màu nhận diện từng sàn */
.gl-shops {
	display: flex;
	gap: 10px;
}

.gl-shop {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding-inline: 14px;
	border-radius: var(--gl-radius-sm);
	color: var(--gl-white);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: filter .15s ease, transform .15s ease;
}

.gl-shop:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.gl-shop--shopee { background: #ee4d2d; }
.gl-shop--tiktok { background: #000; }

.gl-shop__logo {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

@media (max-width: 520px) {
	.gl-shop {
		gap: 6px;
		padding-inline: 8px;
		font-size: 13px;
		white-space: normal;
		text-align: center;
		line-height: 1.2;
	}
}

/* Tải ảnh / video trong form thu cũ */
.gl-upload {
	display: grid;
	gap: 8px;
}

.gl-upload .gl-field__label em {
	font-style: normal;
	font-weight: 400;
	color: var(--gl-muted);
}

.gl-upload__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	border: 1.5px dashed #c7cdd8;
	border-radius: var(--gl-radius-sm);
	background: #f8f9fb;
	color: var(--gl-navy);
	font-size: 14px;
	font-weight: 600;
	transition: border-color .15s ease, background-color .15s ease;
}

.gl-upload__btn:hover {
	border-color: var(--gl-navy);
	background: var(--gl-white);
}

.gl-upload__list {
	display: grid;
	gap: 6px;
}

.gl-upload__list:empty {
	display: none;
}

.gl-upload__file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	border: 1px solid var(--gl-line);
	border-radius: var(--gl-radius-sm);
	font-size: 14px;
}

.gl-upload__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gl-upload__del {
	flex-shrink: 0;
	color: var(--gl-red);
	font-size: 13px;
	font-weight: 600;
}

.gl-tradein__hint {
	margin-top: 16px;
	font-size: 13px;
	color: var(--gl-muted);
}

/* --------------------------------------------------------------------------
   10. Testimonials + Blog
   -------------------------------------------------------------------------- */
.gl-reviews {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gl-gap);
}

.gl-review {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 24px;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius);
}

.gl-stars {
	display: flex;
	gap: 3px;
	color: var(--gl-yellow);
}

.gl-review__text {
	font-size: 15px;
	color: #374151;
	flex: 1;
}

.gl-review__who {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--gl-line);
}

.gl-review__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}

.gl-review__avatar.gl-ph {
	padding: 0;
	font-size: 9px;
}

.gl-review__avatar.gl-ph::after {
	display: none;
}

.gl-review__name {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
}

.gl-review__car {
	font-size: 13px;
	color: var(--gl-muted);
}

.gl-blog-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
}

.gl-blog-head .gl-head {
	margin-bottom: 0;
}

.gl-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: var(--gl-gap);
}

.gl-posts>.gl-post:only-child {
	width: 100%;
	max-width: 420px;
}

.gl-post {
	display: flex;
	flex-direction: column;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.gl-post:hover {
	transform: translateY(-4px);
	box-shadow: var(--gl-shadow-md);
	border-color: var(--gl-navy);
}

.gl-post__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.gl-post__media>a {
	display: block;
	width: 100%;
	height: 100%;
}

.gl-post__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gl-post__media .gl-ph {
	width: 100%;
	height: 100%;
	border-radius: 0;
}

.gl-post__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 24px;
	flex: 1;
}

.gl-post__date {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gl-muted);
}

.gl-post__title {
	font-size: 18px;
	line-height: 1.34;
	text-wrap: pretty;
}

.gl-post__excerpt {
	font-size: 14px;
	color: var(--gl-muted);
	flex: 1;
}

.gl-post__more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	font-size: 14px;
	font-weight: 700;
	color: var(--gl-navy);
	text-decoration: none;
}

.gl-post__more:hover,
.gl-post__more:focus-visible {
	color: var(--gl-blue);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.gl-footer {
	--gl-footer-panel: #2b4a80;
	--gl-footer-info: #f7f8fb;
	background: var(--gl-navy);
	color: rgba(255, 255, 255, .8);
	font-size: 13px;
}

.gl-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
}

.gl-footer__panel {
	display: flex;
	flex-direction: column;
	padding: 52px 30px 0;
}

.gl-footer__panel--products {
	background: var(--gl-footer-panel);
}

.gl-footer__panel--info {
	background: var(--gl-footer-info);
	color: #3d4a5c;
}

.gl-footer__main {
	flex: 1;
	padding-bottom: 32px;
}

.gl-footer__foot {
	display: flex;
	min-height: 84px;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.gl-footer__panel--info .gl-footer__foot {
	border-top-color: #e3e7ee;
}

.gl-footer__logo img {
	width: auto;
	height: 30px;
	margin-bottom: 18px;
}

.gl-footer__about {
	max-width: 360px;
	font-size: 13px;
	line-height: 1.7;
}

.gl-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 11px;
}

.gl-footer__copy strong {
	color: var(--gl-white);
}

.gl-footer__title {
	margin-bottom: 16px;
	color: var(--gl-yellow);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.gl-footer__panel--info .gl-footer__title {
	color: var(--gl-navy-d);
}

.gl-footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 13px;
}

.gl-footer__list a {
	color: var(--gl-white);
}

.gl-footer__list a:hover {
	color: var(--gl-yellow);
}

.gl-footer__panel--info .gl-footer__list a {
	color: #3d4a5c;
}

.gl-footer__panel--info .gl-footer__list a:hover {
	color: var(--gl-navy);
}

.gl-footer__cta {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	gap: 6px;
	padding: 0 16px;
	border-radius: 6px;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 12px;
	font-weight: 700;
	transition: background-color .15s ease;
}

.gl-footer__cta:hover {
	background: #ffd65e;
	color: var(--gl-navy-d);
}

.gl-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.gl-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 13px;
}

.gl-footer__hotline {
	display: grid;
	gap: 2px;
}

.gl-footer__hotline small {
	color: #6b7686;
	font-size: 10px;
}

.gl-footer__phone {
	color: var(--gl-navy-d);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
}

.gl-footer__email {
	color: var(--gl-navy-d);
	font-weight: 700;
}

a.gl-footer__phone:hover,
a.gl-footer__email:hover {
	color: var(--gl-navy);
	text-decoration: underline;
}

.gl-footer__bottom {
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.gl-footer__bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 10px;
}

.gl-footer__bottom nav a {
	color: #3d4a5c;
}

.gl-footer__bottom nav a:hover {
	color: var(--gl-navy);
	text-decoration: underline;
}

.gl-footer__seo-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gl-navy-d);
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.gl-footer__seo-toggle svg {
	transition: transform .2s ease;
}

.gl-footer__seo-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.gl-footer__seo {
	background: var(--gl-navy-d);
}

.gl-footer__seo .gl-seo:first-child {
	border-top: 0;
}

@media (max-width: 1100px) {
	.gl-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.gl-footer__panel--info {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.gl-footer__grid,
	.gl-footer__cols {
		grid-template-columns: 1fr;
	}

	.gl-footer__panel {
		padding: 40px 20px 0;
	}

	.gl-footer__foot {
		min-height: 72px;
		padding-block: 16px;
	}

	.gl-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}
}

.gl-seo {
	padding-block: 28px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.gl-seo__title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
	margin-bottom: 12px;
}

.gl-seo__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gl-seo__links a {
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	font-size: 13px;
	transition: background-color .15s ease, color .15s ease;
}

.gl-seo__links a:hover {
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
}

.gl-backtop {
	position: fixed;
	z-index: 65;
	right: 24px;
	bottom: 24px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	box-shadow: 0 8px 24px rgba(21, 42, 79, .28);
	opacity: 0;
	pointer-events: none;
	transform: translateY(14px);
	transition: opacity .22s ease, transform .22s ease, background-color .18s ease;
}

.gl-backtop svg {
	display: block;
	transform: rotate(180deg);
}

.gl-backtop.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.gl-backtop:hover,
.gl-backtop:focus-visible {
	background: var(--gl-white);
	outline: 3px solid rgba(245, 200, 66, .35);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.gl-backtop { transition: none; }
}

/* --------------------------------------------------------------------------
   12. Menu mobile
   -------------------------------------------------------------------------- */
.gl-mobile {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(10, 24, 46, .6);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility 0s linear .32s;
}

.gl-mobile[data-open="true"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.gl-mobile__panel {
	position: absolute;
	inset-block: 0;
	right: 0;
	width: min(88vw, 360px);
	padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px));
	background: var(--gl-navy);
	color: var(--gl-white);
	overflow-y: auto;
	transform: translate3d(100%, 0, 0);
	transition: transform .32s cubic-bezier(.22, 1, .36, 1);
	will-change: transform;
}

.gl-mobile[data-open="true"] .gl-mobile__panel {
	transform: translate3d(0, 0, 0);
}

.gl-mobile__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.gl-mobile__head img {
	height: 28px;
	width: auto;
}

.gl-mobile__close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .12);
}

.gl-mobile__group+.gl-mobile__group {
	margin-top: 6px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding-top: 6px;
}

.gl-mobile__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 4px;
	color: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	width: 100%;
}

.gl-mobile__link svg {
	transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.gl-mobile__link[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.gl-mobile__sub {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 2px 0 10px 14px;
	opacity: 1;
	transform: translateY(0);
	transition: height .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.gl-mobile__sub--animating {
	overflow: hidden;
}

.gl-mobile__sub--animating[style*="height: 0px"] {
	opacity: 0;
	transform: translateY(-6px);
}

.gl-mobile__sub a {
	padding: 9px 4px;
	font-size: 13px;
	color: rgba(255, 255, 255, .78);
}

/* Cấp 3 trong menu mobile */
.gl-mobile__subhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gl-mobile__subhead a {
	flex: 1;
}

.gl-mobile__subtoggle {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	color: rgba(255, 255, 255, .78);
}

.gl-mobile__subtoggle svg {
	transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.gl-mobile__subtoggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.gl-mobile__sub--l3 {
	padding-bottom: 4px;
	border-left: 1px solid rgba(255, 255, 255, .14);
}

.gl-mobile__cta {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
	.gl-mobile,
	.gl-mobile__panel,
	.gl-mobile__sub,
	.gl-mobile__link svg,
	.gl-mobile__subtoggle svg {
		transition-duration: 0s;
	}
}

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.gl-hero__inner {
		padding-block: 96px;
	}

	.gl-brands {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gl-cats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.gl-reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 960px) {

	.gl-nav,
	.gl-hotline__text {
		display: none;
	}

	.gl-burger {
		display: grid;
	}

	.gl-header__inner {
		min-height: 68px;
		gap: 14px;
	}

	.gl-header__actions {
		margin-left: auto;
		gap: 10px;
	}

	.gl-account__btn span {
		display: none;
	}

	.gl-account__btn {
		padding: 11px 14px;
	}

	.gl-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gl-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 34px;
	}

	.gl-step:nth-child(2)::after {
		display: none;
	}

	.gl-tradein {
		grid-template-columns: 1fr;
	}

	.gl-tradein__media {
		aspect-ratio: 16 / 9;
	}

	.gl-tradein__media .gl-ph {
		position: absolute;
		inset: 0;
		height: 100%;
	}

	.gl-posts {
		grid-template-columns: 1fr;
	}

	.gl-blog-head {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 720px) {
	.gl-backtop {
		right: 16px;
		bottom: calc(78px + env(safe-area-inset-bottom, 0px));
		width: 44px;
		height: 44px;
	}

	.gl-hero__inner {
		padding-block: 64px;
	}

	/* Hero trang chủ trên điện thoại: tab gọn, 3 ô và nút xếp dọc. */
	.gl-hero-finder {
		margin-top: 24px;
		padding: 14px;
	}

	.gl-hero-finder__tabs {
		gap: 8px;
		margin-bottom: 14px;
	}

	.gl-hero-finder__tab {
		padding: 10px 12px;
	}

	.gl-hero-finder__tab small,
	.gl-hero-finder__arrow {
		display: none;
	}

	.gl-hero-finder .gl-tf {
		grid-template-columns: 1fr;
	}

	.gl-hero-finder .gl-tf .gl-tf__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.gl-hero-finder .gl-tf .gl-tf__foot {
		grid-column: 1;
		grid-row: 3;
	}

	.gl-hero-finder .gl-tf .gl-tf__submit {
		width: 100%;
	}

	.gl-strip__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gl-strip__item:nth-child(3)::before,
	.gl-strip__item:nth-child(2n+1)::before {
		display: none;
	}

	.gl-strip__icon {
		width: 28px;
		height: 28px;
	}

	.gl-strip__icon svg {
		width: 15px;
		height: 15px;
	}

	.gl-brands {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.gl-cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gl-tradein__body {
		padding: 30px 22px;
	}

	.gl-tradein__form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.gl-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gl-reviews {
		grid-template-columns: 1fr;
	}

	.gl-steps {
		grid-template-columns: 1fr;
	}

	.gl-step::after {
		display: none !important;
	}

	/* Mobile: nhãn "Bước 01" và tên bước cùng một hàng. */
	.gl-step {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		column-gap: 12px;
		padding-right: 0;
	}

	.gl-step__label,
	.gl-step__name {
		margin-bottom: 0;
	}

	.gl-step__desc {
		grid-column: 1 / -1;
		margin-top: 10px;
	}

	.gl-services {
		grid-template-columns: 1fr;
	}

	.gl-finder__search {
		flex-direction: column;
		align-items: stretch;
	}

	.gl-finder__search button {
		padding: 14px;
		justify-content: center;
	}

	.gl-usp {
		padding: 9px 15px;
		font-size: 13px;
	}
}
