/* ── lock body ──────────────────────────────────────────── */
body.wep-modal-open {
  overflow: hidden;
}

/* ── modal wrapper ──────────────────────────────────────── */
#wep-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#wep-modal.is-open {
  display: flex;
}

/* ── overlay ─────────────────────────────────────────────── */
#wep-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

/* ── box ─────────────────────────────────────────────────── */
#wep-modal-box {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #000;
  background-image: var(--wpr-bg-a8870641-b120-43d1-802b-37b43c098aa8);
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  padding: 50px 60px;
  box-sizing: border-box;
}

/* ── close ───────────────────────────────────────────────── */
#wep-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #6d6d6d;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  z-index: 2;
}

#wep-modal-close:hover {
  color: #fff;
}

/* ── headings ────────────────────────────────────────────── */
#wep-modal-title {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1em;
  color: #c9a227;
  text-align: center;
  margin: 0 0 16px;
}

#wep-modal-title .destl {
  color: #fff;
}

#wep-modal-step {
  font-family: "Archivo", sans-serif;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 1.5px;
  color: #fff;
  text-align: center;
  margin: 0 0 20px;
}

/* ── form ────────────────────────────────────────────────── */
#wep-modal-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wep-field {
  width: 100%;
}

.wep-field input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #464646;
  border: none;
  outline: none;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 33px;
  padding: 6px 14px;
  border-radius: 3px;
}

.wep-field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.wep-field input:focus {
  box-shadow: 0 0 0 2px rgba(144, 162, 64, 0.6);
}

/* ── error ───────────────────────────────────────────────── */
.wep-error {
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  color: #ff7070;
  text-align: center;
  margin: 2px 0 0;
}

/* ── submit button ───────────────────────────────────────── */
#wep-submit {
  display: block;
  width: 100%;
  margin-top: 4px;
  background-color: #90a240;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  padding: 14px 20px;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

#wep-submit:hover {
  background-color: #7d8e36;
}

/* ── consent ─────────────────────────────────────────────── */
#wep-consent {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #cfcfcf;
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

/* ── mobile ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  #wep-modal-box {
    padding: 60px 20px 30px;
  }

  #wep-modal-title {
    font-size: 24px;
  }

  #wep-modal-step {
    font-size: 16px;
  }

  #wep-consent {
    font-size: 9px;
  }
}
