.l7-promo {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(920px, calc(100vw - 48px));
  padding: 14px 56px 14px 16px;
  border-radius: 20px;
  background: linear-gradient(90deg, #3a6bff 0%, #5b45e8 42%, #c13de8 100%);
  box-shadow: 0 16px 40px rgba(8, 8, 26, 0.45);
  color: #fff;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 120%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0.35s ease;
}
.l7-promo *,
.l7-promo *::before,
.l7-promo *::after {
  box-sizing: border-box;
}
.l7-promo p {
  margin: 0;
  -webkit-text-fill-color: unset;
  background: none;
  filter: none;
}
.l7-promo.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.l7-promo.is-dismissed {
  display: none !important;
}
.l7-promo__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 8, 26, 0.18);
  color: #fff;
  cursor: pointer;
  transition: 0.2s background;
}
.l7-promo__close:hover,
.l7-promo__close:focus-visible {
  background: rgba(8, 8, 26, 0.34);
  outline: none;
}
.l7-promo__gift {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.l7-promo__gift img,
.l7-promo__gift-svg {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
}
.l7-promo__copy {
  flex: 1;
  min-width: 0;
}
.l7-promo__kicker {
  margin: 0 0 4px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.l7-promo__text {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}
.l7-promo__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff !important;
  color: #5b32e0 !important;
  -webkit-text-fill-color: #5b32e0 !important;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s opacity;
}
.l7-promo__cta:hover {
  opacity: 0.86;
}
.l7-promo--preview {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  max-width: 920px;
  margin: 8px 0 24px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.wp-block-acf-lucky7even-promo:not(.acf-block-preview) {
  height: 0;
  min-height: 0;
  margin: 0 !important;
  overflow: visible;
}
.l7-promo-editor-hint {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef0ff;
  border: 1px solid #c9cbee;
  color: #1b1f2a;
  font-size: 12px;
  line-height: 1.45;
}
.editor-styles-wrapper .wp-block[data-type="acf/lucky7even-promo"],
.block-editor-block-list__block[data-type="acf/lucky7even-promo"] {
  max-width: none !important;
  width: 100%;
}
.editor-styles-wrapper .l7-promo a,
.acf-block-preview .l7-promo a {
  pointer-events: none;
}
@media (min-width: 761px) {
  .l7-promo:not(.l7-promo--preview) {
    left: calc(222px + (100vw - 222px) / 2);
    width: min(920px, calc(100vw - 270px));
  }
}
@media (max-width: 760px) {
  .l7-promo {
    left: 50%;
    bottom: 16px;
    width: calc(100vw - 24px);
    gap: 10px;
    padding: 12px 44px 12px 12px;
    border-radius: 16px;
  }
  .l7-promo__gift,
  .l7-promo__gift img,
  .l7-promo__gift-svg {
    width: 52px;
    height: 52px;
  }
  .l7-promo__kicker {
    font-size: 11px;
  }
  .l7-promo__text {
    font-size: 14px;
  }
  .l7-promo__cta {
    min-width: 0;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 11px;
  }
  .l7-promo__close {
    width: 32px;
    height: 32px;
    top: 6px;
    right: 6px;
  }
}
@media (max-width: 480px) {
  .l7-promo {
    flex-wrap: wrap;
    align-items: flex-start;
    bottom: 12px;
    padding: 12px 40px 12px 12px;
  }
  .l7-promo__copy {
    width: calc(100% - 64px);
  }
  .l7-promo__cta {
    width: 100%;
    margin-top: 2px;
  }
}
body.l7-promo-active {
  padding-bottom: 120px;
}
@media (max-width: 760px) {
  body.l7-promo-active {
    padding-bottom: 140px;
  }
}
