/* ERROR styling */
.back-in-stock-error {
  display: none;
  position: fixed;
  /* not sure what the correct z-index would be for a modal */
  z-index: 2147483647;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.back-in-stock-error-content {
  background-color: #ffffff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 480px;
  height: 320px;
}

.back-in-stock-error-centered-container {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.back-in-stock-error-text {
  font-size: 16px;
  font-weight: 550;
  color: #121212;
  max-width: 320px;
  text-align: center;
}

@media only screen and (max-width: 576px) {
  .back-in-stock-error-content {
    width: calc(100% - 2 * 16px);
  }
}
