.template-logo {
  color: var(--accent);
  font-size: 24px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}
.template-logo img { width: auto; max-width: 180px; max-height: 52px; object-fit: contain; }
.template-demo { margin: 0; padding: 8px 5vw; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.template-hero-products { grid-template-columns: repeat(var(--items), minmax(0, 1fr)); }
.template-text-hero { grid-template-columns: 1fr; }
.template-family-grid, .template-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
.template-family-grid .family-card { display: flex; flex-direction: column; gap: 8px; }
.family-card > strong { font-size: 17px; color: var(--ink); }
.product-visual > img { width: 100%; height: clamp(235px, 35vw, 445px); object-fit: contain; }
.product-visual:empty { display: none; }
.product-hero:has(.product-visual:empty) { grid-template-columns: 1fr; }
.product-summary, .hero > div, .factory-story > div { min-width: 0; }
.template-table { max-width: 100%; overflow-x: auto; }
.template-table th, .template-table td { text-align: start; }
.factory-story-media figure { margin: 0; }
.factory-story-media figcaption { color: #f1f4f9; }
.article-page > img { display: block; width: min(100%, 760px); max-height: 360px; object-fit: contain; margin: 24px auto; }
#catalog-search { display: block; max-width: 38rem; margin-block: 8px 20px; }
[hidden] { display: none !important; }
.home-balanced .balanced-factory:has(.factory-story-copy:only-child) { grid-template-columns: minmax(0, 1fr); }
.home-balanced .family-card > span, .home-balanced .buyer-tasks > a > span { font-size: 0.9375rem; }
.home-balanced .balanced-factory .factory-story-copy > p:not(.eyebrow) { font-size: 1rem; }
.home-balanced .factory-metrics span { font-size: 0.875rem; }
.home-balanced .hero-actions, .model-actions { flex-wrap: wrap; }
.model-source { margin-top: 1rem; }
table { overflow-wrap: anywhere; }
.footer-grid > section { min-width: 0; }
.footer-grid a { overflow-wrap: anywhere; }
[dir="rtl"] .buyer-tasks > a { margin-inline: 0 18px; border-right: 0; border-inline-end: 1px solid var(--line); padding-inline: 0 22px; }
[dir="rtl"] .buyer-tasks > a:last-child { margin-inline-end: 0; border-inline-end: 0; }
[dir="rtl"] .buyer-tasks b { right: auto; inset-inline-end: 14px; }
@media (max-width: 760px) {
  .template-hero-products { grid-template-columns: repeat(var(--items), minmax(0, 1fr)); }
  .template-logo { font-size: 19px; }
  .template-logo img { max-width: 130px; max-height: 40px; }
  .article-page > img { max-height: 240px; }
}
