.mkt-popup {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

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

.mkt-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 7, 6, .58);
}

.mkt-popup__panel {
  position: relative;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
}

.mkt-popup__media { min-height: 220px; background: #f2eee8; }
.mkt-popup__img { width: 100%; height: 100%; object-fit: cover; }
.mkt-popup__body { padding: 20px; }
.mkt-popup__title { margin: 0 0 8px; font-size: 28px; line-height: 1.15; }
.mkt-popup__content { margin: 0 0 14px; color: rgba(26, 23, 20, .75); }
.mkt-popup__cta, .mkt-popup__form .hc-btn { width: 100%; }
.mkt-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, .06);
}

@media (max-width: 760px) {
  .mkt-popup__panel {
    width: calc(100vw - 16px);
    grid-template-columns: 1fr;
  }
  .mkt-popup__media { min-height: 160px; }
}
