.quest-ab-informer {
  padding: 1.25em;
  border-radius: .5em;
  background: #f6f7f9;
  font-size: 13.5px;
}

.quest-ab-informer__title {
  margin-bottom: 1em;
  color: #1f2937;
  font-size: 1.4em;
  font-weight: 700;
}

.quest-ab-informer__steps {
  display: grid;
  gap: .75em;
  margin-bottom: 1.25em;
}

.quest-ab-step {
  display: flex;
  align-items: center;
  gap: .625em;
  color: #7b7f87;
  font-size: 1em;
  line-height: 1.25;
}

.quest-ab-step__icon {
  position: relative;
  flex: 0 0 1.5em;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: #d9dce1;
}

.quest-ab-step.is-done {
  color: #1f2937;
  font-weight: 600;
}

.quest-ab-step.is-done .quest-ab-step__icon {
  background: #34d48a;
}

.quest-ab-step.is-done .quest-ab-step__icon::after,
.quest-ab-bonus.is-earned .quest-ab-bonus__check::after {
  content: "";
  position: absolute;
  border: solid #fff;
  border-width: 0 .125em .125em 0;
  transform: rotate(45deg);
}

.quest-ab-step.is-done .quest-ab-step__icon::after {
  top: .3125em;
  left: .5em;
  width: .4375em;
  height: .6875em;
}

.quest-ab-informer__bonuses {
  display: flex;
  gap: .75em;
}

.quest-ab-bonus {
  display: flex;
  align-items: center;
  gap: .75em;
  min-width: 0;
  padding: .5em .75em;
  border-radius: .5em;
  background: #e8eaee;
  color: #7b7f87;
  flex: 1 1 0;
}

.quest-ab-bonus__check {
  position: relative;
  flex: 0 0 1.75em;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: #cfd3da;
}

.quest-ab-bonus__title,
.quest-ab-bonus__text {
  display: block;
}

.quest-ab-bonus__title {
  color: inherit;
  font-weight: 700;
  line-height: 1.2;
  font-size: 1em;
}

.quest-ab-bonus__text {
  margin-top: .125em;
  font-size: .8125em;
  line-height: 1.25;
}

.quest-ab-bonus.is-earned {
  color: #fff;
/*  background: linear-gradient(135deg, #ff4d8d, #7c3aed);*/
  background: linear-gradient(to left, #5ccbc4, #86A8E7, #9090f3);
/*  background: linear-gradient(to right, #a2b1ff, #ffa5d2);*/
}

.quest-ab-bonus.is-earned .quest-ab-bonus__check {
  background: rgba(255, 255, 255, .25);
}

.quest-ab-bonus.is-earned .quest-ab-bonus__check::after {
  top: .375em;
  left: .625em;
  width: .5em;
  height: .8125em;
}

.quest-ab-informer .btn {
	font-size: 1.1em;
	font-weight: 700;
	margin-top: 1.5rem;
}

@media (min-width: 576px) {
  .quest-ab-informer {
	font-size: 16px;
  }
}

/* layer cart */
.module-quest__container-cart .quest-ab-informer {
	background: #fff;
}

/* layer checkout */
.module-quest__container-checkout .quest-ab-informer {
	background: #fff;
}

/* TEMP: reset old quest popup wrapper styles while testing variant B. Remove with the old design. */
.module-quest__container:has(.quest-ab-informer) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-quest__container:has(.quest-ab-informer)::before,
.module-quest__container:has(.quest-ab-informer)::after {
  content: none;
  display: none;
}
