/* Only quantity/color content explicitly confirmed by the shopper collapses. */
.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 7px;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step .dcppe-step-t {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 40px);
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step .dcppe-step-t > small {
  max-width: 40ch;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-selection {
  color: #25327f;
  background: #eef1ff;
  border: 1px solid #dbe1ff;
  border-radius: 7px;
  padding: 3px 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-edit {
  appearance: none;
  margin: 0 0 0 auto;
  min-height: 36px;
  padding: 6px 5px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  color: #3044d9;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-edit:hover {
  background: #eef1ff;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-edit:focus-visible,
.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step:focus-visible {
  outline: 2px solid #3044d9;
  outline-offset: 3px;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step.is-dc-cfg-collapsed {
  min-height: 48px;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e8f1;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .is-dc-cfg-collapsed .dcppe-step-t > small {
  display: none;
}

.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step-content.is-dc-cfg-hidden,
.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-selection[hidden],
.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-edit[hidden] {
  display: none !important;
}

/* Keep the native label associated with its select for assistive technology.
   Its selected color is already visible beside the step title. */
.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-single-color .variations th.label,
.dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-single-color .variations td.label {
  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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 480px) {
  .dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-step {
    column-gap: 7px;
  }
  .dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-selection {
    font-size: 11px;
    padding: 3px 6px;
  }
  .dc-configurator-refresh .dc-engine-panel .dcppe-engine .dc-cfg-edit {
    min-height: 40px;
  }
}
