/* TGP accessories page ("Tarvikud", 2026-11-26) — on top of rims.css (same tokens and components). */
.tgp-r.tgp-a > .tgp-r__wrap > h1{ font: 800 32px var(--M); margin: 32px 0 12px; }
.tgp-r.tgp-a > .tgp-r__wrap > ul{ margin: 0 0 40px; }
/* Hero: subcategory chips instead of the car / size picker. */
.tgp-r .tgp-a__picker{ padding: 12px 12px 10px; gap: 6px; }
.tgp-r .tgp-a__cats{ display: flex; flex-wrap: wrap; gap: 6px; }
body .tgp-r .tgp-a__cat{ gap: 8px; padding: 10px 16px; }
.tgp-r .tgp-a__cat small{ font: 600 11px var(--O); letter-spacing: 0; text-transform: none; color: var(--mu2); }
.tgp-r .tgp-a__cat.is-on small{ color: #bfbfbf; }
html body .tgp-r .tgp-a__cat:not(.is-on){ background-color: var(--soft) !important; }
html body .tgp-r .tgp-a__cat:not(.is-on):hover{ background-color: #ececec !important; }
.tgp-r .tgp-a__cdesc{ font-size: 13px; color: var(--mu); padding: 4px 6px 2px; }
/* Cards: the accessory name in normal case (titles carry the specs), code under it. */
body .tgp-r .tgp-a__cname{ font: 700 14px/18px var(--M); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tgp-r .tgp-a__code{ font-size: 11px; color: var(--mu2); margin-top: -4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgp-r .tgp-a__noph{ gap: 8px; }
.tgp-r .tgp-a__noph img{ opacity: .9; }
.tgp-r .tgp-r__rimg .tgp-a__noph img{ position: static; inset: auto; width: 32px; height: 32px; }
.tgp-r .tgp-a__ritem b{ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tgp-r .tgp-a__fnone{ font-size: 13px; color: var(--mu); padding: 14px 0; }
/* ≤1024: one row of chips scrolling sideways (owner 2026-11-30: keep the scroll, bigger chips, fade as a hint that more follows).
   acc.js puts is-l / is-r on the wrapper while there are chips beyond that edge; the fades do not take taps. */
.tgp-r .tgp-a__catsw{ position: relative; }
@media (max-width: 1024px){
	.tgp-r .tgp-a__catsw{ margin: 0 -12px; }
	.tgp-r .tgp-a__catsw::before, .tgp-r .tgp-a__catsw::after{ content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s; }
	.tgp-r .tgp-a__catsw::before{ left: 0; background: linear-gradient(to right, #fff 12%, rgba(255, 255, 255, 0)); }
	.tgp-r .tgp-a__catsw::after{ right: 0; background: linear-gradient(to left, #fff 12%, rgba(255, 255, 255, 0)); }
	.tgp-r .tgp-a__catsw.is-l::before, .tgp-r .tgp-a__catsw.is-r::after{ opacity: 1; }
	.tgp-r .tgp-a__cats{ flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; padding: 0 12px; scroll-padding: 0 12px 0 44px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.tgp-r .tgp-a__cats::-webkit-scrollbar{ display: none; }
	html body .tgp-r .tgp-a__cat{ flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px !important; font-size: 12px; white-space: nowrap; scroll-snap-align: start; }
	.tgp-r .tgp-a__cat small{ font-size: 12px; }
	html body .tgp-r .tgp-a__cat:last-child{ scroll-snap-align: end; } /* the last chip snaps to the true end (no cut-off chip under the fade) */
}
@media (max-width: 767px){
	.tgp-r .tgp-a__picker{ padding: 10px; }
	.tgp-r .tgp-a__catsw{ margin: 0 -10px; }
	.tgp-r .tgp-a__cats{ padding: 0 10px; scroll-padding-right: 10px; }
	html body .tgp-r .tgp-a__cat{ padding: 0 16px; font-size: 11.5px; letter-spacing: .3px; }
	.tgp-r .tgp-a__cdesc{ font-size: 12px; padding: 2px 2px 0; }
	body .tgp-r .tgp-a__cname{ font-size: 12.5px; line-height: 16px; }
	.tgp-r .tgp-a__code{ font-size: 10px; }
}
html body .tgp-r .tgp-a__cname:hover, html body .tgp-r .tgp-r__cell.is-hover .tgp-a__cname{ color: var(--dk) !important; }

/* Accessory product page (2026-11-26): rim page "tgp-v" (rims.css) with accessory content. */
body .tgp-r.tgp-v--acc .tgp-v__name{ font: 800 30px/37px var(--M) !important; }
.tgp-r.tgp-v--acc .tgp-v__img{ top: 8%; height: 84%; }
.tgp-r.tgp-v--acc .tgp-v__nophoto img{ width: 72px; height: 72px; }
.tgp-r.tgp-v--acc .tgp-v__stock p.is-out b{ color: #9b1c1c; }
.tgp-r .tgp-a__desc{ gap: 10px; }
.tgp-r .tgp-a__desc p{ font-size: 14px; line-height: 22px; color: var(--dk); margin: 0; }
.tgp-r .tgp-a__desc p.tgp-a__help{ font-size: 13px; line-height: 20px; color: var(--mu); }
.tgp-r.tgp-v--acc .tgp-v__similar + .tgp-v__similar{ padding-top: 0; }
@media (max-width: 1199px){
	body .tgp-r.tgp-v--acc .tgp-v__name{ font-size: 22px !important; line-height: 28px !important; }
	.tgp-r.tgp-v--acc .tgp-v__nophoto{ inset: 24px; }
	.tgp-r.tgp-v--acc .tgp-v__nophoto img{ width: 56px; height: 56px; }
	.tgp-r .tgp-a__desc p{ font-size: 13px; line-height: 20px; }
	body.tgp-acc-single.tgp-acc-out{ padding-bottom: 0; }
}
