.fjord-home-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.fjord-home-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fjord-home-popup__card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  width: min(420px, calc(100% - 48px));
  box-shadow: 0 20px 60px rgba(14, 16, 17, 0.35);
  text-align: center;
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fjord-home-popup__title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 8px 0 16px;
  color: #101010;
  text-transform: uppercase;
}

.fjord-home-popup__subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(14, 16, 17, 0.6);
  margin-bottom: 20px;
}

.fjord-home-popup__input {
  width: 100%;
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(14, 16, 17, 0.15);
  font-size: 14px;
  margin-bottom: 16px;
  background: #f6f6f6;
}

.fjord-home-popup__button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px;
  background: var(--fjord-popup-button-bg, #191919);
  color: var(--fjord-popup-button-text, #ffffff);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fjord-home-popup__button:hover {
  transform: translateY(-2px);
}

.fjord-home-popup__note {
  font-size: 12px;
  color: rgba(14, 16, 17, 0.6);
  margin-top: 18px;
}

.fjord-home-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: rgba(14, 16, 17, 0.4);
  cursor: pointer;
}

.fjord-home-popup.is-visible .fjord-home-popup__overlay {
  opacity: 1;
}

.fjord-home-popup.is-visible .fjord-home-popup__card {
  opacity: 1;
  transform: translateY(0);
}
.fjord-home-popup__discount {
  font-size: clamp(36px, 5vw, 48px);
  margin: 0 0 16px;
  font-weight: 700;
  color: #1f1f1f;
}

.fjord-home-popup__promo {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  margin: 0 0 12px;
}

.fjord-home-popup__notice {
  font-size: 18px;
  color: rgba(14, 16, 17, 0.8);
  margin: 0 0 16px;
}

.fjord-home-popup__newsletter .fjord-home-popup__input,
.fjord-home-popup__newsletter form {
  margin-bottom: 8px;
}

.fjord-home-popup__newsletter .wpcf7 {
  width: 100%;
}

.fjord-home-popup__newsletter .wpcf7 input[type="email"] {
  width: 100%;
  box-sizing: border-box;
}

.fjord-home-popup__newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.fjord-home-popup__newsletter label {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 4px;
  text-transform: none;
}

.fjord-home-popup__newsletter input,
.fjord-home-popup__newsletter textarea,
.fjord-home-popup__newsletter select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #f7f7f7;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border 0.2s ease, background 0.2s ease;
}

.fjord-home-popup__newsletter input:focus,
.fjord-home-popup__newsletter textarea:focus,
.fjord-home-popup__newsletter select:focus {
  border-color: #222;
  background: #ffffff;
  outline: none;
}

.fjord-home-popup__newsletter .wpcf7-form-control.wpcf7-textarea {
  min-height: 120px;
  border-radius: 20px;
}

.fjord-home-popup__newsletter .wpcf7-form-control.wrap-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fjord-home-popup__newsletter .wpcf7-form-control.wpcf7-acceptance {
  font-size: 13px;
  color: rgba(14, 16, 17, 0.8);
}

.fjord-home-popup__newsletter .wpcf7-submit {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: none;
  background: #101010;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fjord-home-popup__newsletter .wpcf7-submit:hover {
  transform: translateY(-1px);
  background: #2d2d2d;
}

.fjord-home-popup__newsletter .wpcf7-response-output {
  margin-top: 6px;
  font-size: 13px;
}

.fjord-home-popup__newsletter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.fjord-home-popup__newsletter-body.is-hidden {
  display: none;
}

.fjord-home-popup__newsletter-success {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  background: #f1f1f1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  align-items: center;
  text-align: center;
}

.fjord-home-popup__newsletter-success.is-visible {
  display: flex;
}

.fjord-home-popup__newsletter-success-label {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14, 16, 17, 0.75);
  margin: 0;
}

.fjord-home-popup__newsletter-success-code {
  margin: 0;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.fjord-home-popup__newsletter-success-note {
  margin: 0;
  font-size: 13px;
  color: rgba(14, 16, 17, 0.85);
}
