/* GLB: bảng giá, thẻ xe, giá phiên bản, bảng tính, ưu đãi, tư vấn viên, mục lục */

/* ---------- Nút chọn khu vực ---------- */
.glb-region { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; padding: 4px; background: var(--glb-soft); border-radius: 12px; }
.glb-region > span { padding: 0 8px 0 6px; font-size: .8125rem; color: var(--glb-muted); }
.glb-region button { min-height: 36px; white-space: nowrap; margin: 0; padding: 0 14px; font: inherit; font-size: .875rem; font-weight: 600; color: var(--glb-text); background: transparent; border: 0; border-radius: 9px; box-shadow: none; cursor: pointer; }
.glb-region button:hover { color: var(--glb-ink); }
.glb-region button[aria-pressed="true"] { color: #fff; background: var(--glb-red); }
@media (max-width: 600px) {
  .glb-region { display: flex; width: 100%; }
  .glb-region > span { display: none; }
  .glb-region button { flex: 1; padding: 0 8px; }
}

/* ---------- Bảng giá theo dòng xe (trang chủ, /bang-gia-xe/) ---------- */
.glb-board__bar { position: sticky; top: var(--header-h, 64px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 24px; padding: 12px 0; background: #fff; border-bottom: 1px solid var(--glb-line); }
.section--soft .glb-board__bar { background: var(--glb-soft); }
.glb-board__chips { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.glb-board__chips::-webkit-scrollbar { display: none; }
.glb-board__chips a { flex: 0 0 auto; padding: 8px 14px; font-size: .875rem; font-weight: 600; color: var(--glb-text); text-decoration: none; white-space: nowrap; border: 1px solid var(--glb-line); border-radius: 999px; }
.glb-board__chips a:hover { color: var(--glb-ink); border-color: var(--glb-ink); }
.glb-board__chips a.is-active { color: #fff; background: var(--glb-red); border-color: var(--glb-red); }
.glb-board__lines { display: grid; gap: 16px; }
.glb-board__line { scroll-margin-top: calc(var(--header-h, 64px) + 80px); background: #fff; border: 1px solid var(--glb-line); border-radius: 16px; overflow: hidden; }
.glb-board__head { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--glb-line); }
.glb-board__img { flex: 0 0 auto; display: block; width: 96px; }
.glb-board__img img { display: block; width: 96px; height: 60px; object-fit: contain; }
.glb-board__name { flex: 1; min-width: 0; }
.glb-board__name :is(h2,h3) { margin: 0; font-size: 1.125rem; line-height: 1.3; }
.glb-board__name :is(h2,h3) a { color: var(--glb-ink); text-decoration: none; }
.glb-board__name :is(h2,h3) a:hover { color: var(--glb-red); }
.glb-board__name p { margin: 2px 0 0; font-size: .875rem; color: var(--glb-muted); }
.glb-board__name b { color: var(--glb-ink); }
.glb-board__more { flex: 0 0 auto; font-size: .875rem; font-weight: 600; color: var(--glb-ink); text-decoration: none; }
.glb-board__more:hover { color: var(--glb-red); }
a.glb-board__more { color: var(--glb-ink); text-decoration: none; }
a.glb-board__more:hover { color: var(--glb-red); }
table.glb-board__table { display: table; width: 100%; margin: 0; table-layout: fixed; border-collapse: collapse; font-size: .9375rem; }
.glb-board .glb-board__table th, .glb-board .glb-board__table td { padding: 12px 20px; text-align: left; vertical-align: middle; border: 0; border-bottom: 1px solid var(--glb-line); }
.glb-board__table tbody tr:last-child > * { border-bottom: 0; }
.glb-board .glb-board__table thead th { padding-block: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--glb-muted); background: #fafafa; }
.glb-board__table tbody th { font-weight: 600; }
.glb-board__table tbody th a { color: var(--glb-ink); text-decoration: none; }
.glb-board__table tbody th a:hover { color: var(--glb-red); }
.glb-board .glb-board__table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.glb-board__road { font-weight: 700; color: var(--glb-ink); }
.glb-board__loan a { color: var(--glb-text); text-decoration: none; border-bottom: 1px dashed #bbb; }
.glb-board__loan a:hover { color: var(--glb-red); border-color: var(--glb-red); }
.glb-board__table sup, .glb-board__foot sup { color: var(--glb-red); }
.glb-board__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 20px; }
.glb-board__foot .glb-note { margin: 0; max-width: 760px; }
.glb-board__foot .glb-btn { flex: 0 0 auto; }
.glb-board__table tbody tr:hover { background: #fcfcfc; }
/* 2.8.5: giá rút gọn ngắn hơn → cột tên phiên bản rộng hơn (tên dài như "Fortuner Legender 2.7AT 4×2" nằm 1 dòng), cột giá hẹp lại; tiêu đề cột nằm 1 dòng, nếu chật thì xuống dòng cân đối */
@media (min-width: 721px) {
  .glb-board__table thead th:nth-child(1) { width: 39%; }
  .glb-board__table thead th:nth-child(2) { width: 16%; }
  .glb-board__table thead th:nth-child(3) { width: 24%; }
  .glb-board__table thead th:nth-child(4) { width: 21%; }
  .glb-board .glb-board__table th, .glb-board .glb-board__table td { padding-inline: 14px; }
  .glb-board .glb-board__table :is(th, td):first-child { padding-left: 20px; }
  .glb-board .glb-board__table thead th { vertical-align: bottom; text-wrap: balance; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .glb-board .glb-board__table thead th { font-size: .6875rem; letter-spacing: .02em; }
}
@media (max-width: 720px) {
  .glb-board__bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); }
  .glb-board__bar .glb-region { justify-content: space-between; }
  .glb-board__bar .glb-region button { flex: 1; padding: 0 8px; }
  .glb-board__bar .glb-region > span { display: none; }
  .glb-board__head { padding: 12px 14px; gap: 12px; }
  .glb-board__img, .glb-board__img img { width: 72px; height: 46px; }
  .glb-board__table thead { display: none; }
  table.glb-board__table { table-layout: auto; }
  .glb-board__table, .glb-board__table tbody, .glb-board__table tr { display: block; }
  .glb-board__table tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--glb-line); }
  .glb-board__table tbody tr:last-child { border-bottom: 0; }
  .glb-board .glb-board__table th, .glb-board .glb-board__table td { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; border: 0 !important; }
  .glb-board .glb-board__table tbody th { display: block; margin-bottom: 6px; padding: 0; }
  .glb-board .glb-board__table td[data-label]::before { content: attr(data-label); font-size: .8125rem; font-weight: 400; color: var(--glb-muted); }
  .glb-board__table td[data-label="Niêm yết"] { font-size: .875rem; }
  .glb-board__foot { flex-direction: column; align-items: stretch; }
}

/* Nhãn ưu đãi nhỏ */
.glb-badge-offer { margin: 6px 0 0; font-size: .8125rem; font-weight: 400; line-height: 1.45; color: var(--glb-text); white-space: normal; }
.glb-badge-offer span { display: inline-block; margin-right: 4px; padding: 1px 7px; font-size: .75rem; font-weight: 600; color: #fff; background: var(--glb-red); border-radius: 5px; }

.glb-note { margin: 16px 0 0; font-size: .8125rem; line-height: 1.6; color: var(--glb-muted); }

/* ---------- Lưới dòng xe (tự co giãn theo bề rộng, không chồng thẻ) ---------- */
.glb-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 160px), calc((100% - (var(--cols, 5) - 1) * 14px) / var(--cols, 5))), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.glb-lines li { display: flex; min-width: 0; margin: 0; }
.glb-lines a { box-sizing: border-box; display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px 16px 16px; color: var(--glb-ink); text-decoration: none; background: #fff; border: 1px solid var(--glb-line); border-radius: 14px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.glb-lines a:hover { border-color: #f1c4c8; box-shadow: 0 10px 24px rgba(17, 24, 39, .07); transform: translateY(-2px); }
.glb-lines__img { display: block; padding: 6px 0; border-radius: 10px; background: linear-gradient(180deg, #f7f8fa, #fff); }
.glb-lines__img img { display: block; width: 100%; height: 96px; object-fit: contain; }
.glb-lines__name { margin-top: 10px; font-weight: 700; }
.glb-lines__meta { font-size: .8125rem; line-height: 1.5; color: var(--glb-muted); }
.glb-lines__price { margin-top: 2px; font-size: .875rem; color: var(--glb-muted); white-space: nowrap; }
.glb-lines__price b { font-weight: 700; color: var(--glb-red-d); }
@media (max-width: 420px) { .glb-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .glb-lines a { padding: 10px 12px 12px; } .glb-lines__img img { height: 72px; } }

/* ---------- Thẻ phiên bản ---------- */
.glb-grid__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.glb-grid__title { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.glb-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.glb-car { display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid var(--glb-line); border-radius: 16px; overflow: hidden; transition: border-color .15s; }
.glb-car:hover { border-color: #cfcfcf; }
.glb-car__img { display: block; padding: 16px 16px 0; background: #fff; }
.glb-car__img img { display: block; width: 100%; height: 170px; object-fit: contain; }
.glb-car__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
.glb-car__name { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.35; }
.glb-car__name a { color: var(--glb-ink); text-decoration: none; }
.glb-car__name a:hover { color: var(--glb-red); }
.glb-car__price, .glb-car__road { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.glb-car__price > span, .glb-car__road > span:first-child { color: var(--glb-muted); }
.glb-car__price b { font-weight: 600; color: var(--glb-ink); }
.glb-car__road [data-onroad] { font-weight: 700; color: var(--glb-ink); }
.glb-car__loan { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: .875rem; color: var(--glb-muted); font-variant-numeric: tabular-nums; }
.glb-car__more { margin-top: auto; padding-top: 12px; font-size: .875rem; font-weight: 600; color: var(--glb-ink) !important; text-decoration: none !important; }
.glb-car__more:hover { color: var(--glb-red) !important; }
.glb-car .glb-badge-offer { margin: 4px 0 0; }
.glb-car__strip { display: flex; flex-direction: column; gap: 4px; }
.glb-car__loan b { font-weight: inherit; color: inherit; }
.glb-car__rg { display: none; }
/* Điện thoại: ảnh + tên + niêm yết trên 1 hàng; lăn bánh + góp tháng trong dải 2 ô rộng hết thẻ; giá rút gọn, không bao giờ xuống dòng */
@media (max-width: 600px) {
  .glb-cars { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .glb-car { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; }
  .glb-car__body { display: contents; }
  .glb-car__img { grid-row: 1 / span 2; align-self: center; overflow: hidden; padding: 0; background: var(--glb-soft); border-radius: 10px; }
  .glb-car__img img { width: 104px; height: 70px; object-fit: cover; transform: scale(1.3); }
  .glb-car__name { grid-column: 2; align-self: end; margin: 0; font-size: 1rem; line-height: 1.3; }
  .glb-car__price { grid-column: 2; align-self: start; justify-content: flex-start; gap: 4px; margin-top: 3px; font-size: .8125rem; }
  .glb-car__f { display: none; }
  .glb-car__rg { display: inline; }
  .glb-car__price b, .glb-car__strip [data-onroad], .glb-car__strip b, .glb-car__strip span { white-space: nowrap; }
  .glb-car__strip { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; margin-top: 12px; background: var(--glb-soft); border-radius: 12px; }
  .glb-car__strip > p { display: block; min-width: 0; margin: 0; padding: 9px 12px; }
  .glb-car__strip > p + p { border-left: 1px solid var(--glb-line); }
  .glb-car__strip > p > span:first-child { display: block; font-size: .75rem; font-weight: 400; color: var(--glb-muted); }
  .glb-car__strip > p > span:first-child span { color: inherit; }
  .glb-car__road [data-onroad], .glb-car__loan b { display: block; font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--glb-ink); }
  .glb-car__road [data-onroad] { color: var(--glb-red-d); }
  .glb-car .glb-badge-offer { grid-column: 1 / -1; margin: 10px 0 0; }
  .glb-car__more { grid-column: 1 / -1; justify-self: end; margin: 0; padding-top: 8px; }
  .glb-car__img:empty { display: none; }
  .glb-car:has(> .glb-car__img:empty) { grid-template-columns: minmax(0, 1fr); }
  .glb-car:has(> .glb-car__img:empty) :is(.glb-car__name, .glb-car__price) { grid-column: 1; }
}
@media (max-width: 340px) {
  .glb-car { grid-template-columns: 88px minmax(0, 1fr); column-gap: 10px; }
  .glb-car__img img { width: 88px; height: 62px; }
  .glb-car__strip > p { padding: 8px 10px; }
  .glb-car__road [data-onroad], .glb-car__loan b { font-size: .9375rem; }
}

/* ---------- Tiêu đề trang xe ---------- */
.glb-title p { margin: 8px 0 0; font-size: .9375rem; color: var(--glb-muted); }
.glb-title p a { color: inherit; }
.glb-title b { color: var(--glb-ink); }

/* ---------- Giá phiên bản ---------- */
.glb-summary { display: flex; flex-direction: column; gap: 16px; }
.glb-summary > * { margin: 0; }
.glb-summary__price { display: flex; flex-direction: column; gap: 2px; }
.glb-summary__label { font-size: .875rem; color: var(--glb-muted); }
.glb-summary__value { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--glb-red); font-variant-numeric: tabular-nums; }
.glb-summary__road { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 1px solid var(--glb-line); border-radius: 12px; overflow: hidden; }
.glb-summary__road div { padding: 12px 14px; }
.glb-summary__road div + div { border-left: 1px solid var(--glb-line); }
.glb-summary__road dt { font-size: .75rem; color: var(--glb-muted); }
.glb-summary__road dd { margin: 2px 0 0; font-size: .9375rem; font-weight: 700; color: var(--glb-ink); font-variant-numeric: tabular-nums; }
.glb-summary__hint { margin-top: -6px !important; font-size: .8125rem; color: var(--glb-muted); }
.glb-summary__hint a { color: var(--glb-ink); }
.glb-summary__road dd { font-size: 1.0625rem; }
.glb-summary__loan { padding: 12px 14px; font-size: .875rem; line-height: 1.55; color: var(--glb-text); background: var(--glb-soft); border-radius: 12px; }
.glb-summary__loan > span:first-child { display: inline-block; margin-right: 6px; padding: 0 8px; font-size: .75rem; font-weight: 600; color: #fff; background: var(--glb-red); border-radius: 5px; }
.glb-summary__loan b { color: var(--glb-ink); }
.glb-summary__loan a { color: var(--glb-ink); font-weight: 600; }
.glb-summary__cta { width: 100%; min-height: 54px !important; font-size: 1.0625rem !important; }
@media (max-width: 420px) { .glb-summary__road dd { font-size: .9375rem; } .glb-summary__road div { padding: 10px; } }

/* Dải tư vấn viên gọn (ảnh + Gọi/Zalo) */
.glb-strip { display: flex; align-items: center; gap: 12px; margin-top: -4px !important; }
.glb-strip__photo { flex: 0 0 auto; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--glb-soft); }
.glb-strip__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.glb-strip__photo .glb-advisor__ini { font-size: 1rem; }
.glb-strip__who { flex: 1; min-width: 0; font-size: .8125rem; line-height: 1.35; color: var(--glb-muted); }
.glb-strip__who strong { display: block; font-size: .9375rem; color: var(--glb-ink); }
.glb-strip__who .glb-open { margin-left: 2px; }
.glb-strip__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; font-size: .875rem; font-weight: 600; color: var(--glb-ink) !important; text-decoration: none !important; border: 1px solid #d6d6d6; border-radius: 999px; transition: border-color .15s, color .15s; }
.glb-strip__btn:hover { color: var(--glb-red) !important; border-color: var(--glb-red); }
.glb-strip__btn .glb-ico { width: 16px; height: 16px; }
.glb-strip__btn--zalo .glb-ico { color: var(--glb-zalo); }
.glb-strip__btn--zalo:hover { color: var(--glb-zalo) !important; border-color: var(--glb-zalo); }
@media (max-width: 380px) { .glb-strip__btn { padding: 0 11px; } .glb-strip__who .glb-open { display: none; } }

/* ---------- Ưu đãi + đếm ngược ---------- */
.glb-offer { padding: 16px 18px; background: #fff5f5; border: 1px solid #fbd5d8; border-radius: 14px; }
.glb-offer > * { margin: 0; }
.glb-offer__title { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--glb-red); }
.glb-offer__title .glb-ico { width: 16px; height: 16px; }
.glb-offer__text { margin-top: 6px; font-weight: 600; color: var(--glb-ink); }
.glb-offer__text p { margin: 0; }
.glb-offer__cd { display: flex; gap: 8px; margin-top: 12px; }
.glb-offer__cd span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 4px; background: #fff; border: 1px solid #fbd5d8; border-radius: 10px; }
.glb-offer__cd b { font-size: 1.25rem; font-weight: 700; line-height: 1.2; color: var(--glb-ink); font-variant-numeric: tabular-nums; }
.glb-offer__cd i { font-size: .6875rem; font-style: normal; color: var(--glb-muted); }
.glb-offer__note { margin-top: 10px; font-size: .75rem; line-height: 1.5; color: var(--glb-muted); }

/* ---------- Bảng tính lăn bánh ---------- */
.glb-section h2, .glb-calc-wrap h2 { margin: 0 0 20px; font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.glb-calc { padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--glb-line); border-radius: 16px; }
.glb-calc__inputs { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-bottom: 18px; }
.glb-calc__inputs label { display: block; margin: 0; }
.glb-calc__inputs span { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 600; color: #333; }
.glb-calc__inputs select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 36px 10px 14px; font: inherit; font-size: 16px; color: inherit; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid #d6d6d6; border-radius: 10px; -webkit-appearance: none; appearance: none; }
.glb-calc table.glb-calc__table { display: table; width: 100%; margin: 0; border-collapse: collapse; font-size: .9375rem; }
.glb-calc .glb-calc__table th, .glb-calc .glb-calc__table td { min-width: 0; padding: 11px 0; text-align: left; font-weight: 400; color: var(--glb-text); background: none; border: 0; border-bottom: 1px dashed var(--glb-line); }
.glb-calc .glb-calc__table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--glb-ink); }
.glb-calc .glb-calc__table tfoot th, .glb-calc .glb-calc__table tfoot td { padding-top: 16px; font-size: 1.0625rem; font-weight: 700; color: var(--glb-ink); border-bottom: 0; }
.glb-calc .glb-calc__table tfoot td { font-size: 1.25rem; color: var(--glb-red); }
.glb-calc__cta { width: 100%; margin-top: 18px !important; }
@media (max-width: 560px) { .glb-calc__inputs { grid-template-columns: 1fr; } }

/* ---------- Tư vấn viên ---------- */
.glb-advisor { color: var(--glb-text); }
.glb-advisor p { margin: 0; }
.glb-advisor__head { display: flex; align-items: center; gap: 14px; }
.glb-advisor__photo { flex: 0 0 auto; display: block; width: 64px; height: 64px; margin: 0; overflow: hidden; border-radius: 50%; background: var(--glb-soft); }
.glb-advisor__photo img, .glb-advisor__cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.glb-advisor__ini { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--glb-red); }
.glb-advisor__name { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--glb-ink); }
.glb-advisor__role { margin-top: 2px !important; font-size: .875rem; line-height: 1.4; color: var(--glb-muted); }
.glb-advisor__meta { margin: 16px 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--glb-muted); }
.glb-advisor__meta li { display: flex; gap: 8px; margin: 6px 0 0; line-height: 1.45; }
.glb-advisor__meta .glb-ico { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; color: var(--glb-ink); }
.glb-open { display: inline-block; margin-left: 4px; padding: 0 8px; font-size: .75rem; font-style: normal; font-weight: 600; border-radius: 999px; }
.glb-open:empty { display: none; }
.glb-open.is-on { color: #0a7a2f; background: #e8f7ee; }
.glb-open.is-off { color: var(--glb-muted); background: var(--glb-soft); }
.glb-checks { margin: 16px 0 0; padding: 0; list-style: none; }
.glb-checks li { display: flex; gap: 10px; margin: 0; padding: 9px 0; font-size: .9375rem; line-height: 1.45; color: var(--glb-text); border-top: 1px solid var(--glb-line); }
.glb-checks .glb-ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--glb-red); }
.glb-advisor .glb-actions { margin-top: 18px; }
.glb-advisor .glb-actions .glb-btn { flex: 1 1 auto; padding-inline: 14px; }

.glb-advisor--card, .glb-advisor--hero { background: #fff; border: 1px solid var(--glb-line); border-radius: 18px; overflow: hidden; }
.glb-advisor--card .glb-advisor__body { padding: 20px; }
.glb-advisor--hero { box-shadow: 0 24px 60px rgba(17, 17, 17, .07); }
.glb-advisor--hero .glb-advisor__body { padding: clamp(20px, 3vw, 32px); }
.glb-advisor--hero .glb-advisor__photo { width: 76px; height: 76px; }
.glb-advisor--hero .glb-advisor__ini { font-size: 1.75rem; }
.glb-advisor--hero .glb-advisor__name { font-size: clamp(1.375rem, 2.4vw, 1.625rem); }
.glb-advisor__cover { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--glb-soft); }
.glb-advisor--mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--glb-soft); border-radius: 14px; }
.glb-advisor--mini .glb-advisor__photo { width: 44px; height: 44px; }
.glb-advisor--mini .glb-advisor__ini { font-size: 1.125rem; }
.glb-advisor__who { flex: 1; min-width: 0; font-size: .875rem; line-height: 1.35; color: var(--glb-muted); }
.glb-advisor__who strong { display: block; font-size: .9375rem; color: var(--glb-ink); }
.glb-advisor__who > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.glb-advisor__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--glb-ink) !important; text-decoration: none !important; white-space: nowrap; }
.glb-advisor__tel:hover { color: var(--glb-red) !important; }
.glb-advisor__tel .glb-ico { width: 16px; height: 16px; }

/* ---------- Mục lục ---------- */
.glb-toc { border: 1px solid var(--glb-line); border-radius: 14px; background: #fff; }
.glb-toc summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 600; color: var(--glb-ink); cursor: pointer; list-style: none; }
.glb-toc summary::-webkit-details-marker { display: none; }
.glb-toc summary .glb-ico { width: 18px; height: 18px; color: var(--glb-red); }
.glb-toc summary small { margin-left: auto; font-size: .8125rem; font-weight: 400; color: var(--glb-muted); }
.glb-toc summary::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid var(--glb-ink); border-bottom: 2px solid var(--glb-ink); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.glb-toc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.glb-toc ol { margin: 0; padding: 4px 18px 16px 42px; columns: 2 280px; column-gap: 32px; counter-reset: t; }
.glb-toc li { margin: 0; padding: 4px 0; break-inside: avoid; font-size: .9375rem; line-height: 1.45; }
.glb-toc li::marker { color: var(--glb-muted); font-variant-numeric: tabular-nums; }
.glb-toc a { color: var(--glb-text); text-decoration: none; }
.glb-toc a:hover, .glb-toc a.is-active { color: var(--glb-red); }

/* ---------- Breadcrumb ---------- */
.glb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 0 0; font-size: .8125rem; color: var(--glb-muted); }
.glb-breadcrumb a { color: var(--glb-muted); text-decoration: none; }
.glb-breadcrumb a:hover { color: var(--glb-red); }
.glb-breadcrumb [aria-current] { color: var(--glb-ink); }

/* ---------- Liên hệ, link ---------- */
.glb-contact { margin: 0; padding: 0; list-style: none; font-size: .9375rem; line-height: 1.5; }
.glb-contact li { margin: 0 0 10px; }
.glb-contact li span:first-child { display: block; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--glb-muted); }
.glb-links { margin: 0; padding: 0; list-style: none; }
.glb-links li { margin: 0 0 8px; }
.glb-links--2 { columns: 2; column-gap: 24px; }

/* ---------- Xem trước trong trình soạn thảo ---------- */
.glb-ph { padding: 18px; font-size: 13px; color: #555; background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f3f3f3 10px, #f3f3f3 20px); border: 1px dashed #ccc; border-radius: 10px; }
.glb-editor-block .glb-form, .glb-editor-block .glb-advisor { pointer-events: none; }

/* ---------- Form gọn trong bài ---------- */
.glb-inline { margin: 2em 0 !important; padding: clamp(16px, 2.5vw, 22px); background: #fff; border: 1px solid var(--glb-line); border-top: 3px solid var(--glb-red); border-radius: 14px; box-shadow: 0 10px 30px rgba(17, 17, 17, .05); }
.glb-inline p { margin: 0; }
.glb-inline__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.glb-inline__photo { flex: 0 0 auto; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--glb-soft); }
.glb-inline__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 0 !important; }
.glb-inline__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--glb-ink); }
.glb-inline__sub { margin-top: 2px !important; font-size: .875rem; line-height: 1.5; color: var(--glb-muted); }
.glb-form.glb-form--inline { max-width: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.glb-inline__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.glb-inline__row .glb-field { margin: 0; }
.glb-form--inline .glb-btn[type="submit"] { width: auto; min-height: 48px; font-size: 1rem; }
.glb-form--inline .glb-consent { margin: 10px 0 0; font-size: .75rem; }
.glb-form--inline .glb-form__msg { margin-top: 10px !important; }
@media (max-width: 600px) { .glb-inline__row { grid-template-columns: minmax(0, 1fr); } .glb-form--inline .glb-btn[type="submit"] { width: 100%; } }
/* Trang có cột phải chứa form (xe, dòng xe): trên máy tính dùng form cột phải, form trong bài chỉ hiện khi màn hình nhỏ */
@media (min-width: 1001px) { .layout-aside .glb-inline { display: none; } }

/* ---------- Dự toán trả góp ---------- */
.glb-loan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid var(--glb-line); border-radius: 18px; }
.glb-loan p { margin: 0; }
.glb-loan__f { display: block; margin: 0 0 22px; }
.glb-loan__l { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: .875rem; font-weight: 600; color: #333; }
.glb-loan__l output { font-size: 1rem; font-weight: 700; color: var(--glb-ink); font-variant-numeric: tabular-nums; }
.glb-loan select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 36px 10px 14px; font: inherit; font-size: 16px; color: inherit; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid #d6d6d6; border-radius: 10px; -webkit-appearance: none; appearance: none; }
.glb-loan input[type="range"] { display: block; width: 100%; height: 28px; margin: 0; accent-color: var(--glb-red); cursor: pointer; }
.glb-loan__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--glb-muted); }
.glb-loan .glb-region { display: flex; width: 100%; box-sizing: border-box; }
.glb-loan .glb-region > span { display: none; }
.glb-loan .glb-region button { flex: 1; }
.glb-loan__more summary { font-size: .8125rem; color: var(--glb-muted); cursor: pointer; }
.glb-loan__more summary b { color: var(--glb-ink); }
.glb-loan__rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.glb-loan__rates label { display: block; font-size: .75rem; line-height: 1.35; color: var(--glb-muted); }
.glb-loan__rates input { box-sizing: border-box; display: block; width: 100%; min-height: 42px; margin-top: 4px; padding: 6px 10px; font: inherit; font-size: 16px; border: 1px solid #d6d6d6; border-radius: 8px; }
.glb-loan__out { padding: clamp(16px, 2.5vw, 24px); background: var(--glb-soft); border-radius: 14px; }
.glb-loan__hero span { font-size: .875rem; color: var(--glb-muted); }
.glb-loan__hero strong { display: block; margin: 2px 0; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--glb-red); font-variant-numeric: tabular-nums; }
.glb-loan__hero small { font-size: .8125rem; color: var(--glb-muted); }
.glb-loan__hero small b { color: var(--glb-ink); font-weight: 600; }
.glb-loan__dl { margin: 16px 0 0; }
.glb-loan__dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .9375rem; border-bottom: 1px dashed #dcdcdc; }
.glb-loan__dl dt { color: var(--glb-text); }
.glb-loan__dl dd { margin: 0; font-weight: 600; color: var(--glb-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.glb-loan__dl .is-total dt { font-weight: 600; color: var(--glb-ink); }
.glb-loan__dl .is-total dd { font-weight: 700; color: var(--glb-red); }
.glb-loan__sched { margin-top: 12px; }
.glb-loan__sched summary { font-size: .875rem; font-weight: 600; color: var(--glb-ink); cursor: pointer; }
.glb-loan__sched table { display: table; width: 100%; margin: 8px 0 0; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
.glb-loan .glb-loan__sched th, .glb-loan .glb-loan__sched td { min-width: 0; padding: 6px 0; text-align: right; font-weight: 400; background: none; border: 0; border-bottom: 1px solid #e4e4e4; }
.glb-loan .glb-loan__sched th:first-child, .glb-loan .glb-loan__sched td:first-child { text-align: left; }
.glb-loan .glb-loan__sched thead th { font-size: .75rem; color: var(--glb-muted); }
.glb-loan__cta { width: 100%; margin-top: 16px !important; }
.glb-loan .glb-note { margin-top: 12px; }
@media (max-width: 780px) { .glb-loan { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .glb-loan__rates { grid-template-columns: minmax(0, 1fr); } .glb-loan__dl div { font-size: .875rem; } }

/* ---------- Trả góp – tóm tắt (trang chủ) ---------- */
.glb-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.glb-teaser__text > * { margin: 0; }
.glb-teaser__text h2 { margin-bottom: 12px; }
.glb-teaser__text p { margin-bottom: 22px; color: var(--glb-muted); }
.glb-teaser__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.glb-teaser__list li { margin: 0; }
.glb-teaser__list a { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; height: 100%; box-sizing: border-box; padding: 14px; color: var(--glb-text); text-decoration: none; background: #fff; border: 1px solid var(--glb-line); border-radius: 14px; transition: border-color .15s; }
.glb-teaser__list a:hover { border-color: var(--glb-ink); }
.glb-teaser__img { grid-row: 1 / span 3; align-self: center; }
.glb-teaser__img img { display: block; width: 76px; height: 50px; object-fit: contain; }
.glb-teaser__name { font-size: .9375rem; font-weight: 700; line-height: 1.3; color: var(--glb-ink); }
.glb-teaser__meta { font-size: .8125rem; color: var(--glb-muted); }
.glb-teaser__pay { font-size: 1.125rem; font-weight: 700; color: var(--glb-red); font-variant-numeric: tabular-nums; }
.glb-teaser__pay small { margin-left: 2px; font-size: .75rem; font-weight: 400; color: var(--glb-muted); }
@media (max-width: 860px) { .glb-teaser { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .glb-teaser__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- So sánh giá lăn bánh ---------- */
.glb-cmp__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.glb-cmp__bar h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.glb-cmp__wrap { border: 1px solid var(--glb-line); border-radius: 14px; overflow: hidden; }
table.glb-cmp__table { display: table; width: 100%; margin: 0; border-collapse: collapse; font-size: .9375rem; }
.glb-cmp .glb-cmp__table th, .glb-cmp .glb-cmp__table td { min-width: 0; padding: 11px 16px; text-align: left; vertical-align: middle; font-weight: 400; white-space: nowrap; background: none; border: 0; border-bottom: 1px solid var(--glb-line); font-variant-numeric: tabular-nums; }
.glb-cmp .glb-cmp__table thead th { padding-block: 9px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--glb-muted); background: #fafafa; }
.glb-cmp .glb-cmp__table tbody th { font-weight: 600; white-space: normal; }
.glb-cmp__table tbody th a { color: var(--glb-ink); text-decoration: none; }
.glb-cmp__table tbody th a:hover { color: var(--glb-red); }
.glb-cmp .glb-cmp__table .glb-cmp__group th { padding-block: 8px; font-size: .8125rem; color: var(--glb-muted); background: var(--glb-soft); }
.glb-cmp__table tr.is-current { background: #fff6f6; }
.glb-cmp__table tr.is-current th span { color: var(--glb-red); }
.glb-cmp__road { font-weight: 700 !important; color: var(--glb-ink); }
.glb-cmp__diff { color: var(--glb-muted); }
.glb-cmp__table tbody:last-child tr:last-child > * { border-bottom: 0; }
@media (max-width: 720px) {
  .glb-cmp__table thead { display: none; }
  table.glb-cmp__table, .glb-cmp__table tbody, .glb-cmp__table tr { display: block; }
  .glb-cmp__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--glb-line); }
  .glb-cmp .glb-cmp__table th, .glb-cmp .glb-cmp__table td { display: block; padding: 0; border: 0 !important; white-space: normal; }
  .glb-cmp .glb-cmp__table tbody th { grid-column: 1 / -1; margin-bottom: 4px; }
  .glb-cmp .glb-cmp__table td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 400; color: var(--glb-muted); }
  .glb-cmp__table tr.glb-cmp__group { display: block; padding: 8px 14px; background: var(--glb-soft); }
  .glb-cmp .glb-cmp__table .glb-cmp__group th { margin: 0; padding: 0; }
}

/* ---------- Thanh mục lục dính mép trên ---------- */
.glb-tocbar { position: fixed; left: 0; right: 0; top: 0; z-index: 990; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--glb-line); box-shadow: 0 6px 20px rgba(0, 0, 0, .05); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.glb-tocbar.is-on { opacity: 1; visibility: visible; transform: none; }
.glb-tocbar__in { position: relative; box-sizing: border-box; max-width: calc(1200px + var(--gutter, 16px) * 2); margin: 0 auto; padding: 0 var(--gutter, 16px); }
.glb-tocbar button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin: 0; padding: 0; font: inherit; font-size: .875rem; font-weight: 600; text-align: left; color: var(--glb-ink); background: none; border: 0; box-shadow: none; cursor: pointer; }
.glb-tocbar button svg { flex: 0 0 auto; color: var(--glb-red); }
.glb-tocbar__cur { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.glb-tocbar button i { flex: 0 0 auto; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--glb-ink); border-bottom: 2px solid var(--glb-ink); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.glb-tocbar.is-open button i { transform: rotate(-135deg) translateY(-2px); }
.glb-tocbar ol { display: none; position: absolute; top: 100%; left: var(--gutter, 16px); right: var(--gutter, 16px); max-width: 560px; max-height: 60vh; margin: 1px 0 0; padding: 6px 0 6px 34px; overflow: auto; background: #fff; border: 1px solid var(--glb-line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 16px 32px rgba(0, 0, 0, .08); }
.glb-tocbar.is-open ol { display: block; }
.glb-tocbar li { margin: 0; padding: 0; font-size: .9375rem; line-height: 1.4; }
.glb-tocbar li::marker { color: var(--glb-muted); }
.glb-tocbar ol a { display: block; padding: 7px 16px 7px 4px; color: var(--glb-text); text-decoration: none; }
.glb-tocbar ol a:hover, .glb-tocbar ol a.is-active { color: var(--glb-red); }
.glb-tocbar__prog { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--glb-red); transform: scaleX(0); transform-origin: 0 50%; }
.has-tocbar .layout-aside__side { top: calc(var(--header-h, 64px) + 64px); }
h2[id] { scroll-margin-top: calc(var(--header-h, 64px) + 64px); }
@media (max-width: 380px) { .glb-strip__btn { width: 40px; padding: 0; justify-content: center; } .glb-strip__btn span { display: none; } }
.glb-teaser__text .glb-btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- Chọn nhanh dòng xe (dải ở đầu trang chủ) ---------- */
.glb-dxs__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; font-weight: 700; color: var(--glb-ink); }
.glb-dxs__title .glb-dxs__more { font-size: .875rem; font-weight: 600; color: var(--glb-red); text-decoration: none; }
.glb-dxs__title .glb-dxs__more:hover { text-decoration: underline; }
.glb-dxs__row { display: grid; grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.glb-dxs__row li { margin: 0; }
.glb-dxs__row a { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 8px 6px 10px; text-align: center; color: var(--glb-ink); text-decoration: none; background: #fff; border: 1px solid #e9eaee; border-radius: 14px; transition: border-color .15s; }
.glb-dxs__row a:hover { border-color: var(--glb-red); }
.glb-dxs__row img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.glb-dxs__row b { margin-top: 2px; font-size: .84375rem; line-height: 1.3; }
.glb-dxs__row span { font-size: .75rem; color: var(--glb-muted); }
@media (max-width: 1100px) { .glb-dxs__row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .glb-dxs__row { display: flex; overflow-x: auto; margin: 0 calc(-1 * var(--gutter, 16px)); padding: 0 var(--gutter, 16px) 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .glb-dxs__row::-webkit-scrollbar { display: none; }
  .glb-dxs__row li { flex: 0 0 112px; scroll-snap-align: start; }
}

/* ---------- Dòng xe theo tầm giá ---------- */
.glb-dxc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.glb-dxc__col { padding: 8px; background: #fff; border: 1px solid #e9eaee; border-radius: 18px; }
.glb-dxc__col ul { margin: 0; padding: 0; list-style: none; }
.glb-dxc__col li { margin: 0; }
.glb-dxc__h { margin-bottom: 4px; padding: 14px 14px 12px; border-bottom: 1px solid #f0f1f3; }
.glb-dxc__h h3 { margin: 0; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; }
.glb-dxc__h span { font-size: .8125rem; color: var(--glb-muted); }
.glb-dxc__row { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "img info" "img price"; align-items: center; gap: 2px 14px; padding: 10px; color: var(--glb-ink); text-decoration: none; border-radius: 12px; transition: background-color .15s; }
.glb-dxc__row:hover { color: var(--glb-ink); background: #f6f7f9; }
a.glb-dxc__row { color: var(--glb-ink); text-decoration: none; }
.glb-dxc__img { grid-area: img; display: flex; aspect-ratio: 4 / 3; background: #f4f5f7; border-radius: 10px; }
.glb-dxc__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.glb-dxc__info { grid-area: info; align-self: end; min-width: 0; }
.glb-dxc__info b { display: block; font-size: .96875rem; line-height: 1.3; }
.glb-dxc__info small { display: block; margin-top: 2px; font-size: .78125rem; line-height: 1.45; color: var(--glb-muted); }
.glb-dxc__info small span { white-space: nowrap; }
.glb-dxc__p { grid-area: price; align-self: start; font-size: .8125rem; line-height: 1.4; color: var(--glb-muted); }
.glb-dxc__p b { font-size: 1rem; color: var(--glb-red); white-space: nowrap; }
.glb-dxc__more { margin: 28px 0 0; text-align: center; }
.glb-dxc__more a { font-weight: 700; color: var(--glb-ink); }
.glb-dxc__more a:hover { color: var(--glb-red); }
@media (max-width: 480px) {
  .glb-dxc__col { padding: 4px; }
  .glb-dxc__row { grid-template-columns: 80px minmax(0, 1fr); column-gap: 12px; padding: 10px 8px; }
}

/* ---------- Ưu đãi nổi bật (promo.php) – tự hiện khi có ưu đãi còn hạn ---------- */
.glb-btn.glb-btn--light { color: var(--glb-red-d); background: #fff; }
.glb-btn.glb-btn--light:hover, .glb-btn.glb-btn--light:focus-visible { color: var(--glb-red-d); background: #fff1f2; }
.glb-btn.glb-btn--outline-light { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.glb-btn.glb-btn--outline-light:hover, .glb-btn.glb-btn--outline-light:focus-visible { color: #fff; background: rgba(255, 255, 255, .12); }
.glb-promo__note { margin: 12px 0 0; font-size: .78125rem; line-height: 1.55; color: var(--glb-muted); }

/* Mục lớn trang chủ */
.glb-promo { padding-top: clamp(24px, 4vw, 48px); }
.glb-promo__panel { position: relative; overflow: hidden; padding: clamp(22px, 3.2vw, 36px); color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(255, 92, 104, .55) 0%, rgba(255, 92, 104, 0) 55%), linear-gradient(135deg, #c10017 0%, #d90a1c 50%, #a80013 100%); border-radius: 22px; box-shadow: 0 22px 44px -24px rgba(168, 0, 19, .6); }
.glb-promo__panel::after { content: ""; position: absolute; top: -90px; right: -70px; width: 280px; height: 280px; background: rgba(255, 255, 255, .07); border-radius: 50%; pointer-events: none; }
.glb-promo__head { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 22px; }
.glb-promo__intro { max-width: 660px; }
.glb-promo__eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 12px; padding: 5px 12px 5px 9px; font-size: .78125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .16); border-radius: 999px; }
.glb-promo__eyebrow .glb-ico { width: 17px; height: 17px; color: #ffe27a; }
.glb-promo h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.glb-promo__sub { margin: 10px 0 0; font-size: 1.0625rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.glb-promo__sub b { color: #ffe27a; }
.glb-promo__timer { display: flex; flex-direction: column; gap: 8px; }
.glb-promo__timer > span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--glb-muted); }
.glb-promo__timer .glb-offer__cd { margin: 0; }
.glb-promo__panel .glb-promo__timer > span { color: rgba(255, 255, 255, .85); }
.glb-promo__panel .glb-offer__cd span { min-width: 62px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.glb-promo__panel .glb-offer__cd b { font-size: 1.5rem; color: #fff; }
.glb-promo__panel .glb-offer__cd i { color: rgba(255, 255, 255, .8); }
.glb-promo__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.glb-promo__grid > li { display: flex; min-width: 0; margin: 0; }
.glb-pcard { box-sizing: border-box; display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px 14px 12px; color: var(--glb-text); text-decoration: none; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: transform .15s, box-shadow .15s; }
a.glb-pcard, a.glb-pcard:hover { color: var(--glb-text); text-decoration: none; } /* cả thẻ là link: chữ bên trong không gạch chân */
.glb-pcard:hover { color: var(--glb-text); text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .4); }
.glb-pcard__amt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; color: var(--glb-red); }
.glb-pcard__amt small { flex-basis: 100%; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--glb-muted); }
.glb-pcard__amt b { color: var(--glb-red); font-size: 2.125rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.glb-pcard__amt i { font-size: .9375rem; font-style: normal; font-weight: 700; }
.glb-pcard__amt--txt b { font-size: 1.375rem; }
.glb-pcard__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin: 6px -2px 4px; }
.glb-pcard__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.glb-pcard__name { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--glb-ink); }
.glb-pcard__mode { margin-top: 2px; font-size: .8125rem; color: var(--glb-muted); }
.glb-pcard__tags { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 12px; }
.glb-pcard__tags span { display: flex; align-items: flex-start; gap: 6px; font-size: .84375rem; line-height: 1.4; }
.glb-pcard__tags .glb-ico { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; color: var(--glb-red); }
.glb-pcard__more { margin-top: auto; padding-top: 10px; font-size: .875rem; font-weight: 600; color: var(--glb-red); border-top: 1px solid var(--glb-line); }
.glb-promo__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 22px; }
.glb-promo__foot .glb-actions { margin: 0; }
.glb-promo__panel .glb-promo__note { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .82); }
@media (max-width: 700px) {
  .glb-promo__panel { padding: 20px 16px 18px; border-radius: 18px; }
  .glb-promo__head { margin-bottom: 18px; }
  .glb-promo__sub { font-size: 1rem; }
  .glb-promo__panel .glb-offer__cd span { min-width: 56px; }
  .glb-promo__panel .glb-offer__cd b { font-size: 1.25rem; }
  /* scroll-padding: giữ lề 16px khi vuốt/bắt dính, thẻ đầu không dính sát mép khung đỏ */
  .glb-promo__grid { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .glb-promo__grid::-webkit-scrollbar { display: none; }
  .glb-promo__grid > li { flex: 0 0 76%; scroll-snap-align: start; }
  .glb-pcard__img { aspect-ratio: 2 / 1; min-height: 0; overflow: hidden; }
  .glb-pcard__img img { object-fit: cover; }
  .glb-promo__foot .glb-actions { width: 100%; }
  .glb-promo__foot .glb-actions > .glb-btn { flex: 1 1 100%; }
}

/* Dải thông báo đầu trang */
.glb-pbar { position: relative; z-index: 6; font-size: .875rem; line-height: 1.4; color: #fff; background: linear-gradient(90deg, #a80013 0%, #d90a1c 50%, #a80013 100%); }
.glb-pbar__in { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.glb-pbar__link { display: flex; flex: 1; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 8px 0; color: #fff; text-decoration: none; }
.glb-pbar__link:hover { color: #fff; text-decoration: none; }
a.glb-pbar__link, a.glb-pbar__link:hover { color: #fff; text-decoration: none; }
.glb-pbar__link:hover .glb-pbar__go { background: rgba(255, 255, 255, .26); }
.glb-pbar .glb-ico { flex: 0 0 18px; width: 18px; height: 18px; color: #ffe27a; }
.glb-pbar__tag { font-weight: 700; white-space: nowrap; }
.glb-pbar__txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glb-pbar__txt b { color: #ffe27a; }
.glb-pbar__go { flex: 0 0 auto; padding: 3px 12px; font-weight: 700; white-space: nowrap; background: rgba(255, 255, 255, .16); border-radius: 999px; transition: background-color .15s; }
.glb-pbar__m { display: none; }
.glb-pbar__x { flex: 0 0 32px; width: 32px; height: 32px; margin: 0; padding: 0; font: inherit; font-size: 1.375rem; line-height: 1; color: #fff; background: transparent; border: 0; border-radius: 8px; cursor: pointer; opacity: .8; }
.glb-pbar__x:hover, .glb-pbar__x:focus-visible { background: rgba(255, 255, 255, .14); opacity: 1; }
@media (max-width: 700px) {
  .glb-pbar { font-size: .8125rem; }
  .glb-pbar__link { justify-content: flex-start; gap: 6px; }
  .glb-pbar__tag, .glb-pbar__txt, .glb-pbar__go { display: none; }
  .glb-pbar__m { display: block; min-width: 0; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .glb-pbar__link::after { content: "›"; margin-left: auto; padding-left: 6px; font-size: 1.125rem; font-weight: 700; }
}

/* Dải gọn: Kinh nghiệm mua xe, Bảng giá */
.glb-pstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 0 0 28px; padding: 16px 18px; background: linear-gradient(120deg, #fff1f2 0%, #fff 70%); border: 1px solid #f6d3d7; border-radius: 16px; }
.glb-pstrip__l { flex: 1 1 280px; min-width: 0; }
.glb-pstrip__badge, .glb-pbox__badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 4px 11px 4px 8px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--glb-red); border-radius: 999px; }
.glb-pstrip__badge .glb-ico, .glb-pbox__badge .glb-ico { width: 15px; height: 15px; color: #ffe27a; }
.glb-pstrip__txt { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--glb-text); }
.glb-pstrip__txt b, .glb-ppage__sum b { color: var(--glb-red); }
.glb-pstrip__list { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.glb-pstrip__list li { margin: 0; }
.glb-pstrip__list a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; color: var(--glb-ink); text-decoration: none; background: #fff; border: 1px solid var(--glb-line); border-radius: 12px; transition: border-color .15s; }
.glb-pstrip__list a:hover { color: var(--glb-ink); border-color: var(--glb-red); }
.glb-pstrip__list img { width: 60px; height: 38px; object-fit: contain; }
.glb-pstrip__list span { display: flex; flex-direction: column; font-size: .8125rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.glb-pstrip__list b { font-size: .875rem; color: var(--glb-red); }
.glb-pstrip__go { flex: 0 0 auto; }
@media (max-width: 1080px) {
  .glb-pstrip__list { order: 3; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
  .glb-pstrip__list::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
  .glb-pstrip { padding: 14px; }
  .glb-pstrip__go { order: 4; flex: 1 1 100%; }
}

/* Khung cuối bài viết */
.glb-pbox { position: relative; overflow: hidden; margin: 36px 0 0; padding: 22px 20px 18px; background: #fff; border: 1px solid #f2c9ce; border-radius: 18px; box-shadow: 0 12px 30px -20px rgba(168, 0, 19, .45); }
.glb-pbox::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, #a80013, #ff4a57); }
.glb-pbox__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 10px; }
.glb-pbox__badge { margin: 0; }
.glb-pbox__title { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--glb-ink); }
.glb-pbox__title b { color: var(--glb-red); }
.glb-pbox__list { margin: 0 0 16px; padding: 0; list-style: none; }
.glb-pbox__list li { margin: 0; }
.glb-pbox__list li + li { border-top: 1px solid #f1f2f4; }
.glb-pbox__list a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px; color: var(--glb-text); text-decoration: none; border-radius: 12px; }
.glb-pbox__list a:hover { color: var(--glb-text); background: #fff5f5; }
.glb-pbox__list img { width: 76px; height: 46px; object-fit: contain; }
.glb-pbox__name { min-width: 0; }
.glb-pbox__name b { display: block; font-size: .96875rem; line-height: 1.3; color: var(--glb-ink); }
.glb-pbox__name small { display: block; margin-top: 2px; font-size: .78125rem; line-height: 1.4; color: var(--glb-muted); }
.glb-pbox__amt { text-align: right; }
.glb-pbox__amt small { display: block; font-size: .65625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--glb-muted); }
.glb-pbox__amt b { font-size: 1.0625rem; color: var(--glb-red); white-space: nowrap; }
@media (max-width: 480px) {
  .glb-pbox { padding: 20px 14px 16px; }
  .glb-pbox__list a { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; padding: 8px 4px; }
  .glb-pbox__list img { width: 64px; height: 40px; }
  .glb-pbox .glb-actions .glb-btn { flex: 1 1 100%; }
}

/* Trang /khuyen-mai/ */
.glb-ppage__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 18px 20px; background: linear-gradient(120deg, #fff1f2 0%, #fff 70%); border: 1px solid #f6d3d7; border-radius: 18px; }
.glb-ppage__top > div:first-child { flex: 1 1 320px; min-width: 0; }
.glb-ppage__sum { margin: 4px 0 0; font-size: 1rem; line-height: 1.6; color: var(--glb-text); }
.glb-ppage__nav { display: flex; gap: 6px; margin: 18px 0 4px; overflow-x: auto; scrollbar-width: none; }
.glb-ppage__nav::-webkit-scrollbar { display: none; }
.glb-ppage__nav a { flex: 0 0 auto; padding: 8px 14px; font-size: .875rem; font-weight: 600; color: var(--glb-text); text-decoration: none; white-space: nowrap; border: 1px solid var(--glb-line); border-radius: 999px; }
.glb-ppage__nav a:hover { color: var(--glb-red); border-color: var(--glb-red); }
.glb-pline { margin-top: 28px; scroll-margin-top: 96px; }
.glb-pline__head { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--glb-red); }
.glb-pline__img img { display: block; width: 120px; height: 72px; object-fit: contain; }
.entry-content .glb-pline h2, .glb-pline h2 { margin: 0; font-size: 1.375rem; line-height: 1.3; }
.glb-pline__head p { margin: 2px 0 0; font-size: .9375rem; color: var(--glb-muted); }
.glb-pline__head p b { color: var(--glb-red); }
.glb-pline__link { font-size: .9375rem; font-weight: 600; color: var(--glb-red); text-decoration: none; white-space: nowrap; }
.glb-prow { display: grid; grid-template-columns: 210px minmax(0, 1fr) 150px; align-items: center; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--glb-line); }
.glb-prow__car a { font-weight: 700; color: var(--glb-ink); text-decoration: none; }
.glb-prow__car a:hover { color: var(--glb-red); }
.glb-prow__car small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--glb-muted); }
.glb-prow__offer { font-size: .90625rem; line-height: 1.6; color: var(--glb-text); }
.glb-prow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.glb-prow__amt { text-align: right; }
.glb-prow__amt small { display: block; font-size: .65625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--glb-muted); }
.glb-prow__amt b { font-size: 1.25rem; color: var(--glb-red); white-space: nowrap; }
.glb-prow__side .glb-btn { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.glb-ppage__note { margin-top: 18px; }
.glb-pempty { margin-bottom: 24px; padding: 24px; text-align: center; background: var(--glb-soft); border-radius: 16px; }
.glb-pempty__t { margin: 0 0 6px; font-size: 1.25rem; font-weight: 700; color: var(--glb-ink); }
@media (max-width: 820px) {
  .glb-pline__head { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .glb-pline__img img { width: 92px; height: 56px; }
  .glb-pline__link { grid-column: 1 / -1; }
  .glb-prow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "car amt" "offer offer" "btn btn"; gap: 8px 14px; }
  .glb-prow__car { grid-area: car; }
  .glb-prow__offer { grid-area: offer; }
  .glb-prow__side { display: contents; }
  .glb-prow__amt { grid-area: amt; }
  .glb-prow__side .glb-btn { grid-area: btn; width: 100%; }
}

/* ---------- SEO địa phương Hà Nội (2.7.0): khối đăng ký tại Hà Nội, khoảng cách, bước tiếp theo ---------- */
.glb-local { margin: 28px 0 0; padding: clamp(18px, 3vw, 26px); background: var(--glb-soft); border: 1px solid var(--glb-line); border-radius: 16px; }
.glb-local h2 { margin: 0 0 14px; font-size: clamp(1.125rem, 2.2vw, 1.375rem); }
.glb-local__list { margin: 0; padding: 0 0 0 1.1em; font-size: .9375rem; line-height: 1.6; color: var(--glb-text); }
.glb-local__list li { margin: 0 0 8px; }
.glb-local__list b { color: var(--glb-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.glb-local__note { margin: 10px 0 0; font-size: .75rem; line-height: 1.5; color: var(--glb-muted); }
.glb-dist { margin: 16px 0 0; }
.glb-svc { margin: 28px 0 0; padding: 16px 18px; background: var(--glb-soft); border: 1px solid var(--glb-line); border-radius: 14px; }
.glb-svc ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.glb-svc li { display: flex; align-items: flex-start; gap: 8px; font-size: .9375rem; line-height: 1.5; color: var(--glb-text); }
.glb-svc li .glb-ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--glb-red); }
.glb-svc__area { margin: 10px 0 0; font-size: .875rem; line-height: 1.55; color: var(--glb-muted); }
.glb-svc__area b { color: var(--glb-ink); }
.glb-dist__h, .glb-next__h { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--glb-muted); }
.glb-dist ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.glb-dist li { display: flex; flex-direction: column; padding: 10px 12px; background: #fff; border: 1px solid var(--glb-line); border-radius: 10px; font-size: .875rem; line-height: 1.35; }
.glb-dist li span { color: var(--glb-muted); }
.glb-dist li b { font-size: 1rem; color: var(--glb-ink); }
.glb-dist li i { font-style: normal; font-size: .8125rem; color: var(--glb-text); }
.glb-dist__note { margin: 6px 0 0; font-size: .75rem; color: var(--glb-muted); }
.glb-next { margin: 28px 0 0; }
.glb-local .glb-next { margin-top: 18px; }
.glb-next ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.glb-next li { margin: 0; }
/* chỉ áp cho thẻ "Bước tiếp theo" (li > a), KHÔNG áp cho nút Gọi/Zalo bên dưới */
.glb-next li > a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 12px 14px; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--glb-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.glb-next li > a:hover, .glb-next li > a:focus-visible { color: inherit; border-color: var(--glb-red); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .25); }
.glb-next li > a b { color: var(--glb-ink); font-size: .9375rem; }
.glb-next li > a b::after { content: " →"; color: var(--glb-red); }
.glb-next li > a span { font-size: .8125rem; line-height: 1.45; color: var(--glb-muted); }
.glb-next .glb-actions { margin-top: 14px; }
.section--next .glb-next { margin: 0; }

/* ---------- Đầu trang chủ 2.7.2: tính nhanh lăn bánh Hà Nội, nhãn phí, dòng tư vấn viên ---------- */
.glb-hcalc { padding: clamp(16px, 2.4vw, 24px); background: #fff; border: 1px solid var(--glb-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(17, 17, 17, .08); }
.glb-hcalc .glb-hcalc__h { margin: 0 0 4px; font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.3; color: var(--glb-ink); }
.glb-hcalc__sub { margin: 0 0 14px; font-size: .8125rem; color: var(--glb-muted); }
.glb-hcalc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.glb-hcalc__chips button { min-height: 34px; padding: 0 12px; font: inherit; font-size: .8125rem; color: var(--glb-ink); background: #fff; border: 1px solid var(--glb-line); border-radius: 999px; cursor: pointer; }
.glb-hcalc__chips button:hover { border-color: var(--glb-ink); }
.glb-hcalc__chips button[aria-pressed="true"] { color: #fff; background: var(--glb-ink); border-color: var(--glb-ink); }
.glb-hcalc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 12px; }
.glb-hcalc__row label, .glb-hcalc__reg { display: block; margin: 0; }
.glb-hcalc__row label > span, .glb-hcalc__reg > span { display: block; margin-bottom: 5px; font-size: .75rem; font-weight: 600; color: #333; }
.glb-hcalc select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 32px 8px 12px; font: inherit; font-size: 16px; color: var(--glb-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid #d6d6d6; border-radius: 10px; -webkit-appearance: none; appearance: none; }
.glb-seg { display: flex; gap: 4px; padding: 4px; background: var(--glb-soft); border-radius: 10px; }
.glb-seg button { flex: 1 1 0; min-height: 36px; padding: 0 10px; font: inherit; font-size: .8125rem; font-weight: 600; color: var(--glb-muted); background: none; border: 0; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.glb-seg button[aria-pressed="true"] { color: var(--glb-ink); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.glb-hcalc__res { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; background: var(--glb-soft); border-radius: 14px; }
.glb-hcalc__img { display: block; overflow: hidden; border-radius: 10px; }
.glb-hcalc__img img { display: block; width: 124px; height: 80px; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.45); }
.glb-hcalc__res dl { display: grid; gap: 4px; margin: 0; font-size: .8125rem; }
.glb-hcalc__res dl div { display: flex; justify-content: space-between; gap: 8px; }
.glb-hcalc__res dt { color: var(--glb-muted); }
.glb-hcalc__res dd { margin: 0; font-weight: 600; color: var(--glb-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.glb-hcalc__res dl div.glb-hcalc__tot { flex-wrap: wrap; align-items: baseline; margin-top: 2px; }
.glb-hcalc__tot dd { margin-left: auto; }
.glb-hcalc__tot dt { font-weight: 700; color: var(--glb-ink); white-space: nowrap; }
.glb-hcalc__tot dd { font-size: 1.25rem; color: var(--glb-red); }
.glb-hcalc__offer { margin: 10px 0 0; padding: 8px 12px; font-size: .8125rem; line-height: 1.45; color: #7a1a10; background: #fff4e5; border: 1px solid #fde1b8; border-radius: 10px; }
.glb-hcalc__offer[hidden] { display: none; }
.glb-hcalc .glb-actions.glb-hcalc__btns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.glb-hcalc__note { margin: 10px 0 0; font-size: .75rem; line-height: 1.5; color: var(--glb-muted); }
.glb-hcalc__note a { color: var(--glb-red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.glb-hfacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.glb-hfacts span { padding: 5px 11px; font-size: .8125rem; color: var(--glb-ink); background: #fff; border: 1px solid #f3d3d6; border-radius: 999px; }
.glb-hfacts b { color: var(--glb-red); }
.glb-hbyline { display: flex; align-items: center; gap: 12px; max-width: 560px; padding-top: 18px; font-size: .8125rem; line-height: 1.5; color: var(--glb-text); border-top: 1px dashed #eccfd2; }
.glb-hbyline__photo { flex: 0 0 auto; width: 46px; height: 46px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #f0c9cd; }
.glb-hbyline__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.glb-hbyline__photo.is-zoom img { transform: scale(2.3); transform-origin: 64% 30%; }
.glb-hbyline b, .glb-hbyline b a { color: var(--glb-ink); text-decoration: none; }
.glb-hbyline a[href^="tel:"] { color: var(--glb-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) {
  .glb-hcalc__row { grid-template-columns: minmax(0, 1fr); }
  .glb-hcalc__res { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .glb-hcalc__img { width: 180px; margin: 0 auto; }
  .glb-hcalc__img img { width: 180px; height: 92px; }
  .glb-hcalc .glb-actions.glb-hcalc__btns { grid-template-columns: minmax(0, 1fr); }
  .glb-hcalc__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -16px; padding-right: 16px; }
  .glb-hcalc__chips::-webkit-scrollbar { display: none; }
  .glb-hcalc__chips button { flex: 0 0 auto; padding: 0 12px; white-space: nowrap; }
}

/* 2.8.3 – Nút gradient nổi, viền mảnh (xem lead.css) */
.glb-btn.glb-btn--light { background: #fff linear-gradient(180deg, #fff 0%, #fff1f2 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(80, 0, 10, .2), 0 10px 20px -8px rgba(60, 0, 8, .45); }
.glb-btn.glb-btn--light:hover, .glb-btn.glb-btn--light:focus-visible { background: #fff; box-shadow: inset 0 0 0 1px #fff, 0 2px 4px rgba(80, 0, 10, .2), 0 14px 26px -8px rgba(60, 0, 8, .5); }
.glb-btn.glb-btn--outline-light { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 14px -8px rgba(60, 0, 8, .35); }
.glb-hcalc__chips button { border-color: #e2e5ea; }
.glb-hcalc__chips button[aria-pressed="true"] { background: #1d2026 linear-gradient(180deg, #3a3f48 0%, #1d2026 60%, #121418 100%); border-color: #121418; box-shadow: 0 3px 8px -4px rgba(16, 24, 40, .4); }
.glb-region button[aria-pressed="true"], .glb-board__chips a.is-active { background: #d90a1c var(--glb-g-red, none); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 8px -4px rgba(217, 10, 28, .45); }

/* 2.8.5: giá rút gọn nằm giữa câu không bị tách dòng ("7,6 / triệu", "1 tỷ 155 / triệu") */
.glb-board__name p b, .glb-title b, .glb-summary__loan b, .glb-local b, .glb-lines__price b, .glb-dxc__p b, .glb-loan [data-out="last"], .glb-loan [data-out="down"], .glb-hcalc__note [data-hc="loan"], .glb-cmp td, .glb-car__price b { white-space: nowrap; }
