.froobook-popup-lock {
  overflow: hidden;
}

.froobook-popup {
  align-items: center;
  background: rgba(18, 18, 18, .46);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 32px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity .2s ease;
  z-index: 1000000;
}

.froobook-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.froobook-popup__dialog {
  background: #ffffff;
  border: 1px solid #151515;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  color: #151515;
  display: block;
  max-height: calc(100vh - 48px);
  max-width: 740px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  transform: translateY(12px);
  transition: transform .2s ease;
  width: 100%;
}

.froobook-popup.is-open .froobook-popup__dialog {
  transform: translateY(0);
}

.froobook-popup__dialog--dark {
  background: #151515;
  border-color: #151515;
  color: #ffffff;
}

.froobook-popup__dialog--no-image {
  max-width: 740px;
}

.froobook-popup__media {
  background: #f5f5f5;
  height: 130px;
  margin-bottom: 8px;
  overflow: hidden;
}

.froobook-popup__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.froobook-popup__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow-y: auto;
  padding: 0;
}

.froobook-popup__close {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0;
  color: #151515;
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
  width: 38px;
  z-index: 2;
}

.froobook-popup__dialog--dark .froobook-popup__close {
  background: #151515;
  color: #ffffff;
}

.froobook-popup__close:hover,
.froobook-popup__close:focus {
  background: #fff86a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  color: #151515;
  outline: 0;
  transform: translateY(-1px);
}

.froobook-popup__close:active {
  box-shadow: none;
  transform: translateY(0);
}

.froobook-popup__dialog--dark .froobook-popup__close:hover,
.froobook-popup__dialog--dark .froobook-popup__close:focus {
  box-shadow: 0 8px 18px rgba(255, 255, 255, .16);
}

.froobook-popup__close-icon {
  height: 18px;
  position: relative;
  width: 18px;
}

.froobook-popup__close-icon::before,
.froobook-popup__close-icon::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: 2px;
  position: absolute;
  top: 8px;
  width: 14px;
}

.froobook-popup__close-icon::before {
  transform: rotate(45deg);
}

.froobook-popup__close-icon::after {
  transform: rotate(-45deg);
}

.froobook-popup__label {
  align-self: flex-start;
  background: #fff86a;
  color: #151515;
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  padding: 4px 16px;
  text-transform: uppercase;
}

.froobook-popup__dialog--dark .froobook-popup__label {
  background: transparent;
  color: #faa7bf;
}

.froobook-popup__title {
  font-size: 20px;
  font-weight: 900;
  line-height: 32px;
  margin: 0;
  text-transform: uppercase;
}

.froobook-popup__text,
.froobook-popup__disclaimer {
  font-size: 14px;
  line-height: 22px;
}

.froobook-popup__text p,
.froobook-popup__disclaimer p {
  margin: 0 0 10px;
}

.froobook-popup__text p:last-child,
.froobook-popup__disclaimer p:last-child {
  margin-bottom: 0;
}

.froobook-popup__disclaimer {
  color: #999999;
  font-size: 10px;
  line-height: 16px;
  text-transform: uppercase;
}

.froobook-popup__dialog--dark .froobook-popup__disclaimer {
  color: #c9c9c9;
}

.froobook-popup__dialog--dark .froobook-popup__text p {
  color: #ffffff;
}

.froobook-popup__dialog--dark .froobook-popup__disclaimer p {
  color: #c9c9c9;
}

.froobook-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0;
}

.froobook-popup__button {
  align-items: center;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 0;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  line-height: 22px;
  min-height: 54px;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.froobook-popup__button:hover,
.froobook-popup__button:focus {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  transform: translateY(-1px);
}

.froobook-popup__button:active {
  box-shadow: none;
  transform: translateY(0);
}

.froobook-popup__button--primary {
  background: #151515;
  color: #c9f76e;
}

.froobook-popup__button--primary:hover,
.froobook-popup__button--primary:focus {
  background: #2f2f2f;
  color: #c9f76e;
  outline: 0;
  text-decoration: none;
}

.froobook-popup__button--secondary,
.froobook-popup__button--snooze {
  background: #c9f76e;
  color: #151515;
}

.froobook-popup__button--secondary:hover,
.froobook-popup__button--secondary:focus,
.froobook-popup__button--snooze:hover,
.froobook-popup__button--snooze:focus {
  background: #b7e85a;
  color: #151515;
  outline: 0;
  text-decoration: none;
}

.froobook-popup__dialog--dark .froobook-popup__button--primary {
  background: #c9f76e;
  color: #151515;
}

.froobook-popup__dialog--dark .froobook-popup__button--secondary,
.froobook-popup__dialog--dark .froobook-popup__button--snooze {
  background: #c9f76e;
  color: #151515;
}

.froobook-popup__dialog--dark .froobook-popup__button:hover,
.froobook-popup__dialog--dark .froobook-popup__button:focus {
  box-shadow: 0 8px 18px rgba(255, 255, 255, .16);
}

@media (max-width: 1279px) {
  .froobook-popup__dialog {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .froobook-popup {
    padding: 30px;
  }

  .froobook-popup__dialog {
    max-height: calc(100vh - 24px);
    max-width: 300px;
  }

  .froobook-popup__media {
    height: 130px;
  }

  .froobook-popup__body {
    gap: 8px;
  }

  .froobook-popup__title {
    font-size: 20px;
    line-height: 32px;
  }

  .froobook-popup__actions {
    flex-direction: column;
    gap: 8px;
  }

  .froobook-popup__button {
    width: 100%;
  }
}
