html.event-offer-open,
html.event-offer-open body {
  overflow: hidden;
}

.event-offer,
.event-offer * {
  box-sizing: border-box;
}

.event-offer {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: #1c1b1b;
  font-family: "Inter", sans-serif;
  letter-spacing: normal;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.event-offer[open] {
  display: flex;
}

.event-offer::backdrop {
  background: rgba(19, 47, 74, 0.5);
}

.event-offer__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 636px;
  margin: auto;
  padding: 48px;
  border-radius: 6px;
  background: #fff;
}

.event-offer__close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1c1b1b;
  cursor: pointer;
}

.event-offer__close:hover {
  color: #980007;
}

.event-offer button:focus-visible {
  outline: 2px solid #980007;
  outline-offset: 3px;
}

.event-offer__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 16px;
  border: 2px solid #fff;
  border-radius: 30px;
  background: #980007;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.event-offer__body,
.event-offer__offer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.event-offer__title {
  outline: none;
  margin: 0;
  color: #1c1b1b;
  font-family: inherit;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.event-offer__title span,
.event-offer__label {
  color: #fe5b50;
}

.event-offer__subtitle,
.event-offer__label,
.event-offer__note,
.event-offer__status {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.event-offer__subtitle,
.event-offer__note {
  color: #7e8e9d;
}

.event-offer__subtitle,
.event-offer__label {
  text-align: center;
}

.event-offer__divider {
  width: 100%;
  height: 1px;
  background: #d5dce3;
}

.event-offer__promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border: 2px solid #980007;
  border-radius: 30px;
  background: #fff;
  color: #980007;
  font: 500 20px/1.4 "Inter", sans-serif;
  cursor: pointer;
}

.event-offer__copy-icon {
  flex: 0 0 18px;
}

.event-offer__promo:hover {
  background: #fff5f4;
}

.event-offer__status:empty {
  display: none;
}

.event-offer__status--success {
  color: #1c1b1b;
  text-align: center;
}

.event-offer__steps {
  padding: 20px;
  border-radius: 6px;
  background: #f2f4f6;
}

.event-offer__steps-title {
  margin: 0 0 16px;
  color: #1c1b1b;
  font: 500 20px/1.4 "Inter", sans-serif;
}

.event-offer__steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0 0 0 24px;
  list-style: decimal;
}

.event-offer__steps-list > li {
  padding-left: 4px;
  color: #1c1b1b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  list-style: decimal;
}

.event-offer__steps-list > li::marker,
.event-offer__steps-accent {
  color: #fe5b50;
}

.event-offer__steps-list p {
  font-weight: 400;
  margin: 0;
  color: #7e8e9d;
  font-size: inherit;
  line-height: inherit;
}

.event-offer__plans {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.event-offer__plans:hover {
  color: #980007;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .event-offer__dialog {
    padding: 48px 24px 24px;
  }

  .event-offer__title {
    font-size: 24px;
  }
}
