/* HBG Platforms & Remote Tuning. Uses the hbg theme tokens with fallbacks. */
:root {
	--hbgp-red: var(--hbg-red, #ff2b2b);
	--hbgp-deep: var(--hbg-deep-red, #c8102e);
	--hbgp-black: var(--hbg-black, #0a0a0b);
	--hbgp-text: var(--hbg-text, #f3f3f5);
	--hbgp-muted: var(--hbg-muted, #9a9aa6);
	--hbgp-line: var(--hbg-line, #26262d);
	--hbgp-carbon: var(--hbg-carbon, #141418);
	--hbgp-carbon-2: var(--hbg-carbon-2, #1b1b21);
	--hbgp-cond: var(--hbg-cond, "Barlow Condensed", "Arial Narrow", sans-serif);
	--hbgp-ease: var(--hbg-ease, cubic-bezier(.2, .7, .2, 1));
	--hbgp-weave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23621019'/%3E%3Cstop offset='1' stop-color='%231c0407'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%234d0b12'/%3E%3Cstop offset='1' stop-color='%23150205'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='6' height='6' fill='url(%23a)'/%3E%3Crect x='6' y='6' width='6' height='6' fill='url(%23a)'/%3E%3Crect x='6' width='6' height='6' fill='url(%23b)'/%3E%3Crect y='6' width='6' height='6' fill='url(%23b)'/%3E%3C/svg%3E");
	--hbgp-weave-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23202026'/%3E%3Cstop offset='1' stop-color='%230c0c0e'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%231a1a1f'/%3E%3Cstop offset='1' stop-color='%230a0a0b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='5' height='5' fill='url(%23a)'/%3E%3Crect x='5' y='5' width='5' height='5' fill='url(%23a)'/%3E%3Crect x='5' width='5' height='5' fill='url(%23b)'/%3E%3Crect y='5' width='5' height='5' fill='url(%23b)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.hbgp-section { padding: clamp(2.6rem, 6vw, 5rem) 0; }
.hbgp-section--alt { background: var(--hbgp-carbon); border-top: 1px solid var(--hbgp-line); border-bottom: 1px solid var(--hbgp-line); }
.hbgp-section--tight { padding: 2rem 0; }
.hbgp-wrap { width: min(1320px, calc(100% - 2 * var(--wp--style--root--padding-left, 1.25rem))); margin: 0 auto; }
.hbgp-head { max-width: 760px; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.hbgp-head > * { margin-top: 0; }
.hbgp-head h2 { margin-bottom: .6rem; }
.hbgp-head p { margin: 0; }
.hbgp-main .hbg-hero--page { min-height: 0 !important; }
.hbgp-small-title { font-family: var(--hbgp-cond); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; margin: 0 0 1rem; color: var(--hbgp-muted); }

/* ---------- Logos ---------- */
.hbgp-logos { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; }
.hbgp-logo { display: inline-flex; align-items: center; justify-content: center; color: var(--hbgp-text); }
.hbgp-logo svg { width: 104px; height: 104px; display: block; }
.hbgp-logos--2 .hbgp-logo svg, .hbgp-logos--3 .hbgp-logo svg { width: 76px; height: 76px; }
.hbgp-logo--text { font-family: var(--hbgp-cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 2.6rem; letter-spacing: .02em; line-height: 1; }
.hbgp-logos--2 .hbgp-logo--text { font-size: 2rem; }
.hbgp-logos--3 { gap: .6rem; flex-wrap: wrap; max-width: 100%; }
.hbgp-logos--3 .hbgp-logo svg { width: 54px; height: 54px; }
.hbgp-logos--3 .hbgp-logo--text { font-size: 1.5rem; }
.hbgp-section.alignfull { max-width: none; margin-left: 0; margin-right: 0; }

/* ---------- Platform tiles ---------- */
.hbgp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.hbgp-tiles--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hbgp-tiles--small { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.hbgp-tile {
	position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
	min-height: 250px; padding: 1.6rem 1rem 1.3rem; text-align: center; text-decoration: none; color: var(--hbgp-text);
	background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .06), transparent 60%), var(--hbgp-weave-dark), var(--hbgp-carbon);
	border: 1px solid var(--hbgp-line); border-radius: 6px;
	transition: transform .35s var(--hbgp-ease), border-color .35s, box-shadow .35s;
}
.hbgp-tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, transparent, var(--hbgp-red), transparent); transform: scaleX(0); transition: transform .45s var(--hbgp-ease); }
.hbgp-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 110%, rgba(255, 43, 43, .35), transparent 70%); opacity: 0; transition: opacity .35s; }
.hbgp-tile:hover, .hbgp-tile:focus-visible { border-color: rgba(255, 43, 43, .65); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 43, 43, .25); transform: translateY(-4px); color: var(--hbgp-text); }
.hbgp-tile:hover::after, .hbgp-tile:focus-visible::after { transform: scaleX(1); }
.hbgp-tile:hover::before, .hbgp-tile:focus-visible::before { opacity: 1; }
.hbgp-tile__logo { min-height: 104px; display: flex; align-items: center; transition: transform .4s var(--hbgp-ease); }
.hbgp-tile:hover .hbgp-tile__logo { transform: scale(1.06); }
.hbgp-tile__name { font-family: var(--hbgp-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem; line-height: 1.15; }
.hbgp-tile__cta { font-size: .82rem; color: var(--hbgp-red); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-family: var(--hbgp-cond); }
.hbgp-tile--small { min-height: 180px; gap: .7rem; padding: 1.2rem .8rem; }
.hbgp-tile--small .hbgp-logo svg { width: 72px; height: 72px; }
.hbgp-tile--small .hbgp-tile__logo { min-height: 72px; }
.hbgp-tile--small .hbgp-logo--text { font-size: 1.9rem; }
.hbgp-tile--small .hbgp-tile__name { font-size: 1rem; }
.hbgp-tile--all { background: radial-gradient(120% 100% at 80% 100%, rgba(255, 43, 43, .55), transparent 60%), var(--hbgp-weave), #2a0609; border-color: rgba(255, 43, 43, .45); }
.hbgp-tile__count { font-family: var(--hbgp-cond); font-weight: 800; font-style: italic; font-size: 3.6rem; line-height: .9; color: #fff; text-shadow: 0 0 24px rgba(255, 43, 43, .6); }
.hbgp-tile--all .hbgp-tile__cta { color: #fff; }

/* ---------- Category tiles ---------- */
.hbgp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.hbgp-cat {
	display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .15rem; align-items: center;
	padding: 1.05rem 1.1rem; text-decoration: none; color: var(--hbgp-text);
	background: linear-gradient(160deg, var(--hbgp-carbon-2), var(--hbgp-black)); border: 1px solid var(--hbgp-line); border-radius: 6px;
	transition: transform .3s var(--hbgp-ease), border-color .3s, background .3s;
}
.hbgp-cat:hover, .hbgp-cat:focus-visible { border-color: rgba(255, 43, 43, .6); transform: translateY(-3px); color: var(--hbgp-text); background: linear-gradient(160deg, #241014, var(--hbgp-black)); }
.hbgp-icon { width: 46px; height: 46px; grid-row: 1 / span 2; color: var(--hbgp-red); padding: 9px; border-radius: 50%; background: rgba(255, 43, 43, .08); border: 1px solid rgba(255, 43, 43, .25); box-sizing: border-box; }
.hbgp-cat__name { font-family: var(--hbgp-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; line-height: 1.1; }
.hbgp-cat__note { font-size: .82rem; color: var(--hbgp-muted); line-height: 1.3; }

/* ---------- Pills / chip ---------- */
.hbgp-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.hbgp-pill { padding: .45rem .9rem; border: 1px solid var(--hbgp-line); border-radius: 999px; color: var(--hbgp-text); text-decoration: none; font-size: .9rem; background: var(--hbgp-black); transition: border-color .2s, color .2s; }
.hbgp-pill:hover { border-color: var(--hbgp-red); color: var(--hbgp-red); }
.hbgp-chip { display: inline-flex; align-items: center; gap: .45rem; margin: .4rem 0 0; padding: .35rem .5rem .35rem .8rem; border: 1px solid rgba(255, 43, 43, .5); border-radius: 999px; background: rgba(255, 43, 43, .08); font-size: .9rem; color: var(--hbgp-muted); }
.hbgp-chip a { color: var(--hbgp-text); font-weight: 600; text-decoration: none; }
.hbgp-chip__x { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--hbgp-carbon-2); font-size: 1.1rem; line-height: 1; }
.hbgp-chip__x:hover { background: var(--hbgp-deep); }

/* Platform hero logo */
.hbgp-platform-hero .hbgp-hero-logo { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); opacity: .14; pointer-events: none; z-index: 0; }
.hbgp-platform-hero .hbgp-hero-logo .hbgp-logo svg { width: min(26vw, 340px); height: auto; }
.hbgp-platform-hero .hbgp-hero-logo .hbgp-logo--text { font-size: min(9vw, 8rem); }
.hbgp-platform-hero .hbgp-hero-logo .hbgp-logos--2 .hbgp-logo svg { width: min(16vw, 220px); }
.hbgp-platform-hero .hbgp-hero-logo .hbgp-logos--3 { flex-wrap: nowrap; gap: 2rem; }
.hbgp-platform-hero .hbgp-hero-logo .hbgp-logos--3 .hbgp-logo svg { width: min(10vw, 140px); height: auto; }
.hbgp-platform-hero .hbgp-hero-logo .hbgp-logos--3 .hbgp-logo--text { font-size: min(5vw, 4.5rem); }

/* ---------- Remote tuning: art panel (red carbon) ---------- */
.hbgr-art {
	position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1 / 1; border-radius: 6px;
	background:
		radial-gradient(110% 70% at 62% 92%, rgba(255, 43, 43, .62) 0%, rgba(200, 16, 46, .28) 38%, transparent 68%),
		linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .55) 100%),
		var(--hbgp-weave), #2a0609;
	box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .18), inset 0 -60px 80px rgba(0, 0, 0, .35);
}
.hbgr-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 45%, transparent 60%); }
.hbgr-art::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 13%; height: 10%; z-index: 0; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .75), transparent 70%); }
.hbgr-art__text { position: absolute; top: 7%; left: 7%; right: 7%; z-index: 2; display: flex; flex-direction: column; line-height: .92; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hbgr-art__make, .hbgr-art__model { font-family: var(--hbgp-cond); font-weight: 800; font-style: italic; text-transform: uppercase; color: #fff; letter-spacing: -.005em; margin: 0; }
.hbgr-art__make { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.hbgr-art__model { font-size: clamp(1.95rem, 4.4vw, 2.9rem); line-height: .95; }
.hbgr-art--long .hbgr-art__model { font-size: clamp(1.55rem, 3.4vw, 2.25rem); }
.hbgr-art--xlong .hbgr-art__model { font-size: clamp(1.3rem, 2.7vw, 1.8rem); }
.hbgr-single__art .hbgr-art--long .hbgr-art__model { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.hbgr-single__art .hbgr-art--xlong .hbgr-art__model { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.hbgr-art__years { margin-top: .45rem; font-family: var(--hbgp-cond); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.65rem); color: rgba(255, 255, 255, .9); letter-spacing: .04em; }
.hbgr-art__car { position: absolute; left: 3%; right: 3%; bottom: 6%; z-index: 1; display: flex; align-items: flex-end; justify-content: center; height: 58%; }
.hbgr-art__car img, .hbgr-art__img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: grayscale(1) brightness(.95) drop-shadow(0 16px 14px rgba(0, 0, 0, .7)) drop-shadow(0 0 20px rgba(255, 43, 43, .3)); transition: transform .6s var(--hbgp-ease); }
.hbgr-art__car .hbgp-silhouette { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(255, 43, 43, .3)); transition: transform .6s var(--hbgp-ease); }
.hbgr-art__mark { position: absolute; left: 7%; bottom: 4.5%; z-index: 2; font-family: var(--hbgp-cond); font-weight: 800; font-style: italic; font-size: .85rem; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.hbgr-art__mark::after { content: " GARAGE"; font-weight: 600; letter-spacing: .2em; color: rgba(255, 255, 255, .45); }

/* Full-photo cards (real photos, no cut-out) */
.hbgr-art--photo { aspect-ratio: 4 / 3; background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.hbgr-art--photo::after { display: none; }
.hbgr-art--photo::before { display: none; }
.hbgr-art--photo .hbgr-art__car { left: 0; right: 0; bottom: 0; top: 0; height: 100%; z-index: 0; }
.hbgr-art--photo .hbgr-art__car img, .hbgr-art--photo .hbgr-art__img { object-fit: cover; object-position: center; filter: none; }
.hbgr-art--photo .hbgr-art__text { top: 6%; }
.hbgr-card:hover .hbgr-art--photo .hbgr-art__car img { transform: scale(1.05); }

/* ---------- Remote tuning: cards ---------- */
.hbgr-card { display: flex; flex-direction: column; text-decoration: none; color: var(--hbgp-text); background: var(--hbgp-carbon); border: 1px solid var(--hbgp-line); border-radius: 8px; overflow: hidden; padding: .6rem; transition: transform .35s var(--hbgp-ease), border-color .35s, box-shadow .35s; }
.hbgr-card:hover, .hbgr-card:focus-visible { border-color: rgba(255, 43, 43, .6); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); color: var(--hbgp-text); }
.hbgr-card:hover .hbgr-art__car img, .hbgr-card:hover .hbgp-silhouette { transform: scale(1.04) translateX(1%); }
.hbgr-card__body { display: flex; flex-direction: column; gap: .4rem; padding: .85rem .35rem .4rem; flex: 1; }
.hbgr-card__title { font-family: var(--hbgp-cond); font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.hbgr-card__years { font-family: var(--hbgp-cond); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; color: var(--hbgp-red); margin-top: -.25rem; }
.hbgr-card__row { font-size: .84rem; color: var(--hbgp-muted); line-height: 1.4; }
.hbgr-card__row b { display: block; font-family: var(--hbgp-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--hbgp-text); margin-bottom: .05rem; }
.hbgr-card__engines { font-size: .82rem; color: var(--hbgp-muted); line-height: 1.35; }
.hbgr-card__cta { margin-top: auto; padding-top: .5rem; font-family: var(--hbgp-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--hbgp-red); }
.hbgr-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.hbgr-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .22rem .5rem; border-radius: 3px; border: 1px solid rgba(255, 43, 43, .45); color: #ffb3b3; background: rgba(255, 43, 43, .08); }
.hbgr-badge--vf { border-color: rgba(255, 255, 255, .25); color: #e6e6ea; background: rgba(255, 255, 255, .05); }
.hbgr-price { font-size: .95rem; color: var(--hbgp-muted); }
.hbgr-price strong { color: var(--hbgp-text); font-size: 1.1rem; }

.hbgr-group { margin-top: clamp(1.8rem, 4vw, 3rem); }
.hbgr-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.hbgr-group__title { margin: 0; font-family: var(--hbgp-cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hbgr-group__desc { margin: .35rem 0 0; color: var(--hbgp-muted); font-size: .95rem; max-width: 60ch; }
.hbgr-group__actions { display: flex; align-items: center; gap: .8rem; }
.hbgr-viewall { padding: .55rem 1.1rem; border-radius: 3px; background: var(--hbgp-deep); color: #fff; text-decoration: none; font-family: var(--hbgp-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .88rem; transition: background .2s; }
.hbgr-viewall:hover { background: var(--hbgp-red); color: #fff; }
.hbgr-nav { display: inline-flex; gap: .4rem; }
.hbgr-nav:empty { display: none; }
.hbgr-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hbgp-line); background: var(--hbgp-carbon); color: var(--hbgp-text); cursor: pointer; font-size: 1.05rem; transition: border-color .2s, background .2s, opacity .2s; }
.hbgr-nav button:hover { border-color: var(--hbgp-red); background: var(--hbgp-deep); }
.hbgr-nav button[disabled] { opacity: .35; cursor: default; background: var(--hbgp-carbon); border-color: var(--hbgp-line); }
.hbgr-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 3 * 1rem) / 4)); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .9rem; scrollbar-width: thin; scrollbar-color: var(--hbgp-red) var(--hbgp-carbon); overscroll-behavior-x: contain; }
.hbgr-row > * { scroll-snap-align: start; }
.hbgr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }

/* ---------- Remote tuning: single vehicle ---------- */
.hbgr-single-wrap { padding-top: clamp(1.6rem, 4vw, 3rem); }
.hbgr-single { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hbgr-single__art { position: sticky; top: 110px; }
.hbgr-single__art .hbgr-art__make { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }
.hbgr-single__art .hbgr-art__model { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.hbgr-single__art .hbgr-art__years { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hbgr-crumbs { font-size: .85rem; color: var(--hbgp-muted); margin-bottom: .8rem; }
.hbgr-crumbs a { color: var(--hbgp-muted); text-decoration: none; }
.hbgr-crumbs a:hover { color: var(--hbgp-red); }
.hbgr-single__title { margin: 0 0 .9rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.05; }
.hbgr-single__info .hbgr-price { display: block; margin-top: .8rem; font-size: 1.05rem; }
.hbgr-single__sub { margin: 1.6rem 0 .6rem; font-family: var(--hbgp-cond); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: var(--hbgp-muted); }
.hbgr-engines, .hbgr-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.hbgr-single__years { margin: -.4rem 0 .9rem; font-family: var(--hbgp-cond); font-weight: 700; font-size: 1.4rem; letter-spacing: .06em; color: var(--hbgp-red); }
.hbgr-trims { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.hbgr-trims li { padding: .4rem .8rem; border: 1px solid var(--hbgp-line); border-radius: 3px; background: var(--hbgp-carbon); font-weight: 600; font-size: .92rem; }
.hbgr-engines li { padding: .6rem .85rem; border: 1px solid var(--hbgp-line); border-left: 3px solid var(--hbgp-red); border-radius: 3px; background: var(--hbgp-carbon); font-weight: 600; }
.hbgr-incl li { position: relative; padding-left: 1.6rem; }
.hbgr-incl li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--hbgp-red); border-bottom: 2px solid var(--hbgp-red); transform: rotate(-45deg); }
.hbgr-single__ctas { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.hbgr-single__note { margin-top: 1rem; font-size: .82rem; color: var(--hbgp-muted); }
.hbgr-credit { margin-top: .6rem; font-size: .72rem; color: #6d6d78; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.hbgp-tiles--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hbgr-single { grid-template-columns: 1fr; }
	.hbgr-single__art { position: static; }
	.hbgp-platform-hero .hbgp-hero-logo { display: none; }
}
@media (max-width: 600px) {
	.hbgp-tile { min-height: 190px; gap: .7rem; padding: 1.1rem .7rem; }
	.hbgp-logo svg { width: 72px; height: 72px; }
	.hbgp-tile__logo { min-height: 72px; }
	.hbgp-logos--2 .hbgp-logo svg, .hbgp-logos--3 .hbgp-logo svg { width: 50px; height: 50px; }
	.hbgp-logo--text { font-size: 1.9rem; }
	.hbgp-logos--2 .hbgp-logo--text { font-size: 1.4rem; }
	.hbgp-logos--3 .hbgp-logo svg { width: 36px; height: 36px; }
	.hbgp-logos--3 .hbgp-logo--text { font-size: 1.05rem; }
	.hbgp-logos--3 { gap: .4rem; }
	.hbgp-logos { gap: .55rem; }
	.hbgp-tile__name { font-size: 1rem; }
	.hbgp-tile__count { font-size: 2.8rem; }
	.hbgp-tiles--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hbgp-cats { grid-template-columns: 1fr; gap: .6rem; }
	.hbgr-row { grid-auto-columns: 78%; }
	.hbgr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.hbgr-grid .hbgr-card { padding: .4rem; }
	.hbgr-grid .hbgr-card__title { font-size: 1rem; }
	.hbgr-grid .hbgr-card__row { font-size: .76rem; } .hbgr-grid .hbgr-card__years { font-size: .95rem; }
	.hbgr-grid .hbgr-art__make { font-size: 1.18rem; }
	.hbgr-grid .hbgr-art__model { font-size: 1.35rem; }
	.hbgr-grid .hbgr-art__years { font-size: 1.1rem; }
	.hbgr-group__actions { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
	.hbgp-tile, .hbgp-cat, .hbgr-card, .hbgr-art__car img, .hbgp-silhouette { transition: none !important; transform: none !important; }
}


/* Balanced make logos: same visual weight whatever the shape (--hbgp-w set per logo in PHP). */
.hbgp-tile__logo { --hbgp-lh: 150px; min-height: 150px; justify-content: center; max-width: 100%; }
.hbgp-tile__logo .hbgp-logos--2 { --hbgp-lh: 96px; flex-direction: column; gap: .9rem; }
.hbgp-tile__logo .hbgp-logos--3 { --hbgp-lh: 70px; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 1.1rem; row-gap: 1rem; }
.hbgp-tile__logo .hbgp-logos--3 .hbgp-logo:first-child { grid-column: 1 / -1; justify-self: center; --hbgp-lh: 84px; }
.hbgp-tile--small .hbgp-tile__logo { --hbgp-lh: 112px; min-height: 112px; }
.hbgp-tile__logo .hbgp-logos { max-width: 100%; }
.hbgp-tile__logo .hbgp-logo { min-width: 0; }
.hbgp-tile__logo .hbgp-logo svg { width: calc(var(--hbgp-lh) * var(--hbgp-w, 1)) !important; height: auto !important; max-width: 100%; }
@media (max-width: 600px) {
	.hbgp-tile__logo { --hbgp-lh: 112px; min-height: 112px; }
	.hbgp-tile__logo .hbgp-logos--2 { --hbgp-lh: 72px; }
	.hbgp-tile__logo .hbgp-logos--3 { --hbgp-lh: 54px; column-gap: .8rem; row-gap: .7rem; }
	.hbgp-tile__logo .hbgp-logos--3 .hbgp-logo:first-child { --hbgp-lh: 66px; }
	.hbgp-tile--small .hbgp-tile__logo { --hbgp-lh: 86px; min-height: 86px; }
}


/* Tuning: vehicle search (make / model / year) + brand tiles */
.hbgt-wrap { margin: 0 0 2.2rem; }
.hbgt-finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .9rem; align-items: end; padding: 1.3rem; background: rgba(18, 18, 20, .88); border: 1px solid rgba(255, 255, 255, .08); border-inline-start: 3px solid var(--hbgp-red); border-radius: 6px; }
.hbgt-finder__field { display: flex; flex-direction: column; gap: .4rem; margin: 0; font-family: var(--hbgp-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.hbgt-finder select { appearance: none; -webkit-appearance: none; width: 100%; height: 3.1rem; padding: 0 2.4rem 0 .95rem; color: #fff; font-size: 1rem; text-transform: none; letter-spacing: 0; background: #0d0d0f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e3262b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center / 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px; cursor: pointer; }
html[dir="rtl"] .hbgt-finder select { padding: 0 .95rem 0 2.4rem; background-position: left .9rem center; }
.hbgt-finder select:focus { outline: 2px solid var(--hbgp-red); outline-offset: 1px; }
.hbgt-finder select:disabled { opacity: .4; cursor: not-allowed; }
.hbgt-finder__go { height: 3.1rem; padding: 0 1.7rem; white-space: nowrap; }
.hbgt-finder__go:disabled { opacity: .4; cursor: not-allowed; }
.hbgt-finder__none { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .85); }
.hbgt-finder__none a { color: var(--hbgp-red); font-weight: 700; }
.hbgt-brands .hbgp-tile--all .hbgp-tile__name { font-size: 1.4rem; }
@media (max-width: 780px) {
	.hbgt-finder { grid-template-columns: 1fr; padding: 1rem; }
	.hbgt-finder__go { width: 100%; }
}

/* Arabic: arrows point left */
html[dir="rtl"] .hbgp-tile__cta span[aria-hidden], html[dir="rtl"] .hbgr-card__cta span[aria-hidden], html[dir="rtl"] .hbgr-viewall span[aria-hidden] { display: inline-block; transform: scaleX(-1); }

/* Tune level order menu (vehicle page) */
.hbgr-single__builder { margin: 1.6rem 0 2rem; }
.hbgb { padding: 1.3rem; background: rgba(18, 18, 20, .9); border: 1px solid rgba(255, 255, 255, .08); border-inline-start: 3px solid var(--hbgp-red); border-radius: 6px; }
.hbgb__step { display: flex; align-items: center; gap: .6rem; margin: 1.4rem 0 .8rem; font-family: var(--hbgp-cond); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.hbgb__step:first-of-type { margin-top: 0; }
.hbgb__step span { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--hbgp-red); color: #fff; font-size: .95rem; }
.hbgb__where { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hbgb__opt, .hbgb__level { position: relative; display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: #0d0d0f; border: 1px solid rgba(255, 255, 255, .12); border-radius: 5px; cursor: pointer; transition: border-color .2s, background .2s; }
.hbgb__opt:hover, .hbgb__level:hover { border-color: rgba(227, 38, 43, .6); }
.hbgb__opt input, .hbgb__level input { flex: none; width: 1.15rem; height: 1.15rem; accent-color: var(--hbgp-red); }
.hbgb__opt:has(input:checked), .hbgb__level:has(input:checked) { border-color: var(--hbgp-red); background: rgba(227, 38, 43, .1); }
.hbgb__opt span, .hbgb__level-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.hbgb__opt b, .hbgb__level b { font-size: 1rem; }
.hbgb small { color: rgba(255, 255, 255, .65); font-size: .85rem; line-height: 1.4; }
.hbgb__levels { display: grid; gap: .55rem; }
.hbgb__level-price { margin-inline-start: auto; font-family: var(--hbgp-cond); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.hbgb__level--fi .hbgb__level-text b::after, .hbgb__level--meth .hbgb__level-text b::after { content: " F/I"; color: var(--hbgp-red); font-size: .75rem; letter-spacing: .08em; }
.hbgb__extra em { margin-inline-start: auto; font-style: normal; font-weight: 700; white-space: nowrap; }
.hbgb__extra.is-off { opacity: .4; cursor: not-allowed; }
.hbgb__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.hbgb__total span { display: block; font-family: var(--hbgp-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.hbgb__total strong { font-family: var(--hbgp-cond); font-size: 1.9rem; line-height: 1.1; }
.hbgb__bar .wp-element-button:disabled { opacity: .4; cursor: not-allowed; }
.hbgb__note { margin: .7rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.hbgb__dialog { max-width: 30rem; padding: 1.5rem; color: #fff; background: #141416; border: 1px solid var(--hbgp-red); border-radius: 8px; }
.hbgb__dialog::backdrop { background: rgba(0, 0, 0, .75); }
.hbgb__dialog h4 { margin: 0 0 .7rem; font-family: var(--hbgp-cond); font-size: 1.3rem; text-transform: uppercase; color: var(--hbgp-red); }
.hbgb__dialog p { margin: 0 0 1.2rem; line-height: 1.6; }
.hbgb__dialog-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.hbgb__cancel { padding: .7rem 1rem; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; cursor: pointer; }
/* Product page summary */
.hbgb-sum { margin: 0 0 1.4rem; padding: 1.1rem 1.2rem; background: rgba(227, 38, 43, .08); border: 1px solid rgba(227, 38, 43, .5); border-radius: 6px; }
.hbgb-sum h4 { margin: 0 0 .6rem; font-family: var(--hbgp-cond); text-transform: uppercase; }
.hbgb-sum ul { margin: 0; padding: 0; list-style: none; }
.hbgb-sum li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hbgb-sum li span { color: rgba(255, 255, 255, .65); }
.hbgb-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin: .8rem 0 .4rem; }
.hbgb-sum__total strong { font-family: var(--hbgp-cond); font-size: 1.6rem; }
.hbgb-sum__change { font-size: .9rem; color: var(--hbgp-red); }
@media (max-width: 640px) {
	.hbgb { padding: 1rem; }
	.hbgb__where { grid-template-columns: 1fr; }
	.hbgb__level { flex-wrap: wrap; }
	.hbgb__level-price { margin-inline-start: 2rem; }
	.hbgb__bar { flex-direction: column; align-items: stretch; }
}

/* Order menu: engine step + hints */
.hbgb__engines { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.hbgb__hint { margin: 0 0 .7rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.hbgb__levels[hidden] { display: none; }

/* Logo size tweaks */
.hbgp-logo--gmc svg { transform: scale(0.7); }
.hbgp-logo--dodge svg { transform: scale(0.92, 1.5); }
.hbgp-logo--jeep svg { transform: scale(0.8); }

/* Tuning finder visual */
section.hbgt-section .hbgp-head h6.is-style-kicker { font-size: clamp(2.1rem, 5vw, 3.6rem) !important; line-height: 1 !important; letter-spacing: .08em; color: #ff2b2b !important; margin-bottom: .3em !important; }
section.hbgt-section .hbgp-head h6.is-style-kicker::before { width: .9em; height: .1em; }
.hbgt-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin: 32px auto 36px; }
.hbgt-visual__item { margin: 0; }
.hbgt-visual__svg { display: block; width: 100%; height: auto; direction: ltr; unicode-bidi: isolate; }
.hbgt-visual__svg text { direction: ltr; unicode-bidi: plaintext; }
.hbgt-visual figcaption { margin-top: 12px; text-align: center; font-size: .92rem; color: #9a9aa6; }
.hbgt-key { display: inline-block; width: 20px; border-top: 3px dashed #9a9aa6; vertical-align: middle; margin: 0 6px; }
.hbgt-key--tuned { border-top: 4px solid #ff2b2b; }
@media (max-width: 760px) { .hbgt-visual { grid-template-columns: 1fr 1fr; gap: 12px; max-width: 100%; margin: 24px auto 28px; } .hbgt-visual figcaption { font-size: .78rem; margin-top: 8px; } }
/* end tuning visual */

/* Tuning hero banner */
.hbgt-hero { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #22222a; border-radius: 18px; padding: clamp(28px, 4vw, 48px); margin-bottom: 28px; min-height: 300px; display: flex; align-items: center; background: #0d0d10; }
.hbgt-hero .hbgp-head { position: relative; z-index: 2; margin: 0; }
.hbgt-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hbgt-hero__art { position: absolute; top: 50%; right: -2%; transform: translateY(-50%); width: 58%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; opacity: 1; filter: brightness(1.15); }
.hbgt-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0d10 0%, rgba(13,13,16,.8) 34%, rgba(13,13,16,.12) 58%, rgba(13,13,16,0) 100%); }
[dir="rtl"] .hbgt-hero__art { right: auto; left: -2%; }
[dir="rtl"] .hbgt-hero__bg::after { background: linear-gradient(270deg, #0d0d10 0%, rgba(13,13,16,.8) 34%, rgba(13,13,16,.12) 58%, rgba(13,13,16,0) 100%); }
@media (max-width: 760px) {
  .hbgt-hero { min-height: 0; padding: 26px 20px; }
  .hbgt-hero__art { width: 120%; right: -10%; top: auto; bottom: -6%; transform: none; opacity: .4; }
  [dir="rtl"] .hbgt-hero__art { left: -10%; right: auto; }
  .hbgt-hero__bg::after { background: linear-gradient(180deg, rgba(13,13,16,.92) 0%, rgba(13,13,16,.75) 55%, rgba(13,13,16,.35) 100%); }
  [dir="rtl"] .hbgt-hero__bg::after { background: linear-gradient(180deg, rgba(13,13,16,.92) 0%, rgba(13,13,16,.75) 55%, rgba(13,13,16,.35) 100%); }
}
/* end tuning hero */

/* Coming soon brands */
.hbgt-brand--soon .hbgp-tile__logo { opacity: .55; }
.hbgt-brand--soon .hbgt-soon-badge { display: inline-block; color: #f3f3f5; background: #2c2c34; border-radius: 999px; padding: 3px 12px; }
.hbgt-brand--soon:hover .hbgp-tile__logo { opacity: .85; }
.hbgp-logo--can-am { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 800; font-style: italic; letter-spacing: .02em; }
.hbgt-soon { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 24px; border: 1px solid #2c2c34; border-radius: 18px; background: #111115; }
.hbgt-soon__badge { display: inline-block; background: #ff2b2b; color: #fff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.hbgt-soon h2 { margin: 0 0 10px; }
.hbgt-soon p { color: #9a9aa6; margin: 0 0 22px; }
/* end coming soon */

/* Make page: choose model, then year range */
.hbgp-models{display:grid;gap:10px}
.hbgp-model{border:1px solid #2c2c34;border-radius:10px;background:linear-gradient(160deg,#17171c 0%,#0d0d10 100%);overflow:hidden}
.hbgp-model>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;cursor:pointer;list-style:none;font-family:var(--wp--preset--font-family--heading,inherit);font-weight:700;font-size:1.25rem;text-transform:uppercase;letter-spacing:.02em;color:#fff}
.hbgp-model>summary::-webkit-details-marker{display:none}
.hbgp-model>summary::after{content:"+";color:#e03131;font-size:1.5rem;line-height:1}
.hbgp-model[open]>summary::after{content:"–"}
.hbgp-model>summary:hover{background:rgba(224,49,49,.08)}
.hbgp-model__count{margin-inline-start:auto;font-size:.75rem;color:#9a9aa5;border:1px solid #2c2c34;border-radius:999px;padding:2px 10px}
.hbgp-model__years{padding:4px 20px 20px;display:flex;flex-wrap:wrap;gap:10px}
.hbgp-year{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:start}
.hbgp-year strong{font-size:1.05rem;color:#fff}
.hbgp-year span{font-size:.8rem;color:#9a9aa5}

/* Make page: year range → category → sub-category */
.hbgp-model__bands{display:grid;gap:8px;padding:4px 20px 20px}
.hbgp-band,.hbgp-bcat{border:1px solid #2c2c34;border-radius:8px;background:#0f0f13}
.hbgp-band>summary,.hbgp-bcat>summary{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;list-style:none;color:#fff}
.hbgp-band>summary::-webkit-details-marker,.hbgp-bcat>summary::-webkit-details-marker{display:none}
.hbgp-band>summary strong{font-size:1.1rem;letter-spacing:.02em}
.hbgp-band>summary::after,.hbgp-bcat>summary::after{content:"+";color:#e03131;font-size:1.25rem;line-height:1}
.hbgp-band[open]>summary::after,.hbgp-bcat[open]>summary::after{content:"–"}
.hbgp-band>summary:hover,.hbgp-bcat>summary:hover{background:rgba(224,49,49,.08)}
.hbgp-band__body{display:grid;gap:8px;padding:4px 16px 16px}
.hbgp-bcat{background:#15151a}
.hbgp-bcat>summary{font-weight:600;text-transform:uppercase;font-size:.9rem;letter-spacing:.04em}
.hbgp-bcat__kids{padding:4px 16px 14px;display:flex;flex-wrap:wrap;gap:8px}
.hbgp-pill__n{font-size:.75rem;color:#9a9aa5;margin-inline-start:4px}
.hbgp-pill--all{border-style:dashed}
.hbgp-band__none{margin:0;color:#9a9aa5;font-size:.9rem}
.hbgp-band__all{font-size:.85rem;color:#9a9aa5;text-decoration:underline;justify-self:start}
.hbgp-band__all:hover{color:#fff}
