/* VR Full Body components: product cards, pick boxes, specs, kit list, Fit
   Finder, compatibility chart. Colours come from --vrfb-* variables so the
   shortcodes work under any theme. Plain and standard: sentence-case labels,
   thin borders, corners rounded by role (theme design.css), no decorative arrows. */

:root {
	--vrfb-bg: #ffffff;
	--vrfb-panel: #ffffff;
	--vrfb-raised: #f6f6f6;
	--vrfb-tint: #f5f3fa;
	--vrfb-line: #e2e2e2;
	--vrfb-line-strong: #c4c4c4;
	--vrfb-text: #1e1e1e;
	--vrfb-slate: #3b3b3b;
	--vrfb-muted: #505050;
	--vrfb-accent: #5b2bc4;
	--vrfb-accent-dark: #42209a;
	--vrfb-accent-soft: #f1ecfc;
	--vrfb-yes: #1f5a32;
	--vrfb-partial: #6b4600;
	--vrfb-no: #8a2222;
	--vrfb-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

/* Buttons */
.vrfb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .55em 1em; border-radius: 0;
	font-weight: 600; font-size: .9375rem; line-height: 1.25;
	text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.vrfb-btn--solid, .vrfb-btn--buy { background: var(--vrfb-accent); border-color: var(--vrfb-accent); color: #fff; }
.vrfb-btn--solid:hover, .vrfb-btn--buy:hover { background: var(--vrfb-accent-dark); border-color: var(--vrfb-accent-dark); color: #fff; }
.vrfb-btn--ghost { background: #fff; color: var(--vrfb-text); border-color: var(--vrfb-line-strong); }
.vrfb-btn--ghost:hover { border-color: var(--vrfb-text); color: var(--vrfb-text); }
.vrfb-btn--buy { white-space: nowrap; font-size: .875rem; }

/* Disclosure and small print */
.vrfb-disclosure { font-size: .875rem; line-height: 1.5; color: var(--vrfb-muted); margin: 0 0 1.5rem; }
.vrfb-disclosure a { color: inherit; text-decoration: underline; }
.vrfb-fine, .vrfb-empty { font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-sponsored-note { font-size: .875rem; color: var(--vrfb-muted); }

/* Product cards */
.vrfb-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.vrfb-card { position: relative; display: flex; flex-direction: column; background: var(--vrfb-panel); border: 1px solid var(--vrfb-line); }
.vrfb-badge { display: inline-block; align-self: flex-start; font-size: .875rem; font-weight: 600; color: var(--vrfb-accent); }
.vrfb-card-media { display: block; text-decoration: none; aspect-ratio: 4 / 3; background: var(--vrfb-raised); }
.vrfb-card-img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 1rem; box-sizing: border-box; }
.vrfb-card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.vrfb-card-brand { margin: 0; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-card-title { margin: 0; font-size: 1.125rem; line-height: 1.3; }
.vrfb-card-title a { color: var(--vrfb-text); text-decoration: none; }
.vrfb-card-title a:hover { text-decoration: underline; }
.vrfb-card-verdict { margin: 0; color: var(--vrfb-slate); font-size: .9375rem; line-height: 1.5; }
.vrfb-card-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--vrfb-line); }
.vrfb-price { font-size: .875rem; color: var(--vrfb-slate); }

.vrfb-reasons { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; font-size: .875rem; line-height: 1.4; }

/* Compact list ([vrfb_picks layout="list"], kit index) */
.vrfb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vrfb-line); }
.vrfb-list-item { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-list-label { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-list-title { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.vrfb-list-title a { color: var(--vrfb-text); text-decoration: none; }
.vrfb-list-title a:hover { text-decoration: underline; }
.vrfb-list-meta { grid-column: 1; margin: 0; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-list-act { grid-column: 2; grid-row: 2 / span 2; }
.vrfb-kit-index .vrfb-list-act { grid-row: 1 / span 2; }

/* Pick box ([vrfb_pick]) */
.vrfb-pick { display: grid; grid-template-columns: 160px 1fr; border: 1px solid var(--vrfb-line); margin: 0 0 1rem; background: var(--vrfb-panel); }
.vrfb-pick--noimg { grid-template-columns: 1fr; }
.vrfb-pick-media { background: var(--vrfb-raised); display: grid; place-items: center; }
.vrfb-pick-media img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; box-sizing: border-box; }
.vrfb-pick-body { padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; }
.vrfb-pick-label { margin: 0; font-size: .875rem; font-weight: 600; color: var(--vrfb-accent); }
.vrfb-pick-title { margin: 0 !important; font-size: 1.1875rem; line-height: 1.3; border: 0 !important; padding: 0 !important; }
.vrfb-pick-title a { color: var(--vrfb-text); text-decoration: none; }
.vrfb-pick-title a:hover { text-decoration: underline; }
.vrfb-pick-verdict { margin: 0; font-size: .9375rem; color: var(--vrfb-slate); line-height: 1.5; }
.vrfb-pick-foot { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-top: .35rem; }

/* Spec list */
.vrfb-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.vrfb-card .vrfb-specs { grid-template-columns: 1fr; }
.vrfb-specs div { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--vrfb-line); font-size: .875rem; }
.vrfb-specs div:first-child { border-top: 1px solid var(--vrfb-line); }
.vrfb-specs dt { color: var(--vrfb-slate); }
.vrfb-specs dd { margin: 0; text-align: right; }

/* Verdicts: fully round status tags. Yes green, No red, Some games amber,
   Not checked grey. Every pair is 7:1 or better. */
.vrfb-pill, .vrfb-compat-state {
	display: inline-block; padding: .1rem .65rem; border-radius: 999px;
	font-size: .875rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
	color: #3b3b3b; background: #eeedf2;
}
.vrfb-pill--yes, .vrfb-compat-state--yes { color: #17492a; background: #e3f3e7; }
.vrfb-pill--no, .vrfb-compat-state--no { color: #8a2222; background: #fbe9e9; }
.vrfb-pill--partial, .vrfb-compat-state--partial { color: #5e3d00; background: #fbefd5; }
.vrfb-pill--unknown, .vrfb-compat-state--unknown { color: #3b3b3b; background: #eeedf2; font-weight: 500; }

/* Product page */
.vrfb-buybox { border: 1px solid var(--vrfb-line); padding: 1.1rem 1.25rem; margin: 0 0 2rem; display: grid; gap: .85rem; background: var(--vrfb-panel); }
.vrfb-buybox-verdict { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; }
.vrfb-proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.vrfb-proscons h3 { margin: 0 0 .5rem; font-size: 1.0625rem; }
.vrfb-proscons ul { margin: 0; padding-left: 1.1rem; }
.vrfb-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.vrfb-chips li { border: 1px solid var(--vrfb-line-strong); padding: .25em .65em; font-size: .875rem; }
.vrfb-cta-inline { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--vrfb-line); }
.vrfb-cta-inline a { font-weight: 600; }

/* Fit Finder */
.vrfb-fit { border: 1px solid var(--vrfb-line); padding: clamp(1.25rem, 4vw, 2rem); background: var(--vrfb-panel); }
.vrfb-fit-progress { height: 4px; background: var(--vrfb-line); overflow: hidden; margin-bottom: 1.5rem; }
.vrfb-fit-progress span { display: block; height: 100%; width: 0; background: var(--vrfb-accent); }
.vrfb-fit-step { border: 0; margin: 0 0 2rem; padding: 0; }
.vrfb-fit-step legend { font-size: 1.375rem; font-weight: 700; line-height: 1.3; margin-bottom: .75rem; padding: 0; }
.vrfb-fit-num { font-weight: 400; color: var(--vrfb-muted); margin-right: .35em; }
.vrfb-fit-hint { color: var(--vrfb-slate); font-size: .9375rem; margin: -.25rem 0 1rem; }
.vrfb-fit-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; }
.vrfb-fit-opt { position: relative; cursor: pointer; }
.vrfb-fit-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vrfb-fit-opt span { display: block; padding: .85rem 1rem; border: 1px solid var(--vrfb-line-strong); background: var(--vrfb-panel); }
.vrfb-fit-opt:hover span { border-color: var(--vrfb-text); }
.vrfb-fit-opt input:checked + span { border-color: var(--vrfb-accent); background: var(--vrfb-accent-soft); outline: 1px solid var(--vrfb-accent); outline-offset: -2px; }
.vrfb-fit-opt input:focus-visible + span { outline: 2px solid var(--vrfb-accent); outline-offset: 2px; }
.vrfb-fit-actions { display: flex; gap: .75rem; justify-content: space-between; align-items: center; }

/* Step mode, switched on by fit-finder.js. Without JS every question shows. */
.vrfb-fit.is-stepped .vrfb-fit-step { display: none; }
.vrfb-fit.is-stepped .vrfb-fit-step.is-active { display: block; }
.vrfb-fit.is-stepped .vrfb-fit-actions button[type="submit"] { visibility: hidden; }
.vrfb-fit.is-stepped.is-last .vrfb-fit-actions button[type="submit"] { visibility: visible; }

.vrfb-fit-results h2 { margin-top: 0; }

/* Compatibility chart */
.vrfb-table-wrap { overflow-x: auto; border: 1px solid var(--vrfb-line); }
.vrfb-compat { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 760px; }
.vrfb-compat th, .vrfb-compat td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--vrfb-line); vertical-align: middle; }
.vrfb-compat thead th { background: var(--vrfb-raised); font-weight: 600; color: var(--vrfb-text); position: sticky; top: 0; border-bottom-color: var(--vrfb-line-strong); }
.vrfb-compat thead th[data-sortable-col] { cursor: pointer; }
.vrfb-compat thead th[aria-sort="ascending"]::after { content: " \25B4"; }
.vrfb-compat thead th[aria-sort="descending"]::after { content: " \25BE"; }
.vrfb-compat tbody th { position: sticky; left: 0; background: var(--vrfb-panel); }
.vrfb-compat tbody th a { color: var(--vrfb-text); font-weight: 600; text-decoration: none; }
.vrfb-compat tbody th a:hover { text-decoration: underline; }
.vrfb-compat tbody tr:hover td, .vrfb-compat tbody tr:hover th { background: var(--vrfb-raised); }

@media (max-width: 560px) {
	.vrfb-specs { grid-template-columns: 1fr; }
	.vrfb-card-foot { flex-wrap: wrap; }
	.vrfb-pick { grid-template-columns: 1fr; }
	.vrfb-pick-media { aspect-ratio: 16 / 9; }
}

/* Kit builder: parts table (PCPartPicker style) */
.vrfb-kit-context { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; padding: 0 0 1rem; margin: 0 0 1rem; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-kit-context label { display: grid; gap: .25rem; font-size: .875rem; font-weight: 600; color: var(--vrfb-slate); }
.vrfb-kit-context select { border: 1px solid var(--vrfb-line-strong); background: #fff; padding: .5rem .6rem; min-width: 13rem; font: inherit; font-weight: 400; font-size: .9375rem; color: var(--vrfb-text); }
.vrfb-kit-status { margin: 0 0 1rem; padding: .7rem .9rem; font-size: .9375rem; font-weight: 600; border: 1px solid; }
.vrfb-kit-status--yes { color: var(--vrfb-yes); background: #edf6ef; border-color: #b8dcc2; }
.vrfb-kit-status--partial { color: var(--vrfb-partial); background: #fbf4e4; border-color: #e8d29c; }
.vrfb-kit-status--no { color: var(--vrfb-no); background: #fbeeee; border-color: #e6bcbc; }
.vrfb-kit-status--unknown { color: var(--vrfb-slate); background: var(--vrfb-raised); border-color: var(--vrfb-line); font-weight: 400; }

.vrfb-kit-wrap { overflow-x: auto; }
.vrfb-kit-table, .vrfb-kit-index { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.vrfb-kit-table th, .vrfb-kit-table td, .vrfb-kit-index th, .vrfb-kit-index td { padding: .75rem .6rem; border-bottom: 1px solid var(--vrfb-line); text-align: left; vertical-align: middle; }
.vrfb-kit-table thead th, .vrfb-kit-index thead th { background: var(--vrfb-raised); font-size: .875rem; font-weight: 600; color: var(--vrfb-slate); border-bottom-color: var(--vrfb-line-strong); white-space: nowrap; }
.vrfb-kit-table tbody tr:hover, .vrfb-kit-index tbody tr:hover { background: #fbfafd; }
.vrfb-kt-check { width: 2rem; }
.vrfb-kit-check input { width: 18px; height: 18px; accent-color: var(--vrfb-accent); margin: 0; vertical-align: middle; }
.vrfb-kt-part { width: 9.5rem; }
.vrfb-kt-role { display: block; font-weight: 600; }
.vrfb-kt-level { display: block; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-kit-item--core .vrfb-kt-level, .vrfb-kit-item--required .vrfb-kt-level { color: var(--vrfb-text); }
.vrfb-kt-sel { display: flex; gap: .75rem; align-items: center; }
td.vrfb-kt-sel { display: table-cell; }
.vrfb-kt-sel .vrfb-kit-thumb { float: left; margin-right: .75rem; }
.vrfb-kt-name a { font-weight: 600; color: var(--vrfb-accent); text-decoration: none; }
.vrfb-kt-name a:hover { text-decoration: underline; }
.vrfb-kit-note { display: block; font-size: .875rem; color: var(--vrfb-slate); line-height: 1.4; margin-top: .15rem; }
.vrfb-kit-thumb { width: 48px; height: 48px; background: var(--vrfb-raised); display: grid; place-items: center; overflow: hidden; }
.vrfb-kit-thumb img { width: 100%; height: 100%; object-fit: contain; }
.vrfb-kt-qty { width: 4.5rem; }
.vrfb-kit-qty input { width: 3.5rem; border: 1px solid var(--vrfb-line-strong); padding: .35rem .4rem; font: inherit; }
.vrfb-kt-price { font-weight: 600; white-space: nowrap; }
.vrfb-kt-where { color: var(--vrfb-slate); white-space: nowrap; }
.vrfb-kt-buy { text-align: right; white-space: nowrap; }
/* Unticked rows stay fully readable: a soft row tint says "not in the cart". */
/* Ticked rows carry a soft tint and a violet edge; unticked rows stay plain white. */
.vrfb-kit-item:not(.is-off) { background: #f6f4fb; }
.vrfb-kit-item:not(.is-off) > td:first-child { box-shadow: inset 3px 0 0 #5b2bc4; }
.vrfb-kit-item.is-off .vrfb-kit-check input { accent-color: #6b6580; }
.vrfb-kit-item.is-off .vrfb-kt-price { font-weight: 500; }

.vrfb-kit-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem; margin-top: 1rem; background: var(--vrfb-raised); border: 1px solid var(--vrfb-line); }
.vrfb-kit-summary p { margin: 0; }
.vrfb-kit-count { font-size: .9375rem; }
.vrfb-kit-count b { font-size: 1.25rem; }
.vrfb-kit-total { font-size: .9375rem; }
.vrfb-kit-total b { font-size: 1.25rem; }
.vrfb-kit-total span { font-size: inherit; }
.vrfb-kit-total .vrfb-kit-note { display: block; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-kit-short { display: none; }
.vrfb-kit-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.vrfb-kit-cart { margin: 0; }
.vrfb-kit-cart-btn { padding: .8em 1.4em; font-size: 1rem; }
.vrfb-kit-cart-btn:disabled { background: var(--vrfb-line-strong); border-color: var(--vrfb-line-strong); cursor: not-allowed; }
.vrfb-kit-share { font-size: .875rem; }
.vrfb-kit .vrfb-fine { margin: .75rem 0 0; }
.vrfb-kit-link { display: inline-block; font-size: .9375rem; font-weight: 600; color: var(--vrfb-accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Kit index table */
.vrfb-kit-index tbody th { font-weight: 400; }
.vrfb-kit-index tbody th a { display: block; font-weight: 600; color: var(--vrfb-accent); text-decoration: none; }
.vrfb-kit-index tbody th a:hover { text-decoration: underline; }
.vrfb-kit-index tbody th span { font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-ki-go { text-align: right; }

@media (max-width: 1100px) {
	/* Tables become stacked rows on phones and portrait tablets (the seven-column parts table does not fit under 1100px). */
	.vrfb-kit-table thead, .vrfb-kit-index thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.vrfb-kit-table tr, .vrfb-kit-index tr { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; padding: .85rem 0; border-bottom: 1px solid var(--vrfb-line); }
	.vrfb-kit-table td, .vrfb-kit-index td, .vrfb-kit-index th { display: block; padding: 0; border: 0; }
	.vrfb-kit-table td.vrfb-kt-check { grid-row: 1 / span 6; }
	.vrfb-kit-table td:not(.vrfb-kt-check), .vrfb-kit-index td, .vrfb-kit-index th { grid-column: 2; }
	.vrfb-kit-index tr { grid-template-columns: 1fr; }
	.vrfb-kit-index td, .vrfb-kit-index th { grid-column: 1; }
	.vrfb-kit-table td[data-label]::before, .vrfb-kit-index td[data-label]::before { content: attr(data-label) ": "; color: var(--vrfb-muted); font-weight: 400; font-size: .875rem; }
	.vrfb-kt-part, .vrfb-kt-qty { width: auto; }
	.vrfb-kt-part .vrfb-kt-level { display: inline; margin-left: .35rem; }
	.vrfb-kt-buy, .vrfb-ki-go { text-align: left; margin-top: .35rem !important; }
	.vrfb-kit-context select { min-width: 0; width: 100%; }
	.vrfb-kit-context label { flex: 1 1 100%; }
	.vrfb-kit-actions, .vrfb-kit-cart, .vrfb-kit-cart-btn, .vrfb-kit-share { width: 100%; }
}

/* Home: kit start form */
.vrfb-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; align-items: end; }
.vrfb-start label { display: grid; gap: .3rem; font-size: .875rem; font-weight: 600; color: var(--vrfb-text); }
.vrfb-start select { border: 1px solid var(--vrfb-line-strong); background: #fff; padding: .6rem .6rem; font: inherit; font-weight: 400; font-size: .9375rem; color: var(--vrfb-text); width: 100%; }
.vrfb-start-go { grid-column: 1 / -1; justify-self: start; padding: .8em 2em; font-size: 1rem; }
@media (max-width: 700px) { .vrfb-start { grid-template-columns: 1fr; } .vrfb-start-go { justify-self: stretch; } }

/* Shop by part tiles */
.vrfb-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.vrfb-cats a { display: block; height: 100%; padding: .9rem 1rem; border: 1px solid var(--vrfb-line); background: #fff; text-decoration: none; box-sizing: border-box; }
.vrfb-cats a:hover { border-color: var(--vrfb-accent); }
.vrfb-cats-name { display: block; font-weight: 600; color: var(--vrfb-text); }
.vrfb-cats-n { display: block; font-size: .875rem; color: var(--vrfb-muted); }

/* Shop: filters + grid (Newegg / Best Buy style) */
.vrfb-shop { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.vrfb-shop-filters { background: #fff; border: 1px solid var(--vrfb-line); padding: 1rem 1.1rem; }
.vrfb-shop-filters-toggle > summary { font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; margin-bottom: .5rem; }
.vrfb-shop-filters-toggle > summary::-webkit-details-marker { display: none; }
.vrfb-filter { padding: .75rem 0; border-top: 1px solid var(--vrfb-line); }
.vrfb-filter-title { margin: 0 0 .4rem; font-size: .875rem; font-weight: 700; }
.vrfb-filter ul { list-style: none; margin: 0; padding: 0; }
.vrfb-filter li a { display: block; padding: .2rem 0; font-size: .875rem; color: var(--vrfb-text); text-decoration: none; }
.vrfb-filter li a:hover { color: var(--vrfb-accent); text-decoration: underline; }
.vrfb-filter li a span { color: var(--vrfb-muted); }
.vrfb-filter li a[aria-current] { font-weight: 700; color: var(--vrfb-accent); }
.vrfb-shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--vrfb-line); padding: .6rem 1rem; margin: 0 0 1rem; }
.vrfb-shop-count { margin: 0; font-weight: 600; }
.vrfb-shop-sort { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--vrfb-slate); }
.vrfb-shop-sort select { border: 1px solid var(--vrfb-line-strong); padding: .4rem .5rem; font: inherit; color: var(--vrfb-text); background: #fff; }
@media (max-width: 860px) {
	.vrfb-shop { grid-template-columns: 1fr; }
	.vrfb-shop-filters-toggle:not([open]) > summary { margin-bottom: 0; }
}

/* Listing card */
.vrfb-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.vrfb-sc-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 959px) { .vrfb-sc-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* Marketer review: four product cards stay one row on a 1024px tablet. */
@media (max-width: 480px) { .vrfb-sc-grid--row, .vrfb-sc-grid { grid-template-columns: 1fr; } }
.vrfb-sc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vrfb-line); }
.vrfb-sc:hover { border-color: var(--vrfb-line-strong); }
.vrfb-sc-media { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--vrfb-line); text-decoration: none; }
.vrfb-sc-media img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; box-sizing: border-box; display: block; }
.vrfb-sc-noimg { display: grid; place-items: center; height: 100%; background: var(--vrfb-raised); font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-sc-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.vrfb-sc-brand { margin: 0; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-sc-title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.vrfb-sc-title a { color: var(--vrfb-text); text-decoration: none; }
.vrfb-sc-title a:hover { color: var(--vrfb-accent); text-decoration: underline; }
.vrfb-sc-compat { list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--vrfb-slate); }
.vrfb-sc-compat li { padding: .1rem 0; }
.vrfb-sc-buy { margin-top: auto; padding-top: .5rem; display: grid; gap: .45rem; }
.vrfb-sc-price { margin: 0; }
.vrfb-shop-price { display: block; font-size: 1.25rem; font-weight: 700; color: var(--vrfb-text); }
.vrfb-shop-price--none { font-size: .9375rem; font-weight: 600; color: var(--vrfb-slate); }
.vrfb-shop-price-note { display: block; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-sc-buy .vrfb-btn { width: 100%; box-sizing: border-box; }

/* Product page buy panel (Best Buy style) */
.vrfb-pbuy { border: 1px solid var(--vrfb-line); padding: 1rem 1.1rem; margin: 1rem 0 0; display: grid; gap: .6rem; }
.vrfb-pbuy p { margin: 0; }
.vrfb-pbuy-price .vrfb-shop-price { font-size: 1.75rem; }
.vrfb-pbuy-where { font-size: .875rem; color: var(--vrfb-slate); }
.vrfb-pbuy-btn, .vrfb-pbuy-kit { width: 100%; box-sizing: border-box; padding: .8em 1em; font-size: 1rem; }
.vrfb-pbuy-compat { list-style: none; margin: .25rem 0 0; padding: .6rem 0 0; border-top: 1px solid var(--vrfb-line); font-size: .875rem; }
.vrfb-pbuy-compat li { display: flex; justify-content: space-between; padding: .15rem 0; }
.vrfb-pbuy-compat li span:first-child { color: var(--vrfb-slate); }

/* Library: games and glossary */
.vrfb-answer { margin-bottom: 1.25rem; }
.vrfb-answer h2 { margin: 0 0 .5rem !important; padding: 0 !important; border: 0 !important; }
.vrfb-game-facts { margin-bottom: 2rem; }
.vrfb-term-link { color: inherit !important; text-decoration: underline dotted var(--vrfb-muted); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.vrfb-term-link:hover { color: var(--vrfb-accent) !important; }
.vrfb-glossary { margin: 0; }
.vrfb-glossary-letter { font-size: 1.25rem; font-weight: 700; padding: 1.5rem 0 .4rem; border-bottom: 1px solid var(--vrfb-text); }
.vrfb-glossary-row { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-glossary-row dt a { font-weight: 600; color: var(--vrfb-text); text-decoration: none; }
.vrfb-glossary-row dt a:hover { text-decoration: underline; }
.vrfb-glossary-row dd { margin: 0; color: var(--vrfb-slate); font-size: .9375rem; }
@media (max-width: 560px) { .vrfb-glossary-row { grid-template-columns: 1fr; gap: .2rem; } }

/* Guide lists ([vrfb_guides]) */
.vrfb-guides { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--vrfb-line); }
.vrfb-guides li { padding: .75rem 0; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-guides a { font-weight: 600; color: var(--vrfb-text); text-decoration: none; }
.vrfb-guides a:hover { text-decoration: underline; }
.vrfb-guides p { margin: .2rem 0 0; font-size: .9375rem; color: var(--vrfb-slate); }
.vrfb-guides-n { display: block; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-pbuy-verdict { margin: 0 0 .25rem; font-size: 1.0625rem; line-height: 1.5; color: var(--vrfb-slate); }

/* Setup choices as links (kit page, home) */
.vrfb-setup-nav { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; align-items: center; padding: 0 0 1rem; margin: 0 0 1rem; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-setup-label { margin: 0; font-size: .875rem; font-weight: 700; color: var(--vrfb-slate); }
.vrfb-setup-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.vrfb-setup-links a { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--vrfb-line-strong); background: #fff; font-size: .875rem; color: var(--vrfb-text); text-decoration: none; }
.vrfb-setup-links a:hover { border-color: var(--vrfb-accent); color: var(--vrfb-accent); }
.vrfb-setup-links a[aria-current] { background: var(--vrfb-accent); border-color: var(--vrfb-accent); color: #fff; font-weight: 600; }
@media (max-width: 600px) { .vrfb-setup-nav { grid-template-columns: 1fr; } }
.vrfb-setup-table { margin-top: 2rem; }
.vrfb-setup-table h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.vrfb-setup-table tbody th { font-weight: 600; }
.vrfb-kit-for { margin: 0 0 .75rem; font-weight: 600; }
.vrfb-picker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: .6rem; }
.vrfb-picker a { display: block; height: 100%; box-sizing: border-box; padding: .85rem 1rem; border: 1px solid var(--vrfb-line-strong); background: #fff; text-decoration: none; }
.vrfb-picker a:hover { border-color: var(--vrfb-accent); background: var(--vrfb-accent-soft); }
.vrfb-picker-name { display: block; font-weight: 700; color: var(--vrfb-accent); }
.vrfb-picker-sub { display: block; font-size: .875rem; color: var(--vrfb-muted); }

/* Amazon buttons for both stores */
.vrfb-amz { display: inline-flex; flex-wrap: wrap; gap: .5rem; }

/* Premade cart in guides: see "Visual cart" at the end of this file. */

/* Image-led pieces (includes/design-blocks.php) */
/* Part icons: line drawings in currentColor, sitting on a soft tile when a product has no photo. */
.vrfb-icon { display: block; width: 100%; height: 100%; }
.vrfb-icon-tile { display: grid; place-items: center; background: var(--vrfb-accent-soft); color: var(--vrfb-accent); }
.vrfb-icon-tile .vrfb-icon { width: 38%; height: auto; max-width: 112px; aspect-ratio: 1; }
.vrfb-sc-noimg.vrfb-icon-tile { font-size: 0; }
.vrfb-card-media.vrfb-icon-tile { aspect-ratio: 16 / 9; }

/* Shop by part: icon over the name. */
.vrfb-cats a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; }
.vrfb-cats a.has-icon { align-items: center; text-align: center; gap: .5rem; padding: 1rem .75rem; }
.vrfb-cats-icon { display: block; width: 40px; height: 40px; color: var(--vrfb-accent); }

/* Setup picker: names only, the Fit Finder as one plain link after it. */
.vrfb-picker a { display: flex; align-items: center; min-height: 52px; }
.vrfb-picker-alt { margin: .85rem 0 0; }

/* Who it is for: photo tiles with the name over the photo. */
.vrfb-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.vrfb-uses-item:first-child { grid-column: span 2; grid-row: span 2; }
.vrfb-uses a { position: relative; display: block; height: 100%; min-height: 150px; overflow: hidden; background: #1b1035; color: #fff; text-decoration: none; }
.vrfb-uses img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vrfb-uses a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 8, 28, .86) 0, rgba(13, 8, 28, .55) 38%, rgba(13, 8, 28, .08) 70%); }
.vrfb-uses-name { position: absolute; z-index: 1; left: .9rem; right: .9rem; bottom: .75rem; font-weight: 600; font-size: 1.125rem; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.vrfb-uses-item:first-child .vrfb-uses-name { font-size: 1.75rem; left: 1.25rem; bottom: 1.1rem; }
.vrfb-uses a:hover img { transform: scale(1.04); }
.vrfb-uses a:hover .vrfb-uses-name { text-decoration: underline; text-underline-offset: .2em; }
.vrfb-uses a:focus-visible { outline: 3px solid #3cc8ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .vrfb-uses img { transition: none; } .vrfb-uses a:hover img { transform: none; } }
@media (max-width: 860px) {
	.vrfb-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vrfb-uses-item:first-child { grid-row: span 1; }
	.vrfb-uses-item:first-child a { min-height: 200px; }
	.vrfb-uses-item:first-child .vrfb-uses-name { font-size: 1.5rem; }
}
@media (max-width: 480px) { .vrfb-uses a { min-height: 120px; } .vrfb-uses-name { font-size: 1rem; } }

/* Guide photo cards from [vrfb_guide_cards]. */
.vrfb-guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.vrfb-guide-cards .wp-block-post-featured-image { margin: 0 0 .5rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--vrfb-raised); }
.vrfb-guide-cards .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vrfb-guide-cards .wp-block-post-title { margin: 0; }
@media (max-width: 1024px) { .vrfb-guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================================
   Image-first store, round 1.
   ====================================================================== */
:root { --vrfb-display: var(--wp--preset--font-family--display, inherit); }

/* Product tiles with no photo: part icon, tinted by part, brand plate */
.vrfb-icon-tile { position: relative; box-sizing: border-box; width: 100%; height: 100%; }
.vrfb-icon-tile--tracker { background: #f1ecfc; color: #5b2bc4; }
.vrfb-icon-tile--signal { background: #e7f8ff; color: #0b5874; }
.vrfb-icon-tile--neutral { background: #f1eff6; color: #5b2bc4; }
.vrfb-icon-tile .vrfb-icon { width: 56px; height: 56px; max-width: none; aspect-ratio: 1; }
.vrfb-tile-brand { position: absolute; left: .75rem; bottom: .6rem; right: .75rem; font-family: var(--vrfb-display); font-size: .875rem; font-weight: 600; line-height: 1.2; color: #2b2540; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vrfb-sc-media:has(.vrfb-icon-tile) { aspect-ratio: 5 / 3; }
.vrfb-sc-noimg.vrfb-icon-tile { font-size: inherit; }
.vrfb-card-media--tile { height: 180px; } /* A tile in a wide card stays short; the icon carries it. */
.vrfb-card:has(.vrfb-tile-brand) .vrfb-card-brand { display: none; }

/* Listing card: one "Check price" button, the store named under it */
.vrfb-sc-act { display: grid; gap: .3rem; }
.vrfb-buy-where { font-size: .875rem; line-height: 1.3; color: var(--vrfb-muted); text-align: center; }
.vrfb-shop-filters-h { margin: 0 0 .5rem; font-family: var(--vrfb-display); font-size: 1.0625rem; font-weight: 600; }

/* Kit cards */
.vrfb-kc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.vrfb-kc { display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid #e2e5ea; border-radius: 10px; overflow: hidden; }
.vrfb-kc:hover { border-color: #cfc7e6; }
/* The photo and scrim sit behind the name (negative layers inside an isolated box); the name's link stretches over the whole photo. */
.vrfb-kc-top { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 16 / 10; overflow: hidden; padding: 1rem 1rem .85rem; box-sizing: border-box; background: #1b1035; }
.vrfb-kc-img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
/* Scrim for legibility: darkest where the name sits. */
.vrfb-kc-top::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(15, 9, 32, .88) 0, rgba(15, 9, 32, .6) 38%, rgba(15, 9, 32, .08) 72%); }
.vrfb-kc:hover .vrfb-kc-img { transform: scale(1.03); }
.vrfb-kc-name { margin: 0 !important; padding: 0 !important; border: 0 !important; font-family: var(--vrfb-display); font-size: 1.25rem !important; font-weight: 600; line-height: 1.2; color: #fff; text-wrap: balance; }
.vrfb-kc-name a { color: #fff !important; text-decoration: none; }
.vrfb-kc-name a::after { content: ""; position: absolute; inset: 0; }
.vrfb-kc-name a:hover, .vrfb-kc-name a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.vrfb-kc-name a:focus-visible { outline: none; }
.vrfb-kc-name a:focus-visible::after { outline: 3px solid #3cc8ff; outline-offset: -3px; }
.vrfb-kc-tags { position: absolute; z-index: 1; top: .75rem; left: .75rem; right: .75rem; display: flex; flex-wrap: wrap; gap: .35rem; pointer-events: none; }
.vrfb-kc-badge { display: inline-block; padding: .1rem .7rem; border-radius: 999px; background: #5b2bc4; color: #fff; font-family: var(--vrfb-display); font-size: .875rem; font-weight: 600; line-height: 1.5; }
.vrfb-kc-body { flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: .85rem 1rem 1rem; }
.vrfb-kc-parts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.vrfb-kc-parts li { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 8px; background: #f1ecfc; color: #5b2bc4; }
.vrfb-kc-icon { display: block; width: 28px; height: 28px; }
.vrfb-kc-what { margin: 0; font-size: .875rem; color: var(--vrfb-muted); }
.vrfb-kc-foot { margin-top: auto; padding-top: .6rem; border-top: 1px solid #eceaf2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem .75rem; }
.vrfb-kc-price { margin: 0; }
.vrfb-kc-from { display: block; font-size: .875rem; color: var(--vrfb-slate); }
.vrfb-kc .vrfb-shop-price { display: inline-block; font-size: 1.25rem; }
.vrfb-kc .vrfb-shop-price-note { display: block; margin-top: .1rem; }
.vrfb-kc-go { flex: none; }
.vrfb-kit-compare { margin-top: 2rem; }
.vrfb-kit-compare-h { margin: 0 0 .75rem !important; font-family: var(--vrfb-display); font-size: 1.25rem !important; }
@media (prefers-reduced-motion: reduce) { .vrfb-kc-img { transition: none; } .vrfb-kc:hover .vrfb-kc-img { transform: none; } }

/* Kit builder: part icon in the Component column */
.vrfb-kt-part { width: 12rem; }
.vrfb-kt-icon { display: inline-block; width: 32px; height: 32px; margin-right: .6rem; vertical-align: middle; color: var(--vrfb-accent); }
.vrfb-kt-labels { display: inline-block; vertical-align: middle; }


/* Fit Finder: photo tiles for the headset question */
.vrfb-fit-opt span { font-family: var(--vrfb-display); font-size: 1rem; font-weight: 500; }
.vrfb-fit-back[hidden] { display: none; }
.vrfb-fit-opts--photo { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.vrfb-fit-opt--photo > span { position: relative; padding: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-radius: 10px; background: #1b1035; }
.vrfb-fit-opt--photo > span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 9, 32, .9) 0, rgba(15, 9, 32, .62) 42%, rgba(15, 9, 32, .1) 80%); }
.vrfb-fit-opt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vrfb-fit-opt--photo span.vrfb-fit-opt-name { position: absolute; z-index: 1; left: .8rem; right: .8rem; bottom: .7rem; padding: 0; border: 0; background: none; font-size: 1rem; font-weight: 600; line-height: 1.25; color: #fff; }
.vrfb-fit-opt--photo:hover > span { outline: 2px solid #3cc8ff; outline-offset: 2px; }
.vrfb-fit-opt--photo input:checked + span { background: #1b1035; outline: 3px solid var(--vrfb-accent); outline-offset: 2px; }
.vrfb-fit-opt--photo input:checked + span::after { background: linear-gradient(to top, rgba(66, 32, 154, .94) 0, rgba(66, 32, 154, .7) 45%, rgba(15, 9, 32, .15) 85%); }
@media (max-width: 700px) { .vrfb-fit-opts--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } }

/* Phones */
@media (max-width: 860px) {
	/* Filters: one row of link chips that scrolls sideways. Still plain links. */
	.vrfb-shop { grid-template-columns: minmax(0, 1fr); }
	.vrfb-shop-filters { min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
	.vrfb-shop-filters-h { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
	.vrfb-shop-filters-toggle { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: 0 2.5rem .25rem 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); }
	.vrfb-shop-filters-toggle::-webkit-scrollbar { display: none; }
	.vrfb-filter { flex: none; display: flex; align-items: center; gap: .4rem; padding: 0; border: 0; }
	.vrfb-filter + .vrfb-filter { margin-left: .5rem; }
	.vrfb-filter-title { margin: 0; white-space: nowrap; font-size: .875rem; color: var(--vrfb-slate); }
	.vrfb-filter ul { display: flex; gap: .4rem; }
	.vrfb-filter li a { display: block; padding: .45rem .75rem; white-space: nowrap; background: #fff; border: 1px solid #d9d6e3; border-radius: 8px; }
	.vrfb-filter li a[aria-current] { background: var(--vrfb-accent); border-color: var(--vrfb-accent); color: #fff; }
	.vrfb-filter li a[aria-current] span { color: #fff; }
	/* "All" for a group that is not filtered links to this same page: no chip needed. */
	.vrfb-filter li:first-child a[aria-current] { display: none; }
}

@media (max-width: 600px) {
	/* Listing cards become rows: icon tile left, then name, compatibility, price and button. */
	.vrfb-sc-grid, .vrfb-sc-grid--row { grid-template-columns: 1fr; gap: .6rem; }
	.vrfb-sc { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 .85rem; align-items: start; padding: .75rem; }
	.vrfb-sc-media, .vrfb-sc-media:has(.vrfb-icon-tile) { width: 72px; height: 72px; aspect-ratio: auto; border: 0; border-radius: 8px; overflow: hidden; }
	.vrfb-sc-media img { padding: .25rem; }
	.vrfb-sc-media .vrfb-icon-tile .vrfb-icon { width: 36px; height: 36px; }
	.vrfb-sc-media .vrfb-tile-brand { display: none; }
	.vrfb-sc-body { padding: 0; gap: .25rem; }
	.vrfb-sc-title { font-size: .9375rem; }
	.vrfb-sc-compat li { padding: .15rem 0; }
	.vrfb-sc-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .6rem; padding-top: .4rem; }
	.vrfb-sc-buy .vrfb-shop-price { font-size: 1.125rem; }
	.vrfb-sc-act { display: flex; flex-direction: row-reverse; align-items: center; gap: .5rem; margin-left: auto; }
	.vrfb-sc-buy .vrfb-btn { width: auto; }
	.vrfb-sc-buy .vrfb-sc-kit { flex-basis: 100%; justify-content: flex-start; padding: 0; border: 0; background: none; color: var(--vrfb-accent); font-size: .9375rem; text-decoration: underline; text-underline-offset: .2em; }

	/* Shop by part: four columns of icon and label. */
	.vrfb-cats, .vfb-home-parts .vrfb-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
	.vrfb-cats a.has-icon { padding: .65rem .25rem; gap: .35rem; }
	.vrfb-cats-icon { width: 28px; height: 28px; }
	.vrfb-cats-name { font-size: .875rem; line-height: 1.2; font-weight: 500; }
}

@media (max-width: 1100px) {
	/* Kit page: setup choices in one sideways row of smaller chips. */
	.vrfb-setup-nav { gap: .35rem; padding-bottom: .75rem; margin-bottom: .75rem; }
	.vrfb-setup-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 2.5rem; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); }
	.vrfb-setup-links::-webkit-scrollbar { display: none; }
	.vrfb-setup-links a { padding: .35rem .65rem; white-space: nowrap; }
	.vrfb-setup-label { margin-top: .25rem; }

	/* Component column: icon and labels on one line, no stray gap. */
	.vrfb-kit-table td.vrfb-kt-part { display: flex; align-items: center; }
	.vrfb-kt-labels { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4rem; }
	.vrfb-kt-part .vrfb-kt-level { margin-left: 0; }
	.vrfb-kt-icon { width: 28px; height: 28px; margin-right: .5rem; }

	/* Parts: quantity, price and store share one line under the name. */
	.vrfb-kit-table tr { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; padding-left: 2.1rem; }
	.vrfb-kit-table td.vrfb-kt-check { position: absolute; left: 0; top: .85rem; }
	.vrfb-kit-table td:not(.vrfb-kt-check) { flex: 1 1 100%; }
	.vrfb-kit-table td.vrfb-kt-qty, .vrfb-kit-table td.vrfb-kt-price, .vrfb-kit-table td.vrfb-kt-where { flex: 0 1 auto; white-space: nowrap; }
	.vrfb-kit-qty input { padding: .2rem .35rem; width: 3rem; }

	/* The kit summary (count, total, Amazon cart) stays in view at the bottom while scrolling the parts. */
	.vrfb-kit-summary { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .85rem; box-shadow: 0 -4px 14px rgba(27, 16, 53, .12); background: #fff; }
	.vrfb-kit-totals { display: grid; gap: 0; min-width: 0; }
	.vrfb-kit-count, .vrfb-kit-total { font-size: .875rem; line-height: 1.35; }
	.vrfb-kit-count b, .vrfb-kit-total b { font-size: 1rem; white-space: nowrap; }
	.vrfb-kit-long, .vrfb-kit-total .vrfb-kit-note { display: none; }
	.vrfb-kit-short { display: inline; }
	.vrfb-kit-actions { flex: none; width: auto; }
	.vrfb-kit-cart, .vrfb-kit-cart-btn { width: auto; }
	.vrfb-kit-cart-btn { padding: .65em .9em; font-size: .9375rem; white-space: normal; text-align: center; max-width: 10.5rem; line-height: 1.25; }
	/* Copying the link is a desktop nicety; on a phone the bar keeps to the total and the cart. */
	.vrfb-kit-share { display: none; }
}
.vrfb-sc:has(.vrfb-tile-brand) .vrfb-sc-brand { display: none; } /* The tile already names the brand. */
.vrfb-kc-grid p:empty, .vrfb-kc-top > br { display: none; } /* Stray marks from wpautop when the cards sit in a template shortcode block. */
.vrfb-kit-nope { margin: 1rem 0 0; font-size: .9375rem; line-height: 1.6; color: var(--vrfb-slate); }
.vrfb-icon-tile.vrfb-icon-tile--tracker { background: #f1ecfc; }
.vrfb-icon-tile.vrfb-icon-tile--signal { background: #e7f8ff; }
.vrfb-icon-tile.vrfb-icon-tile--neutral { background: #f1eff6; }

/* =========================================================================
   Round 2.
   ====================================================================== */

/* Fit Finder: text answers are plain tiles with the label in Rubik 16px. */
.vrfb-fit-opt:not(.vrfb-fit-opt--photo) > span { display: flex; align-items: center; min-height: 56px; box-sizing: border-box; font-size: 1rem; font-weight: 500; color: #1e1e1e; }
.vrfb-fit-opt:not(.vrfb-fit-opt--photo) .vrfb-fit-opt-name { display: inline; padding: 0; border: 0; background: none; outline: 0; }

/* Kit cards: on the home page one row of four; a second button for the trackers' price where a card offers it. */
@media (max-width: 600px) { .vrfb-kc-grid { grid-template-columns: 1fr; } }
.vrfb-kc-buy { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.vrfb-kc-buy .vrfb-btn { flex: none; }
.vrfb-kc-buy .vrfb-buy-where { text-align: left; }
.vrfb-kc-reasons { margin: 0; padding-left: 1.1rem; display: grid; gap: .2rem; font-size: .875rem; line-height: 1.4; color: var(--vrfb-slate); }
.vrfb-kit-compare--bare { margin-top: 0; }

/* Listing cards: the price sits above, "Check price" and the kit link line up at the bottom of every card. */
.vrfb-sc-kit-slot { display: block; min-height: 2.3rem; }

@media (max-width: 1100px) {
	/* Ticked rows on phones: the violet edge runs down the whole row. */
	.vrfb-kit-item:not(.is-off) > td:first-child { box-shadow: none; }
	.vrfb-kit-table tr.vrfb-kit-item:not(.is-off) { box-shadow: inset 3px 0 0 #5b2bc4; }
	.vrfb-kit-table tr.vrfb-kit-item { padding-left: 2.4rem; }
	.vrfb-kit-table tr.vrfb-kit-item td.vrfb-kt-check { left: .5rem; }
	/* Summary in two short lines: "2 items" over "CAD $299 + Amazon", beside the cart button (one line would not fit at 375px). */
	.vrfb-kit-totals { display: grid; gap: 0; white-space: nowrap; flex: 1 0 auto; }
	.vrfb-kit-summary .vrfb-kit-actions { flex: 0 1 auto; min-width: 0; }
	.vrfb-kit-summary .vrfb-kit-cart-btn { max-width: 10rem; padding: .55em .7em; font-size: .875rem; }
	.vrfb-kit-summary { gap: .5rem; padding: .55rem .7rem; }
	.vrfb-kit-count, .vrfb-kit-total { font-size: .875rem; }
	.vrfb-kit-count b, .vrfb-kit-total b { font-size: .9375rem; }
}

@media (max-width: 600px) {
	/* List rows: the store name goes under the button, left aligned. */
	.vrfb-sc-act { flex-direction: column; align-items: flex-start; gap: .2rem; }
	.vrfb-sc-act .vrfb-buy-where { text-align: left; }
	.vrfb-sc-kit-slot { display: none; }
	/* Count and sort on one row. */
	.vrfb-shop-bar { flex-wrap: nowrap; padding: .5rem .75rem; }
	.vrfb-shop-count { white-space: nowrap; }
	.vrfb-shop-sort { gap: .35rem; }
	.vrfb-shop-sort select { max-width: 9.5rem; padding: .35rem .4rem; }
}
/* Kit cards: price on top, then "Build the kit" (and "Check price" where offered) full width, so every card's buttons line up. */
.vrfb-kc-foot { flex-direction: column; align-items: stretch; }
.vrfb-kc-go { width: 100%; box-sizing: border-box; }
.vrfb-kc-grid--buy .vrfb-kc-buy { display: grid; gap: .3rem; }
.vrfb-kc-grid--buy .vrfb-kc-buy .vrfb-btn { width: 100%; box-sizing: border-box; }
.vrfb-kc-grid--buy .vrfb-kc-buy .vrfb-buy-where { text-align: center; }
@media (max-width: 1100px) {
	/* Compare table rows on phones: two short columns of answers under the kit name. */
	.vrfb-kit-index tr { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem .75rem; }
	.vrfb-kit-index td, .vrfb-kit-index th { grid-column: auto; }
	.vrfb-kit-index tbody th { grid-column: 1 / -1; }
	.vrfb-kit-index td.vrfb-ki-go { align-self: end; margin-top: 0 !important; }
	.vrfb-kit-index td[data-label]::before { display: block; }
	/* Kit cards: a slightly shorter photo. */
	.vrfb-kc-top { aspect-ratio: 16 / 9; }
}

/* =========================================================================
   Round 3.
   ====================================================================== */

/* Kit cards: a 4:3 photo, 18px names that never split "Full-Body", six 28px part icons on one row. */
.vrfb-kc-top { aspect-ratio: 4 / 3; }
.vrfb-kc-name { font-size: 1.125rem !important; hyphens: manual; overflow-wrap: normal; }
.vrfb-kc-parts { gap: 6px; }
.vrfb-kc-parts li { width: 34px; height: 34px; }
.vrfb-kc-icon { width: 28px; height: 28px; }
@media (max-width: 760px) { .vrfb-kc-top { aspect-ratio: 16 / 9; } }

/* Hub pages: kits, then accessories. */
.vrfb-hub-h { margin: 0 0 1rem !important; }
.vrfb-hub-h--more { margin-top: 2rem !important; }

/* Fit Finder results: the cards fill the panel by count instead of leaving it two thirds empty. */
.vrfb-fit-results .vrfb-kc-grid--n1 { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
.vrfb-fit-results .vrfb-kc-grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
.vrfb-fit-results .vrfb-kc-grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vrfb-fit-dis-short { display: none; }
@media (max-width: 600px) {
	.vrfb-fit-results .vrfb-kc-grid { grid-template-columns: 1fr; max-width: none; }
	/* The disclosure moves under the results as one line and its link. */
	.vrfb-fit-results { display: flex; flex-direction: column; }
	.vrfb-fit-results > * { margin-top: 0; }
	.vrfb-fit-results > h2 { margin-bottom: .85rem; }
	.vrfb-fit-results .vrfb-fit-disclosure { order: 10; margin: 1rem 0 0; }
	.vrfb-fit-dis-long { display: none; }
	.vrfb-fit-dis-short { display: inline; }
	/* No box inside the panel's box. */
	.vrfb-fit { border: 0; padding: 0; background: transparent; }
}

/* =========================================================================
   Responsive pass (2026-11-17)
   ====================================================================== */

/* Kit cards: a fixed number of columns per width, and a short last row is
   centered instead of leaving an empty slot at its end (7 kits read 4 + 3
   centered, not 4 + 3 and a hole). */
.vrfb-kc-grid { display: flex; flex-wrap: wrap; justify-content: center; --kc-cols: 4; }
.vrfb-kc-grid > .vrfb-kc { flex: 0 0 calc((100% - (var(--kc-cols) - 1) * 1rem) / var(--kc-cols)); min-width: 0; box-sizing: border-box; }
/* Marketer review (2026-11-17): four columns hold down to 960px, so a 1024px
   tablet shows the home row of four as one row and the seven kits as 4 + 3,
   not 3 + 1 and 3 + 3 + 1. Below that, two columns (2 + 2 on the home page). */
@media (max-width: 959px) { .vrfb-kc-grid { --kc-cols: 2; } }
@media (max-width: 600px) { .vrfb-kc-grid { --kc-cols: 1; } }
/* At four narrow columns the six part icons shrink so they stay on one row. */
@media (min-width: 960px) and (max-width: 1199px) {
	.vrfb-kc-grid .vrfb-kc-parts { gap: 3px; }
	.vrfb-kc-grid .vrfb-kc-parts li { width: 26px; height: 26px; }
	.vrfb-kc-grid .vrfb-kc-icon { width: 20px; height: 20px; }
}
.vrfb-fit-results .vrfb-kc-grid--n1 { --kc-cols: 1; }
.vrfb-fit-results .vrfb-kc-grid--n2 { --kc-cols: 2; }
@media (min-width: 782px) { .vrfb-fit-results .vrfb-kc-grid--n3 { --kc-cols: 3; } }
@media (max-width: 600px) { .vrfb-fit-results .vrfb-kc-grid { --kc-cols: 1; } }

/* Touch screens: every button and card link is at least 44px tall. */
@media (max-width: 1024px), (pointer: coarse) {
	.vrfb-btn { min-height: 44px; box-sizing: border-box; }
	.vrfb-sc-title a, .vrfb-card-title a { display: flex; align-items: center; min-height: 44px; }
	.vrfb-sc-buy .vrfb-sc-kit { display: inline-flex; align-items: center; min-height: 44px; }
}
.vrfb-kit-index .vrfb-btn, .vrfb-ki-go .vrfb-btn { white-space: nowrap; }

/* Kit page setup choices on touch screens: every choice visible (they wrap
   instead of scrolling sideways) and 44px tall. */
@media (max-width: 1100px), (pointer: coarse) {
	.vrfb-setup-links { flex-wrap: wrap; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; gap: .4rem; }
	.vrfb-setup-links a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 0 .8rem; }
	/* Cart bar: the button label stays on one line where there is room. */
	.vrfb-kit-summary .vrfb-kit-cart-btn { min-height: 44px; max-width: none; white-space: nowrap; }
}
@media (max-width: 599px) {
	.vrfb-kit-summary .vrfb-kit-cart-btn { max-width: 12rem; white-space: normal; }
}
@media (max-width: 480px) {
	/* Setup and store choices: two even columns instead of a ragged stack. */
	.vrfb-setup-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vrfb-setup-links li { display: flex; min-width: 0; }
	.vrfb-setup-links a { flex: 1; min-width: 0; justify-content: center; padding: .35rem .5rem; text-align: center; line-height: 1.25; white-space: normal; }
}
@media (max-width: 374px) {
	.vrfb-kit-summary { flex-wrap: wrap; }
	.vrfb-kit-summary .vrfb-kit-actions, .vrfb-kit-summary .vrfb-kit-cart, .vrfb-kit-summary .vrfb-kit-cart-btn { flex: 1 1 100%; width: 100%; max-width: none; }
}

/* Gear filters on touch screens: 44px chips; the sort label stays on one line. */
@media (max-width: 860px), (pointer: coarse) {
	.vrfb-filter li a { display: flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 0 .8rem; }
	.vrfb-shop-sort { white-space: nowrap; }
	.vrfb-shop-sort select { min-height: 44px; }
}
@media (max-width: 374px) {
	.vrfb-shop-bar { flex-wrap: wrap; }
	.vrfb-shop-sort { flex: 1 1 100%; }
	.vrfb-shop-sort select { flex: 1; max-width: none; }
}

/* Touch screens: product names in tables and carts, and the kit tick boxes, are 44px targets. */
@media (max-width: 1024px), (pointer: coarse) {
	.vrfb-kit-index tbody th a, .vrfb-compat tbody th a { display: flex; align-items: center; min-height: 44px; }
	.vrfb-kit-check { display: grid; place-items: center; width: 44px; height: 44px; margin: -13px; cursor: pointer; }
}
/* Exactly four kits: two by two on tablets rather than three and one alone. */
@media (min-width: 601px) and (max-width: 1099px) {
	.vrfb-kc-grid:has(> .vrfb-kc:nth-child(4):last-child) { --kc-cols: 2; }
}
@media (max-width: 1100px), (pointer: coarse) {
	/* Quantity boxes and the "Build the kit" links in the headset table are full-size touch targets. */
	.vrfb-kit-qty input { min-height: 44px; box-sizing: border-box; width: 3.5rem; }
	.vrfb-setup-table td a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* =========================================================================
   Marketer review of the responsive pass (2026-11-17)
   ====================================================================== */
@media (max-width: 600px) {
	/* Product rows: price on its own line, then one full-width "Check price" with the store
	   centered under it, then the kit link. Price and button never share a line at 360px, so
	   the button used to drop to the right edge on a line of its own. */
	.vrfb-sc-buy .vrfb-sc-act { flex-basis: 100%; margin-left: 0; flex-direction: column; align-items: stretch; gap: .2rem; }
	.vrfb-sc-buy .vrfb-sc-act .vrfb-btn { width: 100%; justify-content: center; }
	.vrfb-sc-buy .vrfb-sc-act .vrfb-buy-where { text-align: center; }
	.vrfb-sc-buy .vrfb-sc-kit { justify-content: center; }
	/* Kit setup chips: an odd last chip ("Show every part") spans the row instead of sitting alone on the left. */
	.vrfb-setup-links li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	/* Compatibility chart on phones and small tablets: one card per setup instead of a 760px table that hid the
	   Quest and SteamVR answers off the right edge. The labels follow the column order in
	   includes/compat.php (Tracking, Base stations, Quest, SteamVR, Headsets, From, Checked, buy)
	   and the games list in includes/library.php; change both together. */
	.vrfb-table-wrap:has(> .vrfb-compat) { overflow: visible; border: 0; background: transparent; }
	.vrfb-compat, .vrfb-compat tbody { display: block; width: 100%; min-width: 0; }
	.vrfb-compat thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.vrfb-compat tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .9rem; margin: 0 0 .75rem; padding: .9rem 1rem 1rem; border: 1px solid var(--vrfb-line); border-radius: 10px; background: #fff; }
	.vrfb-compat tbody tr:hover td, .vrfb-compat tbody tr:hover th { background: transparent; }
	.vrfb-compat th, .vrfb-compat td { display: block; padding: 0; border: 0; min-width: 0; }
	.vrfb-compat tbody th { position: static; grid-column: 1 / -1; background: transparent; font-size: 1rem; }
	.vrfb-compat td::before { display: block; margin-bottom: .2rem; font-size: .875rem; color: var(--vrfb-muted); }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(1)::before { content: "Tracking"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(2)::before { content: "Base stations"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(3)::before { content: "Quest (no PC)"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(4)::before { content: "SteamVR / PC"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(5)::before { content: "Headsets"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(6)::before { content: "From"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(7)::before { content: "Checked"; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(8) { grid-column: 1 / -1; }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(8) .vrfb-btn { width: 100%; box-sizing: border-box; justify-content: center; }
	/* The games list uses the same class with its own columns (Full body, Standalone Quest, Platforms, Genre). */
	.vrfb-games td:nth-of-type(1)::before { content: "Full body"; }
	.vrfb-games td:nth-of-type(2)::before { content: "Standalone Quest"; }
	.vrfb-games td:nth-of-type(3)::before { content: "Platforms"; }
	.vrfb-games td:nth-of-type(4)::before { content: "Genre"; }
	.vrfb-compat td:empty { display: none; }
	.vrfb-compat td { font-size: .9375rem; }
}
@media (min-width: 601px) and (max-width: 860px) {
	/* Small tablets: four answers per line in each card. */
	.vrfb-compat tr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.vrfb-compat:not(.vrfb-games) td:nth-of-type(8) .vrfb-btn { width: auto; }
}

/* Product pages: the kits a part belongs to, as plain links in a wrap of outlined chips (44px tall). */
.vrfb-kit-uses { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.vrfb-kit-uses li { margin: 0; }
.vrfb-kit-uses a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 0 .9rem; border: 1px solid var(--vrfb-line-strong); border-radius: 8px; background: #fff; color: var(--vrfb-accent); font-weight: 500; text-decoration: none; }
.vrfb-kit-uses a:hover { border-color: var(--vrfb-accent); }

/* Product tiles without a photo: a spec plate along the bottom (brand left, part type right in
   a small round tag), so the icon tile reads as a deliberate product tile. */
.vrfb-tile-plate { position: absolute; left: .75rem; right: .75rem; bottom: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
.vrfb-tile-plate .vrfb-tile-brand { position: static; flex: 1 1 auto; min-width: 0; }
.vrfb-tile-part { flex: none; padding: .15rem .55rem; border-radius: 999px; background: #fff; color: #3d2a7a; font-size: .875rem; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.vfb-product-head .vrfb-icon-tile .vrfb-tile-plate { left: 1rem; right: 1rem; bottom: .85rem; }
@media (max-width: 600px) { .vrfb-sc-media .vrfb-tile-plate { display: none; } }
/* Parts and headsets: the verdict fills the space trackers use for compatibility, three lines at most. */
.vrfb-sc-verdict { margin: 0; font-size: .875rem; line-height: 1.45; color: #3b3b3b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Kit by headset table: "Build the kit" stays on one line. */
.vrfb-setup-table td:last-child a { white-space: nowrap; }

/* Fit Finder: a kit above the chosen budget says so on its photo, in the same round tag style. */
.vrfb-kc-over { display: inline-block; padding: .1rem .7rem; border-radius: 999px; background: #fbefd5; color: #5e3d00; font-size: .875rem; font-weight: 600; line-height: 1.5; }

/* =========================================================================
   Product images and the visual cart (2026-11-17)
   ====================================================================== */

/* A product's own image (assets/products/{slug}-640.webp): shown whole on a white tile,
   since product shots come on white or transparent backgrounds. */
.vrfb-img-tile { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 100%; margin: 0; padding: 8%; background: #fff; overflow: hidden; }
/* Scaled down to fit the tile whatever its shape, never cropped. */
.vrfb-img-tile img, .vrfb-product-img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.vrfb-sc-media:has(.vrfb-img-tile), .vrfb-card-media:has(.vrfb-img-tile) { background: #fff; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-sc-media:has(.vrfb-img-tile) { aspect-ratio: 5 / 3; overflow: hidden; } /* Same box as the icon tile, so cards line up. */
.vfb-product-head .vrfb-img-tile { aspect-ratio: 5 / 3; max-height: 320px; border: 1px solid #ebe9f1; border-radius: 10px; }

/* Visual cart: one row per product (picture, name, verdict, quantity, store), then the Amazon buttons. */
.vrfb-cart { margin: 2rem 0; border: 1px solid var(--vrfb-line); background: var(--vrfb-panel); }
.vrfb-cart-head { padding: 1rem 1.25rem .9rem; border-bottom: 1px solid var(--vrfb-line); background: #f7f5fc; }
.vrfb-cart-title { margin: 0 !important; font-size: 1.25rem !important; line-height: 1.25; text-wrap: balance; }
.vrfb-cart-note { margin: .35rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--vrfb-slate); }
.vrfb-cart-items { list-style: none; margin: 0; padding: 0; }
.vrfb-cart-item { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; margin: 0; padding: 1rem 1.25rem; border-bottom: 1px solid var(--vrfb-line); }
.vrfb-cart-media { display: block; width: 140px; aspect-ratio: 4 / 3; border: 1px solid #ebe9f1; border-radius: 10px; overflow: hidden; text-decoration: none; }
.vrfb-cart-media .vrfb-icon-tile .vrfb-icon { width: 44px; height: 44px; }
.vrfb-cart-media .vrfb-tile-plate { display: none; }
.vrfb-cart-info { min-width: 0; }
.vrfb-cart-role { margin: 0 0 .15rem; font-size: .875rem; font-weight: 500; color: #4a3a8c; }
.vrfb-cart-name { margin: 0; font-family: var(--vrfb-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.vrfb-cart-name a { color: var(--vrfb-text); text-decoration: none; }
.vrfb-cart-name a:hover { color: var(--vrfb-accent); text-decoration: underline; }
.vrfb-cart-verdict { margin: .3rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--vrfb-slate); }
.vrfb-cart-meta { display: grid; justify-items: end; gap: .2rem; text-align: right; }
.vrfb-cart-qty { margin: 0; font-weight: 600; white-space: nowrap; }
.vrfb-cart-where { margin: 0; font-size: .875rem; color: var(--vrfb-slate); white-space: nowrap; }
.vrfb-cart-meta .vrfb-btn { margin-top: .3rem; }
/* The two Amazon buttons are the main action: side by side, full width, two lines each. */
.vrfb-cart-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; padding: 1.1rem 1.25rem 0; }
.vrfb-cart-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 60px; padding: .6rem 1rem; text-align: center; line-height: 1.25; }
.vrfb-cart-btn-who { font-size: .875rem; font-weight: 500; color: #f1ecff; }
/* track.js puts the visitor's own store first and turns the other button into an outline one. */
.vrfb-btn--ghost .vrfb-cart-btn-who { color: #3b3b3b; }
.vrfb-cart-btn-do { font-size: 1.0625rem; font-weight: 600; }
.vrfb-cart-kit { margin: .75rem 1.25rem 0; text-align: center; }
.vrfb-cart .vrfb-fine { margin: .75rem 1.25rem 1.1rem; text-align: center; }
@media (max-width: 600px) {
	/* Phones: each product is a card, picture left, text right, quantity and store under the text. */
	.vrfb-cart-head { padding: .9rem 1rem .8rem; }
	.vrfb-cart-items { display: grid; gap: .6rem; padding: .75rem; }
	.vrfb-cart-item { grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: "media info" "media meta"; gap: .25rem .8rem; align-items: start; padding: .75rem; border: 1px solid var(--vrfb-line); border-radius: 10px; }
	.vrfb-cart-media { grid-area: media; width: 80px; aspect-ratio: 1; }
	.vrfb-cart-media .vrfb-icon-tile .vrfb-icon { width: 36px; height: 36px; }
	.vrfb-cart-verdict { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; }
	.vrfb-cart-info { grid-area: info; }
	.vrfb-cart-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; justify-items: start; gap: .25rem .75rem; text-align: left; }
	.vrfb-cart-name { font-size: 1rem; }
	.vrfb-cart-actions { grid-template-columns: 1fr; padding: .25rem .75rem 0; }
	.vrfb-cart-kit { margin: .6rem .75rem 0; }
	.vrfb-cart .vrfb-fine { margin: .6rem .75rem 1rem; }
}
@media (max-width: 1024px), (pointer: coarse) {
	.vrfb-cart-kit .vrfb-kit-link { min-height: 44px; }
}

/* Kit parts table: the product picture beside its name. */
.vrfb-kit-thumb { flex: none; display: block; width: 64px; height: 48px; margin-right: .75rem; border: 1px solid #ebe9f1; border-radius: 8px; overflow: hidden; background: #fff; }
.vrfb-kit-thumb .vrfb-img-tile { padding: 4px; }
.vrfb-kt-sel:has(.vrfb-kit-thumb) { display: flex; align-items: center; }

/* Guide pick box: the product picture on a white tile at the left. */
.vrfb-pick-media:has(.vrfb-img-tile) { background: #fff; border-right: 1px solid var(--vrfb-line); }

/* Kit cards: the tracker's own picture as an inset on the photo, so the shopper sees what they buy. */
.vrfb-kc-prod { position: absolute; right: .75rem; bottom: .75rem; width: 30%; max-width: 120px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(15, 9, 32, .35); }
.vrfb-kc-prod .vrfb-img-tile { padding: 6px; }
.vrfb-kc-top:has(.vrfb-kc-prod) .vrfb-kc-name { max-width: calc(70% - 1rem); }
@media (max-width: 600px) { .vrfb-sc-media:has(.vrfb-img-tile) { border: 1px solid #ebe9f1; } }
@media (max-width: 560px) { .vrfb-pick-media:has(.vrfb-img-tile) { border-right: 0; border-bottom: 1px solid var(--vrfb-line); aspect-ratio: 16 / 9; } }
@media (max-width: 1024px), (pointer: coarse) { .vrfb-cart-name a { display: inline-flex; align-items: center; min-height: 44px; } } /* Product names in the cart are 44px touch targets. */

/* Cart for one store (2026-11-17): one wide button for the visitor's Amazon, a plain link to switch. */
.vrfb-cart-actions { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.vrfb-cart-actions .vrfb-cart-btn { width: 100%; max-width: 520px; box-sizing: border-box; }
.vrfb-cart-switch { margin: 0; font-size: .9375rem; }
.vrfb-cart-switch a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vrfb-accent); text-underline-offset: .2em; }
/* An item the visitor's Amazon does not sell: kept in the list, said plainly, left out of the cart. */
.vrfb-cart-item--out { background: #faf9fc; }
.vrfb-cart-out { margin: 0; max-width: 15rem; font-size: .875rem; line-height: 1.4; color: #5e3d00; text-align: right; }
@media (max-width: 600px) {
	.vrfb-cart-actions .vrfb-cart-btn { max-width: none; }
	.vrfb-cart-out { max-width: none; text-align: left; }
}

/* Photo credit under a product photo on its product page (CC BY and BY-SA need visible credit). */
.vrfb-photo-credit { margin: .4rem 0 0; font-size: .875rem; line-height: 1.4; color: #3b3b3b; }
.vrfb-photo-credit a { color: #3b3b3b; text-decoration: underline; text-underline-offset: .15em; }
.vrfb-kc-prod { z-index: 2; display: block; }

/* Guide pick box: one Amazon button for the visitor's store; the switch link or store note on its own line below. */
.vrfb-pick-foot .vrfb-amz-switch { order: 10; flex-basis: 100%; font-size: .9375rem; color: #3b3b3b; }
.vrfb-amz-switch a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vrfb-accent); text-underline-offset: .2em; }
.vrfb-cart-media .vrfb-img-tile, .vrfb-kit-thumb .vrfb-img-tile { padding: 4px; } /* Small tiles: the photo fills more of the tile. */
.vrfb-cart-switch { text-align: center; }
.vrfb-cart-switch a { justify-content: center; }
.wp-block-post-featured-image .vrfb-photo-credit a, .vrfb-photo-credit a { display: inline; height: auto; } /* Core styles every link in a featured image as a block. */

/* =========================================================================
   One button rule (2026-11-18): solid only where we earn (Amazon), a quiet link elsewhere
   ====================================================================== */
.vrfb-store-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--vrfb-accent); font-weight: 500; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; white-space: nowrap; }
.vrfb-store-link:hover { text-decoration-thickness: 2px; }
.vrfb-kt-buy { white-space: nowrap; }
.vrfb-kt-buy .vrfb-btn { white-space: nowrap; }
/* Cards: the quiet link sits centred under the price, where the button would be. */
.vrfb-sc-act:has(.vrfb-store-link), .vrfb-kc-buy:has(.vrfb-store-link) { justify-content: center; text-align: center; }
.vrfb-kc-grid--buy .vrfb-kc-buy .vrfb-store-link { justify-content: center; width: 100%; }
.vrfb-pbuy .vrfb-store-link { width: 100%; justify-content: center; font-size: 1.0625rem; }
/* Sold on one Amazon only (vrfb_store_action()): a plain line beside the button or quiet link, on its own row. */
.vrfb-store-only { display: block; flex-basis: 100%; width: 100%; margin: .25rem 0 0; font-size: .875rem; line-height: 1.4; color: #3b3b3b; white-space: normal; text-align: inherit; }
.vrfb-store-only + .vrfb-store-link { margin-top: .1rem; }
/* Once track.js marks the shopper's own store on <html> (data-vrfb-shopper, proposed 2026-12-02), the button to
   the other country's Amazon is shown as a quiet link for that shopper, as on a page where the server knew the store. */
html[data-vrfb-shopper="amazon-ca"] .vrfb-btn--buy:has(+ .vrfb-store-only[data-vrfb-only="amazon-us"]),
html[data-vrfb-shopper="amazon-us"] .vrfb-btn--buy:has(+ .vrfb-store-only[data-vrfb-only="amazon-ca"]) { min-height: 44px; padding: 0; border-color: transparent; background: transparent; color: var(--vrfb-accent); box-shadow: none; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }

/* Kit page: the combined Amazon action above the parts table. */
.vrfb-kit-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1rem; padding: .75rem 1rem; border: 1px solid var(--vrfb-line); border-radius: 10px; background: #f7f5fc; }
.vrfb-kit-topcount { margin: 0; font-size: .9375rem; }
.vrfb-kit-topbar .vrfb-kit-cart-btn { min-height: 48px; font-size: 1rem; }
@media (max-width: 600px) {
	.vrfb-kit-topbar { padding: .65rem .75rem; }
	.vrfb-kit-topbar .vrfb-kit-cart-btn { flex: 1 1 100%; width: 100%; }
}
/* The store name inside a solid button keeps the button's own colour and size. */
.vrfb-btn .vrfb-buy-where { display: inline; margin: 0; color: inherit; font: inherit; }
@media (max-width: 600px) { .vrfb-kit-topbar .vrfb-kit-cart-btn { max-width: none; white-space: normal; justify-content: center; } }
/* Card buttons wrap rather than run past the card ("Check price on Amazon.com" in a narrow column). */
.vrfb-sc-act .vrfb-btn, .vrfb-sc-kit, .vrfb-kc-buy .vrfb-btn { max-width: 100%; box-sizing: border-box; white-space: normal; text-align: center; justify-content: center; }

/* A row of kits at the end of a page that should sell (glossary terms, guide categories). */
.vrfb-kit-row { margin: 2rem 0; }
.vrfb-kit-row-h { margin: 0 0 1rem !important; font-family: var(--vrfb-display); font-size: 1.375rem !important; text-wrap: balance; }
.vrfb-kit-row-more { margin: .75rem 0 0; }
.vrfb-kit-row-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vrfb-accent); font-weight: 500; text-underline-offset: .2em; }
.vrfb-also { margin-top: 2rem; }

/* The kits a guide names, as links in its photo header ([vrfb_guide_kit_links]): white buttons on the dark scrim. */
.vrfb-guide-kitlinks { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.vrfb-guide-kitlinks .vrfb-kit-link { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; box-sizing: border-box; border-radius: 8px; background: #fff; color: var(--vrfb-accent-dark); font-family: var(--vrfb-display); font-size: .9375rem; font-weight: 600; line-height: 1.25; text-decoration: none; text-shadow: none; }
.vrfb-guide-kitlinks .vrfb-kit-link:hover, .vrfb-guide-kitlinks .vrfb-kit-link:focus-visible { background: var(--vrfb-accent); color: #fff; }

/* =========================================================================
   Screen check (2026-11-18): a phone shopper reaches an Amazon button, and every touch
   screen gets 44px targets whatever its width (the blocks above marked "(pointer: coarse)"
   now cover a 1280px touch laptop or a tablet held sideways too).
   ====================================================================== */
/* Buttons are 44px tall at every width: the buy button is the point of the page. */
.vrfb-btn { min-height: 44px; box-sizing: border-box; }
.vfb-masthead .vrfb-season--header .vrfb-season-tag { min-height: 44px; }

/* Kit totals: with nothing ticked from another store the line reads "Priced in your Amazon cart", never "CAD $0". */
.vrfb-kit-total .vrfb-kit-zero { display: none; }
.vrfb-kit-total.is-zero .vrfb-kit-money { display: none; }
.vrfb-kit-total.is-zero .vrfb-kit-zero { display: inline; }

/* The combined Amazon button above the parts table: never the sticky bar's narrow cap (it wrapped to three lines at 768px). */
.vrfb-kit-topbar .vrfb-kit-cart-btn { max-width: none; }
@media (min-width: 601px) { .vrfb-kit-topbar .vrfb-kit-cart-btn { white-space: nowrap; } }

/* Phone sticky bar: the item count, and the cart button across the rest of the bar (two lines, not three). */
@media (max-width: 600px) {
	.vrfb-kit-summary .vrfb-kit-totals { flex: 0 0 auto; }
	.vrfb-kit-summary .vrfb-kit-actions { flex: 1 1 auto; }
	.vrfb-kit-summary .vrfb-kit-cart { width: 100%; }
	.vrfb-kit-summary .vrfb-kit-cart-btn { width: 100%; max-width: none; }
	.vrfb-kit-summary .vrfb-kit-total.is-zero { display: none; }
}
/* "+ Amazon" under the total, so the cart button gets the width: on the SlimeVR kit the bar was 107px tall at
   375px (label in four lines) and 122px at 360px (button on its own row); now 80px and two lines at both
   (2026-11-30). Below 340px the button keeps its own row. */
@media (min-width: 340px) and (max-width: 600px) {
	.vrfb-kit-summary .vrfb-kit-money .vrfb-kit-short { display: block; }
	.vrfb-kit-summary { flex-wrap: nowrap; }
	.vrfb-kit-summary .vrfb-kit-actions { flex: 1 1 auto; width: auto; }
	.vrfb-kit-summary .vrfb-kit-cart, .vrfb-kit-summary .vrfb-kit-cart-btn { flex: none; width: 100%; }
}

/* Touch screens: the last small links (part names in the kit table, compatibility sources, the Fit Finder line). */
@media (max-width: 1024px), (pointer: coarse) {
	.vrfb-kt-name a, .vrfb-compat-checked a, .vrfb-cta-inline a { display: inline-flex; align-items: center; min-height: 44px; }
	/* Short links inside a sentence ("How we make money"): a taller hit area, same line spacing. */
	.vrfb-disclosure a, .vfb-store-note a, .vrfb-credit a { padding-block: 13px; }
}

/* Fit Finder: "Start over" clears the Amazon parts row above it. */
.vrfb-fit-results .vrfb-also + p { margin-top: 1.5rem; }
/* A row of Amazon parts under kits or a kit we earn nothing on: one plain line on why they are there. */
.vrfb-also-line { margin: -.5rem 0 1rem; color: var(--vrfb-text); }

/* Kit whose system is sold only on the other Amazon (mocopi for a Canadian): one plain line and
   that store's button before the parts, the same button in the phone bar, and no grey
   "Nothing from Amazon.ca selected" until something sold here is ticked (kit.js sets :disabled). */
.vrfb-kit-elsewhere { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1rem; padding: .75rem 1rem; border: 1px solid var(--vrfb-line); border-radius: 10px; background: #f7f5fc; }
.vrfb-kit-elsewhere p { flex: 1 1 18rem; margin: 0; font-size: 1rem; line-height: 1.45; color: #1e1e1e; }
.vrfb-kit-elsewhere .vrfb-btn { min-height: 48px; }
.vrfb-kit--elsewhere .vrfb-kit-cart-btn:disabled,
.vrfb-kit--elsewhere .vrfb-kit-cart:has(.vrfb-kit-cart-btn:disabled),
.vrfb-kit--elsewhere .vrfb-kit-topbar:has(.vrfb-kit-cart-btn:disabled) { display: none; }
.vrfb-kit--elsewhere .vrfb-kit-actions > .vrfb-btn { min-height: 44px; white-space: nowrap; }
@media (max-width: 600px) {
	.vrfb-kit-elsewhere .vrfb-btn { flex: 1 1 100%; justify-content: center; }
}

/* A kit whose trackers come from a store that pays nothing: the tracker set sold on the visitor's Amazon that
   works for the same setup, above the parts table (vrfb_kit_amazon_alt_html() in includes/kit.php). A white
   panel: picture, name and verdict, then the Amazon button. */
.vrfb-kit-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 0 0 1rem; padding: .85rem 1rem; border: 1px solid #ddd6ee; border-radius: 12px; background: #fff; }
.vrfb-kit-alt-img { flex: none; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--vrfb-line); border-radius: 10px; overflow: hidden; background: #fff; }
.vrfb-kit-alt-img img { width: 100%; height: 100%; object-fit: contain; }
.vrfb-kit-alt-text { flex: 1 1 18rem; min-width: 0; }
.vrfb-kit-alt-text p { margin: 0; color: #1e1e1e; }
.vrfb-kit-alt-h { font-size: .9375rem; line-height: 1.4; }
.vrfb-kit-alt-name { margin: .15rem 0 .2rem; font-family: var(--vrfb-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.vrfb-kit-alt-name a { color: var(--vrfb-accent); }
.vrfb-kit-alt-why { font-size: .9375rem; line-height: 1.5; }
.vrfb-kit-alt-act { flex: none; display: grid; gap: .45rem; justify-items: center; }
.vrfb-kit-alt-act .vrfb-btn { min-height: 48px; justify-content: center; }
.vrfb-kit-alt-act .vrfb-kit-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 700px) {
	.vrfb-kit-alt-act { flex: 1 1 100%; justify-items: stretch; }
	.vrfb-kit-alt-act .vrfb-btn { width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }
	.vrfb-kit-alt-act .vrfb-kit-link { justify-content: center; }
}

/* Photos inside a guide ([vrfb_photo]): one wide photo, or a pair side by side that stacks on phones. Panels round 12px. */
.vrfb-figure { margin: 2rem 0; }
.vrfb-figure-media { display: grid; gap: 12px; }
.vrfb-figure--pair .vrfb-figure-media { grid-template-columns: 1fr 1fr; }
.vrfb-figure-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--vrfb-raised); }
.vrfb-figure-cap { margin: .6rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--vrfb-slate); }
@media (max-width: 600px) {
	.vrfb-figure--pair .vrfb-figure-media { grid-template-columns: 1fr; }
}

/* /guides/: "Where to start, by headset" ([vrfb_guides_start] in includes/shop.php). One white panel, one tile per headset,
   the kit as the button and the first guide as a plain link. Compact so it sits in the first screen. */
/* The answer right under the H1 (vrfb_guides_answer()): plain text at full contrast, then one line of kit links. */
.vrfb-gs-answer { max-width: 78ch; margin: .5rem 0 .5rem; font-size: 1.0625rem; line-height: 1.55; color: var(--vrfb-text); }
.vrfb-gs-jump { max-width: 78ch; margin: 0 0 .5rem; font-size: 1rem; line-height: 1.5; color: var(--vrfb-text); }
.vrfb-gs-kits { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.vrfb-gs-kits .vrfb-kit-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem; box-sizing: border-box; border: 1px solid var(--vrfb-accent); border-radius: 8px; background: #fff; color: var(--vrfb-accent); font-family: var(--vrfb-display); font-size: 1rem; font-weight: 600; text-decoration: none; }
.vrfb-gs-kits .vrfb-kit-link:hover { background: var(--vrfb-accent); color: #fff; }
@media (max-width: 600px) {
	.vrfb-gs-kits .vrfb-kit-link { flex: 1 1 100%; min-height: 48px; }
}
.vrfb-gs { margin: .75rem 0 1rem; padding: 1rem 1.25rem 1.1rem; background: #fff; border: 1px solid #e2e5ea; border-radius: 12px; }
.vrfb-gs-h { margin: 0 0 .75rem !important; font-family: var(--vrfb-display); font-size: 1.25rem !important; font-weight: 600; line-height: 1.25; color: var(--vrfb-text); text-wrap: balance; }
.vrfb-gs-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.vrfb-gs-tile { display: flex; flex-direction: column; margin: 0; padding: .85rem 1rem 1rem; border: 1px solid #e2e5ea; border-radius: 10px; background: #fff; }
.vrfb-gs-name { margin: 0 0 .3rem !important; font-family: var(--vrfb-display); font-size: 1.0625rem !important; font-weight: 600; line-height: 1.25; color: var(--vrfb-text); text-wrap: balance; }
.vrfb-gs-line { margin: 0 0 .75rem; font-size: .9375rem; line-height: 1.45; color: var(--vrfb-slate); }
.vrfb-gs-kit { margin: auto 0 .6rem; }
.vrfb-gs-kit .vrfb-kit-link { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .9rem; box-sizing: border-box; border-radius: 8px; background: var(--vrfb-accent); color: #fff; font-family: var(--vrfb-display); font-size: .9375rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; }
.vrfb-gs-kit .vrfb-kit-link:hover { background: var(--vrfb-accent-dark); color: #fff; }
.vrfb-gs-read { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--vrfb-slate); }
.vrfb-gs-read a, .vrfb-gs-more a { color: var(--vrfb-accent); font-weight: 600; text-underline-offset: .2em; }
.vrfb-gs-more { margin: .85rem 0 0; font-size: .9375rem; line-height: 1.45; color: var(--vrfb-slate); }
@media (max-width: 860px) {
	.vrfb-gs { padding: .9rem 1rem 1rem; }
	.vrfb-gs-tiles { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 1024px), (pointer: coarse) {
	.vrfb-gs-read a, .vrfb-gs-more a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Kit page, Marketer 2026-11-30: when the trackers come from a store that pays nothing (SlimeVR, Shiftall), the
   trackers' row names the Amazon parts of the kit, each with its own button, just before the quiet store link
   (vrfb_render_kit() in includes/kit.php). Only where the table stacks into cards; on a wide screen the parts sit
   in the rows right below, in the same view. A white box with a light border, no tint. */
.vrfb-kit-beside { display: none; }
@media (max-width: 1100px) {
	.vrfb-kit-beside { display: grid; gap: .45rem; margin: .35rem 0 .25rem; padding: .7rem .8rem; border: 1px solid #ddd6ee; border-radius: 10px; background: #fff; white-space: normal; text-align: left; }
	.vrfb-kit-beside p { margin: 0; font-size: .9375rem; line-height: 1.4; color: #1e1e1e; }
	.vrfb-kit-beside .vrfb-btn { width: 100%; min-height: 44px; box-sizing: border-box; justify-content: center; white-space: normal; text-align: center; }
}
