.edu-fitment-finder {
  background: #fff;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius);
  box-shadow: var(--edu-shadow-sm);
  padding: 22px;
}

.edu-fitment-finder__fields {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.edu-fitment-finder label {
  display: block;
  margin: 0;
}

.edu-fitment-finder label > span {
  color: var(--edu-muted);
  display: block;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .05em;
  margin: 0 0 6px 3px;
  text-transform: uppercase;
}

.edu-fitment-finder select {
  background-color: #f6f7f8;
  border: 1px solid var(--edu-line);
  border-radius: 10px;
  box-shadow: none;
  color: var(--edu-ink);
  font-size: 13px;
  height: 48px;
  margin: 0;
  padding: 0 34px 0 13px;
  width: 100%;
}

.edu-fitment-finder select:disabled {
  color: #a1a6ac;
  cursor: not-allowed;
}

.edu-fitment-finder button[type="submit"] {
  align-items: center;
  background: var(--edu-red);
  border: 0;
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 760;
  gap: 13px;
  height: 48px;
  justify-content: center;
  margin: 0;
  padding: 0 19px;
  white-space: nowrap;
}

.edu-fitment-finder button[type="submit"]:hover {
  background: var(--edu-red-dark);
}

.edu-fitment-finder button[type="submit"]:disabled {
  cursor: wait;
  opacity: .65;
}

.edu-fitment-finder__result:empty {
  display: none;
}

.edu-fitment-finder__loading {
  color: var(--edu-muted);
  font-size: 12px;
  padding: 20px 4px 2px;
}

.edu-fitment-result {
  border-top: 1px solid var(--edu-line);
  margin-top: 20px;
  padding-top: 20px;
}

.edu-fitment-result--empty {
  background: #fff7e5;
  border: 1px solid #f1d18b;
  border-radius: 12px;
  color: #4f3a0e;
  padding: 16px;
}

.edu-fitment-result--empty strong {
  color: #3b2a08;
  display: block;
  font-size: 14px;
}

.edu-fitment-result--empty p {
  font-size: 12px;
  line-height: 1.55;
  margin: 6px 0 12px;
}

.edu-fitment-result--empty a {
  color: #8b5700;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
}

.edu-fitment-result__heading {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.edu-fitment-result__heading span,
.edu-fitment-result__heading strong {
  display: block;
}

.edu-fitment-result__heading span {
  color: var(--edu-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.edu-fitment-result__heading strong {
  color: var(--edu-ink);
  font-size: 17px;
  margin-top: 2px;
}

.edu-fitment-result__heading small {
  color: var(--edu-muted);
  font-size: 10px;
}

.edu-fitment-result__rows {
  display: grid;
  gap: 10px;
}

.edu-fitment-result__row {
  align-items: center;
  background: #f7f8f9;
  border: 1px solid var(--edu-line);
  border-radius: 13px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr) auto;
  padding: 16px;
}

.edu-fitment-result__row--warning {
  background: #fff1f1;
  border-color: #efb8bb;
}

.edu-fitment-result__badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.edu-fitment-result__badge--compatible {
  background: #dff6e9;
  color: #06733d;
}

.edu-fitment-result__badge--conditional {
  background: #fff0cf;
  color: #7a4d00;
}

.edu-fitment-result__badge--not_compatible,
.edu-fitment-result__row--warning .edu-fitment-result__badge {
  background: #fbdcdf;
  color: #9e101a;
}

.edu-fitment-result__row h4 {
  font-size: 15px;
  margin: 7px 0 3px;
}

.edu-fitment-result__row p {
  color: var(--edu-muted);
  font-size: 10px;
  line-height: 1.45;
  margin: 0;
}

.edu-fitment-result__meta {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.edu-fitment-result__meta span {
  color: var(--edu-muted);
  font-size: 9px;
}

.edu-fitment-result__meta strong {
  color: var(--edu-ink);
  display: block;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 2px;
}

.edu-fitment-result__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edu-fitment-result__actions a {
  border-radius: 8px;
  font-size: 10px;
  font-weight: 750;
  padding: 9px 11px;
  text-align: center;
  white-space: nowrap;
}

.edu-fitment-result__product {
  background: var(--edu-red);
  color: #fff;
}

.edu-fitment-result__product:hover {
  background: var(--edu-red-dark);
  color: #fff;
}

.edu-fitment-result__help {
  background: #fff;
  border: 1px solid var(--edu-line);
  color: var(--edu-ink);
}

.edu-fitment-result__legal {
  color: var(--edu-muted);
  font-size: 9px;
  line-height: 1.5;
  margin: 12px 2px 0;
}

.edu-product-fitment {
  background: #edf0f3;
  border-bottom: 1px solid var(--edu-line);
  border-top: 1px solid var(--edu-line);
  padding: 65px 0;
}

.edu-product-fitment .edu-section-heading {
  align-items: flex-start;
}

.edu-product-fitment .edu-section-heading p {
  margin-left: 0;
}

.edu-fitment-finder--compact {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.edu-fitment-finder--compact .edu-fitment-finder__fields {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

@media (max-width: 849px) {
  .edu-fitment-finder__fields,
  .edu-fitment-finder--compact .edu-fitment-finder__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edu-fitment-finder button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .edu-fitment-result__row {
    grid-template-columns: 1fr;
  }

  .edu-fitment-result__actions {
    flex-direction: row;
  }

  .edu-product-fitment {
    padding: 52px 0;
  }
}

@media (max-width: 549px) {
  .edu-fitment-finder {
    border-radius: 14px;
    padding: 14px;
  }

  .edu-fitment-finder--compact {
    padding: 0;
  }

  .edu-fitment-finder__fields,
  .edu-fitment-finder--compact .edu-fitment-finder__fields {
    grid-template-columns: 1fr 1fr;
  }

  .edu-fitment-finder label > span {
    font-size: 9px;
  }

  .edu-fitment-finder select {
    font-size: 12px;
    height: 45px;
  }

  .edu-fitment-result__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .edu-fitment-result__meta {
    border-top: 1px solid var(--edu-line);
    padding-top: 10px;
  }

  .edu-fitment-result__actions {
    flex-direction: column;
  }
}

