.ales-uct-catalog {
  clear: both;
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  background: #fff;
}

.ales-uct-catalog h2,
.ales-uct-catalog h3 {
  margin-top: 0;
}

.ales-uct-configuration {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: .5rem 0 1rem;
}

.ales-uct-selection-status {
  font-weight: 600;
}

.ales-uct-spec-group {
  margin-top: 1.5rem;
}

.ales-uct-table-wrap {
  overflow-x: auto;
}

.ales-uct-catalog table {
  width: 100%;
  border-collapse: collapse;
}

.ales-uct-catalog th,
.ales-uct-catalog td {
  padding: .65rem .75rem;
  border: 1px solid #e1e5e9;
  text-align: left;
  vertical-align: top;
}

.ales-uct-catalog th {
  width: 42%;
  background: #f5f7f8;
}

.ales-uct-dimension-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ales-uct-dimension-images img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.ales-uct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.ales-uct-cad {
  margin-top: 1rem;
  border: 1px solid #d8dde2;
  background: #f8fafb;
}

.ales-uct-cad-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .85rem;
}

.ales-uct-close-cad {
  border: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.ales-uct-cad-frame iframe {
  display: block;
  width: 100%;
  height: min(700px, 75vh);
  border: 0;
  background: #fff;
}

.ales-uct-documents {
  margin-top: 1.5rem;
}

.ales-uct-documents ul {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .ales-uct-catalog {
    padding: 1rem;
  }

  .ales-uct-catalog th,
  .ales-uct-catalog td {
    padding: .55rem;
  }

  .ales-uct-cad-frame iframe {
    height: 60vh;
  }
}
