/* WordPress data states use the existing design tokens and component geometry. */
[hidden] { display: none !important; }
.tsp-catalogue-all { margin-top: 32px; }
.tsp-category-intro { max-width: 75ch; margin-top: 24px; font-size: var(--text-l); }
.tsp-category-cover { margin-top: 32px; }
.tsp-category-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.tsp-subcategories .subcategory__photo img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.listing-empty { grid-column: 1 / -1; width: 100%; }
.category-grid .listing-empty, .product-grid .listing-empty { padding: 32px; background: var(--background-secondary); }
.listing-empty p { margin-bottom: 24px; max-width: 55ch; }
.tsp-without-filters { grid-template-columns: minmax(0, 1fr); }
.pagination a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--stroke-tertiary); border-radius: 50%; background: var(--background-primary); font-size: var(--caption-l); }
.pagination a[aria-current] { background: var(--background-inverse); border-color: var(--stroke-strong); color: var(--text-inverse); }
.pagination a[aria-disabled] { opacity: .4; cursor: default; }
.pagination a[href]:hover { border-color: var(--stroke-accent); }
.tsp-load-error { margin: 20px 0; }
.tsp-richtext { overflow-wrap: anywhere; }
.tsp-richtext p + p { margin-top: 16px; }
.tsp-richtext ul, .tsp-richtext ol { padding-inline-start: 24px; margin-block: 16px; }
.tsp-richtext img { max-width: 100%; height: auto; }
.tsp-richtext table { display: block; max-width: 100%; overflow-x: auto; }
.tsp-lead-time { padding: 16px 24px; font-size: var(--text-s); }
.pd-thumbnails { flex-wrap: wrap; }
.pd-thumbnails .pd-thumb { flex: 0 0 auto; }
.pd-option__values { flex-wrap: wrap; }
.pd-options #variant-status { font-size: var(--caption-l); margin-top: 12px; }
.search-document + .search-document { border-top: 1px solid var(--stroke-tertiary); }
@media (max-width: 640px) { .tsp-category-intro { font-size: var(--text-m); } .category-grid .listing-empty, .product-grid .listing-empty { padding: 20px; } }

.product__details .on-order::before { background: var(--background-quinary); }
.category__tags > .pill { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.category__tags > span:first-child { flex: none; }

/* Plain, editable legal documents share the site's typography and grid. */
.legal-page h1 {max-width:24ch;overflow-wrap:anywhere}
.legal-page__content {max-width:75ch;margin-top:40px;font-size:var(--text-m);line-height:1.55}
.legal-page__content h2 {margin:36px 0 16px;font-size:var(--h4);line-height:1.2}
.legal-page__content h3 {margin:24px 0 12px;font-size:var(--h5);line-height:1.25}
.legal-page__content>:first-child {margin-top:0}
.legal-page__content li+li {margin-top:8px}
.legal-page__content a {text-decoration:underline;text-underline-offset:3px}
.legal-page__content a:hover {color:var(--text-accent)}
.footer__legal {display:flex;flex-wrap:wrap;gap:8px 20px;min-width:0}
.footer__bottom .footer__legal a,.footer__legal button {font:inherit;text-align:left}
.footer__legal a:hover,.footer__legal button:hover {text-decoration:underline;text-underline-offset:3px}
.inquiry .consent__link {color:var(--text-inverse);text-decoration:underline;text-underline-offset:2px}
.lead-consent a {color:var(--text-primary);text-decoration:underline;text-underline-offset:2px}
@media(max-width:640px) {
 .legal-page__content {margin-top:28px;font-size:var(--text-s)}
 .legal-page__content h2 {margin-top:28px;font-size:var(--h5)}
 .legal-page__content h3 {font-size:var(--text-l)}
 .footer__legal {grid-column:1 / -1;gap:10px}
 .footer__bottom:has(.footer__legal) {grid-template-columns:1fr}
 .footer__bottom:has(.footer__legal)>a {grid-column:1;grid-row:auto}
}
