/* Styles for Klaviyo popup form */
/* Overall Width */
/* Form width (has a .465 default scaling on mobile) */
[aria-modal=true] .klaviyo-form,
[aria-modal=true] .klaviyo-form > div:nth-of-type(1),
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) {
  width: 650px !important;
}

/* Close button */
.klaviyo-close-form {
  margin-right: 28px !important;
  margin-top: 28px !important;
}
.klaviyo-close-form svg {
  transform: scale(1.75);
}
.klaviyo-close-form svg circle {
  fill: rgba(55, 63, 71, 0);
}
.klaviyo-close-form svg path {
  stroke-width: 2.5;
}

/* Container + Layout */
[aria-modal=true] .klaviyo-form {
  /* Form Resets */
  display: block !important;
  padding: 0 !important;
  /* Image */
  /* Typography & Form */
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(1) {
  /* display: block !important; */
  width: 100% !important;
  margin: 0 !important;
  height: 202px !important;
}
@media screen and (max-width: 600px) {
  [aria-modal=true] .klaviyo-form > div:nth-of-type(1) > div {
    background-image: var(--subscribe-popup-image-url-mobile, url(https://www.lisabronner.com/wp-content/uploads/2022/11/Subscribe-Mobile-Lisa.jpg)) !important;
  }
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) {
  padding: 50px !important;
  min-height: 0 !important;
  width: auto !important;
  /* Heading */
  /* Copy */
  /* Form Inputs Row */
  /* Disclaimer */
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(1) p strong {
  display: block !important;
  padding: 0 0 20px !important;
  color: #A9C431 !important;
  font-size: 48px !important;
  line-height: 60px !important;
  font-family: "Museo Slab", serif !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(2) p,
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(2) p * {
  display: block !important;
  padding: 0 18px 10px !important;
  letter-spacing: 0px !important;
  font-size: 28px !important;
  line-height: 40px !important;
  font-family: "Museo Slab", serif !important;
  font-weight: 500 !important;
  color: #707070 !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(2) p:last-of-type {
  padding-bottom: 0 !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) {
  padding-top: 20px !important;
  padding-bottom: 30px !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) input[type=email],
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) button {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: 80px !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) input[type=email]::placeholder,
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) button::placeholder {
  font-size: 28px !important;
  line-height: 28px !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) input[type=email] {
  padding-left: 20px !important;
  font-size: 28px !important;
  line-height: 28px !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) button {
  width: 80px !important;
  height: 80px !important;
  font-size: 28px !important;
  line-height: 28px !important;
  padding: 0px !important;
  margin-left: 1px !important;
  background-image: url("../images/carousel-icon-next.svg") !important;
  background-size: auto 32px !important;
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;
  color: rgba(255, 255, 255, 0) !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(4) p {
  display: block !important;
  text-align: center !important;
  font-size: 24px !important;
  line-height: 36px !important;
  font-family: "Museo Slab", serif !important;
  font-style: italic !important;
  color: #707070 !important;
  font-weight: 500 !important;
}
[aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(4) p * {
  font-size: 24px !important;
  line-height: 36px !important;
}

@media only screen and (min-width: 750px) {
  /* Overall Width */
  /* Form width (has a .965 default scaling on desktop) */
  [aria-modal=true] .klaviyo-form {
    width: 800px !important;
    display: flex !important;
    flex-direction: row !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(1),
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) {
    flex: 0 0 50% !important;
  }
  /* Close button */
  .klaviyo-close-form {
    margin-right: 14px !important;
    margin-top: 14px !important;
  }
  .klaviyo-close-form svg {
    transform: scale(1);
  }
  .klaviyo-close-form svg path {
    stroke-width: 2.5;
    stroke: #ccc;
  }
  /* Container + Layout */
  [aria-modal=true] .klaviyo-form {
    /* Image */
    /* Typography & Form */
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(1) {
    /* display: block !important; */
    width: auto !important;
    margin: 0 !important;
    height: auto !important;
    background-position: 30% 50% !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) {
    padding: 75px 0 !important;
    min-height: 0 !important;
    width: auto !important;
    /* Heading */
    /* Copy */
    /* Form Inputs Row */
    /* Disclaimer */
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(1) p strong {
    display: block !important;
    padding: 0 25px 20px !important;
    color: #AEBF4D !important;
    font-size: 36px !important;
    line-height: 40px !important;
    font-family: "Museo Slab", serif !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(2) p,
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(2) p * {
    display: block !important;
    padding: 0 22px 5px !important;
    font-size: 18px !important;
    line-height: 26px !important;
    font-family: "Museo Slab", serif !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(2) p:last-of-type {
    padding-bottom: 0 !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) {
    padding-top: 10px !important;
    padding-bottom: 15px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) > div:nth-of-type(1) {
    padding-left: 50px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) > div:nth-of-type(2) {
    padding-right: 50px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) input[type=email],
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) button {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 45px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) input[type=email]::placeholder,
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) button::placeholder {
    font-size: 16px !important;
    line-height: 21px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) input[type=email] {
    padding-left: 15px !important;
    font-size: 16px !important;
    line-height: 21px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(3) button {
    width: 45px !important;
    height: 45px !important;
    font-size: 28px !important;
    line-height: 28px !important;
    padding: 0px !important;
    margin-left: 1px !important;
    background-size: auto 18px !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(4) p {
    display: block !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 18px !important;
    font-family: "Museo Slab", serif !important;
  }
  [aria-modal=true] .klaviyo-form > div:nth-of-type(2) [data-testid=form-row]:nth-of-type(4) p * {
    font-size: 12px !important;
    line-height: 18px !important;
  }
}
