/* Shared four-column geometry for equipment prices only. */
body.pb-site .catalog-table-scroll table.pb-equipment-table {
  width: 100%;
  table-layout: fixed;
}
body.pb-site .pb-equipment-table col:nth-child(1) { width: 35%; }
body.pb-site .pb-equipment-table col:nth-child(2),
body.pb-site .pb-equipment-table col:nth-child(3) { width: 14%; }
body.pb-site .pb-equipment-table col:nth-child(4) { width: 37%; }
body.pb-site .pb-equipment-table :is(th, td) { vertical-align: middle; }
body.pb-site .pb-catalog-actions {
  display: inline-grid;
  grid-template-columns: 54px max-content;
  column-gap: 12px;
  align-items: center;
  white-space: nowrap;
}
body.pb-site .pb-catalog-actions > .pb-document-link,
body.pb-site .pb-catalog-actions > .pb-document-empty {
  display: inline-flex;
  width: 54px;
  min-width: 54px;
  height: 36px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
body.pb-site .pb-catalog-actions > .pb-stock-action {
  display: inline-flex;
  min-height: 36px;
  box-sizing: border-box;
  margin: 0;
}

/* Theme-matched category picker, isolated from navigation and request forms. */
body.pb-site .catalog-tools .pb-category-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  color: #555;
  font-size: 12px;
}
body.pb-site .catalog-tools .pb-category-field > label { display: block; }
body.pb-site .catalog-tools .pb-category-picker { position: relative; min-width: 0; }
body.pb-site .catalog-tools .pb-category-picker[hidden],
body.pb-site .catalog-tools .pb-category-field > select[hidden],
body.pb-site .catalog-tools .pb-category-options[hidden] { display: none !important; }
body.pb-site .catalog-tools .pb-category-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 52px;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid #aaa;
  border-radius: 6px;
  background: #fff;
  color: #181818;
  font: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transform: none !important;
}
body.pb-site .catalog-tools .pb-category-trigger::after {
  content: '';
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #d5b45e;
  border-bottom: 2px solid #d5b45e;
  transform: rotate(45deg) translateY(-2px);
}
body.pb-site .catalog-tools .pb-category-trigger[aria-expanded=true]::after {
  transform: rotate(225deg) translate(-2px, -1px);
}
body.pb-site .catalog-tools .pb-category-trigger:focus-visible {
  outline: 2px solid #d5b45e;
  outline-offset: 2px;
}
body.pb-site .catalog-tools .pb-category-trigger:hover,
body.pb-site .catalog-tools .pb-category-trigger[aria-expanded=true] { border-color: #b69a4f; }
body.pb-site .catalog-tools .pb-category-options {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid #8e7b4c;
  border-radius: 8px;
  background: #181818;
  color: #f5f5f5;
  box-shadow: 0 10px 24px #0003;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #8e7b4c #181818;
}
body.pb-site .catalog-tools .pb-category-picker[data-direction=up] .pb-category-options {
  top: auto;
  bottom: calc(100% + 8px);
}
body.pb-site .catalog-tools .pb-category-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #f5f5f5;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
body.pb-site .catalog-tools .pb-category-option:hover,
body.pb-site .catalog-tools .pb-category-option.is-active {
  background: #302a1a;
  color: #e4c66f;
}
body.pb-site .catalog-tools .pb-category-option[aria-selected=true] { color: #e4c66f; }
body.pb-site .catalog-tools .pb-category-option[aria-selected=true]::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
