/* VOBOM sitewide readability baseline v1 — scoped for public page content.
   Keep body zoom unchanged; normalize inherited tiny type across legacy templates. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px !important;
}

main,
[role="main"] {
  font-size: 16px !important;
}

main :is(p, li, dd, dt, td, th, label, legend, summary, figcaption),
[role="main"] :is(p, li, dd, dt, td, th, label, legend, summary, figcaption) {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

main :is(small, .eyebrow, [class*="eyebrow"], [class*="kicker"], [class*="badge"],
  [class*="axis"], [class*="sku"], [class*="code"], [class*="meta"], [class*="note"],
  [class*="caption"], [class*="tag"], .product-breadcrumb),
[role="main"] :is(small, .eyebrow, [class*="eyebrow"], [class*="kicker"], [class*="badge"],
  [class*="axis"], [class*="sku"], [class*="code"], [class*="meta"], [class*="note"],
  [class*="caption"], [class*="tag"], .product-breadcrumb) {
  font-size: 14px !important;
  line-height: 1.45 !important;
  letter-spacing: normal;
}

header nav a,
header nav button,
header [role="navigation"] a,
.sp-nav a,
.vmbn-inner nav a,
.vmbn-inner a,
.vobom-mobile-utility-nav a {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

main :is(a, button, input[type="submit"], input[type="button"], .cta, .button, .btn,
  [role="button"], [class*="rfq"], [class*="quote"], [class*="inquir"], [class*="checkout"]),
[role="main"] :is(a, button, input[type="submit"], input[type="button"], .cta, .button, .btn,
  [role="button"], [class*="rfq"], [class*="quote"], [class*="inquir"], [class*="checkout"]) {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

main :is(button, input[type="submit"], input[type="button"], [role="button"],
  input:not([type="hidden"]), select, textarea),
[role="main"] :is(button, input[type="submit"], input[type="button"], [role="button"],
  input:not([type="hidden"]), select, textarea) {
  min-height: 44px;
}

main :is(input:not([type="hidden"]), select, textarea),
[role="main"] :is(input:not([type="hidden"]), select, textarea) {
  font-size: 16px !important;
}

main :is(.product-code, .image-note, .product-signal-row, .product-breadcrumb,
  .product-stage__badge, .product-stage__axis, .rfq-card-sku, .category-card-kicker,
  .category-eyebrow, .offer-tag, .catalog-display-card figcaption),
[role="main"] :is(.product-code, .image-note, .product-signal-row, .product-breadcrumb,
  .product-stage__badge, .product-stage__axis, .rfq-card-sku, .category-card-kicker,
  .category-eyebrow, .offer-tag, .catalog-display-card figcaption) {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

@media (max-width: 520px) {
  main :is(p, li, dd, dt, td, th, label, legend, summary, figcaption),
  [role="main"] :is(p, li, dd, dt, td, th, label, legend, summary, figcaption) {
    font-size: 16px !important;
  }

  main :is(small, .eyebrow, [class*="eyebrow"], [class*="kicker"], [class*="badge"],
    [class*="axis"], [class*="sku"], [class*="code"], [class*="meta"], [class*="note"],
    [class*="caption"], [class*="tag"], .product-breadcrumb),
  [role="main"] :is(small, .eyebrow, [class*="eyebrow"], [class*="kicker"], [class*="badge"],
    [class*="axis"], [class*="sku"], [class*="code"], [class*="meta"], [class*="note"],
    [class*="caption"], [class*="tag"], .product-breadcrumb) {
    font-size: 14px !important;
  }
}

/* Several legacy WordPress and sourcing microsites do not use a <main> element. */
body :is(p, li, dd, dt, td, th, label, legend, summary, figcaption) {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body p:not(.eyebrow):not([class*="eyebrow"]):not([class*="kicker"]):not([class*="badge"])
  :not([class*="meta"]):not([class*="note"]):not([class*="caption"]):not([class*="tag"]) {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body :is(small, .eyebrow, [class*="eyebrow"], [class*="kicker"], [class*="badge"],
  [class*="axis"], [class*="sku"], [class*="code"], [class*="meta"], [class*="note"],
  [class*="caption"], [class*="tag"]) {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body nav a,
body [role="navigation"] a {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body a {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body figure figcaption {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body figure figcaption:not([class]),
body p.product-kicker {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body a:not([class]) {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body :is(button, input[type="submit"], input[type="button"], [role="button"]) {
  min-height: 44px;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

body :is(input:not([type="hidden"]), select, textarea) {
  min-height: 44px;
  font-size: 16px !important;
}

body a:is(.cta, .button, .btn, [class*="rfq"], [class*="quote"], [class*="inquir"], [class*="checkout"]) {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

@media (max-width: 520px) {
  .inquiry-form,
  .inquiry-list {
    min-width: 0;
    max-width: 100%;
  }

  .inquiry-form label:not(.rfq-honeypot) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    overflow-wrap: anywhere;
  }

  .inquiry-form input[type="file"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
