.iw-sp-widget, .iw-sp-widget * { box-sizing: border-box; }
.iw-sp-widget [hidden], .iw-sp-widget[hidden] { display: none !important; }
.iw-sp-widget {
  width: 100%;
  min-width: 0;
  clear: both;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  margin-block: 18px;
  padding: 20px;
  color: #201832;
  text-align: start;
  background: radial-gradient(ellipse at top left, color-mix(in srgb, var(--sp-accent) 28%, transparent), transparent 55%), var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-primary) 20%, white);
  border-radius: var(--sp-radius);
  box-shadow: 0 14px 35px rgb(60 35 95 / 9%);
}
.iw-sp-widget__head, .iw-sp-widget__body, .iw-sp-widget__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.iw-sp-widget__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sp-primary);
  font-size: 23px;
  font-weight: 800;
}
.iw-sp-widget__brand img { display: block; width: 36px; height: 36px; object-fit: contain; }
.iw-sp-widget__slogan {
  padding: 6px 11px;
  color: var(--sp-primary);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.iw-sp-widget__body, .iw-sp-widget__footer { margin-block-start: 16px; }
.iw-sp-widget__copy { display: grid; flex: 1 1 185px; gap: 5px; min-width: 0; }
.iw-sp-widget__title { font-size: 17px; line-height: 1.6; }
.iw-sp-widget__description, .iw-sp-widget__offer span, .iw-sp-widget__benefits {
  color: #51465f;
  font-size: 13px;
  line-height: 1.8;
}
.iw-sp-widget__offer {
  display: grid;
  flex: 1 1 145px;
  min-width: 0;
  gap: 3px;
  padding: 10px 13px;
  text-align: center;
  overflow-wrap: anywhere;
  background: #fff;
  border-radius: calc(var(--sp-radius) * .65);
}
.iw-sp-widget__offer strong { color: var(--sp-primary); font-size: 14px; }
.iw-sp-widget__benefits { display: grid; gap: 4px; padding: 0; margin: 14px 0 0; list-style: none; }
.iw-sp-widget__benefits li::before { content: "✓"; color: var(--sp-primary); font-weight: 800; margin-inline-end: 8px; }
.iw-sp-widget__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 18px;
  color: #fff !important;
  background: var(--sp-primary);
  border: 1px solid var(--sp-primary);
  border-radius: calc(var(--sp-radius) * .65);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
.iw-sp-widget__button:hover { filter: brightness(1.12); }
.iw-sp-widget__button:focus-visible, .iw-sp-modal__close:focus-visible {
  outline: 2px solid var(--sp-primary);
  outline-offset: 3px;
}
.iw-sp-widget__button:disabled { opacity: .55; cursor: wait; }
.iw-sp-widget__legal { flex: 1 1 175px; color: #62596d; font-size: 11px; line-height: 1.8; }
.iw-sp-widget__status { width: 100%; margin: 10px 0 0; font-size: 13px; color: var(--sp-primary); }
.iw-sp-widget--compact { padding: 13px 16px; }
.iw-sp-widget--compact .iw-sp-widget__benefits, .iw-sp-widget--compact .iw-sp-widget__description { display: none; }
.iw-sp-widget--compact .iw-sp-widget__body, .iw-sp-widget--compact .iw-sp-widget__footer { margin-block-start: 10px; }
.iw-sp-widget--outline { background: #fff; border: 2px solid var(--sp-primary); box-shadow: none; }
.iw-sp-widget--outline > .iw-sp-widget__body .iw-sp-widget__offer { background: var(--sp-surface); }
.iw-sp-widget--outline > .iw-sp-widget__footer .iw-sp-widget__button { color: var(--sp-primary) !important; background: #fff; }
.iw-sp-widget--minimal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.iw-sp-widget--minimal > .iw-sp-widget__body { flex: 1 1 170px; margin: 0; }
.iw-sp-widget--minimal > .iw-sp-widget__body .iw-sp-widget__title { font-size: 14px; }
.iw-sp-widget--minimal > .iw-sp-widget__footer { margin: 0; }
.iw-sp-widget--minimal > .iw-sp-widget__benefits, .iw-sp-widget--minimal .iw-sp-widget__slogan,
.iw-sp-widget--minimal .iw-sp-widget__description, .iw-sp-widget--minimal .iw-sp-widget__legal { display: none; }
.iw-sp-modal {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 0;
  color: #201832;
  background: #fff;
  border: 0;
  border-radius: var(--sp-radius);
}
.iw-sp-modal::backdrop { background: rgb(24 15 40 / 56%); }
.iw-sp-modal__panel { padding: 28px; text-align: center; }
.iw-sp-modal__panel h2 { margin: 12px 0; font-size: 20px; }
.iw-sp-modal__panel p { margin: 14px 0; line-height: 1.8; }
.iw-sp-modal__panel .iw-sp-widget__offer { background: var(--sp-surface); }
.iw-sp-modal__close {
  position: absolute;
  inset: 8px auto auto 8px;
  width: 34px;
  height: 34px;
  background: var(--sp-surface);
  color: var(--sp-primary);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}
.overview-buttons:has(> .iw-sp-widget:not([hidden])) { flex-wrap: wrap !important; }
.overview-buttons > .iw-sp-widget { flex: 0 0 100% !important; }
@media (max-width: 540px) {
  .iw-sp-widget { padding: 14px; }
  .iw-sp-widget__copy, .iw-sp-widget__offer { flex-basis: 100%; }
  .iw-sp-widget__button { width: 100%; }
  .iw-sp-widget--minimal > .iw-sp-widget__body { flex-basis: 100%; }
}
