/* DealOffer newsletter popup */
#tf_form_popuphtml.dealoffer-popup-seen #tf_form_popup,
html.dealoffer-popup-seen .modal-backdrop {
	display: none !important;
}

.dealoffer-popup-modal {
  --do-red: #e01b23;
  --do-red-dark: #c4111c;
  --do-ink: #101b29;
  --do-body: #3f4753;
  --do-muted: #6b7280;
  --do-pink: #fce6eb;
  --do-pill: #fcdbe1;
  --do-border: #d9d4d6;
  --do-line: #e8e4e6;
  font-family: "Plus Jakarta Sans", "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  z-index: 1000000;
}

#tf_form_popup.dealoffer-popup-modal * {
  box-sizing: border-box;
}

#tf_form_popup .modal-dialog.dealoffer-popup-dialog {
  max-width: 560px;
  width: calc(100% - 32px);
  margin: 24px auto;
}

#tf_form_popup .modal-content.dealoffer-popup-card {
  position: relative;
  display: block !important;
  width: 100%;
  max-height: calc(100vh - 48px);
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0 !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.4);
  font-family: inherit;
  scrollbar-width: thin;
}

#tf_form_popup .dealoffer-popup-hero {
  background: #fdf1f3;
}

#tf_form_popup .dealoffer-popup-hero img {
  display: block;
  width: 100%;
  height: auto;
}

#tf_form_popup .dealoffer-popup-close {
  position: absolute;
  top: 20px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fbdde4;
  color: var(--do-red);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#tf_form_popup .dealoffer-popup-close:hover {
  background: var(--do-red);
  color: #fff;
}

#tf_form_popup .dealoffer-popup-close:focus-visible {
  outline: 3px solid rgba(224, 27, 35, 0.35);
  outline-offset: 2px;
}

#tf_form_popup .dealoffer-popup-content {
  padding: 2px 40px 52px;
  background: #fff;
  text-align: center;
}

#tf_form_popup .dealoffer-popup-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
}

#tf_form_popup .dealoffer-popup-spark {
  flex: 0 0 auto;
  width: 30px;
  height: 32px;
  color: var(--do-red);
}

#tf_form_popup .dealoffer-popup-spark--right {
  transform: scaleX(-1);
}

#tf_form_popup .dealoffer-popup-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--do-pill);
  color: #d4131f;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

#tf_form_popup .dealoffer-popup-title {
  margin: 0 0 4px;
  color: var(--do-ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.2px;
}

#tf_form_popup .dealoffer-popup-description {
  max-width: 460px;
  margin: 0 auto;
  color: var(--do-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.05px;
}

#tf_form_popup .dealoffer-popup-desc-break {
  display: block;
}

#tf_form_popup .dealoffer-popup-form-wrap {
  margin: 20px 0 0;
}

#tf_form_popup .dealoffer-popup-form-wrap .mc4wp-form {
  margin: 0;
}

#tf_form_popup .dealoffer-popup-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#tf_form_popup .dealoffer-popup-field {
  position: relative;
}

#tf_form_popup .dealoffer-popup-field input[type="email"] {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px 0 50px;
  border: 1px solid var(--do-border);
  border-radius: 10px;
  background: #fff;
  color: var(--do-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#tf_form_popup .dealoffer-popup-field input[type="email"]::placeholder {
  color: var(--do-muted);
  font-weight: 400;
}

#tf_form_popup .dealoffer-popup-field input[type="email"]:focus {
  border-color: var(--do-red);
  box-shadow: 0 0 0 4px rgba(224, 27, 35, 0.1);
}

#tf_form_popup .dealoffer-popup-field-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  display: inline-flex;
  color: var(--do-red);
  pointer-events: none;
  transform: translateY(-50%);
}

#tf_form_popup .dealoffer-popup-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #da242a 0%, #c6121e 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#tf_form_popup .dealoffer-popup-submit:hover {
  background: linear-gradient(180deg, #c91219 0%, #ad0c16 100%);
  box-shadow: 0 10px 22px rgba(198, 18, 30, 0.25);
}

#tf_form_popup .dealoffer-popup-submit:active {
  transform: translateY(1px);
}

#tf_form_popup .dealoffer-popup-submit:focus-visible {
  outline: 3px solid rgba(224, 27, 35, 0.35);
  outline-offset: 2px;
}

#tf_form_popup .dealoffer-popup-submit-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
}

#tf_form_popup .dealoffer-popup-submit:hover .dealoffer-popup-submit-arrow {
  transform: translateX(4px);
}

#tf_form_popup .dealoffer-popup-form-wrap .mc4wp-response {
  margin-top: 14px;
  color: var(--do-ink);
  font-size: 13px;
  line-height: 1.5;
}

#tf_form_popup .dealoffer-popup-form-wrap .mc4wp-response .mc4wp-alert {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--do-pink);
  color: var(--do-red-dark);
}

#tf_form_popup .dealoffer-popup-form-wrap .mc4wp-response .mc4wp-success {
  background: #ecfdf3;
  color: #067647;
}

#tf_form_popup .dealoffer-popup-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin-top: 35px;
}

#tf_form_popup .dealoffer-popup-benefit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 0 14px;
  color: var(--do-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

#tf_form_popup .dealoffer-popup-benefit:nth-child(n + 2)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 44px;
  background: var(--do-line);
  transform: translateY(-50%);
}

#tf_form_popup .dealoffer-popup-benefit-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--do-red);
}

#tf_form_popup .dealoffer-popup-benefit-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

#tf_form_popup .modal-backdrop.show {
  opacity: 0.6;
}

@media (max-width: 600px) {
  #tf_form_popup .modal-dialog.dealoffer-popup-dialog {
    width: calc(100% - 24px);
    margin: 12px auto;
  }

  #tf_form_popup .modal-content.dealoffer-popup-card {
    max-height: calc(100vh - 24px);
    border-radius: 22px !important;
  }

  #tf_form_popup .dealoffer-popup-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }

  #tf_form_popup .dealoffer-popup-content {
    padding: 4px 22px 32px;
  }

  #tf_form_popup .dealoffer-popup-eyebrow {
    gap: 8px;
    margin-top: 6px;
  }

  #tf_form_popup .dealoffer-popup-spark {
    width: 26px;
    height: 28px;
  }

  #tf_form_popup .dealoffer-popup-pill {
    min-height: 42px;
    padding: 0 18px;
    font-size: 16px;
  }

  #tf_form_popup .dealoffer-popup-title {
    margin: 4px 0 7px;
    font-size: 26px;
    letter-spacing: -0.2px;
  }

  #tf_form_popup .dealoffer-popup-description {
    font-size: 14px;
  }

  #tf_form_popup .dealoffer-popup-form-wrap {
    margin-top: 18px;
  }

  #tf_form_popup .dealoffer-popup-form-fields {
    gap: 14px;
  }

  #tf_form_popup .dealoffer-popup-field input[type="email"],
  #tf_form_popup .dealoffer-popup-submit {
    height: 46px;
    min-height: 46px;
    font-size: 14px;
  }

  #tf_form_popup .dealoffer-popup-benefits {
    margin-top: 28px;
  }

  #tf_form_popup .dealoffer-popup-benefit {
    gap: 8px;
    padding: 0 8px;
    font-size: 12px;
  }

  #tf_form_popup .dealoffer-popup-benefit:nth-child(n + 2)::before {
    height: 36px;
  }

  #tf_form_popup .dealoffer-popup-benefit-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  #tf_form_popup .dealoffer-popup-desc-break {
    display: none;
  }
}

@media (max-width: 380px) {
  #tf_form_popup .dealoffer-popup-content {
    padding: 4px 16px 26px;
  }

  #tf_form_popup .dealoffer-popup-spark {
    display: none;
  }

  #tf_form_popup .dealoffer-popup-pill {
    font-size: 15px;
  }

  #tf_form_popup .dealoffer-popup-title {
    font-size: 23px;
  }

  #tf_form_popup .dealoffer-popup-benefit {
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
    font-size: 11px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tf_form_popup .dealoffer-popup-close,
  #tf_form_popup .dealoffer-popup-submit,
  #tf_form_popup .dealoffer-popup-submit-arrow {
    transition: none;
  }

  #tf_form_popup .dealoffer-popup-submit:active,
  #tf_form_popup .dealoffer-popup-submit:hover .dealoffer-popup-submit-arrow {
    transform: none;
  }
}
