.discount-screen {
  margin: 0 auto;
  position: relative;
  max-width: 428px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.discount-screen__header {
  display: flex;
  width: 100%;
  padding: 24px 0 11px;
  justify-content: center;
}

.discount-screen__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 32px 32px;
}

.discount-screen__content * {
  font-family: OpenSans Regular;
}

.discount-screen__title {
  font-size: 20px;
  margin-top: 23px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.discount-screen__blocks {
  gap: 7px;
  display: flex;
  align-items: flex-end;
}

.discount-screen__block {
  gap: 12px;
  width: 160px;
  display: flex;
  padding: 16px;
  overflow: hidden;
  text-align: center;
  align-items: center;
  border-radius: 10px;
  flex-direction: column;
}

.discount-screen__block:first-child {
  border: 2px solid #c7c7c7;
}

.discount-screen__block:first-child .discount-screen__button {
  background: #c7c7c7;
  color: #000;
}

.discount-screen__block:last-child {
  padding-top: 0;
  border: 2px solid #066fde;
}

.discount-screen__price-block {
  font-weight: 600;
  line-height: 24px;
}

.discount-screen__details {
  display: flex;
  flex-direction: column;
}

.discount-screen__details-name {
  color: #8e8e93;
  font-size: 14px;
  line-height: 18px;
}

.discount-screen__details-value {
  font-weight: 600;
  line-height: 24px;
}

.discount-screen__button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 132px;
  height: fit-content;
  min-height: 38px;
  background: #066fde;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
}

.discount-screen__loader {
  scale: .75;
}

.discount-screen__header-block {
  top: 0;
  color: #fff;
  height: 32px;
  display: flex;
  background: #066fde;
  align-items: center;
  width: calc(100% + 32px);
  justify-content: center;
}

.discount-screen__widget {
  background: #fff;
  bottom: 0;
  box-shadow: 0 -2px 16px rgba(18, 22, 32, .1);
  max-width: 428px;
  width: 100%;
  padding: 40px;
  position: relative;
}

.discount-screen__widget_success {
  height: 400px;
}

.discount-screen__success {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px;
}

.discount-screen__success-icon {
  width: 100px;
  height: 100px;
  max-width: 50%;
  flex-shrink: 0;
}

.discount-screen__success-text {
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: #121620;
}
