/* Shared step navigation for the product configurators and desktop cart. */
#inhalt :is(.poster-steps, .pd-order-steps, .pd-d-steps) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;

  & > :is(button, span) {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid #d6e3e9;
    border-radius: 14px;
    background: #fff;
    color: #426276;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
  }

  & > button { cursor: pointer; }
  & > button:disabled { opacity: .55; cursor: default; }
  & > button:focus-visible { outline: 3px solid #087d99; outline-offset: 3px; }

  & > button > span {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid #d6e3e9;
    border-radius: 50%;
    background: #edf3f6;
    box-shadow: none;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
  }

  & > [aria-current="step"] {
    border-color: #a6c9d9;
    background: #eaf5fa;
    color: #075877;
  }

  & > [aria-current="step"] > span {
    border-color: #087d99;
    background: #087d99;
    color: #fff;
  }
}

/* The designer's older button defaults use important declarations. */
#inhalt .pd-d-steps > button {
  border: 1px solid #d6e3e9 !important;
  padding: 9px 14px !important;
  background: #fff !important;
  color: #426276 !important;
  font-size: 14px !important;
}
#inhalt .pd-d-steps > button[aria-current="step"] {
  border-color: #a6c9d9 !important;
  background: #eaf5fa !important;
  color: #075877 !important;
}
