/* OTF-inspired buyer profile fields, scoped to CKW inquiry forms. */
body.ckw-inquiry-page .ckw-buyer-profile-form {
  align-items: start;
}

body.ckw-inquiry-page .ckw-buyer-profile-form > label > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
  color: var(--ckw-editorial-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

body.ckw-inquiry-page .ckw-buyer-profile-form > label > span b,
body.ckw-inquiry-page .ckw-product-interest-fieldset legend b,
body.ckw-inquiry-page .ckw-business-confirm b {
  color: #b42318;
  font: inherit;
}

body.ckw-inquiry-page .ckw-buyer-profile-form > label > span small {
  color: var(--ckw-editorial-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.ckw-inquiry-page .ckw-product-interest-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body.ckw-inquiry-page .ckw-product-interest-fieldset legend {
  margin: 0 0 10px;
  padding: 0;
  color: var(--ckw-editorial-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
}

body.ckw-inquiry-page .ckw-product-interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.ckw-inquiry-page .ckw-buyer-profile-form .ckw-product-interest {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #cfc6b7;
  background: #fff;
  color: var(--ckw-editorial-navy);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.ckw-inquiry-page .ckw-buyer-profile-form .ckw-product-interest:hover {
  border-color: #a87c24;
  background: #fffaf0;
}

body.ckw-inquiry-page .ckw-buyer-profile-form .ckw-product-interest:has(input:checked) {
  border-color: var(--ckw-editorial-navy);
  background: #eef3f6;
  box-shadow: inset 4px 0 0 var(--ckw-editorial-brass);
}

body.ckw-inquiry-page .ckw-buyer-profile-form input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--ckw-editorial-navy);
  flex: 0 0 18px;
}

body.ckw-inquiry-page .ckw-buyer-profile-form input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(201, 156, 53, .32) !important;
  outline-offset: 3px;
}

body.ckw-inquiry-page .ckw-field-help {
  display: block;
  margin: 8px 0 0 !important;
  color: var(--ckw-editorial-muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

body.ckw-inquiry-page .ckw-business-confirm {
  min-height: 54px;
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  padding: 14px 16px;
  border: 1px solid var(--ckw-editorial-line);
  background: var(--ckw-editorial-paper);
  cursor: pointer;
}

body.ckw-inquiry-page .ckw-business-confirm > span {
  display: inline !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.45;
}

body.ckw-inquiry-page .ckw-form-privacy,
body.ckw-inquiry-page .ckw-form-status {
  margin: 0 !important;
  color: var(--ckw-editorial-muted) !important;
  font-size: 11px !important;
  line-height: 1.55;
}

body.ckw-inquiry-page .ckw-form-status:empty {
  display: none;
}

body.ckw-inquiry-page .ckw-form-status.is-error {
  display: block;
  padding: 10px 12px;
  border-left: 4px solid #b42318;
  background: #fff1f0;
  color: #7a271a !important;
  font-weight: 700;
}

body.ckw-inquiry-page .ckw-buyer-profile-form button[disabled] {
  cursor: wait;
  opacity: .72;
}

body.ckw-inquiry-page .ckw-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  body.ckw-inquiry-page .ckw-product-interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.ckw-inquiry-page .ckw-product-interest-grid {
    grid-template-columns: 1fr;
  }

  body.ckw-inquiry-page .ckw-buyer-profile-form .ckw-product-interest {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ckw-inquiry-page .ckw-buyer-profile-form .ckw-product-interest {
    transition: none;
  }
}
