/* ==========================================================================
   GIALOP.VN — Trang chi tiết sản phẩm lốp
   Dùng chung: mockup.css (token, header, footer, .gl-btn, .gl-field)
               category.css (.gl-crumb, .gl-card, .gl-perf, .gl-faq, .gl-links,
                             .gl-seotext, .gl-notice, .gl-badge)
   Nạp bởi lopxe_enqueue_tire_single_assets() trong inc/core/enqueue.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Thanh sticky sản phẩm — hiện khi cuộn qua khối giá
   -------------------------------------------------------------------------- */
/* fixed chứ không sticky: sticky vẫn chiếm chỗ trong luồng khi đang ẩn,
   tạo một khoảng trắng ngay dưới breadcrumb */
.gl-sticky {
	position: fixed;
	top: 76px;
	left: 0;
	right: 0;
	z-index: 45;
	background: var(--gl-white);
	border-bottom: 1px solid var(--gl-line);
	box-shadow: var(--gl-shadow);
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition: transform .22s ease, opacity .22s ease;
}

.gl-sticky[data-show="true"] {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.gl-sticky__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-block: 11px;
}

.gl-sticky__thumb {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #f7f9fc;
}

.gl-sticky__thumb .gl-ph {
	height: 100%;
	font-size: 8px;
	padding: 2px;
	border-radius: 0;
}

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

.gl-sticky__info {
	min-width: 0;
	flex: 1;
}

.gl-sticky__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gl-sticky__meta {
	font-size: 12.5px;
	color: var(--gl-muted);
}

.gl-sticky__price {
	font-size: 19px;
	font-weight: 800;
	color: var(--gl-navy);
	white-space: nowrap;
}

.gl-sticky__actions {
	display: flex;
	gap: 9px;
	flex-shrink: 0;
}

/* Hai nhãn loại trừ nhau cho nút đặt lịch: dài ở desktop, ngắn ở mobile */
.gl-sm-only {
	display: none;
}

/* --------------------------------------------------------------------------
   2. Bố cục 2 cột
   -------------------------------------------------------------------------- */
.gl-pdp {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	gap: 36px;
	padding-block: 34px 54px;
}

.gl-pdp__left {
	position: sticky;
	top: 150px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

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

/* --------------------------------------------------------------------------
   3. Gallery
   -------------------------------------------------------------------------- */
.gl-gal {
	position: relative;
	padding: 16px;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-lg);
}

.gl-gal::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--gl-yellow);
	border-radius: var(--gl-radius-lg) var(--gl-radius-lg) 0 0;
}

.gl-gal__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.gl-gal__brand {
	padding: 5px 13px;
	border-radius: 6px;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
}

.gl-gal__save {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gl-muted);
}

.gl-gal__save:hover {
	color: var(--gl-navy);
}

.gl-gal__stage {
	position: relative;
	background: #f7f9fc;
	border: 1px solid var(--gl-line);
	border-radius: var(--gl-radius);
	overflow: hidden;
}

.gl-gal__stage .gl-ph {
	aspect-ratio: 1 / 1;
	border-radius: 0;
}

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

.gl-gal__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 8px;
	background: rgba(21, 42, 79, .88);
	color: var(--gl-white);
	font-size: 12px;
	font-weight: 600;
}

.gl-gal__cap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 12px 0 9px;
}

.gl-gal__idx {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gl-muted);
}

.gl-gal__now {
	font-size: 12.5px;
	color: var(--gl-muted);
}

.gl-gal__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
}

.gl-thumb {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 7px;
	border: 1.5px solid var(--gl-line);
	border-radius: 9px;
	background: var(--gl-white);
	text-align: center;
	transition: border-color .15s ease, background-color .15s ease;
}

.gl-thumb:hover {
	border-color: var(--gl-navy);
}

.gl-thumb[aria-pressed="true"] {
	border-color: var(--gl-navy);
	background: var(--gl-cream);
}

.gl-thumb__img {
	aspect-ratio: 1 / 1;
	border-radius: 6px;
}

.gl-thumb__img.gl-ph {
	padding: 3px;
	font-size: 8px;
}

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

.gl-thumb__label {
	font-size: 10.5px;
	font-weight: 600;
	color: var(--gl-muted);
	line-height: 1.3;
}

.gl-gal__note {
	display: flex;
	gap: 9px;
	margin-top: 12px;
	font-size: 11.5px;
	line-height: 1.5;
	color: #6b5615;
}

.gl-gal__note svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #b8901f;
}

/* --------------------------------------------------------------------------
   4. Infographic hiệu năng
   -------------------------------------------------------------------------- */
.gl-info {
	padding: 20px;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-lg);
}

.gl-info__eyebrow {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gl-muted);
}

.gl-info__title {
	font-size: 18px;
	margin: 5px 0 3px;
}

.gl-info__sub {
	font-size: 12px;
	color: var(--gl-muted);
	margin-bottom: 15px;
}

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

.gl-metric {
	overflow: hidden;
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background: var(--gl-white);
}

/* Header nền navy chữ trắng cho tên tiêu chí */
.gl-metric__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 14px;
	background: var(--gl-navy);
}

.gl-metric__name {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 800;
	color: var(--gl-white);
}

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

.gl-metric__val {
	font-size: 15px;
	font-weight: 800;
	color: var(--gl-yellow);
	white-space: nowrap;
}

.gl-metric__desc {
	font-size: 11px;
	color: var(--gl-muted);
	margin: 0;
	padding: 10px 14px 8px;
}

.gl-metric__bar {
	display: flex;
	gap: 3px;
	padding: 0 14px 13px;
}

.gl-metric__seg {
	flex: 1;
	height: 5px;
	border-radius: 2px;
	background: var(--gl-line);
}

.gl-metric__seg--on {
	background: var(--gl-yellow);
}

.gl-metric__src {
	font-size: 10px;
	color: #9aa3b2;
	margin-top: 6px;
}

.gl-savebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-radius: var(--gl-radius-lg);
	background: var(--gl-navy);
	color: var(--gl-white);
}

.gl-savebar__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

.gl-savebar__val {
	font-size: 21px;
	font-weight: 800;
	color: var(--gl-yellow);
}

/* --------------------------------------------------------------------------
   5. Đầu khối giá
   -------------------------------------------------------------------------- */
.gl-pdp__title {
	font-size: clamp(23px, 2.6vw, 31px);
	text-wrap: balance;
}

.gl-pdp__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--gl-muted);
}

.gl-pdp__meta b {
	color: var(--gl-text);
	font-weight: 700;
}

.gl-pdp__meta i {
	font-style: normal;
	opacity: .4;
}

.gl-pdp__rate {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	color: var(--gl-muted);
}

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

.gl-pdp__rate b {
	color: var(--gl-text);
}

/* Khối giá bán + mua */
.gl-buy {
	display: grid;
	gap: 18px;
	padding: 20px 22px 22px;
	border: 1px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background: var(--gl-white);
}

.gl-buy__group {
	display: grid;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px dashed var(--gl-line);
}

.gl-buy__label {
	font-weight: 700;
	color: var(--gl-text);
}

.gl-buy__now {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-top: 4px;
}

.gl-buy__amount {
	color: var(--gl-navy);
	line-height: 1.1;
}

.gl-buy__old {
	font-size: 15px;
	color: var(--gl-muted);
}

.gl-buy__off {
	padding: 2px 8px;
	border-radius: 999px;
	background: #fde8ea;
	color: var(--gl-red);
	font-size: 12px;
	font-weight: 700;
}

.gl-buy__incl {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 8px;
	font-size: 13px;
	color: var(--gl-green);
}

.gl-buy__incl span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Voucher khuyến mãi — mép răng cưa bên trái */
.gl-voucher {
	display: inline-flex;
	align-items: stretch;
	max-width: 100%;
	width: fit-content;
	border: 1.5px solid var(--gl-navy);
	border-radius: 8px;
	overflow: hidden;
}

.gl-voucher__icon {
	display: grid;
	place-items: center;
	width: 42px;
	background:
		radial-gradient(circle at 0 6px, var(--gl-white) 3px, transparent 3.5px) 0 0 / 6px 12px repeat-y,
		var(--gl-navy);
	color: var(--gl-yellow);
}

.gl-voucher__body {
	display: grid;
	padding: 7px 14px;
	line-height: 1.3;
}

.gl-voucher__body b {
	font-size: 14px;
	color: var(--gl-navy-d);
}

/* Số lượng */
.gl-buy__qtyrow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.gl-qty {
	display: inline-flex;
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-sm);
	overflow: hidden;
}

.gl-qty button {
	width: 40px;
	height: 40px;
	font-size: 18px;
	color: var(--gl-navy);
	transition: background-color .15s ease;
}

.gl-qty button:hover { background: var(--gl-cream); }

.gl-qty input {
	width: 48px;
	border: 0;
	border-inline: 1.5px solid var(--gl-line);
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
}

.gl-qty input::-webkit-outer-spin-button,
.gl-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

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

.gl-buy__total b {
	font-family: var(--gl-font-head);
	color: var(--gl-navy-d);
}

/* CTA mua ngay và đặt lịch tại gara. */
.gl-buy__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.gl-buy__actions .gl-btn {
	gap: 8px;
	padding: 13px 14px;
	white-space: normal;
	text-align: center;
	line-height: 1.25;
}

.gl-buy__now-btn {
	border: 1.5px solid var(--gl-navy);
	background: var(--gl-white);
	color: var(--gl-navy);
}

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

.gl-buy__now-btn small {
	display: block;
	font-size: 11.5px;
	font-weight: 500;
	opacity: .8;
}

.gl-warn {
	display: flex;
	gap: 10px;
	padding: 13px 16px;
	border-radius: var(--gl-radius);
	background: #fdf6e0;
	border: 1px solid #f0dfa8;
	font-size: 13px;
	color: #6b5615;
	line-height: 1.5;
}

.gl-warn svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #b8901f;
}

/* --------------------------------------------------------------------------
   7. Tabs
   -------------------------------------------------------------------------- */
.gl-tabs {
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-lg);
	overflow: hidden;
	background: var(--gl-white);
}

.gl-tabs__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: #fbfcfe;
	border-bottom: 1.5px solid var(--gl-line);
}

.gl-tabs__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 12px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--gl-muted);
	border-bottom: 3px solid transparent;
	transition: all .15s ease;
}

.gl-tabs__btn:hover {
	color: var(--gl-navy);
}

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

.gl-tabs__panel {
	padding: 24px;
}

/* Bảng thông số */
.gl-spec {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.gl-spec th,
.gl-spec td {
	padding: 11px 4px;
	border-bottom: 1px solid var(--gl-line);
	text-align: left;
	vertical-align: top;
}

.gl-spec th {
	width: 45%;
	font-weight: 500;
	color: var(--gl-muted);
}

.gl-spec td {
	font-weight: 600;
}

.gl-spec tr:last-child th,
.gl-spec tr:last-child td {
	border-bottom: 0;
}

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

.gl-spec__yes {
	color: var(--gl-green);
}

.gl-spec__no {
	color: var(--gl-muted);
	font-weight: 500;
}

.gl-warrantylink {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding: 15px 18px;
	border-radius: var(--gl-radius);
	background: var(--gl-cream);
	border: 1px solid var(--gl-line);
}

.gl-warrantylink svg {
	flex-shrink: 0;
	color: var(--gl-navy);
}

.gl-warrantylink b {
	display: block;
	font-size: 14px;
}

.gl-warrantylink span {
	font-size: 12.5px;
	color: var(--gl-muted);
}

.gl-warrantylink a {
	margin-left: auto;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--gl-navy);
	text-decoration: underline;
	white-space: nowrap;
}

/* Tab mô tả */
.gl-desc h3 {
	font-size: 20px;
	margin-bottom: 10px;
	text-wrap: balance;
}

.gl-desc p {
	font-size: 14.5px;
	color: #374151;
	margin-bottom: 12px;
	text-wrap: pretty;
}

.gl-desc p b {
	color: var(--gl-text);
}

/* Tab đánh giá — trạng thái trống */
.gl-review0 {
	padding: 44px 20px;
	text-align: center;
	border: 1.5px dashed var(--gl-line);
	border-radius: var(--gl-radius);
}

.gl-review0 svg {
	color: var(--gl-yellow);
}

.gl-review0 h3 {
	font-size: 19px;
	margin: 12px 0 8px;
}

.gl-review0 p {
	font-size: 14px;
	color: var(--gl-muted);
	max-width: 460px;
	margin: 0 auto 16px;
	text-wrap: pretty;
}

.gl-review0__tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gl-navy);
}

/* --------------------------------------------------------------------------
   9. Xe tương thích
   -------------------------------------------------------------------------- */
.gl-fit {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.gl-fit__item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 16px;
	border: 1.5px solid var(--gl-line);
	border-radius: 999px;
	background: var(--gl-white);
	font-size: 14px;
	transition: all .15s ease;
}

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

.gl-fit__item svg {
	color: var(--gl-navy);
	flex-shrink: 0;
}

.gl-fit__item:hover svg {
	color: var(--gl-yellow);
}

.gl-fit__item b {
	font-weight: 700;
}

.gl-fit__item span {
	color: var(--gl-muted);
	font-size: 12.5px;
}

.gl-fit__item:hover span {
	color: rgba(255, 255, 255, .7);
}

/* --------------------------------------------------------------------------
   10. Khối SEO dài + mục lục neo
   -------------------------------------------------------------------------- */
.gl-long {
	display: grid;
	grid-template-columns: 258px minmax(0, 1fr);
	gap: 44px;
	align-items: start;
}

.gl-toc {
	position: sticky;
	top: 150px;
	padding: 20px;
	background: var(--gl-white);
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-lg);
}

.gl-toc__title {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gl-muted);
	margin-bottom: 13px;
}

.gl-toc__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gl-toc__link {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13.5px;
	color: #4b5563;
	border-left: 2px solid transparent;
	transition: all .15s ease;
}

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

.gl-toc__link[aria-current="true"] {
	background: var(--gl-cream);
	color: var(--gl-navy);
	font-weight: 700;
	border-left-color: var(--gl-yellow);
}

.gl-long__body h2 {
	font-size: 25px;
	margin: 0 0 12px;
	text-wrap: balance;
}

.gl-long__body h3 {
	font-size: 19px;
	margin: 34px 0 10px;
	text-wrap: balance;
}

.gl-long__body p {
	font-size: 15px;
	color: #374151;
	margin-bottom: 13px;
	text-wrap: pretty;
}

.gl-long__body a {
	color: var(--gl-navy);
	font-weight: 600;
	text-decoration: underline;
}

.gl-long__body ul {
	margin: 0 0 14px;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gl-long__body ul li {
	position: relative;
	padding-left: 24px;
	font-size: 15px;
	color: #374151;
}

.gl-long__body ul li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gl-yellow);
}

.gl-long__sect {
	scroll-margin-top: 160px;
}

/* Giải nghĩa cỡ lốp */
.gl-decode {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 11px;
	margin: 18px 0 8px;
}

.gl-decode__item {
	padding: 15px 14px;
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background: var(--gl-white);
}

.gl-decode__num {
	font-size: 25px;
	font-weight: 900;
	color: var(--gl-navy);
	letter-spacing: -.02em;
}

.gl-decode__key {
	font-size: 12.5px;
	font-weight: 700;
	margin: 5px 0 3px;
}

.gl-decode__desc {
	font-size: 12px;
	color: var(--gl-muted);
	line-height: 1.45;
}

/* 3 bước hướng dẫn chọn */
.gl-guide {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 18px 0;
}

.gl-guide__item {
	padding: 18px;
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius);
	background: var(--gl-white);
}

.gl-guide__n {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-bottom: 11px;
	border-radius: 50%;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 14px;
	font-weight: 900;
}

.gl-guide__t {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 6px;
}

.gl-guide__d {
	font-size: 13px;
	color: var(--gl-muted);
	line-height: 1.5;
}

/* Bảng so sánh cùng cỡ */
.gl-sizetable {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 16px 0;
}

.gl-sizetable th,
.gl-sizetable td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--gl-line);
}

.gl-sizetable thead th {
	background: var(--gl-navy);
	color: var(--gl-white);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.gl-sizetable tbody tr.is-current {
	background: #fdf6e0;
}

.gl-sizetable tbody tr.is-current td:first-child::after {
	content: "Đang xem";
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 5px;
	background: var(--gl-yellow);
	color: var(--gl-navy-d);
	font-size: 10px;
	font-weight: 800;
}

.gl-sizetable__price {
	font-weight: 800;
	color: var(--gl-navy);
	white-space: nowrap;
}

/* Ảnh giải thích vân gai */
.gl-figure {
	margin: 18px 0;
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-lg);
	overflow: hidden;
	background: var(--gl-white);
}

.gl-figure .gl-ph {
	aspect-ratio: 21 / 9;
	border-radius: 0;
}

.gl-figure__cap {
	padding: 15px 18px;
}

.gl-figure__cap b {
	display: block;
	font-size: 14.5px;
	margin-bottom: 4px;
}

.gl-figure__cap span {
	font-size: 13px;
	color: var(--gl-muted);
	line-height: 1.5;
}

/* Banner liên hệ */
.gl-contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 40px;
	padding: 28px 32px;
	border-radius: var(--gl-radius-lg);
	background: var(--gl-navy);
	color: var(--gl-white);
}

.gl-contact__title {
	font-size: 21px;
	margin-bottom: 6px;
	text-wrap: balance;
}

.gl-contact__desc {
	font-size: 14px;
	color: rgba(255, 255, 255, .78);
	max-width: 520px;
	text-wrap: pretty;
}

.gl-contact__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   11. Bảng backlink phụ tùng theo xe
   -------------------------------------------------------------------------- */
.gl-parts {
	border: 1.5px solid var(--gl-line);
	border-radius: var(--gl-radius-lg);
	overflow: hidden;
	background: var(--gl-white);
}

.gl-parts__nav {
	display: flex;
	gap: 2px;
	overflow-x: auto;
	background: #fbfcfe;
	border-bottom: 1.5px solid var(--gl-line);
	padding: 6px;
}

.gl-parts__btn {
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--gl-muted);
	white-space: nowrap;
	transition: all .15s ease;
}

.gl-parts__btn:hover {
	color: var(--gl-navy);
}

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

.gl-parts__panel {
	padding: 20px 22px;
}

.gl-parts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 22px;
}

.gl-parts__link {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 0;
	font-size: 14px;
	color: #374151;
}

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

.gl-parts__link::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gl-yellow);
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.gl-long {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.gl-toc {
		position: static;
	}

	.gl-toc__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
	}
}

@media (max-width: 1020px) {
	.gl-pdp {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.gl-pdp__left {
		position: static;
	}

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

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

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

@media (max-width: 960px) {
	.gl-sticky {
		top: 68px;
	}

	.gl-pdp__left,
	.gl-toc {
		top: 120px;
	}
}

@media (max-width: 720px) {

	/* Thanh sticky phải co được, nếu không nút giữ nguyên bề ngang sẽ đẩy tràn trang */
	.gl-sticky__meta,
	.gl-sticky__actions .gl-btn--ghost,
	.gl-sm-hide {
		display: none;
	}

	.gl-sm-only {
		display: inline;
	}

	.gl-sticky__inner {
		gap: 10px;
	}

	.gl-sticky__actions .gl-btn {
		padding-inline: 18px;
	}

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

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

	.gl-tabs__btn {
		flex-direction: column;
		gap: 4px;
		font-size: 13px;
		padding: 12px 6px;
	}

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

	.gl-contact {
		padding: 22px;
	}

	.gl-sizetable {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

@media (max-width: 520px) {
	.gl-buy {
		padding: 16px;
	}

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

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

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

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