/* ToyBox Products — catalog styles. Uses the ToyBox theme tokens when present. */
:root {
	--p-navy: var(--tbxt-navy, #0d1424);
	--p-navy-2: var(--tbxt-navy-2, #222f45);
	--p-accent: var(--tbxt-accent, #2563ff);
	--p-accent-2: var(--tbxt-accent-2, #1846d8);
	--p-grey: var(--tbxt-grey, #f4f5f7);
	--p-line: var(--tbxt-line, #e3e7ed);
	--p-ink: var(--tbxt-ink, #0d1424);
	--p-ink-2: var(--tbxt-ink-2, #3a4352);
	--p-ink-3: var(--tbxt-ink-3, #677084);
	--p-ok: #1f9d55;
	--p-r: var(--tbxt-radius, 6px);
	--p-head: var(--tbxt-font-head, system-ui, sans-serif);
}
.tbxp-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.tbxp-page img { max-width: 100%; height: auto; }
.tbxp-empty { color: var(--p-ink-3); padding: 30px 0; }
.tbxp-empty a:not(.tbxp-btn) { color: var(--p-accent); }

/* buttons */
.tbxp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: var(--p-r); background: var(--p-accent); color: #fff !important; font-weight: 600; font-size: 15px; line-height: 1.2; border: 0; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.tbxp-btn:hover { background: var(--p-accent-2); transform: translateY(-1px); }
.tbxp-btn--lg { padding: 14px 28px; font-size: 16px; }
.tbxp-btn--wa { background: #25d366; }
.tbxp-btn--wa:hover { background: #1db955; }

/* hero */
.tbxp-hero { position: relative; background: var(--p-navy); color: #fff; padding: 34px 0 42px; overflow: hidden; }
.tbxp-hero--img { background: var(--p-navy) var(--bg) center / cover no-repeat; padding: 46px 0 54px; }
.tbxp-hero--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,21,33,.94) 0%, rgba(14,21,33,.82) 45%, rgba(14,21,33,.45) 100%); }
.tbxp-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.tbxp-hero h1 { color: #fff; font-family: var(--p-head); font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.05; margin: 10px 0 12px; letter-spacing: .005em; }
.tbxp-hero__lede { max-width: 760px; color: rgba(255,255,255,.82); font-size: 16.5px; margin: 0 0 12px; }
.tbxp-hero__meta { color: rgba(255,255,255,.75); margin: 0 0 6px; font-size: 14.5px; }
.tbxp-hero__meta b { color: var(--p-accent); font-size: 17px; }
.tbxp-hero__pic { display: block; width: 230px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 3px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.35); background: #fff; }
.tbxp-hero__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbxp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.6); }
.tbxp-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.tbxp-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.tbxp-crumbs a:hover { color: var(--p-accent); }
.tbxp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tbxp-chips a { font-size: 13px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; color: #fff; text-decoration: none; background: rgba(255,255,255,.04); }
.tbxp-chips a small { opacity: .6; }
.tbxp-chips a:hover, .tbxp-chips a.is-on { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }
.tbxp-crumbbar { background: var(--p-navy); padding: 14px 0; position: relative; }

/* search */
.tbxp-search { display: flex; max-width: 760px; background: #fff; border-radius: var(--p-r); overflow: hidden; margin-top: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.tbxp-search input { flex: 1; min-width: 0; border: 0; padding: 15px 18px; font-size: 15.5px; outline: none; color: var(--p-ink-2); }
.tbxp-search button { border: 0; background: var(--p-accent); color: #fff; padding: 0 28px; font-weight: 600; font-size: 16px; cursor: pointer; }
.tbxp-search button:hover { background: var(--p-accent-2); }

/* sections */
.tbxp-sec { margin: 36px 0; }
.tbxp-sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 40px 0 18px; }
.tbxp-sechead h2 { font-family: var(--p-head); font-size: 30px; margin: 0; color: var(--p-ink); }
.tbxp-sechead h2 a { color: inherit; text-decoration: none; }
.tbxp-sechead > a { color: var(--p-accent); font-weight: 600; text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.tbxp-subhead { font-family: var(--p-head); font-size: 20px; margin: 26px 0 12px; }
.tbxp-subhead a { color: var(--p-ink); text-decoration: none; }

/* category tiles */
.tbxp-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tbxp-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tbxp-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--p-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--p-ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.tbxp-tile:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(25,36,54,.14); transform: translateY(-3px); }
.tbxp-tile__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--p-grey); }
.tbxp-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tbxp-tile:hover .tbxp-tile__img img { transform: scale(1.05); }
.tbxp-tile__txt { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 2px; }
.tbxp-tile__txt b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.tbxp-tile__txt small { color: var(--p-ink-3); font-size: 12.5px; }

/* series tiles */
.tbxp-stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tbxp-stile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 14px 16px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--p-navy) var(--bg) center / cover no-repeat; isolation: isolate; }
.tbxp-stile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,21,33,.05) 20%, rgba(14,21,33,.85)); z-index: -1; transition: background .3s; }
.tbxp-stile:hover::before { background: linear-gradient(180deg, rgba(37,99,255,.15) 0%, rgba(14,21,33,.9)); }
.tbxp-stile b { font-family: var(--p-head); font-size: 22px; line-height: 1.1; }
.tbxp-stile small { color: rgba(255,255,255,.8); font-size: 12.5px; }

/* product grid & card */
.tbxp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tbxp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tbxp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--p-line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.tbxp-card:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(25,36,54,.12); }
.tbxp-card__img { display: block; aspect-ratio: 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--p-line); }
.tbxp-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .4s; }
.tbxp-card:hover .tbxp-card__img img { transform: scale(1.04); }
.tbxp-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.tbxp-card__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--p-accent); }
.tbxp-card__title { font-size: 14.5px; font-weight: 500; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tbxp-card__title a { color: var(--p-ink); text-decoration: none; }
.tbxp-card__title a:hover { color: var(--p-accent); }
.tbxp-card__fit { margin: 0; font-size: 12.5px; color: var(--p-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbxp-card__price { margin: auto 0 0; padding-top: 6px; display: flex; flex-direction: column; }
.tbxp-card__price b { color: var(--p-ink); font-size: 16px; font-weight: 700; }
.tbxp-card__price span { font-size: 12px; color: var(--p-ink-3); }

/* layout with sidebar */
.tbxp-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 30px; margin: 34px 0 60px; align-items: start; }
.tbxp-content--full { margin: 10px 0 60px; }
.tbxp-content__title { font-family: var(--p-head); font-size: 26px; margin: 0 0 12px; }
.tbxp-side { display: flex; flex-direction: column; gap: 18px; }
.tbxp-nav { background: #fff; border: 1px solid var(--p-line); border-radius: 16px; padding: 16px; }
.tbxp-nav h3 { font-family: var(--p-head); font-size: 18px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--p-line); }
.tbxp-nav ul { list-style: none; margin: 0; padding: 0; }
.tbxp-nav li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--p-ink-2); text-decoration: none; }
.tbxp-nav li a small { color: var(--p-ink-3); font-size: 12px; }
.tbxp-nav li a:hover, .tbxp-nav .is-open > a, .tbxp-nav .is-cur > a { color: var(--p-accent); }
.tbxp-nav li ul { padding-left: 12px; border-left: 2px solid var(--p-line); margin: 2px 0 8px; }
.tbxp-sidecta { display: block; background: var(--p-navy); color: #fff; padding: 18px; border-radius: 16px; border-left: 4px solid var(--p-accent); text-decoration: none; }
.tbxp-sidecta b { display: block; font-family: var(--p-head); font-size: 20px; margin-bottom: 4px; }
.tbxp-sidecta span { font-size: 13.5px; color: rgba(255,255,255,.8); }

/* toolbar */
.tbxp-toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; padding: 12px 14px; background: var(--p-grey); border-radius: 16px; margin: 0 0 18px; }
.tbxp-toolbar__count { margin-right: auto; align-self: center; font-weight: 600; color: var(--p-ink); }
.tbxp-toolbar label { display: flex; flex-direction: column; font-size: 11.5px; color: var(--p-ink-3); letter-spacing: .05em; gap: 3px; }
.tbxp-toolbar select { min-width: 150px; max-width: 220px; padding: 8px 10px; border: 1px solid var(--p-line); border-radius: 5px; background: #fff; font-size: 14px; color: var(--p-ink-2); text-transform: none; letter-spacing: 0; }
.tbxp-toolbar__reset { align-self: center; color: var(--p-accent); font-size: 14px; }

/* pagination */
.tbxp-pager { margin: 30px 0; }
.tbxp-pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tbxp-pager .page-numbers { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--p-line); border-radius: 5px; color: var(--p-ink-2); text-decoration: none; font-size: 14px; }
.tbxp-pager .page-numbers.current, .tbxp-pager a.page-numbers:hover { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }

/* product page */
.tbxp-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 32px 0 26px; }
.tbxp-product__img { display: block; aspect-ratio: 1; border: 1px solid var(--p-line); border-radius: 16px; background: #fff; overflow: hidden; cursor: zoom-in; }
.tbxp-product__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tbxp-trust { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tbxp-trust li { font-size: 13px; color: var(--p-ink-2); background: var(--p-grey); padding: 10px 12px; border-radius: 6px; padding-left: 34px; position: relative; line-height: 1.35; }
.tbxp-trust li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 8px; border-left: 2.5px solid var(--p-ok); border-bottom: 2.5px solid var(--p-ok); transform: translateY(-70%) rotate(-45deg); }
.tbxp-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; color: var(--p-accent); text-decoration: none; }
.tbxp-product__title { font-family: var(--p-head); font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin: 8px 0 10px; color: var(--p-ink); }
.tbxp-product__model { margin: 0 0 16px; color: var(--p-ink-3); font-size: 14px; }
.tbxp-product__model b { color: var(--p-ink); font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; background: var(--p-grey); padding: 2px 7px; border-radius: 4px; }
.tbxp-pricebox { background: var(--p-grey); border-radius: 16px; padding: 16px 18px; margin: 0 0 18px; }
.tbxp-pricebox__price { margin: 0; font-size: 30px; font-weight: 700; color: var(--p-ink); font-family: var(--p-head); }
.tbxp-pricebox__price small { font-size: 15px; color: var(--p-ink-3); font-weight: 500; }
.tbxp-pricebox__moq { margin: 6px 0 0; font-size: 13.5px; color: var(--p-ink-3); }
.tbxp-tiers { width: 100%; border-collapse: collapse; }
.tbxp-tiers td { padding: 0 14px 0 0; vertical-align: top; }
.tbxp-tiers td + td { padding-left: 14px; border-left: 1px solid var(--p-line); }
.tbxp-tiers b { display: block; font-family: var(--p-head); font-size: 26px; color: var(--p-ink); line-height: 1.1; }
.tbxp-tiers td:first-child b { color: var(--p-accent); }
.tbxp-tiers span { font-size: 12.5px; color: var(--p-ink-3); }
.tbxp-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0 0 18px; }
.tbxp-opts div { border-bottom: 1px dashed var(--p-line); padding: 4px 0; }
.tbxp-opts dt { font-size: 12px; color: var(--p-ink-3); letter-spacing: .04em; }
.tbxp-opts dd { margin: 0; font-size: 14.5px; color: var(--p-ink); font-weight: 500; }
.tbxp-fits { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 20px; }
.tbxp-fits span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--p-ink-3); margin-right: 4px; }
.tbxp-fits a, .tbxp-codes a { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 20px; background: #fff; border: 1px solid var(--p-line); color: var(--p-ink-2); text-decoration: none; }
.tbxp-fits a.is-code, .tbxp-codes a { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--p-grey); }
.tbxp-fits a:hover, .tbxp-codes a:hover { border-color: var(--p-accent); color: var(--p-accent); }
.tbxp-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.tbxp-codes small { color: var(--p-ink-3); }
.tbxp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tbxp-note { font-size: 12.5px; color: var(--p-ink-3); margin: 14px 0 0; line-height: 1.5; }
.tbxp-tabs { position: sticky; top: var(--tbxt-sticky, 0px); z-index: 20; display: flex; gap: 28px; background: #fff; border-bottom: 1px solid var(--p-line); margin: 10px 0 0; overflow-x: auto; }
.tbxp-tabs a { padding: 14px 0; font-weight: 600; color: var(--p-ink-2); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tbxp-tabs a:hover { color: var(--p-accent); border-color: var(--p-accent); }
.tbxp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.tbxp-sec h2 { font-family: var(--p-head); font-size: 26px; color: var(--p-ink); margin: 0 0 14px; }
.tbxp-sec h3 { font-size: 17px; margin: 22px 0 10px; }
.tbxp-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--p-line); border-radius: 16px; overflow: hidden; }
.tbxp-spec th, .tbxp-spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--p-line); vertical-align: top; }
.tbxp-spec th { width: 34%; background: var(--p-grey); color: var(--p-ink-3); font-weight: 500; }
.tbxp-spec td { color: var(--p-ink); word-break: break-word; }
.tbxp-spec td a { color: var(--p-accent); }
.tbxp-spec--small { font-size: 13.5px; }
.tbxp-spec__muted th, .tbxp-spec__muted td { color: var(--p-ink-3); font-size: 13px; font-weight: 400; }
.tbxp-prose { font-size: 15.5px; line-height: 1.75; color: var(--p-ink-2); }
.tbxp-prose ul { padding-left: 20px; }
.tbxp-fitgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.tbxp-fitcard { position: relative; min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--p-navy) var(--bg) center / cover; isolation: isolate; }
.tbxp-fitcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(14,21,33,.88)); z-index: -1; }
.tbxp-fitcard b { font-family: var(--p-head); font-size: 19px; }
.tbxp-fitcard small { font-size: 12px; opacity: .85; }
.tbxp-sticky { position: sticky; top: calc(var(--tbxt-sticky, 0px) + 66px); display: flex; flex-direction: column; gap: 16px; }
.tbxp-sidecard { background: #fff; border: 1px solid var(--p-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.tbxp-sidecard__img { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; border: 1px solid var(--p-line); }
.tbxp-sidecard__img img { width: 100%; height: 100%; object-fit: cover; }
.tbxp-sidecard > b { font-family: var(--p-head); font-size: 24px; color: var(--p-ink); }
.tbxp-sidecard > small { color: var(--p-ink-3); margin-top: -6px; }
.tbxp-sidecard--steps { background: var(--p-navy); color: #fff; border: 0; }
.tbxp-sidecard--steps > b { font-family: var(--p-head); font-size: 20px; color: #fff; }
.tbxp-sidecard--steps ol { margin: 0; padding-left: 18px; font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.6; }
.tbxp-related { margin-bottom: 60px; }
.tbxp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* forms */
.tbxp-form-wrap { scroll-margin-top: 120px; }
.tbxp-form { background: var(--p-grey); border-radius: 16px; padding: 24px; }
.tbxp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tbxp-form__grid p { margin: 0 0 14px; }
.tbxp-form__full { grid-column: 1 / -1; }
.tbxp-form label { display: block; font-size: 13px; color: var(--p-ink-3); }
.tbxp-form input[type=text], .tbxp-form input[type=email], .tbxp-form input[type=number], .tbxp-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 11px 12px; border: 1px solid #d5dbe3; border-radius: 6px; background: #fff; font: inherit; font-size: 15px; color: var(--p-ink); }
.tbxp-form input:focus, .tbxp-form textarea:focus { outline: none; border-color: var(--p-accent); box-shadow: 0 0 0 3px rgba(37,99,255,.12); }
.tbxp-form__note { font-size: 12.5px; color: var(--p-ink-3); margin: 10px 0 0; }
.tbxp-notice { padding: 14px 16px; border-radius: 16px; margin: 0 0 16px; font-size: 14.5px; border-left: 4px solid; }
.tbxp-notice--ok { background: #e8f6ee; border-color: var(--p-ok); }
.tbxp-notice--ok .tbxp-btn { margin-left: 6px; padding: 6px 14px; font-size: 13.5px; }
.tbxp-notice--err { background: #fdecea; border-color: #d93025; }
.tbxt-captcha { margin: 4px 0 16px; }
.tbxt-captcha__label { display: block; font-size: 13px; color: var(--p-ink-3); margin-bottom: 6px; }
.tbxt-captcha__row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.tbxt-captcha__input { flex: 1; min-width: 160px; }
.tbxt-captcha__hp { position: absolute !important; left: -9999px; }
.tbxt-captcha__help { font-size: 12px; color: var(--p-ink-3); margin: 6px 0 0; }

/* mobile quote bar (product page) */
.tbxp-mbar { display: none; }

/* lightbox */
.tbxp-zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(10,14,22,.92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.tbxp-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 16px; }

@media (max-width: 1200px) {
	.tbxp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tbxp-grid, .tbxp-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tbxp-stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.tbxp-layout, .tbxp-cols, .tbxp-product { grid-template-columns: 1fr; }
	.tbxp-layout .tbxp-side { order: 2; }
	.tbxp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbxp-hero__in { grid-template-columns: 1fr; }
	.tbxp-hero__pic { display: none; }
	.tbxp-sticky { position: static; }
	.tbxp-cols .tbxp-side { display: none; }
	.tbxp-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
	.tbxp-mbar span { margin-right: auto; display: flex; flex-direction: column; line-height: 1.2; }
	.tbxp-mbar small { font-size: 12px; color: var(--p-ink-3); }
	.tbxp-mbar .tbxp-btn { padding: 10px 16px; }
	body.tbxp-page { padding-bottom: 70px; }
	.tbxp-fitgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.tbxp-wrap { padding: 0 16px; }
	.tbxp-tiles, .tbxp-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tbxp-grid, .tbxp-grid--3, .tbxp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tbxp-stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tbxp-stile { min-height: 100px; }
	.tbxp-trust { grid-template-columns: 1fr; }
	.tbxp-opts { grid-template-columns: 1fr; }
	.tbxp-form__grid { grid-template-columns: 1fr; }
	.tbxp-toolbar select { min-width: 0; max-width: none; width: 100%; }
	.tbxp-toolbar label { flex: 1 1 45%; }
	.tbxp-toolbar__count { flex-basis: 100%; }
	.tbxp-tiers { display: block; overflow-x: auto; }
	.tbxp-tiers b { font-size: 21px; }
	.tbxp-search button { padding: 0 16px; }
	.tbxp-spec th { width: 42%; }
	.tbxp-card__body { padding: 10px 11px 12px; }
	.tbxp-card__title { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .tbxp-page * { transition: none !important; } }
/* ToyBox: rounded pills, sans feature chips */
.tbxp-btn, .tbxp-chips a, .tbxp-search { border-radius: 999px; }
.tbxp-search button { border-radius: 999px; margin: 4px; }
.tbxp-codes a, .tbxp-fits a.is-code { font-family: inherit !important; border-radius: 999px; }
.tbxp-card__fit { color: var(--p-accent); }
