/* Keep page titles available to assistive technology without occupying the viewport. */
.cfg-main > .cfg-breadcrumbs {
  display: none !important;
}

.cfg-main > .cfg-intro {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cfg-main > .cfg-config-list {
  padding-top: 20px;
}

/* Give the product preview more room while keeping the form comfortable to use. */
@media (min-width: 851px) {
  .cfg-main > .cfg-workspace {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  }
}

/* Lead visitors to the most requested configurators. */
.cfg-config-list a.cfg-featured {
  background: #fff5eb;
  border-color: #c878b8;
  color: #55204f;
  font-weight: 800;
  box-shadow: 0 2px 0 #ead1e7;
}

.cfg-config-list a.cfg-featured[aria-current="page"] {
  background: var(--blue, #72266b);
  border-color: var(--blue, #72266b);
  color: #fff;
}

/* Replace closed select menus with choices visitors can see at a glance. */
.cfg-controls-panel .cfg-choice-field {
  margin-bottom: 8px;
}

.cfg-controls-panel .cfg-choice-original {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cfg-controls-panel .cfg-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.cfg-controls-panel .cfg-choice-button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #d8bad2;
  border-radius: 12px;
  background: #fff;
  color: #3d2445;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.cfg-controls-panel .cfg-choice-button:hover {
  border-color: #913185;
  background: #fff6fc;
}

.cfg-controls-panel .cfg-choice-button[aria-pressed="true"] {
  border-color: #782873;
  background: #782873;
  color: #fff;
}

.cfg-controls-panel .cfg-choice-button:focus-visible {
  outline: 3px solid #e2afdc;
  outline-offset: 2px;
}

.cfg-controls-panel .cfg-choice-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
