/* Shared form language across the local site preview. Keep each form's fields and behavior intact. */
:root {
  --form-ink: #1d2939;
  --form-muted: #536571;
  --form-border: #d7e2e4;
  --form-mint: #64d9b9;
  --form-focus: rgba(55, 174, 145, .18);
}

/* Main inquiry forms: identical labels, fields, spacing and states. */
html body #peptide-catalog :is(.newsletter-inquiry-form, .inquiry-modal-form) label,
html body #peptide-footer .footer-inquiry-form label,
html body form[data-verify-form] label {
  gap: 8px !important;
  margin: 0 !important;
  color: var(--form-muted) !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}
html body #peptide-catalog .inquiry-modal-form label > span:first-child {
  color: var(--form-muted) !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}
html body #peptide-footer .footer-inquiry-form label {
  color: #b9c8cf !important;
}

html body #peptide-catalog :is(.newsletter-inquiry-form, .inquiry-modal-form) :is(input:not([type="checkbox"]):not([type="hidden"]), textarea),
html body #peptide-footer .footer-inquiry-form :is(input:not([type="checkbox"]), textarea),
html body form[data-verify-form] :is(input[name="contact"], select[name="method"]),
html:root body[data-typography] form.wpcf7-form :is(input.wpcf7-text, input.wpcf7-email, input.wpcf7-tel, input.wpcf7-number, textarea.wpcf7-textarea),
html:root body[data-typography] form.comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--form-border) !important;
  border-radius: 8px !important;
  outline: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--form-ink) !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
html body #peptide-catalog :is(.newsletter-inquiry-form, .inquiry-modal-form) textarea,
html body #peptide-footer .footer-inquiry-form textarea,
html:root body[data-typography] form.wpcf7-form textarea.wpcf7-textarea,
html:root body[data-typography] form.comment-form textarea {
  height: auto !important;
  min-height: 132px !important;
  padding: 14px 16px !important;
  line-height: 1.55 !important;
  resize: vertical !important;
}
html body #peptide-catalog :is(.newsletter-inquiry-form, .inquiry-modal-form) :is(input, textarea)::placeholder,
html body #peptide-footer .footer-inquiry-form :is(input, textarea)::placeholder,
html body form[data-verify-form] input::placeholder,
html:root body[data-typography] form.wpcf7-form :is(input, textarea)::placeholder,
html:root body[data-typography] form.comment-form :is(input, textarea)::placeholder {
  color: #8a9aa4 !important;
  opacity: 1 !important;
}
html body #peptide-catalog :is(.newsletter-inquiry-form, .inquiry-modal-form) :is(input:not([type="checkbox"]), textarea):focus,
html body #peptide-footer .footer-inquiry-form :is(input:not([type="checkbox"]), textarea):focus,
html body form[data-verify-form] :is(input[name="contact"], select[name="method"]):focus,
html:root body[data-typography] form.wpcf7-form :is(input, textarea):focus,
html:root body[data-typography] form.comment-form :is(input, textarea):focus {
  border-color: #39af91 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px var(--form-focus) !important;
}

/* One button family for full forms; search controls are handled separately. */
html body #peptide-catalog :is(.newsletter-inquiry-submit, .inquiry-form-bottom button[type="submit"]),
html body #peptide-footer .footer-inquiry-submit,
html body form[data-verify-form] button[type="submit"],
html:root body[data-typography] form.wpcf7-form input[type="submit"],
html:root body[data-typography] form.comment-form input[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 168px !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 26px !important;
  border: 1px solid var(--form-mint) !important;
  border-radius: 999px !important;
  background: var(--form-mint) !important;
  box-shadow: none !important;
  color: var(--form-ink) !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease !important;
}
html body #peptide-catalog :is(.newsletter-inquiry-submit, .inquiry-form-bottom button[type="submit"]):hover,
html body #peptide-footer .footer-inquiry-submit:hover,
html body form[data-verify-form] button[type="submit"]:hover,
html:root body[data-typography] form.wpcf7-form input[type="submit"]:hover,
html:root body[data-typography] form.comment-form input[type="submit"]:hover {
  border-color: #8ae5cd !important;
  background: #8ae5cd !important;
  color: var(--form-ink) !important;
}
html body #peptide-catalog :is(.newsletter-inquiry-submit, .inquiry-form-bottom button[type="submit"]):focus-visible,
html body #peptide-footer .footer-inquiry-submit:focus-visible,
html body form[data-verify-form] button[type="submit"]:focus-visible,
html:root body[data-typography] form.wpcf7-form input[type="submit"]:focus-visible,
html:root body[data-typography] form.comment-form input[type="submit"]:focus-visible {
  outline: 2px solid #268f76 !important;
  outline-offset: 3px !important;
}

/* Home card and product modal use the same surface treatment. */
html body #peptide-catalog .newsletter-inquiry-form {
  gap: 16px !important;
  padding: 28px !important;
  border: 1px solid #e2ecec !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(21, 54, 57, .09) !important;
}
html body #peptide-catalog .inquiry-modal-dialog {
  border: 1px solid #e2ecec !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 70px rgba(15, 37, 45, .18) !important;
}
html body #peptide-footer .footer-inquiry-form textarea {
  min-height: 104px !important;
}
html body #peptide-catalog .inquiry-modal-form .inquiry-full {
  margin-top: 24px !important;
}

/* Contact verification uses the same field and button family as the inquiry forms. */
html body form[data-verify-form] .nhd-verify-fields {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 16px;
}
html body form[data-verify-form] label { display: grid; min-width: 0; }
html body form[data-verify-form] label > span { display: block; }
html body form[data-verify-form] select[name="method"] { padding-right: 32px !important; }
html body form[data-verify-form] .nhd-verify-help {
  margin: 14px 0 20px;
  color: var(--form-muted);
  font-size: 13px;
  line-height: 1.55;
}
html body form[data-verify-form] button[type="submit"] { gap: 12px; align-self: flex-start; }
html body form[data-verify-form] .nhd-verify-result { width: 100%; margin: 20px 0 0; }
html body form[data-verify-form] .nhd-verify-result[hidden] { display: none !important; }
html body form[data-verify-form] .nhd-verify-result strong { display: block; color: var(--form-ink); }
html body form[data-verify-form] .nhd-verify-result p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
html body form[data-verify-form] .nhd-verify-result[data-result-state="unknown"] { border-left-color: #c49a53; }
html body form[data-verify-form] .nhd-verify-result[data-result-state="invalid"] { border-left-color: #b73c3c; }

/* General contact: name, work email and one useful open question. */
html:root body[data-typography] form.peptide-contact-form .peptide-contact-intro {
  display: block !important;
  grid-template-areas: none !important;
  max-width: 720px !important;
  margin: 0 0 18px !important;
  color: var(--form-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
html:root body[data-typography] form.peptide-contact-form .peptide-contact-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}
html:root body[data-typography] form.peptide-contact-form .peptide-contact-fields label {
  display: grid !important;
  grid-area: auto !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  color: var(--form-muted) !important;
  font-family: var(--font-body, Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}
html:root body[data-typography] form.peptide-contact-form .peptide-contact-fields label.peptide-contact-message {
  grid-area: auto / 1 / auto / -1 !important;
}

/* Legacy contact forms, used on the contact and several template pages. */
html:root body[data-typography] form.wpcf7-form .wpcf7-form-control-wrap {
  display: block !important;
  max-width: 100% !important;
  margin-bottom: 14px !important;
}
html:root body[data-typography] form.wpcf7-form p:not(.offline-notice) > br {
  display: none !important;
}
html:root body[data-typography] form.wpcf7-form .offline-notice,
html:root body[data-typography] form.comment-form .offline-notice {
  margin: 0 0 18px !important;
  padding: 12px 16px !important;
  border: 1px solid #cae8de !important;
  border-left: 3px solid #39af91 !important;
  border-radius: 6px !important;
  background: #f1faf7 !important;
  color: #3c6259 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
html:root body[data-typography] form.wpcf7-form .wpcf7-response-output {
  margin: 14px 0 0 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
}

/* Comment forms keep their native fields and use the same grid rhythm. */
html:root body[data-typography] form.comment-form .form-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 !important;
}
html:root body[data-typography] form.comment-form .form-group > label:first-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}
html:root body[data-typography] form.comment-form .form-group > label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  order: 0 !important;
}
html:root body[data-typography] form.comment-form .input-wrapper {
  margin-top: 22px !important;
}

/* Product search has a compact variant of the same field and accent. */
html body #peptide-catalog .products-page .sidebar-search {
  height: 52px !important;
  border: 1px solid var(--form-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  overflow: hidden !important;
}
html body #peptide-catalog .products-page .sidebar-search input {
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--form-ink) !important;
  font-size: 14px !important;
}
html body #peptide-catalog .products-page .sidebar-search:focus-within {
  border-color: #39af91 !important;
  box-shadow: 0 0 0 4px var(--form-focus) !important;
}
html body #peptide-catalog .products-page .sidebar-search button {
  flex: 0 0 52px !important;
  width: 52px !important;
  border-radius: 0 !important;
  background: var(--form-mint) !important;
}

@media (max-width: 767px) {
  html body form[data-verify-form] .nhd-verify-fields { grid-template-columns: minmax(0, 1fr); }
  html body #peptide-catalog .newsletter-inquiry-form { padding: 20px !important; }
  html:root body[data-typography] form.peptide-contact-form .peptide-contact-fields {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html:root body[data-typography] form.comment-form .form-group {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Official-contact verification: shared fields and brand tokens, approved layout. */
html body .nhd-verification {color:var(--form-ink);font-family:var(--font-body,Arial,sans-serif)}
html body .nhd-verification .nhd-shell {width:min(var(--site-shell,1320px),calc(100% - 96px));margin-inline:auto}
html body .nhd-verify-home {position:relative;width:100vw;max-width:none;margin-left:calc(50% - 50vw);padding:96px 0 104px;background:#f3f8f7 url('../media/verification/contact-wave.png') right bottom/cover no-repeat;border-bottom:1px solid var(--form-mint)}
html body .nhd-verification .nhd-verify-layout {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:72px}
html body .nhd-verify-home .nhd-eyebrow {position:relative;padding-top:22px;border-top:0;width:fit-content;margin:0 0 18px;color:#269b81;font-size:13px;letter-spacing:.04em;text-transform:none}
html:root body .nhd-verify-home h2 {font-family:var(--font-display,Arial,sans-serif)!important;font-size:clamp(32px,3.6vw,48px)!important;line-height:1.18!important;font-weight:700!important;letter-spacing:-.035em!important;color:#203640!important;margin:0 0 22px!important}
html body .nhd-verify-home .nhd-verify-intro {max-width:570px;margin:0;color:var(--form-muted);font-size:17px;line-height:1.8}
html body .nhd-verification .nhd-verify-panel-link {display:inline-flex;align-items:center;gap:14px;margin-top:30px;color:#249d82;font-size:14px;font-weight:650;text-decoration:none}
html body .nhd-verification .nhd-verify-panel-link:hover {color:#16745f;text-decoration:underline}
html body .nhd-verification .nhd-verify-panel-link .fa {font-size:12px}
html body .nhd-verification form.nhd-verify-form {display:flex;flex-direction:column;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
html body .nhd-verification .nhd-verify-methods {display:grid;grid-template-columns:1fr 1fr;gap:0;background:#eaf1f2;border-radius:17px;margin-bottom:20px;padding:0}
html body .nhd-verification .nhd-verify-methods button {min-width:0;min-height:48px;border:1px solid transparent;border-radius:17px;padding:10px 16px;background:transparent;color:#3b5260;font-family:inherit;font-size:14px;font-weight:500;cursor:pointer;line-height:1.4;box-shadow:none;transition:background .18s,border-color .18s}
html body .nhd-verification .nhd-verify-methods button[aria-pressed="true"] {background:#fff;border-color:#b9e9dc;color:#146f5c;font-weight:650;box-shadow:0 1px 3px #21394308}
html body .nhd-verification .nhd-verify-methods button:hover {color:#146f5c}
html body .nhd-verification .nhd-verify-methods button:focus-visible {outline:2px solid #278e75;outline-offset:3px}
html body form[data-verify-form] label.nhd-verify-label {display:block;margin:0 0 10px!important;color:#334d5a!important}
html body form[data-verify-form] label.nhd-verify-label-compact {position:absolute;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body .nhd-verification .nhd-verify-input-wrap {position:relative;margin:0 0 16px}
html body .nhd-verification .nhd-verify-input-wrap>[data-verify-input-icon] {position:absolute;left:17px;top:50%;transform:translateY(-50%);font-size:19px;color:#6f8490;pointer-events:none}
html body .nhd-verification form[data-verify-form] input[name="contact"] {padding-left:48px!important;height:56px!important}
html body .nhd-verification form[data-verify-form] button[type="submit"] {width:100%;height:56px!important;min-height:56px!important;gap:18px}
html body .nhd-verification form[data-verify-form] .nhd-verify-help {margin:15px 0 0;color:#75868e;font-size:12px;line-height:1.65}
html body .nhd-verification .nhd-verify-result {border:1px solid #c5e5d9;border-radius:8px;background:#f1f9f5;padding:20px!important}
html body .nhd-verification .nhd-verify-result[data-result-state="unknown"] {background:#fffaf0;border-color:#e4d8b6}
html body .nhd-verification .nhd-verify-result[data-result-state="invalid"] {background:#fff5f4;border-color:#ebc7c2}
html body .nhd-verification .nhd-verify-result a {display:inline-flex;gap:10px;margin-top:12px;font-size:13px;font-weight:650;color:#217d68}
html body .nhd-verification .nhd-verify-result [hidden] {display:none!important}
html body .nhd-verify-page {padding-bottom:74px;background:#fff}
html body .nhd-verify-breadcrumb {display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:25px 0;color:#71818a;font-size:12px;line-height:1.5}
html body .nhd-verify-breadcrumb a {color:inherit;text-decoration:none}
html body .nhd-verify-breadcrumb a:hover {color:#238d73}
html body .nhd-verify-heading {padding:48px 0 62px}
html:root body .nhd-verification .nhd-verify-heading h1 {max-width:none;margin:0 0 18px!important;color:#203640!important;font-family:var(--font-display,Arial,sans-serif)!important;font-size:clamp(34px,4vw,52px)!important;line-height:1.18!important;font-weight:700!important;letter-spacing:-.03em!important}
html body .nhd-verify-heading>p {max-width:990px;margin:0;color:var(--form-muted);font-size:17px;line-height:1.8}
html body .nhd-verify-page-grid {display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:64px;align-items:start}
html body .nhd-verify-form-column {min-width:0}
html body .nhd-verify-explainer {padding-left:58px;border-left:1px solid #e1e9e9}
html:root body .nhd-verify-explainer h2 {font-size:22px!important;line-height:1.4!important;font-weight:650!important;letter-spacing:0!important;margin:0 0 26px!important;color:#203640!important}
html body .nhd-verify-explainer ol {list-style:none;counter-reset:none;padding:0;margin:0}
html body .nhd-verify-explainer li {display:flex;align-items:flex-start;gap:20px;margin:0 0 28px;padding:0}
html body .nhd-verify-explainer li:last-child {margin-bottom:0}
html body .nhd-verify-step {display:flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:50%;background:#def4ec;color:#204b51;font-size:15px}
html:root body .nhd-verify-explainer h3 {margin:3px 0 7px!important;font-size:16px!important;line-height:1.45!important;font-weight:650!important;letter-spacing:0!important;color:#284550!important}
html body .nhd-verify-explainer p {font-size:14px;line-height:1.75;color:#607681;margin:0}
html body .nhd-verify-note {display:flex;gap:14px;align-items:center;margin:58px 0 0;padding:16px 18px;border-radius:8px;background:#f2f7f8;color:#59707c;font-size:13px;line-height:1.6}
html body .nhd-verify-note .fa {font-size:21px;flex:none}
@media(max-width:1100px) {
 html body .nhd-verification .nhd-verify-layout {gap:48px}
 html body .nhd-verify-page-grid {gap:44px}
 html body .nhd-verify-explainer {padding-left:36px}
}
@media(max-width:767px) {
 html body .nhd-verification .nhd-shell {width:calc(100% - 40px)}
 html body .nhd-verify-home {padding:58px 0 64px}
 html body .nhd-verification .nhd-verify-layout,html body .nhd-verify-page-grid {grid-template-columns:1fr;gap:34px}
 html body .nhd-verify-home .nhd-verify-intro,html body .nhd-verify-heading>p {font-size:15px}
 html body .nhd-verify-heading {padding:28px 0 35px}
 html body .nhd-verify-breadcrumb {gap:10px;font-size:11px;padding:20px 0}
 html body .nhd-verify-explainer {padding:32px 0 0;border-left:0;border-top:1px solid #e1e9e9}
 html body .nhd-verify-note {margin-top:30px}
 html body .nhd-verify-page {padding-bottom:50px}
}

html body .nhd-verify-home .nhd-eyebrow::before {content:"";position:absolute;top:0;left:0;width:36px;height:2px;background:var(--form-mint)}

/* WhatsApp contact field for the custom-request and sourcing inquiry forms. */
html:root body[data-typography] form.peptide-contact-form .peptide-contact-fields label.peptide-contact-whatsapp {
  grid-area: auto / 1 / auto / -1 !important;
}
html:root body[data-typography] form.peptide-contact-form .peptide-contact-whatsapp small {
  display: block;
  color: var(--form-muted);
  font-family: var(--font-body, Arial, sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}

/* One contact record, one profile card. */
html body .nhd-verification .nhd-verify-profile {display:flex;align-items:flex-start;gap:24px;margin:20px 0 22px;padding:22px;background:#fff;border:1px solid #dfede8;border-radius:12px;min-width:0;}
html body .nhd-verification .nhd-verify-profile-photo {display:block;flex:none;width:112px;height:136px;object-fit:cover;object-position:center 26%;border-radius:9px;background:#eaf3f0;}
html body .nhd-verification .nhd-verify-profile[data-profile-kind="company"] .nhd-verify-profile-photo {object-fit:contain;padding:12px;height:112px;}
html body .nhd-verification .nhd-verify-profile-details {min-width:0;flex:1;}
html body .nhd-verification .nhd-verify-profile-type {display:block;margin:0 0 5px;color:#27896f;font-size:12px;line-height:1.5;font-weight:600;}
html:root body .nhd-verification .nhd-verify-profile h3 {margin:0 0 16px!important;text-align:left!important;font-size:23px!important;line-height:1.3!important;color:#203640!important;letter-spacing:0!important;}
html body .nhd-verification .nhd-verify-profile-contacts {margin:0;padding:0;}
html body .nhd-verification .nhd-verify-profile-contacts>div+div {margin-top:12px;}
html body .nhd-verification .nhd-verify-profile-contacts dt {display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.6;font-weight:400;color:#72868d;}
html body .nhd-verification .nhd-verify-profile-contacts dt i {width:14px;text-align:center;}
html body .nhd-verification .nhd-verify-profile-contacts dd {margin:2px 0 0;}
html body .nhd-verification .nhd-verify-profile-contacts a {margin:0;font-size:14px;line-height:1.6;font-weight:550;color:#284752;overflow-wrap:anywhere;word-break:break-word;}
html body .nhd-verification .nhd-verify-profile-contacts a:hover {color:#16846a;text-decoration:underline;}
@media(max-width:767px) {
 html body .nhd-verification .nhd-verify-profile {gap:15px;padding:16px;}
 html body .nhd-verification .nhd-verify-profile-photo {width:76px;height:98px;}
 html body .nhd-verification .nhd-verify-profile[data-profile-kind="company"] .nhd-verify-profile-photo {height:76px;padding:7px;}
 html:root body .nhd-verification .nhd-verify-profile h3 {font-size:20px!important;margin-bottom:12px!important;}
 html body .nhd-verification .nhd-verify-profile-contacts a {font-size:13px;}
}
