.wn-newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wn-newsletter-popup[hidden] {
  display: none !important;
}

.wn-newsletter-popup.is-visible {
  display: flex;
}

.wn-newsletter-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.wn-newsletter-popup__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(92vh, 720px);
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

@media (min-width: 768px) {
  .wn-newsletter-popup__dialog {
    grid-template-columns: 1fr 1fr;
  }
}

.wn-newsletter-popup__media {
  display: none;
  min-height: 100%;
  background: #111827;
}

@media (min-width: 768px) {
  .wn-newsletter-popup__media {
    display: block;
  }
}

.wn-newsletter-popup__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wn-newsletter-popup__panel {
  position: relative;
  padding: 28px 24px 24px;
  overflow-y: auto;
}

.wn-newsletter-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.wn-newsletter-popup__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.wn-newsletter-popup__lead {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.5;
}

.wn-newsletter-popup__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #0f172a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wn-newsletter-popup__interests {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.wn-newsletter-popup__interests legend {
  margin-bottom: 10px;
  font-weight: 600;
  color: #0f172a;
}

.wn-newsletter-popup__interest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.wn-newsletter-popup__interest-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #334155;
}

.wn-newsletter-popup__interest-list input {
  width: 16px;
  height: 16px;
  accent-color: #ea580c;
}

.wn-newsletter-popup__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.wn-newsletter-popup__submit {
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border: 0;
  background: #ea580c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.wn-newsletter-popup__submit:hover,
.wn-newsletter-popup__submit:focus {
  background: #c2410c;
}

.wn-newsletter-popup__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.wn-newsletter-popup__message {
  min-height: 1.25em;
  margin: 12px 0 0;
  font-size: 14px;
}

.wn-newsletter-popup__message.is-success {
  color: #15803d;
}

.wn-newsletter-popup__message.is-error {
  color: #b91c1c;
}

.wn-newsletter-popup__decline {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #64748b;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

.wn-newsletter-popup__privacy {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
}

.wn-newsletter-popup__privacy a {
  color: #64748b;
}

.wn-newsletter-popup__thanks[hidden],
.wn-newsletter-popup__signup[hidden] {
  display: none !important;
}

.wn-newsletter-popup__thanks {
  text-align: center;
}

.wn-newsletter-popup__thanks .wn-newsletter-popup__title {
  margin-bottom: 10px;
}

.wn-newsletter-popup__thanks-lead {
  margin-bottom: 20px;
}

.wn-newsletter-popup__coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.wn-newsletter-popup__coupon-input {
  flex: 1 1 180px;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 2px dashed #ea580c;
  background: #fff7ed;
  color: #0f172a;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  cursor: text;
}

.wn-newsletter-popup__copy {
  flex: 0 0 auto;
  padding: 14px 20px;
  border: 0;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.wn-newsletter-popup__copy:hover,
.wn-newsletter-popup__copy:focus {
  background: #1e293b;
}

.wn-newsletter-popup__thanks-email {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.wn-newsletter-popup__continue {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: #ea580c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.wn-newsletter-popup__continue:hover,
.wn-newsletter-popup__continue:focus {
  background: #c2410c;
}

body.wn-newsletter-popup-open {
  overflow: hidden;
}
