.register-form .custom-checkbox,
.page-registration .custom-checkbox {
  display: block;
  margin: 14px 0;
}

.register-form .custom-checkbox label,
.page-registration .custom-checkbox label {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  line-height: 1.45;
}

.register-form .custom-checkbox input[type="checkbox"],
.page-registration .custom-checkbox input[type="checkbox"],
#registration .custom-checkbox input[type="checkbox"],
#checkout .custom-checkbox input[type="checkbox"] {
  height: 22px !important;
  left: 0;
  margin: 0 !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 2px;
  width: 22px !important;
  z-index: 2;
}

.register-form .custom-checkbox input[type="checkbox"] + span,
.page-registration .custom-checkbox input[type="checkbox"] + span,
#registration .custom-checkbox input[type="checkbox"] + span,
#checkout .custom-checkbox input[type="checkbox"] + span {
  align-items: center;
  background: #fff;
  border: 2px solid #7a8a83;
  border-radius: 5px;
  display: inline-flex !important;
  flex: 0 0 22px;
  height: 22px !important;
  justify-content: center;
  margin: 2px 12px 0 0;
  min-height: 22px;
  min-width: 22px;
  position: relative;
  width: 22px !important;
}

.register-form .custom-checkbox input[type="checkbox"] + span .checkbox-checked,
.page-registration .custom-checkbox input[type="checkbox"] + span .checkbox-checked,
#registration .custom-checkbox input[type="checkbox"] + span .checkbox-checked,
#checkout .custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  color: #fff;
  display: none;
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  width: 17px;
}

.register-form .custom-checkbox input[type="checkbox"]:checked + span,
.page-registration .custom-checkbox input[type="checkbox"]:checked + span,
#registration .custom-checkbox input[type="checkbox"]:checked + span,
#checkout .custom-checkbox input[type="checkbox"]:checked + span {
  background: #208074;
  border-color: #208074;
}

.register-form .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked,
.page-registration .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked,
#registration .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked,
#checkout .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked {
  display: block;
}

.register-form .custom-checkbox label,
.page-registration .custom-checkbox label,
#registration .custom-checkbox label,
#checkout .custom-checkbox label {
  position: relative;
}

#checkout .custom-checkbox {
  display: block !important;
  margin: 14px 0;
  width: 100%;
}

#checkout .custom-checkbox label {
  align-items: flex-start;
  display: block !important;
  line-height: 1.45;
  max-width: 100%;
  min-height: 26px;
  padding-left: 34px !important;
  width: 100%;
}

#checkout .custom-checkbox input[type="checkbox"] {
  left: 0;
  top: 2px;
}

#checkout .custom-checkbox input[type="checkbox"] + span {
  left: 0;
  margin-right: 0;
  position: absolute;
  top: 2px;
}

#checkout .custom-checkbox label > span:not(:first-of-type),
#checkout .custom-checkbox label > p,
#checkout .custom-checkbox label > div {
  min-width: 0;
}

#checkout .custom-checkbox .pp-registration-consent,
#checkout .custom-checkbox .pp-registration-consent__label,
#checkout .custom-checkbox .pp-registration-consent__helper,
#checkout .custom-checkbox .pp-legal-linked-consent {
  display: block !important;
  flex: none !important;
  height: auto !important;
  margin-top: 0 !important;
  max-width: 100%;
  min-width: 0;
  position: static !important;
  width: 100% !important;
}

.register-form .custom-checkbox input[type="checkbox"]:focus-visible + span,
.page-registration .custom-checkbox input[type="checkbox"]:focus-visible + span,
#registration .custom-checkbox input[type="checkbox"]:focus-visible + span,
#checkout .custom-checkbox input[type="checkbox"]:focus-visible + span,
.pp-marketing-consents__card input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(32, 128, 116, 0.28);
  outline-offset: 2px;
}

.pp-registration-consent {
  color: #2c2a25;
  display: block;
  max-width: 760px;
}

.pp-registration-consent__label {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
}

.pp-registration-consent__helper {
  color: #6f6760;
  display: block;
  font-size: 0.86rem;
  font-weight: 400;
  margin-top: 4px;
}

.pp-registration-consent a,
.pp-marketing-consents a {
  color: #208074;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pp-marketing-consents {
  margin: 24px 0;
}

.pp-marketing-consents__card {
  background: #fff;
  border: 1px solid #ebe6dd;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(31, 41, 51, 0.06);
  margin-bottom: 14px;
  padding: 18px;
}

.pp-marketing-consents__card label {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.pp-marketing-consents__card input {
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  accent-color: #208074;
  flex: 0 0 18px;
  height: 18px !important;
  margin-top: 5px;
  min-height: 18px;
  min-width: 18px;
  opacity: 1 !important;
  position: static !important;
  width: 18px !important;
}

.pp-marketing-consents__title {
  display: block;
  font-weight: 800;
}

.pp-marketing-consents__helper {
  color: #6f6760;
  display: block;
  font-size: 0.9rem;
  margin-top: 4px;
}

.pp-marketing-consents__notice {
  background: #eaf6f4;
  border: 1px solid rgba(32, 128, 116, 0.24);
  border-radius: 12px;
  color: #285f56;
  margin: 0 0 18px;
  padding: 12px 14px;
}

@media (max-width: 480px) {
  .register-form .custom-checkbox label,
  .page-registration .custom-checkbox label,
  .pp-marketing-consents__card label {
    gap: 10px;
  }

  .pp-registration-consent__label,
  .pp-marketing-consents__title {
    font-size: 0.94rem;
  }

  .pp-registration-consent__helper,
  .pp-marketing-consents__helper {
    font-size: 0.84rem;
  }
}
