.hb-offer-wizard {
  --hb-offer-purple: var(--hb-purple, #563c8f);
  --hb-offer-purple-dark: var(--hb-purple-dark, #281954);
  --hb-offer-purple-soft: var(--hb-purple-soft, #f2effa);
  --hb-offer-text: var(--hb-text, #2d2835);
  --hb-offer-border: #d8d2e4;
  color: var(--hb-offer-text);
}

.hb-offer-wizard [hidden] {
  display: none !important;
}

.hb-offer-wizard__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hb-offer-panel {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--hb-offer-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(40, 25, 84, 0.09);
}

.hb-offer-panel h2,
.hb-offer-panel h3,
.hb-offer-panel p {
  margin-top: 0;
}

.hb-offer-panel h2 {
  max-width: 820px;
  margin-bottom: 14px;
}

.hb-offer-panel h2:focus {
  outline: none;
}

.hb-offer-eyebrow {
  margin-bottom: 9px !important;
  color: var(--hb-offer-purple);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hb-offer-help,
.hb-offer-privacy,
.hb-offer-availability {
  color: #625b6c;
  font-size: 0.94rem;
}

.hb-offer-help {
  margin: 20px 0 0 !important;
  padding: 14px 16px;
  border-left: 3px solid var(--hb-offer-purple);
  background: var(--hb-offer-purple-soft);
}

.hb-offer-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hb-offer-options--category {
  grid-template-columns: minmax(0, 430px);
}

.hb-offer-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 20px;
  border: 1px solid var(--hb-offer-border);
  border-radius: 14px;
  background: #fff;
  color: var(--hb-offer-purple-dark);
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hb-offer-option:hover,
.hb-offer-option:focus-visible {
  border-color: var(--hb-offer-purple);
  box-shadow: 0 8px 24px rgba(40, 25, 84, 0.12);
  transform: translateY(-1px);
}

.hb-offer-option:focus-visible,
.hb-offer-button:focus-visible,
.hb-offer-link:focus-visible,
.hb-offer-field input:focus-visible {
  outline: 3px solid rgba(86, 60, 143, 0.25);
  outline-offset: 2px;
}

.hb-offer-option--category {
  min-height: 92px;
  padding: 24px;
  background: var(--hb-offer-purple-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hb-offer-option__arrow {
  margin-left: 16px;
  font-size: 1.4em;
  line-height: 1;
}

.hb-offer-nav,
.hb-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hb-offer-button,
.hb-offer-link {
  appearance: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hb-offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid var(--hb-offer-purple);
  border-radius: 999px;
  line-height: 1.25;
}

.hb-offer-button--primary {
  background: var(--hb-offer-purple);
  color: #fff;
}

.hb-offer-button--primary:hover,
.hb-offer-button--primary:focus-visible {
  background: var(--hb-offer-purple-dark);
  color: #fff;
}

.hb-offer-button--secondary {
  background: #fff;
  color: var(--hb-offer-purple-dark);
}

.hb-offer-button--secondary:hover,
.hb-offer-button--secondary:focus-visible {
  background: var(--hb-offer-purple-soft);
  color: var(--hb-offer-purple-dark);
}

.hb-offer-link {
  padding: 9px 4px;
  background: transparent;
  color: var(--hb-offer-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hb-offer-nav .hb-offer-link {
  margin-left: auto;
}

.hb-offer-price {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  min-width: 190px;
  margin: 10px 0 26px;
  padding: 17px 20px;
  border-radius: 14px;
  background: var(--hb-offer-purple-soft);
}

.hb-offer-price span {
  color: #625b6c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hb-offer-price strong {
  color: var(--hb-offer-purple-dark);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.hb-offer-detail-choice {
  padding-top: 25px;
  border-top: 1px solid var(--hb-offer-border);
}

.hb-offer-detail-choice h3 {
  margin-bottom: 0;
}

.hb-offer-detail-choice > .hb-offer-actions {
  margin-top: 38px;
}

.hb-offer-availability {
  max-width: 700px;
  margin-top: 16px !important;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff6dd;
  color: #57420b;
}

.hb-offer-download-form {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--hb-offer-border);
  border-radius: 16px;
  background: #faf9fc;
}

.hb-offer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hb-offer-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--hb-offer-purple-dark);
  font-weight: 700;
}

.hb-offer-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0 !important;
  padding: 11px 13px;
  border: 1px solid #bcb4c9;
  border-radius: 9px;
  background: #fff;
  color: var(--hb-offer-text);
  font: inherit;
}

.hb-offer-field input[aria-invalid="true"] {
  border-color: var(--hb-danger, #b82105);
}

.hb-offer-error {
  min-height: 1.2em;
  margin: 6px 0 0 !important;
  color: var(--hb-danger, #b82105);
  font-size: 0.85rem;
}

.hb-offer-download-form .iti {
  display: block;
  width: 100%;
}

.hb-offer-download-form .iti input.iti__tel-input {
  width: 100%;
  margin: 0 !important;
}

.hb-offer-download-form .iti__country-container {
  z-index: 2;
}

.hb-offer-download-form .iti__selected-country {
  min-height: 50px;
}

.hb-offer-download-form .hb-turnstile-wrap {
  margin-top: 18px;
}

.hb-offer-privacy {
  max-width: 760px;
  margin: 16px 0 !important;
}

.hb-offer-privacy a {
  color: inherit;
  text-decoration: underline;
}

.hb-offer-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 680px) {
  .hb-offer-options,
  .hb-offer-fields {
    grid-template-columns: 1fr;
  }

  .hb-offer-panel {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .hb-offer-option {
    min-height: 64px;
  }

  .hb-offer-actions,
  .hb-offer-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .hb-offer-actions .hb-offer-button,
  .hb-offer-nav .hb-offer-button,
  .hb-offer-nav .hb-offer-link {
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-offer-option {
    transition: none;
  }
}
