.inner-page { padding-block: var(--space-5) clamp(3rem, 6vw, 5rem); }
.inner-page h1 { font-size: var(--text-h2); }
.inner-page h2 { font-size: clamp(1.25rem, 1.05rem + .55vw, 1.625rem); }
.stack { display: grid; align-content: start; gap: var(--space-4); min-width: 0; }
.page-heading { margin-bottom: var(--space-3); }
.page-heading h1, .manufacturer-card span { overflow-wrap: anywhere; }
.page-heading p { color: var(--color-muted); margin-top: var(--space-2); max-width: 68ch; }
.breadcrumb ol, .alphabet, .pagination { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.breadcrumb ol { padding: 0; list-style: none; font-size: var(--text-small); min-height: 2.75rem; }
.breadcrumb li { overflow-wrap: anywhere; min-width: 0; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: var(--space-2); color: var(--color-muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.breadcrumb [aria-current] { color: var(--color-muted); }
.part-search--compact { width: min(100%, 48rem); margin: 0; }
.part-search--compact input { min-height: 3rem; }
.part-search--compact .search-icon { top: 1.375rem; }
.part-search--compact .search-submit { min-height: 3rem; }
.part-search--compact .search-feedback { text-align: left; }
.inline-form, .field, .filter-panel form { display: grid; gap: var(--space-2); min-width: 0; }
.inline-form { max-width: 40rem; margin-bottom: var(--space-5); }
.inline-form > div { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.inline-form input { flex: 1 1 11rem; }
.field input, .field select, .field textarea, .inline-form input, .filter-panel select {
  min-width: 0;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  background: var(--color-background);
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius);
  font: inherit;
}
.field textarea { resize: vertical; }
.filter-panel label, .field, .inline-form label { font-weight: 600; }
.field input, .field textarea, .filter-panel select { width: 100%; font-weight: 400; }
.caption { color: var(--color-muted); font-size: var(--text-small); font-weight: 400; }
.info-panel { min-width: 0; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-panel); background: var(--color-background); }
.panel-title { font-weight: 700; }
.state-panel { border-inline-start: .25rem solid var(--color-primary); background: var(--color-surface); }
.state-panel--error { border-inline-start-color: #b42318; }
.state-panel p + p, .filter-panel form { margin-top: var(--space-2); }
.catalog-layout, .form-layout, .product-detail { display: grid; align-items: start; gap: var(--space-5); }
.catalog-layout { grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr); }
.form-layout { grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); }
.product-detail { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.filter-panel { background: var(--color-surface); }
.product-list {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(14rem, calc((100% - 3 * var(--space-4)) / 4))), 1fr));
}
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: var(--space-3);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
}
.product-card:focus-within { border-color: var(--color-control-border); }
.product-image { display: grid; width: 100%; aspect-ratio: 3 / 2; place-items: center; padding: var(--space-3); border-radius: var(--radius); }
.product-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-card-image-link { display: block; align-self: start; min-width: 0; border-radius: var(--radius); }
.product-card .product-image { aspect-ratio: auto; height: 9rem; }
.product-image, .product-card-image-link, .product-gallery, .product-detail-image-card,
.product-gallery-open, .product-gallery-thumbnails a { background-color: #ffffff; }
.product-card-body {
  display: grid;
  grid-template-rows: auto 2.7rem 1fr auto;
  align-content: start;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-3) var(--space-1) var(--space-1);
  overflow-wrap: anywhere;
}
.product-card-maker { color: var(--color-muted); font-size: var(--text-small); font-weight: 650; }
.product-card-heading .part-number { margin-top: var(--space-1); font-size: 1.25rem; }
.product-card-heading .part-number a { color: var(--color-primary-active); }
.product-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.35rem;
}
.product-card-specs {
  grid-row: 3;
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding-block: var(--space-2);
  border-block-start: 1px solid var(--color-border);
  font-size: var(--text-small);
}
.product-card-specs > div { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); }
.product-card-specs dt { color: var(--color-muted); }
.product-card-specs dd { font-weight: 600; }
.product-card-actions { grid-row: 4; }
.product-card-actions .button { width: 100%; padding-inline: var(--space-2); font-size: var(--text-small); text-align: center; }
[data-tooltip] { position: relative; }
[data-tooltip]:not([data-tooltip-dismissed]):focus-visible::after,
[data-tooltip][data-tooltip-hover]:not([data-tooltip-dismissed])::after {
  content: attr(data-tooltip) / '';
  position: absolute;
  z-index: 2;
  inset-inline-start: 0;
  inset-block-end: 100%;
  inline-size: max-content;
  max-inline-size: min(13rem, 55vw);
  padding: var(--space-1) var(--space-2);
  color: #fff;
  background: var(--color-text);
  border-radius: var(--radius);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.45;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}
.product-detail-image-card {
  min-width: 0;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
}
.product-gallery-open { display: block; border-radius: var(--radius); cursor: zoom-in; text-align: center; }
.product-gallery-hint { display: block; padding-block: var(--space-1); font-size: var(--text-small); font-weight: 650; }
.product-gallery-thumbnails { display: flex; flex-wrap: wrap; gap: var(--space-3); padding: 0; list-style: none; }
.product-gallery-thumbnails a { display: block; border-radius: var(--radius); }
.product-gallery-thumbnails img { display: block; object-fit: contain; }
.product-gallery-thumbnails [aria-current] { display: block; outline: 2px solid currentColor; }
.product-lightbox-open { overflow: hidden; overscroll-behavior: none; }
.product-lightbox {
  box-sizing: border-box;
  width: min(96vw, 76rem);
  max-width: none;
  max-height: 96dvh;
  margin: auto;
  padding: var(--space-3);
  overflow: auto;
  overscroll-behavior: contain;
  color: #fff;
  background: transparent;
  border: 0;
}
.product-lightbox::backdrop { background: rgb(7 15 23 / .94); }
.product-lightbox-toolbar, .product-lightbox-nav { display: flex; align-items: center; gap: var(--space-3); }
.product-lightbox-toolbar { justify-content: space-between; margin-bottom: var(--space-2); }
.product-lightbox-toolbar p { font-weight: 650; overflow-wrap: anywhere; }
.product-lightbox-nav { justify-content: center; margin-top: var(--space-2); }
.product-lightbox .button { flex: none; width: 2.75rem; padding: 0; font-size: 1.5rem; line-height: 1; }
.product-lightbox .button:focus-visible { outline-color: var(--color-focus-dark); }
.product-lightbox-stage { display: grid; place-items: center; height: min(78dvh, calc(100dvh - 10rem)); }
.product-lightbox-stage img { display: block; width: auto; height: 100%; max-width: 100%; min-height: 0; object-fit: contain; }
.product-lightbox [role="status"] { margin-top: var(--space-2); text-align: center; }
.part-number { overflow-wrap: anywhere; white-space: pre-wrap; }
.specifications { display: grid; gap: var(--space-3); }
.specifications > div { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr); gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); }
.specifications dt { font-weight: 650; }
.product-action { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-3); }
.product-action input { max-width: 9rem; }
.line-contact { display: grid; justify-items: start; gap: var(--space-2); min-width: 0; }
.line-contact h3 { font-size: 1rem; }
.line-contact .line-contact-description { margin: 0; font-size: var(--text-small); text-wrap: balance; }
.line-contact .line-contact-button {
  inline-size: min(100%, 13rem);
  min-height: 3rem;
  border: 1px solid #06c755;
  background: #08753b;
  color: #fff;
  text-align: center;
}
.line-contact .line-contact-button:hover { background: #075c31; }
.contact-intro { max-width: 78ch; margin-bottom: var(--space-3); }
.contact-channels > div { padding-block: var(--space-3); }
.contact-channels > div:first-child { padding-top: 0; }
.contact-channels > div:last-child { padding-bottom: 0; }
.contact-channels > div + div { border-top: 1px solid var(--color-border); }
.contact-channels dt { display: flex; align-items: center; gap: var(--space-2); font-weight: 650; }
.contact-channel-icon { width: 1.25rem; height: 1.25rem; flex: none; color: var(--color-primary); }
.about-intro { background: var(--color-primary-soft); }
.about-intro > p { max-width: 78ch; }
.about-heading { display: grid; gap: var(--space-1); }
.about-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-4); }
.about-actions > div { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 47.99rem) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}
.privacy-intro > p + p { margin-top: var(--space-2); }
.privacy-layout { display: grid; grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); align-items: start; gap: var(--space-5); }
.privacy-toc { position: sticky; top: var(--space-5); max-height: calc(100dvh - 3rem); overflow-y: auto; }
.privacy-toc-mobile { display: none; }
.privacy-toc-mobile summary { min-height: 2.75rem; padding-block: var(--space-2); font-weight: 700; cursor: pointer; }
.privacy-toc-links { padding: 0; list-style: none; }
.privacy-toc-links a { display: grid; grid-template-columns: 2ch minmax(0, 1fr); align-items: center; gap: var(--space-2); min-height: 2.75rem; padding-block: var(--space-1); }
.privacy-content .privacy-section + .privacy-section { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.privacy-section > * + * { margin-top: var(--space-3); }
.privacy-section h2 { scroll-margin-top: var(--space-5); }
.privacy-section h3 { font-size: 1.125rem; }
.privacy-section :is(ul,ol) { padding-inline-start: 1.5em; }
.privacy-section li + li { margin-top: var(--space-1); }
.privacy-intro, .privacy-section { overflow-wrap: anywhere; }
@media (max-width: 47.99rem) {
  .privacy-layout { grid-template-columns: minmax(0, 1fr); }
  .privacy-toc { position: static; max-height: none; overflow: visible; }
  .privacy-toc-desktop { display: none; }
  .privacy-toc-mobile { display: block; }
}
.contact-channels dd { padding-inline-start: calc(1.25rem + var(--space-2)); overflow-wrap: anywhere; }
.contact-error { color: #a32117; font-size: var(--text-small); font-weight: 500; }
.contact-privacy { gap: var(--space-2); }
.contact-privacy label { display: flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; }
.contact-privacy input { width: 1.125rem; height: 1.125rem; flex: none; accent-color: var(--color-primary); }
.quote-preview .line-contact { margin-top: var(--space-4); }
.quote-preview .line-contact-button { inline-size: 100%; }
.product-detail .line-contact { padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.rfq-basket-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--color-border); border-radius: var(--radius-panel); }
.rfq-basket-table :is(th, td) { padding: var(--space-2); text-align: start; overflow-wrap: anywhere; }
.rfq-basket-table th { background: var(--color-surface); font-size: var(--text-small); }
.rfq-basket-table th:first-child { border-start-start-radius: var(--radius-panel); }
.rfq-basket-table th:last-child { border-start-end-radius: var(--radius-panel); }
.rfq-basket-table td { padding-block: .375rem; border-block-start: 1px solid var(--color-border); }
.rfq-basket-table :is(th, td):not(:nth-child(2)) { text-align: center; }
.rfq-basket-order { width: 3.5rem; }
.rfq-basket-quantity { width: 10rem; }
.rfq-basket-remove { width: 5.5rem; }
.rfq-basket-product { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-3); }
.rfq-basket-thumbnail { display: block; padding: 0; border-radius: var(--radius); background: #ffffff; }
.rfq-basket-thumbnail img { display: block; width: 3.5rem; height: 3.5rem; object-fit: contain; }
.rfq-basket-info { min-width: 0; line-height: 1.35; }
.rfq-basket-identity { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2); }
.rfq-basket-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; font-size: var(--text-small); }
.rfq-basket-specs, .rfq-basket-remarks { font-size: var(--text-small); }
.rfq-basket-remarks summary { width: fit-content; color: var(--color-primary-active); cursor: pointer; }
.rfq-basket-remarks textarea, .rfq-basket-update input[type="number"] {
  border: 1px solid var(--color-control-border);
  border-radius: var(--radius);
  background: var(--color-background);
  color: var(--color-text);
  padding: var(--space-1) var(--space-2);
}
.rfq-basket-remarks textarea { width: 100%; margin-top: var(--space-1); resize: vertical; }
.rfq-basket-update { display: flex; align-items: center; justify-content: center; gap: var(--space-1); }
.rfq-basket-update input[type="number"] { width: 5rem; min-height: 2.75rem; text-align: center; appearance: textfield; }
.rfq-basket-update input[type="number"]::-webkit-inner-spin-button { appearance: none; }
.rfq-basket-update .button { padding-inline: var(--space-2); font-size: var(--text-small); }
.rfq-basket-trash { width: 2.75rem; padding: 0; color: #a32117; }
.rfq-basket-trash[data-tooltip]::after { inset-inline: auto 0; }
@media (max-width: 38rem) {
  .rfq-basket-order { display: none; }
  .rfq-basket-remove-label { display: none; }
  .rfq-basket-quantity { width: 4.625rem; }
  .rfq-basket-remove { width: 3.25rem; }
  .rfq-basket-table :is(th, td) { padding-inline: var(--space-1); }
  .rfq-basket-table th:nth-child(2) { border-start-start-radius: var(--radius-panel); }
  .rfq-basket-product { gap: var(--space-1); }
  .rfq-basket-thumbnail img { width: 3rem; height: 3rem; }
  .rfq-basket-update { flex-direction: column; }
  .rfq-basket-update input[type="number"] { width: 100%; }
}
.manufacturer-group { margin-top: var(--space-5); }
.manufacturer-card--linked { padding: 0; display: block; }
.manufacturer-card--linked a { min-height: 5rem; height: 100%; display: grid; align-content: center; justify-items: center; gap: var(--space-2); padding: var(--space-3); text-decoration: none; }
.manufacturer-card--linked a:hover { background: var(--color-primary-soft); text-decoration: underline; }
.manufacturer-card img, .manufacturer-detail-image { max-width: 100%; object-fit: contain; }
.manufacturer-listing-heading { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.manufacturer-listing-heading h2 { min-width: 0; }
.manufacturer-listing-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); }
.manufacturer-product-total { font-weight: 600; }
.alphabet a, .alphabet span { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.alphabet a { padding-inline: var(--space-2); }
.alphabet [aria-current] { color: var(--color-primary-active); background: var(--color-primary-soft); font-weight: 700; }
.alphabet [aria-disabled], .button[aria-disabled], .inner-page .button:disabled { background: var(--color-surface); color: var(--color-muted); }
.button[aria-disabled] { cursor: default; }
.pagination { justify-content: center; gap: var(--space-1); }
.pagination .button { min-width: 2.75rem; min-height: 2.75rem; padding: 0 var(--space-2); }
.pagination [aria-current="page"] { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.pagination [rel="prev"], .pagination [rel="next"], .pagination [aria-disabled] { font-size: 1.375rem; }
.pagination-ellipsis { padding-inline: var(--space-1); color: var(--color-muted); }
.pagination .pagination-mobile-ellipsis { display: none; }
@media (max-width: 38rem) {
  .pagination .pagination-neighbor, .pagination .pagination-desktop-ellipsis { display: none; }
  .pagination .pagination-mobile-ellipsis { display: inline; }
}
.fieldset-panel legend, .rfq-item legend { font-weight: 700; padding-inline: var(--space-2); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.field-wide { grid-column: 1 / -1; }
.rfq-item .button { margin-top: var(--space-4); }
.field [aria-invalid="true"] { border-color: #b42318; }

.responsive-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: start; }
.responsive-table th, .responsive-table td { padding: var(--space-2) var(--space-2) var(--space-2) 0; border-bottom: 1px solid var(--color-border); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.responsive-table th { width: 38%; font-weight: 650; }

@media (max-width: 38rem) {
  .product-detail .line-contact-button { inline-size: 100%; }
  .catalog-layout, .form-layout, .product-detail, .field-grid { grid-template-columns: minmax(0, 1fr); }
  .info-panel { padding: var(--space-4); }
  .product-list { grid-template-columns: minmax(0, 1fr); }
  .product-card {
    grid-template: auto / clamp(4rem, 23vw, 8rem) minmax(0, 1fr);
    gap: var(--space-3);
  }
  .product-card .product-image { height: auto; aspect-ratio: 1; padding: var(--space-1); }
  .product-card-body { grid-template-rows: none; padding: 0; }
  .product-card-heading .part-number { font-size: 1.125rem; }
  .product-card-specs, .product-card-actions { grid-row: auto; }
  .specifications > div { grid-template-columns: minmax(0, 1fr); }
  .specifications > div > dd { margin-top: -.125rem; }
}
