/* ==========================================================================
   GIALOP.VN — Template chung cho các danh mục KHÔNG phải lốp
   Dùng cho: Dầu nhớt · Ắc quy · Gạt mưa · Phụ kiện
   Khác trang lốp ở chỗ chưa có dữ liệu field chuẩn hoá nên không hiện giá,
   thay bằng luồng "yêu cầu báo giá theo đúng cấu hình".

   Dùng chung: mockup.css (token, header, footer, .gl-btn, .gl-field)
               category.css (.gl-crumb, .gl-chip, .gl-faq, .gl-links, .gl-empty)
   Nạp bởi lopxe_enqueue_generic_category_assets() trong inc/core/enqueue.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   2. Hero nền sáng — phân biệt rõ với trang lốp (nền navy)
   -------------------------------------------------------------------------- */
.gl-hero2 {
	position: relative;
	background:
		radial-gradient(1200px 420px at 88% 8%, rgba(245, 200, 66, .30), transparent 62%),
		linear-gradient(180deg, #ffffff 0%, #fdfaf1 58%, #fbf6e8 100%);
	border-bottom: 1px solid var(--gl-line);
	overflow: hidden;
}
/* Vệt tròn trang trí góc phải */
.gl-hero2::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -120px;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	border: 42px solid rgba(28, 55, 103, .045);
	pointer-events: none;
}
.gl-hero2__inner { position: relative; padding-block: 60px 68px; }
/* Giới hạn bề ngang ở phần tử CON, không đặt lên .gl-wrap —
   .gl-wrap có margin-inline:auto nên max-width tại đó sẽ đẩy cả khối vào giữa */
.gl-hero2__title { max-width: 760px; }

.gl-hero2__eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	color: var(--gl-muted);
	margin-bottom: 18px;
}
.gl-hero2__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gl-yellow); }

.gl-hero2__title {
	font-size: clamp(32px, 4.6vw, 45px);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.08;
}
.gl-hero2__title span { display: block; }
.gl-hero2__title em { font-style: normal; color: var(--gl-navy); }

.gl-hero2__desc {
	margin-top: 20px;
	max-width: 620px;
	font-size: 16.5px;
	color: #4b5563;
	text-wrap: pretty;
}
.gl-hero2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gl-hero2__actions .gl-btn { padding: 15px 28px; }

/* --------------------------------------------------------------------------
   3. Đầu section sản phẩm
   -------------------------------------------------------------------------- */
.gl-listhead {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 28px; flex-wrap: wrap; margin-bottom: 30px;
}
.gl-listhead__title { font-size: clamp(25px, 3vw, 34px); }
.gl-listhead__note {
	display: flex; align-items: flex-start; gap: 11px;
	max-width: 360px; font-size: 13px; color: var(--gl-muted); line-height: 1.5;
}
.gl-listhead__note svg { flex-shrink: 0; margin-top: 2px; color: var(--gl-navy); }

/* --------------------------------------------------------------------------
   4. Card sản phẩm dạng "yêu cầu báo giá"
   -------------------------------------------------------------------------- */
.gl-qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gl-gap); }

.gl-qcard {
	display: flex;
	flex-direction: column;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-top: 3px solid var(--gl-line);
	border-radius: var(--gl-radius);
	padding: 20px 20px 18px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gl-qcard:hover { transform: translateY(-4px); box-shadow: var(--gl-shadow-md); }
/* Viền trên đổi màu theo thứ tự — nhịp thị giác như ảnh mẫu */
.gl-qcard:nth-child(3n+1) { border-top-color: var(--gl-yellow); }
.gl-qcard:nth-child(3n+2) { border-top-color: var(--gl-line); }
.gl-qcard:nth-child(3n+3) { border-top-color: var(--gl-navy); }
.gl-qcard--picked { border-color: var(--gl-navy); box-shadow: 0 0 0 3px rgba(28, 55, 103, .12); }

.gl-qcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gl-qcard__idx { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gl-muted); }
.gl-qcard__seal {
	display: grid; place-items: center;
	width: 34px; height: 34px; flex-shrink: 0;
	border: 1.5px solid var(--gl-line); border-radius: 7px;
	background: var(--gl-cream);
	font-size: 11px; font-weight: 900; color: var(--gl-navy);
	line-height: 1;
}

.gl-qcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gl-tag {
	padding: 4px 10px;
	border: 1px solid var(--gl-line);
	border-radius: 5px;
	background: #fbfcfe;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #4b5563;
}

.gl-qcard__title { font-size: 19px; font-weight: 800; line-height: 1.3; text-wrap: pretty; }
.gl-qcard__title a:hover { color: var(--gl-navy); }
.gl-qcard__desc { margin-top: 10px; font-size: 13.5px; color: var(--gl-muted); line-height: 1.55; text-wrap: pretty; }

/* Bảng 3 ô thông số */
.gl-qspec {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 16px 0 0;
	border: 1px solid var(--gl-line);
	border-radius: 8px;
	overflow: hidden;
}
.gl-qspec__cell { padding: 10px 11px; min-width: 0; }
.gl-qspec__cell + .gl-qspec__cell { border-left: 1px solid var(--gl-line); }
.gl-qspec__key { font-size: 10px; font-weight: 700; color: var(--gl-muted); margin-bottom: 3px; }
.gl-qspec__val { font-size: 13px; font-weight: 700; line-height: 1.35; }
.gl-qspec__val--soft { font-weight: 600; color: var(--gl-muted); }

/* Khối giá & ưu đãi */
.gl-qprice {
	margin-top: 14px;
	padding: 13px 15px;
	background: #fdf6e0;
	border-left: 3px solid var(--gl-yellow);
	border-radius: 0 8px 8px 0;
}
.gl-qprice__label { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a6d13; }
.gl-qprice__main { font-size: 14.5px; font-weight: 800; color: var(--gl-navy-d); margin: 5px 0 4px; }
.gl-qprice__note { font-size: 12px; color: #6b5615; line-height: 1.45; }

/* Khối cảnh báo cấu hình */
.gl-qnote {
	display: flex; gap: 10px;
	margin-top: 14px; padding-top: 14px;
	border-top: 1px solid var(--gl-line);
}
.gl-qnote svg { flex-shrink: 0; margin-top: 2px; color: #b8901f; }
.gl-qnote__label { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gl-muted); margin-bottom: 3px; }
.gl-qnote__text { font-size: 12px; color: #4b5563; line-height: 1.5; }

/* Chân card */
.gl-qcard__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto; padding-top: 16px;
}
.gl-qcompare {
	display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
	font-size: 13px; font-weight: 600; color: var(--gl-muted);
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
	transition: color .15s ease;
}
.gl-qcompare:hover { color: var(--gl-navy); }
.gl-qcompare[aria-pressed="true"] { color: var(--gl-navy); font-weight: 700; }
.gl-qcta {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 700; color: var(--gl-navy);
	text-align: right;
	white-space: nowrap;
}
.gl-qcta:hover { color: var(--gl-navy-d); }
.gl-qcta svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   5. Thanh tìm theo dòng xe — nền navy, ô trắng, nút vàng (màu logo GIALOP.VN)
   -------------------------------------------------------------------------- */
.gl-carbar {
	display: grid;
	grid-template-columns: minmax(180px, 230px) repeat(3, minmax(0, 1fr)) auto;
	align-items: center;
	gap: 12px;
	margin-bottom: 26px;
	padding: 18px 22px;
	background: var(--gl-navy);
	border-radius: var(--gl-radius);
}
.gl-carbar__title {
	font-family: var(--gl-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gl-white);
}
.gl-carbar .gl-field select {
	height: 46px;
	padding-block: 0;
	border: 0;
	border-radius: 8px;
	background-color: var(--gl-white);
}
.gl-carbar .gl-field select:disabled {
	background-color: #e9edf3;
	color: #8a94a6;
}
.gl-carbar__submit {
	height: 46px;
	padding: 0 30px;
	border-radius: 8px;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: background-color .15s ease;
}
.gl-carbar__submit:hover { background: var(--gl-yellow-d); }
.gl-carbar__clear {
	grid-column: 1 / -1;
	justify-self: end;
	margin-top: -4px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .8);
	text-decoration: underline;
}
.gl-carbar__clear:hover { color: var(--gl-yellow); }


/* --------------------------------------------------------------------------
   7. Khay so sánh (dùng lại tinh thần trang lốp, rút gọn)
   -------------------------------------------------------------------------- */
.gl-tray2 {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
	background: var(--gl-navy-d); color: var(--gl-white);
	box-shadow: 0 -8px 30px rgba(10, 24, 46, .3);
	transform: translateY(100%);
	transition: transform .25s ease;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.gl-tray2[data-open="true"] { transform: translateY(0); }
.gl-tray2__inner { display: flex; align-items: center; gap: 16px; padding-block: 13px; }
.gl-tray2__label { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .65); white-space: nowrap; }
.gl-tray2__slots { display: flex; gap: 9px; flex: 1; min-width: 0; overflow-x: auto; }
.gl-tray2__slot {
	position: relative; display: flex; align-items: center; flex-shrink: 0;
	padding: 7px 30px 7px 12px; border-radius: 8px;
	background: rgba(255, 255, 255, .1); font-size: 12.5px; max-width: 250px;
}
.gl-tray2__slot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-tray2__slot button {
	position: absolute; right: 6px;
	display: grid; place-items: center; width: 18px; height: 18px;
	border-radius: 50%; background: rgba(255, 255, 255, .18);
}
.gl-tray2__slot button:hover { background: var(--gl-red); }
.gl-tray2__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gl-tray2__clear { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .65); text-decoration: underline; }
.gl-tray2__clear:hover { color: var(--gl-white); }

/* --------------------------------------------------------------------------
   8. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.gl-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gl-carbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gl-carbar__title, .gl-carbar__submit { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.gl-hero2__inner { padding-block: 44px 50px; }
	.gl-listhead { flex-direction: column; align-items: flex-start; gap: 14px; }
	.gl-listhead__note { max-width: none; }
}

@media (max-width: 620px) {
	.gl-qgrid { grid-template-columns: minmax(0, 1fr); }
	.gl-carbar { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.gl-hero2__actions { flex-direction: column; align-items: stretch; }
	.gl-hero2__actions .gl-btn { width: 100%; }
	.gl-qcard__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
	.gl-qcta { text-align: left; }
	.gl-tray2__inner { flex-wrap: wrap; gap: 11px; }
	.gl-tray2__label { width: 100%; }
	.gl-tray2__actions { width: 100%; }
	.gl-tray2__actions .gl-btn { flex: 1; }
}

@media (max-width: 460px) {
	/* 3 ô thông số xếp dọc cho dễ đọc trên máy nhỏ */
	.gl-qspec { grid-template-columns: minmax(0, 1fr); }
	.gl-qspec__cell + .gl-qspec__cell { border-left: 0; border-top: 1px solid var(--gl-line); }
}

/* --------------------------------------------------------------------------
   Danh mục phụ tùng: điều hướng, bộ lọc và lưới sản phẩm
   -------------------------------------------------------------------------- */
.gc-page-head { padding-block: 25px 5px; }
.gc-page-head__eyebrow {
	margin: 0 0 5px;
	color: var(--gl-navy);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.gc-page-head h1 { margin: 0; font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; line-height: 1.18; }
.gc-page-head__desc { max-width: 760px; margin-top: 7px; color: var(--gl-muted); font-size: 14px; font-weight: 400; line-height: 1.55; }
.gc-page-head__desc p { margin: 0; }
.gc-category-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	margin-block: 18px 22px;
}
.gc-category-nav__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	min-height: 38px;
	padding: 8px 15px;
	border: 1px solid var(--gl-line);
	border-radius: 8px;
	background: var(--gl-white);
	color: var(--gl-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	white-space: normal;
}
.gc-category-nav__link:hover,
.gc-category-nav__link.is-active {
	border-color: var(--gl-navy);
	background: var(--gl-navy);
	color: var(--gl-white);
}
.gc-catalog {
	display: grid;
	grid-template-columns: minmax(210px, 245px) minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	margin-block: 0 58px;
}
.gc-filter {
	overflow: hidden;
	border: 1px solid var(--gl-line);
	border-radius: 11px;
	background: var(--gl-white);
}
.gc-filter__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 16px;
	border-bottom: 1px solid var(--gl-line);
}
.gc-filter__heading h2 { margin: 0; font-size: 16px; }
.gc-filter__heading a { color: var(--gl-muted); font-size: 11px; text-decoration: underline; }
.gc-filter__form { padding: 0 16px 16px; }
.gc-filter__group {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid #edf0f4;
}
.gc-filter__group legend {
	display: block;
	width: 100%;
	margin-bottom: 11px;
	padding: 0;
	color: var(--gl-navy-d);
	font-size: 12px;
	font-weight: 800;
}
.gc-check {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #465267;
	cursor: pointer;
	font-size: 12px;
	line-height: 1.35;
}
.gc-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--gl-navy); }
.gc-check span { flex: 1; }
.gc-check small { color: #8a94a6; font-size: 10px; }
.gc-filter__options { display: grid; gap: 9px; max-height: 280px; overflow-y: auto; }
.gc-filter__group:last-child { border-bottom: 0; }
.gc-catalog--full { grid-template-columns: minmax(0, 1fr); }
.gc-results { min-width: 0; }
.gc-listhead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 16px;
}
.gc-listhead__copy { min-width: 0; }
.gc-listhead__copy .gl-eyebrow { margin-bottom: 5px; font-size: 13px; font-weight: 600; }
.gc-listhead__copy h2 { margin: 0; font-size: clamp(24px, 2.8vw, 30px); font-weight: 600; }
.gc-listhead__copy > p:last-child:not(.gl-eyebrow) {
	margin-top: 6px;
	color: var(--gl-muted);
	font-size: 14px;
	font-weight: 400;
}
.gc-toolbar { display: flex; align-items: center; gap: 9px; }
.gc-search,
.gc-sort {
	display: flex;
	align-items: center;
	min-height: 38px;
	border: 1px solid var(--gl-line);
	border-radius: 7px;
	background: var(--gl-white);
}
.gc-search { gap: 7px; padding: 0 9px; color: #8090a6; }
.gc-search input {
	width: 150px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--gl-text);
	font: inherit;
	font-size: 12px;
	font-weight: 400;
}
.gc-search-submit {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	border: 1px solid var(--gl-line);
	border-radius: 7px;
	background: var(--gl-white);
	color: var(--gl-navy);
}
.gc-search-submit:hover { background: #f3f6fa; }
.gc-sort select {
	max-width: 135px;
	height: 36px;
	padding: 0 25px 0 9px;
	border: 0;
	background: transparent;
	color: var(--gl-text);
	font: inherit;
	font-size: 12px;
	font-weight: 400;
}
.gc-catalog__query { display: none; }
.gc-results__grid .gl-qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gc-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--gl-line);
	border-radius: 9px;
	overflow: hidden;
	background: var(--gl-white);
	box-shadow: none;
}
.gc-product-card:hover { border-color: #cbd5e1; box-shadow: 0 8px 22px rgba(20, 42, 74, .08); }
/* Khung vuông 1:1 giống thẻ lốp (.gl-card__media) — ảnh chuẩn 1000×1000 hiện trọn khung. */
.gc-product-card__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f7f9fc;
	color: #a4b0c0;
}
.gc-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
	padding: 10px;
	box-sizing: border-box;
}
.gc-battery-illustration {
	position: relative;
	display: block;
	width: 68px;
	height: 48px;
	filter: drop-shadow(0 7px 5px rgba(21, 42, 79, .18));
}
.gc-battery-illustration::after {
	position: absolute;
	right: 3px;
	bottom: 0;
	left: 3px;
	height: 5px;
	border-radius: 50%;
	background: rgba(21, 42, 79, .18);
	content: "";
}
.gc-battery-illustration__body {
	position: absolute;
	top: 12px;
	left: 6px;
	display: grid;
	width: 56px;
	height: 31px;
	place-items: center;
	border: 3px solid #193453;
	border-radius: 3px;
	background: #29486d;
}
.gc-battery-illustration__body span {
	display: grid;
	width: 36px;
	height: 15px;
	place-items: center;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 9px;
	font-weight: 900;
	line-height: 1;
}
.gc-battery-illustration__terminal {
	position: absolute;
	top: 7px;
	z-index: 1;
	width: 11px;
	height: 6px;
	border: 1px solid #66788e;
	border-radius: 2px 2px 0 0;
	background: #98a7b9;
}
.gc-battery-illustration__terminal--left { left: 14px; }
.gc-battery-illustration__terminal--right { right: 13px; }
.gc-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px 14px 14px;
}
.gc-product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gc-product-card__meta > span:first-child { color: var(--gl-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gc-product-card__seal { color: var(--gl-muted); font-size: 10px; font-weight: 500; }
.gc-product-card__title {
	display: -webkit-box;
	margin-top: 6px;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.gc-product-card__title a { color: var(--gl-text); text-decoration: none; }
.gc-product-card__title a:hover { color: var(--gl-navy); }
.gc-product-card__summary {
	display: -webkit-box;
	min-height: 34px;
	margin-top: 7px;
	overflow: hidden;
	color: var(--gl-muted);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.gc-product-card__quote {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #edf0f4;
}
.gc-product-card__quote strong { color: var(--gl-navy); font-size: 13px; font-weight: 600; }
.gc-product-card__quote span { color: var(--gl-muted); font-size: 11px; font-weight: 400; }
.gc-product-card__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-top: 10px;
}
.gc-product-card__detail,
.gc-product-card__booking {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 35px;
	padding: 6px;
	border: 1px solid var(--gl-navy);
	border-radius: 6px;
	color: var(--gl-navy);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.gc-product-card__detail { background: var(--gl-navy); color: var(--gl-white); }
.gc-product-card__detail:hover { background: var(--gl-navy-d); color: var(--gl-white); }
.gc-product-card__booking:hover { background: #f3f6fa; }
.gc-results__grid .gl-pager { padding-top: 24px; }
.gc-knowledge { margin-block: 54px 64px; }
.gc-knowledge__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}
.gc-knowledge__heading .gl-eyebrow { margin-bottom: 4px; }
.gc-knowledge__heading h2 { margin: 0; font-size: clamp(20px, 2.5vw, 27px); }
.gc-knowledge__heading p:not(.gl-eyebrow) { margin-top: 5px; color: var(--gl-muted); font-size: 12px; }
.gc-knowledge__heading > a { flex: 0 0 auto; color: var(--gl-navy); font-size: 11px; font-weight: 800; }
.gc-knowledge__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gc-knowledge-card {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--gl-line);
	border-radius: 9px;
	background: var(--gl-white);
}
.gc-knowledge-card__media {
	display: grid;
	place-items: center;
	min-height: 100%;
	overflow: hidden;
	background: #eff3f8;
	color: #8191a7;
}
.gc-knowledge-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gc-knowledge-card__body { padding: 12px; }
.gc-knowledge-card__category { color: var(--gl-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gc-knowledge-card__body h3 { margin-top: 6px; font-size: 17px; line-height: 1.4; }
.gc-knowledge-card__body > p:not(.gc-knowledge-card__category) { margin-top: 6px; color: var(--gl-muted); font-size: 15px; line-height: 1.55; }
.gc-knowledge-card__more { display: inline-block; margin-top: 10px; color: var(--gl-navy); font-size: 14px; font-weight: 800; }

/* Kiến thức phụ tùng: thẻ dọc 3 cột, ảnh phía trên. */
.gc-knowledge--grid .gc-knowledge-card { display: flex; flex-direction: column; }
.gc-knowledge--grid .gc-knowledge-card__media { aspect-ratio: 16 / 9; min-height: 0; }
.gc-knowledge--grid .gc-knowledge-card__body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.gc-knowledge--grid .gc-knowledge-card__more { margin-top: auto; padding-top: 10px; }

/* Kiến thức lốp xe: thẻ ngang 2 cột, ảnh nền tối. */
.gc-knowledge--list { margin-top: 0; padding-top: 40px; border-top: 1px solid var(--gl-line); }
.gc-knowledge--list .gc-knowledge__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-knowledge--list .gc-knowledge-card { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.gc-knowledge--list .gc-knowledge-card__media { margin: 12px 0 12px 12px; aspect-ratio: 16 / 9; min-height: 0; border-radius: 6px; background: var(--gl-navy-d); color: rgba(255, 255, 255, .7); }

/* Hộp ghi chú dưới Kiến thức phụ tùng. */
.gc-knowledge__note { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--gl-line); border-radius: 9px; background: #f8fafc; }
.gc-knowledge__note-title { margin-bottom: 6px; color: var(--gl-navy-d); font-size: 13px; font-weight: 800; }
.gc-knowledge__note p:not(.gc-knowledge__note-title) { color: var(--gl-muted); font-size: 11px; line-height: 1.6; }

/* Câu hỏi thường gặp: tiêu đề trái, câu hỏi phải. */
.gc-faq {
	display: grid;
	grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
	gap: 32px;
	margin-block: 48px 64px;
}
.gc-faq__intro h2 { margin: 0; font-size: clamp(18px, 2vw, 22px); color: var(--gl-navy-d); }
.gc-faq__intro p { margin-top: 6px; color: var(--gl-muted); font-size: 12px; line-height: 1.5; }
.gc-faq .gc-faq__list { margin-top: 0; gap: 0; border-top: 1px solid var(--gl-line); }
.gc-faq .gl-faq__item { border: 0; border-bottom: 1px solid var(--gl-line); border-radius: 0; background: transparent; }
.gc-faq .gl-faq__q { padding: 14px 4px; font-size: 14px; }
.gc-faq .gl-faq__a { padding: 0 4px 16px; font-size: 13.5px; }

@media (max-width: 1100px) {
	.gc-results__grid .gl-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gc-knowledge__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.gc-catalog { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 42px; }
	.gc-filter__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
	.gc-listhead { align-items: flex-start; flex-direction: column; }
	.gc-toolbar { width: 100%; }
	.gc-search { flex: 1; }
	.gc-search input { width: 100%; }
	.gc-knowledge--list .gc-knowledge__grid { grid-template-columns: minmax(0, 1fr); }
	.gc-faq { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
	.gc-category-nav { margin-block: 14px 18px; }
	.gc-category-nav__link { min-height: 35px; padding: 7px 12px; font-size: 11px; }
	.gc-filter__form { grid-template-columns: minmax(0, 1fr); }
	.gc-results__grid .gl-qgrid,
	.gc-knowledge__grid { grid-template-columns: minmax(0, 1fr); }
	.gc-knowledge { margin-block: 40px 48px; }
	.gc-knowledge__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
	.gc-knowledge--list .gc-knowledge-card { grid-template-columns: minmax(0, 1fr); }
	.gc-knowledge--list .gc-knowledge-card__media { margin: 12px 12px 0; }
	.gc-faq { margin-block: 36px 48px; }
}

/* Các sản phẩm khác: tiêu đề giữa, hàng tab danh mục, lưới thẻ dọc ảnh lớn. */
.gc-other { margin-block: 56px 64px; }
.gc-other__title {
	margin: 0;
	color: var(--gl-navy-d);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	letter-spacing: .02em;
	text-align: center;
	text-transform: uppercase;
}
.gc-other__tabs {
	display: flex;
	justify-content: center;
	gap: 6px 34px;
	margin-top: 26px;
	overflow-x: auto;
	scrollbar-width: none;
}
.gc-other__tabs::-webkit-scrollbar { display: none; }
.gc-other__tab {
	flex: 0 0 auto;
	padding: 8px 2px 10px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: var(--gl-text);
	font: inherit;
	font-size: 15px;
	white-space: nowrap;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}
.gc-other__tab:hover { color: var(--gl-navy); }
.gc-other__tab.is-active { border-bottom-color: var(--gl-yellow); color: var(--gl-navy); font-weight: 700; }
.gc-other__tab:focus-visible { outline: 2px solid var(--gl-navy); outline-offset: 2px; }
/* Mỗi tab là một slider: dải thẻ trượt ngang, --gc-per là số thẻ thấy cùng lúc. */
.gc-other__panel { --gc-per: 4; --gc-gap: 24px; position: relative; margin-top: 34px; }
.gc-other__panel[hidden] { display: none; }
.gc-other__track {
	display: grid;
	grid-auto-columns: calc((100% - (var(--gc-per) - 1) * var(--gc-gap)) / var(--gc-per));
	grid-auto-flow: column;
	gap: var(--gc-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.gc-other__track::-webkit-scrollbar { display: none; }
.gc-other__track > .gc-other-card { scroll-snap-align: start; }
.gc-other__nav {
	position: absolute;
	top: calc((100% - 70px) / 2);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--gl-line);
	border-radius: 50%;
	background: var(--gl-white);
	box-shadow: var(--gl-shadow);
	color: var(--gl-navy);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.gc-other__nav--prev { left: -21px; }
.gc-other__nav--next { right: -21px; }
.gc-other__nav:hover:not(:disabled),
.gc-other__nav:focus-visible { background: var(--gl-navy); color: var(--gl-white); }
.gc-other__nav:disabled { opacity: .35; cursor: default; }
.gc-other__panel:not(.is-overflowing) .gc-other__nav { display: none; }
.gc-other-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
.gc-other-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--gl-radius);
	background: #fff;
	color: #8191a7;
}
.gc-other-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.gc-other-card:hover .gc-other-card__media img { transform: scale(1.04); }
.gc-other-card__name {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 6px;
	color: var(--gl-navy-d);
	font-size: 15px;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.gc-other-card:hover .gc-other-card__name { color: var(--gl-navy); text-decoration: underline; }
/* Giá bán đứng trước, giá gốc gạch ngang phía sau như mẫu. */
.gc-other-card__price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--gl-navy); font-size: 15px; font-weight: 800; }
.gc-other-card__price ins { order: -1; text-decoration: none; }
.gc-other-card__price del { color: var(--gl-muted); font-size: 13px; font-weight: 500; }
.gc-other-card__more { color: var(--gl-muted); font-size: 14px; }

@media (max-width: 1100px) {
	.gc-other__panel { --gc-per: 3; }
	.gc-other__nav--prev { left: -8px; }
	.gc-other__nav--next { right: -8px; }
}
@media (max-width: 760px) {
	.gc-other__tabs { justify-content: flex-start; gap: 6px 22px; }
	/* Mobile: vuốt tay, lộ một phần thẻ kế tiếp để gợi ý còn sản phẩm. */
	.gc-other__panel { --gc-per: 2.2; --gc-gap: 14px; }
	.gc-other__nav { display: none !important; }
}
@media (max-width: 560px) {
	.gc-other { margin-block: 40px 48px; }
	.gc-other-card__name,
	.gc-other-card__price { font-size: 14px; }
}
