/* =========================================================
   OCUD Lookup Result Card
   ========================================================= */

.ocud-result {
  margin-top: 2rem;
  font-family: inherit;
}

/* Title */
.ocud-result__title {
  color: #333;
  font-size: 1.6rem;
  font-weight: 600;
}
.ocud-result__title--link {
  text-decoration: underline;
}
.ocud-result__title--link.ocud-result__title--link:hover {
  text-decoration: none;
}

/* Two-column body */
.ocud-result__body {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}

/* Left column — image + description */
.ocud-result__col--image {
  flex: 0 0 47%;
}

.ocud-result__image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.ocud-result__description {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

/* Right column */
.ocud-result__col--info {
  flex: 1 1 auto;
}

.ocud-result__col--info .et_pb_module {
  margin-bottom: 0 !important;
}

/* Side-by-side part number sub-columns */
.ocud-result__pn-columns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ocud-result__pn-col {
  flex: 1 1 0;
}
.ocud-result__pn-col .et_pb_button_module_wrapper {
  text-align: left !important;
}
.ocud-result__pn-col a {
  text-align: center;
  max-width: 190px;
}

.ocud-result__pn-label {
  font-weight: 700;
  font-size: 1rem;
}

.ocud-result__pn-value {
  font-size: 1rem;
}

/* Single-column: left-align the button when only one part number is shown */
.ocud-result__pn-columns--single .et_pb_button_module_wrapper {
  text-align: left !important;
}

/* Responsive: stack below 767 */
@media (max-width: 767px) {
  .ocud-result__body {
    gap: 1rem;
    flex-direction: column;
  }

  .ocud-result__col--image {
    flex: none;
    max-width: 100%;
  }

  .ocud-result__pn-columns {
    flex-direction: column;
  }
  .ocud-result__pn-col a {
    max-width: unset;
  }
}
