.btps-root {
  --btps-accent: #c6151c;
  --btps-accent-hover: #aa1016;
  --btps-text: #18202d;
  --btps-muted: #667085;
  --btps-border: #d9dee7;
  --btps-border-soft: #e7eaf0;
  --btps-surface: #fff;
  --btps-surface-muted: #f6f7f9;
  width: 100%;
  color: var(--btps-text);
  font-family: inherit;
}

.btps-root *,
.btps-root *::before,
.btps-root *::after {
  box-sizing: border-box !important;
}

.btps-root .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.btps-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  container-type: inline-size;
}

.btps-heading {
  margin: 0 0 22px;
}

.btps-heading h2 {
  margin: 0;
  color: var(--btps-text);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.btps-heading p {
  margin: 8px 0 0;
  color: var(--btps-muted);
  font-size: 15px;
  line-height: 1.55;
}

.btps-panel {
  padding: 16px;
  border: 1px solid var(--btps-border);
  border-radius: 6px;
  background: var(--btps-surface);
}

#bt-parts-search-root.btps-root .btps-grid {
  display: grid !important;
  gap: 12px;
}

#bt-parts-search-root.btps-root .btps-grid-main {
  display: flex !important;
  flex-flow: row wrap !important;
  position: relative !important;
  inset: auto !important;
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 12px !important;
  align-items: flex-end !important;
  grid-template-columns: none !important;
  transform: none !important;
}

#bt-parts-search-root.btps-root .btps-grid-main > .btps-field {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-width: 0;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  float: none !important;
  clear: none !important;
  flex: 1 1 175px !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  overflow: visible !important;
  transform: none !important;
}

#bt-parts-search-root.btps-root .btps-grid-main > .btps-field-search {
  flex: 1.55 1 270px !important;
  justify-content: flex-end !important;
}

#bt-parts-search-root.btps-root .btps-label {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #4f5969;
  font-size: 12px;
  font-weight: 600;
  line-height: 1 !important;
  transform: none !important;
}

#bt-parts-search-root.btps-root .btps-input,
#bt-parts-search-root.btps-root .btps-select {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  position: relative !important;
  inset: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid #cfd5df;
  border-radius: 4px;
  background-color: #fff;
  color: var(--btps-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 42px !important;
  outline: none;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.btps-input::placeholder {
  color: #7f8998;
  opacity: 1;
}

.btps-input:focus,
.btps-select:focus {
  border-color: var(--btps-accent);
  box-shadow: 0 0 0 3px rgba(198, 21, 28, .1);
}

.btps-input:disabled,
.btps-select:disabled {
  cursor: not-allowed;
  background: #f2f4f7;
  color: #98a2b3;
}

#bt-parts-search-root.btps-root .btps-select {
  appearance: auto;
  line-height: normal !important;
}

/* Own the select arrow so WoodMart's decoration cannot double the native one. */
#bt-parts-search-root.btps-root .btps-select-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 44px !important;
}

#bt-parts-search-root.btps-root .btps-select-wrap::after {
  content: '' !important;
  position: absolute !important;
  right: 16px !important;
  top: 17px !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 1.5px solid #48566b !important;
  border-bottom: 1.5px solid #48566b !important;
  transform: rotate(45deg) !important;
  pointer-events: none !important;
}

#bt-parts-search-root.btps-root select#btps-type.btps-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 38px !important;
  background: #fff none !important;
}

#bt-parts-search-root.btps-root select#btps-type.btps-select::-ms-expand {
  display: none;
}

#bt-parts-search-root.btps-root .btps-combobox {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  transform: none !important;
}

#bt-parts-search-root.btps-root .btps-input.btps-combobox-readonly {
  padding-right: 34px !important;
  cursor: pointer;
}

.btps-combobox::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #667085;
  border-bottom: 1.5px solid #667085;
  content: '';
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.btps-combobox-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--btps-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
}

.btps-combobox-menu[hidden] {
  display: none;
}

.btps-combobox-option {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  border-radius: 0;
  background: #fff;
  color: var(--btps-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.btps-combobox-option:hover,
.btps-combobox-option:focus {
  background: #f7f8fa;
  color: var(--btps-accent);
  outline: none;
}

.btps-combobox-empty {
  padding: 12px;
  color: var(--btps-muted);
  font-size: 13px;
}

#bt-parts-search-root.btps-root .btps-actions {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  width: 196px !important;
  min-width: 0;
  height: 44px;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  flex: 0 0 196px !important;
  gap: 10px;
  align-items: center !important;
  align-self: flex-end !important;
  justify-content: center !important;
  transform: none !important;
}

.btps-btn,
.btps-action,
.btps-contact-action,
.btps-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

#bt-parts-search-root.btps-root button.btps-btn {
  display: inline-flex !important;
  position: static !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle;
}

#bt-parts-search-root.btps-root button#btps-search.btps-btn-primary {
  border: 1px solid var(--btps-accent) !important;
  background: var(--btps-accent) !important;
  color: #fff !important;
  opacity: 1 !important;
}

#bt-parts-search-root.btps-root button#btps-search.btps-btn-primary:hover,
#bt-parts-search-root.btps-root button#btps-search.btps-btn-primary:focus-visible {
  border-color: var(--btps-accent-hover) !important;
  background: var(--btps-accent-hover) !important;
  color: #fff !important;
}

.btps-btn-primary,
.btps-action-buy,
.btps-action-view,
.btps-pagination-next {
  border-color: var(--btps-accent);
  background: var(--btps-accent);
  color: #fff !important;
}

.btps-btn-primary:hover,
.btps-action-buy:hover,
.btps-action-view:hover,
.btps-pagination-next:hover {
  border-color: var(--btps-accent-hover);
  background: var(--btps-accent-hover);
  color: #fff !important;
}

.btps-btn-secondary {
  border-color: #cfd5df;
  background: #fff;
  color: var(--btps-text);
}

.btps-btn-secondary:hover {
  border-color: #98a2b3;
  background: #f8f9fb;
}

.btps-results {
  margin-top: 20px;
}

.btps-count {
  margin: 0 0 10px;
  color: var(--btps-text);
  font-size: 14px;
  font-weight: 500;
}

.btps-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--btps-border);
  border-radius: 5px;
  background: #fff;
}

.btps-table {
  width: 100%;
  min-width: 1120px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #fff;
  color: var(--btps-text);
  font-size: 13px;
}

.btps-table th,
.btps-table td {
  border: 0;
  border-right: 1px solid var(--btps-border-soft);
  border-bottom: 1px solid var(--btps-border-soft);
  text-align: left;
  vertical-align: middle;
}

.btps-table th:last-child,
.btps-table td:last-child {
  border-right: 0;
}

.btps-table tbody tr:last-child td {
  border-bottom: 0;
}

.btps-table th {
  padding: 9px 12px;
  background: #f3f5f7;
  color: #273142;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.btps-table td {
  padding: 6px 12px;
  color: #424c5c;
  line-height: 1.25;
}

.btps-table tbody tr:hover td {
  background: #fbfcfd;
}

.btps-table td:first-child {
  width: 60px;
  min-width: 60px;
}

.btps-part-number {
  display: block;
  color: var(--btps-text);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.btps-table small {
  display: block;
  margin-top: 1px;
  color: #7f8998;
  font-size: 11px;
  line-height: 1.2;
}

.btps-desc {
  width: 30%;
  min-width: 260px;
  max-width: 360px;
  overflow: hidden;
  color: #283242 !important;
  line-height: 1.2 !important;
}

.btps-image-cell {
  width: 60px;
  padding: 5px 6px !important;
  text-align: center !important;
}

.btps-image-cell img,
.btps-image-placeholder {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  color: #c6151c;
  font-size: 12px;
  font-weight: 800;
  object-fit: contain;
}

.btps-brand {
  color: #252e3d;
  font-weight: 700;
}

.btps-product-title {
  display: block !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #18202d;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btps-product-title a {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btps-product-title a:hover {
  color: var(--btps-accent);
}

.btps-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  color: #667085;
  line-height: 1.4;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.btps-specs {
  min-width: 210px;
  max-width: 300px;
}

.btps-availability-cell {
  min-width: 142px;
}

.btps-availability {
  display: inline-flex;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  align-items: center;
  background: #f8fafc;
  color: #475467;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.btps-availability-in-stock {
  border-color: #a6d8b5;
  background: #eefbf2;
  color: #16713a;
}

.btps-availability-backorder,
.btps-availability-on-request {
  border-color: #e7ca8d;
  background: #fff9eb;
  color: #8a5a00;
}

.btps-availability-out-of-stock {
  border-color: #e2b7b7;
  background: #fff4f4;
  color: #a72d2d;
}

.btps-availability-reference {
  min-height: 0;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #667085;
}

.btps-action-cell {
  width: 112px;
  text-align: center !important;
}

.btps-action {
  width: 100%;
  min-width: 88px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.btps-action-enquire {
  border-color: #344054;
  background: #fff;
  color: #202a39;
}

.btps-action-enquire:hover,
.btps-action-enquire:focus {
  border-color: var(--btps-accent);
  color: var(--btps-accent);
}

.btps-pagination {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  color: #344054;
  font-size: 13px;
}

.btps-pagination button {
  min-width: 80px;
  min-height: 38px;
  border-color: #d0d5dd;
  background: #fff;
  color: #344054;
}

.btps-pagination button:not(:disabled):hover {
  border-color: var(--btps-accent);
  color: var(--btps-accent);
}

.btps-pagination button.btps-pagination-next:not(:disabled) {
  border-color: var(--btps-accent);
  background: var(--btps-accent);
  color: #fff;
}

.btps-pagination button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.btps-loading,
.btps-empty,
.btps-message {
  padding: 22px;
  border: 1px solid var(--btps-border);
  border-radius: 5px;
  background: #fff;
  color: var(--btps-muted);
  font-size: 14px;
}

.btps-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--btps-text);
  font-size: 16px;
}

.btps-empty p {
  max-width: 720px;
  margin: 0;
  line-height: 1.55;
}

.btps-message-error {
  color: #a72d2d;
}

.btps-inquiry-section[hidden] {
  display: none !important;
}

.btps-inquiry-section {
  position: relative;
  max-width: 900px;
  margin: 22px auto 0;
  padding: 22px;
  border: 1px solid var(--btps-border);
  border-top: 3px solid var(--btps-accent);
  border-radius: 5px;
  background: #fff;
}

.btps-inquiry-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #667085;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.btps-inquiry-summary {
  margin: 0 40px 14px 0;
  color: var(--btps-text);
  font-size: 14px;
  line-height: 1.5;
}

.btps-contact-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--btps-border-soft);
  padding-bottom: 14px;
}

.btps-contact-action {
  min-height: 36px;
  padding: 0 13px;
  border-color: #d0d5dd;
  background: #fff;
  color: #344054;
}

.btps-contact-action.is-active {
  border-color: var(--btps-accent);
  background: var(--btps-accent);
  color: #fff;
}

.btps-inquiry-form {
  max-width: 760px;
}

#bt-parts-search-root.btps-root .btps-inquiry-section {
  padding-top: 26px;
}

#bt-parts-search-root.btps-root button#btps-inquiry-close.btps-inquiry-close {
  display: inline-flex !important;
  position: absolute !important;
  inset: 12px 12px auto auto !important;
  z-index: 2 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #dfe3e9 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #536073 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  transform: none !important;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .08) !important;
}

#bt-parts-search-root.btps-root button#btps-inquiry-close.btps-inquiry-close:hover,
#bt-parts-search-root.btps-root button#btps-inquiry-close.btps-inquiry-close:focus-visible {
  border-color: var(--btps-accent) !important;
  color: var(--btps-accent) !important;
}

#bt-parts-search-root.btps-root .btps-inquiry-summary {
  min-height: 36px;
  margin: 0 52px 12px 0 !important;
  padding: 7px 0 0 !important;
}

#bt-parts-search-root.btps-root .btps-contact-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 20px !important;
  padding: 0 0 16px !important;
}

#bt-parts-search-root.btps-root .btps-contact-action {
  display: inline-flex !important;
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid #d9dfe7 !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important;
  transform: none !important;
}

#bt-parts-search-root.btps-root .btps-contact-action svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#bt-parts-search-root.btps-root .btps-contact-inquiry.is-active {
  border-color: var(--btps-accent) !important;
  background: var(--btps-accent) !important;
  color: #fff !important;
}

#bt-parts-search-root.btps-root .btps-contact-whatsapp {
  border-color: #b6dccb !important;
  background: #f2fbf6 !important;
  color: #147347 !important;
}

#bt-parts-search-root.btps-root .btps-contact-email {
  border-color: #cbd7e7 !important;
  background: #f4f7fc !important;
  color: #335b8e !important;
}

#bt-parts-search-root.btps-root .btps-contact-whatsapp:hover,
#bt-parts-search-root.btps-root .btps-contact-whatsapp:focus-visible {
  background: #e3f6eb !important;
  border-color: #6bb98c !important;
}

#bt-parts-search-root.btps-root .btps-contact-email:hover,
#bt-parts-search-root.btps-root .btps-contact-email:focus-visible {
  background: #e9f0fa !important;
  border-color: #8aabd2 !important;
}

@media (max-width: 620px) {
  #bt-parts-search-root.btps-root .btps-contact-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #bt-parts-search-root.btps-root .btps-contact-inquiry {
    grid-column: 1 / -1;
  }

  #bt-parts-search-root.btps-root .btps-contact-action {
    width: 100% !important;
    padding: 0 8px !important;
  }
}

@media (max-width: 1120px) {
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field,
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field-search {
    flex: 1 1 calc(50% - 6px) !important;
  }

  #bt-parts-search-root.btps-root .btps-actions {
    width: 100% !important;
    flex: 1 1 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 760px) {
  .btps-heading h2 {
    font-size: 30px;
  }

  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field,
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field-search {
    flex: 1 1 100% !important;
  }

  #bt-parts-search-root.btps-root .btps-actions {
    width: 100% !important;
    flex: 1 1 100% !important;
    justify-content: stretch !important;
  }

  #bt-parts-search-root.btps-root .btps-actions .btps-btn {
    flex: 1 1 0 !important;
  }

  .btps-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .btps-table,
  .btps-table tbody {
    display: block;
    min-width: 0;
  }

  .btps-table thead {
    display: none;
  }

  .btps-table tr {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 10px;
    margin-bottom: 8px;
    padding: 8px 12px 10px;
    border: 1px solid var(--btps-border);
    border-radius: 5px;
    background: #fff;
  }

  .btps-table td,
  .btps-table td:first-child,
  .btps-table td:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(96px, .7fr) minmax(0, 1.3fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 5px 0;
    border-right: 0;
    border-bottom: 1px solid var(--btps-border-soft);
    text-align: left !important;
  }

  .btps-table td.btps-image-cell {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 60px;
    padding: 2px 0 0 !important;
    border-bottom: 0;
    text-align: left !important;
  }

  .btps-table td:nth-child(2),
  .btps-table td:nth-child(3),
  .btps-table td:nth-child(4) {
    grid-column: 2;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .btps-table td:nth-child(3) small {
    grid-column: 2;
  }

  .btps-table td.btps-image-cell::before {
    display: none;
  }

  .btps-image-cell img,
  .btps-image-placeholder {
    width: 58px;
    height: 58px;
  }

  .btps-table td::before {
    color: #667085;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .025em;
  }

  .btps-table td:last-child {
    grid-column: 1 / -1;
    display: block;
    padding-top: 8px;
    border-bottom: 0;
  }

  .btps-table td:last-child::before {
    display: none;
  }

  .btps-action {
    width: 100%;
  }

  .btps-contact-actions {
    flex-direction: column;
  }

  .btps-contact-action {
    width: 100%;
  }
}

@container (max-width: 1120px) {
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field,
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field-search {
    flex: 1 1 calc(50% - 6px) !important;
  }

  #bt-parts-search-root.btps-root .btps-actions {
    width: 100% !important;
    flex: 1 1 100% !important;
    justify-content: center !important;
  }
}

@container (max-width: 700px) {
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field,
  #bt-parts-search-root.btps-root .btps-grid-main > .btps-field-search {
    flex: 1 1 100% !important;
  }

  #bt-parts-search-root.btps-root .btps-actions {
    width: 100% !important;
    flex: 1 1 100% !important;
    justify-content: stretch !important;
  }

  #bt-parts-search-root.btps-root .btps-actions .btps-btn {
    flex: 1 1 0 !important;
  }
}

@media (max-width: 480px) {
  .btps-panel,
  .btps-inquiry-section {
    padding: 14px;
  }

  #bt-parts-search-root.btps-root .btps-actions {
    height: auto !important;
    flex-direction: column !important;
  }

  #bt-parts-search-root.btps-root .btps-actions .btps-btn {
    width: 100% !important;
    flex: 0 0 44px !important;
  }

  .btps-pagination {
    gap: 10px;
  }

  .btps-pagination button {
    min-width: 68px;
    padding: 0 12px;
  }
}

/* Compact result density, with enough specificity to beat WoodMart tables. */
#bt-parts-search-root.btps-root .btps-table {
  min-width: 1040px;
}

#bt-parts-search-root.btps-root .btps-table > thead > tr > th {
  height: auto !important;
  padding: 9px 10px !important;
  line-height: 1.2 !important;
}

#bt-parts-search-root.btps-root .btps-table > tbody > tr {
  height: auto !important;
}

#bt-parts-search-root.btps-root .btps-table > tbody > tr > td {
  height: auto !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  line-height: 1.25 !important;
}

#bt-parts-search-root.btps-root .btps-table > tbody > tr > td.btps-image-cell {
  width: 60px !important;
  min-width: 60px !important;
  padding: 5px 6px !important;
  line-height: 0 !important;
}

#bt-parts-search-root.btps-root .btps-image-cell > a {
  display: inline-flex;
  line-height: 0;
}

#bt-parts-search-root.btps-root .btps-image-cell img,
#bt-parts-search-root.btps-root .btps-image-placeholder {
  width: 46px !important;
  height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
}

#bt-parts-search-root.btps-root .btps-image-placeholder {
  line-height: 1 !important;
}

#bt-parts-search-root.btps-root .btps-product-title,
#bt-parts-search-root.btps-root .btps-product-title a {
  display: block !important;
  overflow: hidden !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#bt-parts-search-root.btps-root .btps-specs .btps-clamp-2 {
  max-height: 2.6em;
  font-size: 12px;
  line-height: 1.3;
}

#bt-parts-search-root.btps-root .btps-availability {
  min-height: 22px;
  padding: 2px 7px;
  font-size: 10.5px;
  line-height: 1.15;
}

#bt-parts-search-root.btps-root .btps-action-cell {
  width: 104px;
}

#bt-parts-search-root.btps-root .btps-action-cell .btps-action {
  width: auto !important;
  min-width: 84px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  font-size: 11.5px;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  #bt-parts-search-root.btps-root .btps-table {
    min-width: 0;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 10px;
    margin: 0 0 8px !important;
    padding: 8px 12px 10px !important;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    padding: 5px 0 !important;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(2),
  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(3),
  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(4) {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td.btps-image-cell {
    width: 60px !important;
    min-width: 60px !important;
    padding: 2px 0 0 !important;
  }

  #bt-parts-search-root.btps-root .btps-image-cell img,
  #bt-parts-search-root.btps-root .btps-image-placeholder {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:last-child {
    padding: 8px 0 0 !important;
  }

  #bt-parts-search-root.btps-root .btps-action-cell .btps-action {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
  }
}

@container (max-width: 700px) {
  #bt-parts-search-root.btps-root .btps-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  #bt-parts-search-root.btps-root .btps-table,
  #bt-parts-search-root.btps-root .btps-table tbody {
    display: block;
    min-width: 0;
  }

  #bt-parts-search-root.btps-root .btps-table thead {
    display: none;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 10px;
    margin: 0 0 8px !important;
    padding: 8px 12px 10px !important;
    border: 1px solid var(--btps-border);
    border-radius: 5px;
    background: #fff;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 5px 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--btps-border-soft);
    text-align: left !important;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(2),
  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(3),
  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(4) {
    grid-column: 2;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:nth-child(3) small {
    grid-column: 2;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td.btps-image-cell {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 60px !important;
    min-width: 60px !important;
    padding: 2px 0 0 !important;
    border-bottom: 0;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td.btps-image-cell::before,
  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:last-child::before {
    display: none;
  }

  #bt-parts-search-root.btps-root .btps-image-cell img,
  #bt-parts-search-root.btps-root .btps-image-placeholder {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }

  #bt-parts-search-root.btps-root .btps-table td::before {
    color: #667085;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  #bt-parts-search-root.btps-root .btps-table > tbody > tr > td:last-child {
    grid-column: 1 / -1;
    display: block;
    padding: 8px 0 0 !important;
    border-bottom: 0;
  }

  #bt-parts-search-root.btps-root .btps-action-cell .btps-action {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
  }
}
