/*
 * Commerce Hub equal bottom buttons v1.6.23
 * Loaded last, after all existing styles.
 */

/* Previous and Home: exactly the same size, colors and states. */
.shared-page .shared-bottom-nav > a.button,
.shared-page .shared-bottom-nav > a.button:visited {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  min-width: 195px;
  min-height: 62px;
  border: 1px solid #066bc9 !important;
  border-radius: 10px;
  background: linear-gradient(135deg, #066bc9, #087aa7) !important;
  background-color: #066bc9 !important;
  background-image: linear-gradient(135deg, #066bc9, #087aa7) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none;
  font-weight: 800;
  line-height: 1.2;
}

.shared-page .shared-bottom-nav > a.button:hover,
.shared-page .shared-bottom-nav > a.button:active {
  border-color: #0559aa !important;
  background: linear-gradient(135deg, #0559aa, #064f86) !important;
  background-color: #0559aa !important;
  background-image: linear-gradient(135deg, #0559aa, #064f86) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.shared-page .shared-bottom-nav > a.button:focus-visible {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .shared-page .shared-bottom-nav > a.button {
    width: 100%;
    min-width: 0;
  }
}

/* WCAG AA contrast for the order step numbers. */
.orders-flow article:nth-child(1) > span {
  background: #eaf5ff;
  color: #005a9c;
}

.orders-flow article:nth-child(2) > span {
  background: #fff0f1;
  color: #b21d2e;
}

.orders-flow article:nth-child(3) > span {
  background: #eef9f4;
  color: #0b654a;
}

.orders-flow article:nth-child(4) > span {
  background: #f3efff;
  color: #593b96;
}

@media (forced-colors: active) {
  .shared-page .shared-bottom-nav > a.button {
    border: 1px solid LinkText !important;
  }
}

