body.tc-part-lookup-page .page-heading {
  display: none !important;
}

.tc-part-lookup {
  --tc-ink: #172033;
  --tc-muted: #5d6675;
  --tc-border: #d9dee7;
  --tc-panel: #f7f8fa;
  --tc-brand: #9f1239;
  --tc-brand-dark: #7f0d2d;
  --tc-success: #16734a;
  max-width: 780px;
  margin: 0 auto 2rem;
  color: var(--tc-ink);
  font: inherit;
}

.tc-part-lookup *,
.tc-part-lookup *::before,
.tc-part-lookup *::after {
  box-sizing: border-box;
}

.tc-part-lookup__intro {
  margin-bottom: 1.35rem;
}

.tc-part-lookup__eyebrow {
  margin: 0 0 .35rem;
  color: var(--tc-brand);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tc-part-lookup h1 {
  margin: 0 0 .7rem;
  color: #222;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.12;
  font-weight: 800;
}

.tc-part-lookup__intro > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--tc-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.tc-part-lookup__form {
  padding: 1.25rem;
  border: 1px solid var(--tc-border);
  border-radius: .85rem;
  background: var(--tc-panel);
  box-shadow: 0 8px 24px rgba(23, 32, 51, .07);
}

.tc-part-lookup__form > label {
  display: block;
  color: #111;
  font-weight: 800;
}

.tc-part-lookup__controls {
  display: flex;
  gap: .75rem;
  margin-top: .45rem;
}

.tc-part-lookup__controls input {
  width: 100%;
  min-height: 48px;
  padding: .72rem .9rem;
  border: 1px solid #aeb6c2;
  border-radius: .45rem;
  background: #fff;
  color: var(--tc-ink);
  font: inherit;
}

.tc-part-lookup__controls input:focus {
  outline: 3px solid rgba(159, 18, 57, .16);
  border-color: var(--tc-brand);
}

.tc-part-lookup__controls button,
.tc-part-lookup__suggestion {
  min-height: 48px;
  padding: .72rem 1.1rem;
  border: 1px solid var(--tc-brand);
  border-radius: .45rem;
  background: var(--tc-brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.tc-part-lookup__controls button:hover,
.tc-part-lookup__controls button:focus-visible {
  background: var(--tc-brand-dark);
}

.tc-part-lookup__controls button:disabled {
  opacity: .65;
  cursor: wait;
}

.tc-part-lookup__hint {
  margin: .55rem 0 0;
  color: var(--tc-muted);
  font-size: .92em;
}

.tc-part-lookup__status {
  min-height: 1.5rem;
  margin: 1rem 0;
  font-weight: 700;
}

.tc-part-lookup__status.is-error {
  color: #a20f1b;
}

.tc-part-lookup__status.is-success {
  color: var(--tc-success);
}

.tc-part-lookup__status.is-notice {
  color: #72550b;
}

.tc-part-lookup__size-panel {
  max-width: 520px;
}

.tc-part-lookup__result-header {
  margin-bottom: .75rem;
}

.tc-part-lookup__result-header h2 {
  margin: 0 0 .25rem;
  color: #222;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 800;
}

.tc-part-lookup__result-header p {
  margin: 0;
  color: var(--tc-muted);
}

.tc-part-lookup__table-wrap {
  max-height: 460px;
  overflow: auto;
  border: 1px solid var(--tc-border);
  border-radius: .7rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 32, 51, .05);
}

.tc-part-lookup__size-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.tc-part-lookup__size-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: .72rem 1rem;
  border: 0;
  background: #f0f2f5;
  color: #333;
  text-align: left;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tc-part-lookup__size-table td {
  padding: 0;
  border: 0;
  border-top: 1px solid #e7eaf0;
}

.tc-part-lookup__size-row:first-child td {
  border-top: 0;
}

.tc-part-lookup__size-link,
.tc-part-lookup__size-unavailable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: .78rem 1rem;
}

.tc-part-lookup__size-link {
  color: var(--tc-brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tc-part-lookup__size-link:hover,
.tc-part-lookup__size-link:focus-visible {
  background: #fff4f7;
  color: var(--tc-brand);
  text-decoration: underline;
  outline: 0;
}

.tc-part-lookup__size-value {
  font-size: 1.05rem;
}

.tc-part-lookup__row-arrow {
  color: var(--tc-brand);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.tc-part-lookup__size-unavailable {
  color: #6d7480;
  background: #fafafa;
}

.tc-part-lookup__unavailable-label {
  color: #7b828c;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.tc-part-lookup__table-note {
  margin: .65rem 0 0;
  color: var(--tc-muted);
  font-size: .9rem;
}

.tc-part-lookup__table-note.is-warning {
  color: #72550b;
}

.tc-part-lookup__notice {
  max-width: 620px;
  padding: 1rem;
  border: 1px solid #e6d8a8;
  border-radius: .6rem;
  background: #fff9e8;
}

.tc-part-lookup__notice h2 {
  margin-top: 0;
}

.tc-part-lookup__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.tc-part-lookup__suggestion {
  min-height: 38px;
  padding: .45rem .7rem;
  background: #fff;
  color: var(--tc-brand);
}

.tc-part-lookup__suggestion:hover,
.tc-part-lookup__suggestion:focus-visible {
  background: #fff4f7;
}

.tc-part-lookup__sr-only {
  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;
}

@media (max-width: 640px) {
  .tc-part-lookup {
    margin-bottom: 1.25rem;
  }

  .tc-part-lookup__controls {
    flex-direction: column;
  }

  .tc-part-lookup__controls button {
    width: 100%;
  }

  .tc-part-lookup__table-wrap {
    max-height: 55vh;
  }

  .tc-part-lookup__size-link,
  .tc-part-lookup__size-unavailable {
    padding: .82rem .85rem;
  }

  .tc-part-lookup__unavailable-label {
    font-size: .78rem;
  }
}


/* TireChain Part Lookup 1.2.0: prioritize active product-page links. */
.tc-part-lookup__available-heading {
  margin: 0 0 .5rem;
  color: #333;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.tc-part-lookup__other-sizes {
  margin-top: .9rem;
  border: 1px solid var(--tc-border);
  border-radius: .7rem;
  background: #fafafa;
}

.tc-part-lookup__other-sizes > summary {
  padding: .85rem 1rem;
  color: #454d5a;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style-position: inside;
}

.tc-part-lookup__other-sizes > summary:hover,
.tc-part-lookup__other-sizes > summary:focus-visible {
  color: var(--tc-brand);
  background: #fff4f7;
  outline: 0;
}

.tc-part-lookup__other-sizes[open] > summary {
  border-bottom: 1px solid var(--tc-border);
}

.tc-part-lookup__other-sizes-note {
  margin: 0;
  padding: .8rem 1rem;
  color: var(--tc-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.tc-part-lookup__recorded-table {
  max-height: 300px;
  margin: 0 .75rem .75rem;
  border-radius: .5rem;
  box-shadow: none;
}

.tc-part-lookup__recorded-table .tc-part-lookup__size-table th {
  background: #f3f4f6;
}

.tc-part-lookup__recorded-size {
  padding: .68rem .85rem !important;
  color: #69717d;
  background: #fff;
  font-size: .96rem;
}

.tc-part-lookup__no-active-pages {
  color: #5d6675;
  border-color: var(--tc-border);
  background: #f7f8fa;
}

@media (max-width: 640px) {
  .tc-part-lookup__other-sizes > summary {
    padding: .85rem;
  }

  .tc-part-lookup__recorded-table {
    margin: 0 .55rem .55rem;
    max-height: 42vh;
  }
}
