body.woocommerce-checkout .wc-block-components-checkbox.wc-block-checkout__newsletter-opt-in,
body.woocommerce-checkout .wc-block-components-address-form__email + .wc-block-components-checkbox,
body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkbox:has(input[id*="mailchimp"]),
body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkbox:has(input[id*="newsletter"]),
body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkbox:has(input[name*="mailchimp"]),
body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkbox:has(input[name*="newsletter"]) {
  display: none !important;
}

body.woocommerce-checkout .haugli-newsletter-optin {
  display: block;
  background: #fff !important;
}

body.woocommerce-checkout .haugli-newsletter-optin__title {
  margin: 0 0 20px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #111111 !important;
}

body.woocommerce-checkout .haugli-newsletter-optin__benefits {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

body.woocommerce-checkout .haugli-newsletter-optin__benefits li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 32px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 400;
  color: #111111;
}

body.woocommerce-checkout .haugli-newsletter-optin__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: #de7638;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

body.woocommerce-checkout .haugli-newsletter-optin__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #de7638;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

body.woocommerce-checkout .haugli-newsletter-optin__cta input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.woocommerce-checkout .haugli-newsletter-optin__cta-box {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #ffffff;
  flex: 0 0 24px;
}

body.woocommerce-checkout .haugli-newsletter-optin__cta input[type="checkbox"]:checked + .haugli-newsletter-optin__cta-box::after {
  content: '✓';
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  color: #de7638;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

body.woocommerce-checkout .haugli-newsletter-optin__cta-text {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

body.woocommerce-checkout .haugli-newsletter-optin__help {
  display: none !important;
}

@media (max-width: 767px) {
  body.woocommerce-checkout .haugli-newsletter-optin__title {
    font-size: 24px !important;
  }

  body.woocommerce-checkout .haugli-newsletter-optin__benefits {
    margin-bottom: 24px;
  }

  body.woocommerce-checkout .haugli-newsletter-optin__benefits li {
    padding-left: 30px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  body.woocommerce-checkout .haugli-newsletter-optin__benefits li::before {
    font-size: 22px;
  }

  body.woocommerce-checkout .haugli-newsletter-optin__cta {
    width: auto;
    min-height: 50px;
    padding: 10px 14px;
    gap: 8px;
    justify-content: flex-start;
  }

  body.woocommerce-checkout .haugli-newsletter-optin__cta-box {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  body.woocommerce-checkout .haugli-newsletter-optin__cta-text {
    font-size: 18px;
  }
}
