:root {
  --dbzp-blue: #1059a6;
  --dbzp-blue-dark: #07386c;
  --dbzp-ink: #142438;
  --dbzp-muted: #556476;
  --dbzp-pale: #eaf4ff;
}

.dbzp-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  width: min(480px, calc(100vw - 32px));
  overflow: hidden;
  color: var(--dbzp-ink);
  background: #fff;
  border: 1px solid rgba(15, 59, 102, .12);
  border-radius: 20px;
  box-shadow: 0 22px 70px rgba(6, 34, 63, .25), 0 3px 14px rgba(6, 34, 63, .12);
  font-family: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px) scale(.98);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s;
}

.dbzp-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dbzp-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #30445b;
  background: rgba(255, 255, 255, .9);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(6, 34, 63, .12);
  cursor: pointer;
}

.dbzp-popup__close:hover,
.dbzp-popup__close:focus-visible {
  color: #fff;
  background: var(--dbzp-blue-dark);
  outline: none;
}

.dbzp-popup__close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dbzp-popup__visual {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 16px 8px 12px;
  place-items: center;
  background: linear-gradient(160deg, #f6fbff 0%, #dceeff 100%);
}

.dbzp-popup__visual::after {
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  content: "";
  border: 22px solid rgba(16, 89, 166, .08);
  border-radius: 50%;
}

.dbzp-popup__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 126px;
  height: 172px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 12px rgba(9, 51, 92, .15));
}

.dbzp-popup__discount {
  position: absolute;
  top: 14px;
  left: 12px;
  z-index: 2;
  display: grid;
  width: 66px;
  height: 66px;
  align-content: center;
  color: #fff;
  text-align: center;
  background: var(--dbzp-blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(16, 89, 166, .27);
  transform: rotate(-7deg);
}

.dbzp-popup__discount strong {
  font-size: 20px;
  line-height: 1;
}

.dbzp-popup__discount small {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.dbzp-popup__content {
  padding: 24px 24px 22px;
}

.dbzp-popup__eyebrow {
  margin: 0 0 2px;
  color: var(--dbzp-blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dbzp-popup h2 {
  margin: 0 36px 7px 0;
  color: var(--dbzp-blue-dark);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.dbzp-popup__intro {
  margin: 0 0 11px;
  color: var(--dbzp-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dbzp-popup__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.dbzp-popup__benefits li {
  padding: 4px 8px;
  color: var(--dbzp-blue-dark);
  background: var(--dbzp-pale);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.dbzp-popup__benefits li::before {
  margin-right: 4px;
  color: var(--dbzp-blue);
  content: "✓";
}

.dbzp-popup__sizes {
  margin: 0 0 14px;
  color: var(--dbzp-muted);
  font-size: 10px;
  line-height: 1.35;
}

.dbzp-popup__cta {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff !important;
  background: var(--dbzp-blue);
  border-radius: 10px;
  box-shadow: 0 7px 17px rgba(16, 89, 166, .2);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dbzp-popup__cta:hover,
.dbzp-popup__cta:focus-visible {
  color: #fff !important;
  background: var(--dbzp-blue-dark);
  box-shadow: 0 9px 22px rgba(7, 56, 108, .25);
  outline: none;
  transform: translateY(-1px);
}

.dbzp-popup__cta span {
  font-size: 18px;
  transition: transform .2s ease;
}

.dbzp-popup__cta:hover span {
  transform: translateX(3px);
}

@media (max-width: 540px) {
  .dbzp-popup {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 112px minmax(0, 1fr);
    width: calc(100vw - 24px);
    border-radius: 16px;
  }

  .dbzp-popup__visual {
    padding: 12px 5px;
  }

  .dbzp-popup__visual img {
    width: 96px;
    height: 142px;
  }

  .dbzp-popup__discount {
    top: 10px;
    left: 7px;
    width: 55px;
    height: 55px;
  }

  .dbzp-popup__discount strong {
    font-size: 17px;
  }

  .dbzp-popup__discount small {
    font-size: 7px;
  }

  .dbzp-popup__content {
    padding: 18px 15px 16px;
  }

  .dbzp-popup h2 {
    margin-right: 34px;
    font-size: 22px;
  }

  .dbzp-popup__intro {
    font-size: 12px;
  }

  .dbzp-popup__sizes {
    display: none;
  }

  .dbzp-popup__benefits li {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dbzp-popup,
  .dbzp-popup__cta,
  .dbzp-popup__cta span {
    transition: none;
  }
}

