/*
 * BP Wire Mesh design system.
 * This file is the final visual source of truth loaded after the legacy theme CSS.
 * It uses Tailwind-style tokens, components and breakpoints without a runtime dependency.
 */

:root {
  --primary-cta: #b94712;
  --primary-cta-hover: #963708;
  --accent-on-dark: #ff8a3d;
  --text-heading: #18202d;
  --text-main: #344154;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f4f6f8;
  --bg-dark: #18202d;
  --border-subtle: #dfe5eb;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, .11);
  --radius-standard: 8px;
  --container: 1360px;
  --space-section: clamp(64px, 6vw, 88px);
  --space-section-mobile: 46px;
  --font-body: 16px;
  --font-eyebrow: .78rem;
  --font-card-title: 1.15rem;
  --font-h1: clamp(2.75rem, 4.2vw, 4rem);
  --font-h2: clamp(2rem, 3vw, 2.75rem);
  --font-nav: clamp(.94rem, 1vw, 1.05rem);
}

html {
  scroll-padding-top: 104px;
}

body {
  color: var(--text-main);
  font-size: var(--font-body);
  line-height: 1.65;
}

:where(main, section, article, aside, nav, div) {
  min-width: 0;
}

h1,
h2,
h3,
h4,
.elementor-heading-title {
  color: var(--text-heading);
  letter-spacing: -.018em;
  text-wrap: balance;
}

h1 {
  font-size: var(--font-h1);
  line-height: 1.06;
}

h2,
.bp-title {
  font-size: var(--font-h2);
  line-height: 1.12;
}

h3 {
  line-height: 1.28;
}

p,
li,
td,
th {
  overflow-wrap: break-word;
}

img {
  color: transparent;
}

.ast-container,
.bp-wrap {
  width: min(calc(100% - 64px), var(--container));
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 0;
}

.bp-section,
.bp-products-hero,
.bp-product-detail-hero {
  padding-block: var(--space-section);
}

.bp-bg-light,
.bp-home-catalog-section {
  background: var(--bg-light) !important;
}

.bp-section-head {
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(32px, 4vw, 50px);
}

.bp-section-head > :first-child {
  max-width: 760px;
}

.bp-section-head .bp-lead {
  max-width: 620px;
}

.bp-eyebrow {
  color: var(--primary-cta);
  font-size: var(--font-eyebrow);
  letter-spacing: .1em;
}

.bp-eyebrow::before {
  background: currentColor;
}

.bp-hero-industrial .bp-eyebrow,
.bp-final-cta-dark .bp-eyebrow,
.bp-export-proof .bp-eyebrow,
.bp-section-link-row-on-dark .bp-mini-link {
  color: var(--accent-on-dark) !important;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(185, 71, 18, .38) !important;
  outline-offset: 3px;
}

.bp-button,
.bp-button-secondary,
.bp-button-light,
.bp-card-quote,
.bp-nav-quote,
.bp-quote-dock a,
.bp-quote-dock button,
.bp-mobile-cta a,
.bp-mobile-cta button {
  min-height: 48px;
  border-radius: var(--radius-standard) !important;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.2;
}

.bp-button,
.bp-nav-quote,
.bp-quote-dock button,
.bp-mobile-cta button {
  border-color: var(--primary-cta) !important;
  color: #fff !important;
  background: var(--primary-cta) !important;
  box-shadow: 0 9px 22px rgba(150, 55, 8, .2);
}

.bp-button:hover,
.bp-button:focus,
.bp-nav-quote:hover,
.bp-nav-quote:focus,
.bp-quote-dock button:hover,
.bp-quote-dock button:focus,
.bp-mobile-cta button:hover,
.bp-mobile-cta button:focus {
  border-color: var(--primary-cta-hover) !important;
  background: var(--primary-cta-hover) !important;
}

.bp-quote-dock,
.bp-home-slim .bp-hero-metrics,
.bp-home-slim .bp-hero-stats {
  display: none !important;
}

.bp-button-secondary,
.bp-button-light {
  border-color: var(--border-subtle) !important;
  color: var(--text-heading) !important;
  background: #fff !important;
}

.bp-mini-link,
.b2b-text-link,
.bp-catalog-directory-all,
.bp-catalog-product-actions button,
.bp-project-body > span,
.bp-resource-card > span {
  color: var(--primary-cta) !important;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .055);
}

.main-header-menu .menu-link {
  min-height: 46px;
  color: var(--text-heading);
  font-size: var(--font-nav);
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
}

#primary-site-navigation-desktop .dropdown-menu-toggle {
  display: inline-flex;
  min-width: 24px;
  align-items: center;
  justify-content: center;
  margin-inline-start: 2px;
}

.site-title a::before {
  box-shadow: 0 7px 18px rgba(150, 55, 8, .18);
}

/* Homepage hero */
.bp-home-slim .bp-hero-industrial-grid {
  grid-template-columns: minmax(0, 820px) !important;
  justify-content: start !important;
  padding-inline: clamp(52px, 7vw, 100px) !important;
}

.bp-home-slim .bp-fd-hero-copy {
  max-width: 820px !important;
  padding-left: clamp(30px, 3vw, 48px) !important;
  border-left: 4px solid var(--primary-cta);
}

.bp-hero-industrial h1 {
  max-width: 760px;
}

.bp-hero-industrial .bp-hero-lead {
  max-width: 690px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, .7vw + .8rem, 1.18rem);
  line-height: 1.65;
}

.bp-hero-industrial .bp-actions {
  margin-top: 26px;
}

/* Reusable cards */
.bp-catalog-product-card,
.bp-product-tile,
.bp-category-card,
.bp-project-card,
.bp-resource-card,
.bp-feature-card,
.bp-answer-card,
.bp-spec-card,
.bp-export-proof-card,
.bp-product-figure,
.bp-modal-card {
  border-color: var(--border-subtle) !important;
  border-radius: var(--radius-standard) !important;
  box-shadow: var(--shadow-sm);
}

.bp-catalog-product-card:hover,
.bp-product-tile:hover,
.bp-category-card:hover,
.bp-project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bp-catalog-product-media,
.bp-product-media,
.bp-card-media,
.bp-project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce3e9;
}

.bp-catalog-product-media img,
.bp-product-media img,
.bp-card-media img,
.bp-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-hot-grid > .bp-product-tile,
.bp-catalog-product-card {
  height: 100%;
}

.bp-hot-grid > .bp-product-tile > a,
.bp-catalog-product-card {
  display: flex;
  flex-direction: column;
}

.bp-product-tile-body,
.bp-catalog-product-body {
  flex: 1;
}

.bp-product-tile-body p,
.bp-catalog-product-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Catalog directory */
.bp-catalog-directory {
  border-color: var(--border-subtle);
  border-radius: var(--radius-standard);
  box-shadow: var(--shadow-sm);
}

.bp-catalog-directory-title {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-dark);
}

.bp-catalog-mobile-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
}

.bp-catalog-group[open] summary,
.bp-catalog-group summary::after,
.bp-catalog-sublist li a span:last-child {
  color: var(--primary-cta);
}

.bp-catalog-product-grid,
.bp-hot-grid,
.bp-category-grid,
.bp-project-grid,
.bp-resource-grid {
  align-items: stretch;
}

/* Product and catalog heroes */
.bp-products-hero-grid,
.bp-product-detail-grid {
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.bp-product-detail-copy,
.bp-products-hero-grid > div:first-child {
  max-width: 720px;
  padding: clamp(30px, 3vw, 46px) !important;
  border-left: 3px solid var(--primary-cta) !important;
  border-radius: 0 var(--radius-standard) var(--radius-standard) 0;
  background: #fff;
}

.bp-product-detail-hero h1,
.bp-products-hero h1 {
  font-size: clamp(2.45rem, 3.6vw, 3.55rem) !important;
}

.bp-product-figure,
.bp-hero-media {
  overflow: hidden;
}

.bp-product-figure img,
.bp-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Forms */
.bp-form input,
.bp-form textarea,
.bp-form select,
.b2b-html-form input,
.b2b-html-form textarea,
.b2b-html-form select {
  min-height: 48px;
  border-color: #cbd5e1;
  border-radius: 6px;
  color: var(--text-heading);
  background: #fff;
  font-size: 16px;
}

.bp-form textarea,
.b2b-html-form textarea {
  min-height: 126px;
}

.bp-modal-card {
  max-height: min(90vh, 760px);
}

/* Footer */
.bp-custom-footer {
  background: #141b26;
}

.bp-footer-grid {
  gap: clamp(34px, 5vw, 72px);
}

.bp-footer-grid > * {
  min-width: 0;
}

.bp-custom-footer li,
.bp-custom-footer a {
  overflow-wrap: anywhere;
}

.bp-footer-brand > p {
  max-width: 520px;
  color: rgba(255, 255, 255, .74);
}

.bp-social-links a span {
  background: var(--primary-cta);
}

@media (max-width: 1180px) {
  .ast-container,
  .bp-wrap {
    width: min(calc(100% - 48px), var(--container));
  }

  .bp-section,
  .bp-products-hero,
  .bp-product-detail-hero {
    padding-block: 62px;
  }

  #ast-mobile-header .menu-toggle {
    color: var(--text-heading) !important;
    background: #fff !important;
  }

  .ast-header-break-point .main-header-menu .menu-link {
    min-height: 48px;
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .bp-section-head,
  .bp-products-hero-grid,
  .bp-product-detail-grid,
  .bp-footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bp-section-head {
    align-items: start;
  }

  .bp-home-slim .bp-hero-industrial-grid {
    padding-inline: 32px !important;
  }

  .bp-catalog-mobile-toggle {
    display: inline-flex;
  }

  .bp-catalog-directory:not(.is-mobile-open) .bp-catalog-groups,
  .bp-catalog-directory:not(.is-mobile-open) .bp-catalog-directory-all {
    display: none;
  }

  .bp-catalog-directory.is-mobile-open .bp-catalog-groups {
    display: block;
  }

  .bp-catalog-directory.is-mobile-open .bp-catalog-directory-all {
    display: flex;
  }

  .bp-product-figure,
  .bp-hero-media {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: var(--space-section-mobile);
    --font-h1: clamp(2.05rem, 9.5vw, 2.6rem);
    --font-h2: clamp(1.75rem, 7.6vw, 2.1rem);
  }

  html {
    scroll-padding-top: 88px;
  }

  body {
    font-size: 15.5px;
  }

  .ast-container,
  .bp-wrap {
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
  }

  .bp-section,
  .bp-products-hero,
  .bp-product-detail-hero {
    padding-block: var(--space-section-mobile) !important;
  }

  .bp-section-head {
    gap: 18px;
    margin-bottom: 30px;
  }

  .bp-eyebrow {
    margin-bottom: 12px;
    font-size: .72rem;
    line-height: 1.45;
  }

  .bp-home-slim .bp-hero-industrial-grid {
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    padding-inline: 0 !important;
  }

  .bp-home-slim .bp-fd-hero-copy {
    max-width: none !important;
    padding: 26px 0 26px 24px !important;
    border-left-width: 3px;
  }

  .bp-hero-industrial h1 {
    margin-bottom: 16px;
    font-size: var(--font-h1) !important;
    line-height: 1.05;
  }

  .bp-hero-industrial .bp-hero-lead {
    font-size: .94rem;
    line-height: 1.58;
  }

  .bp-hero-industrial .bp-actions,
  .bp-product-detail-hero .bp-actions,
  .bp-products-hero .bp-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .bp-hero-industrial .bp-actions > *,
  .bp-product-detail-hero .bp-actions > *,
  .bp-products-hero .bp-actions > * {
    width: 100%;
    min-height: 50px;
  }

  .bp-catalog-directory-title {
    min-height: 68px;
    padding: 11px 12px 11px 18px;
  }

  .bp-catalog-directory-title > span:first-child {
    font-size: 1rem;
  }

  .bp-catalog-groups {
    padding-inline: 14px;
  }

  .bp-catalog-group summary,
  .bp-catalog-sublist li a,
  .bp-catalog-sublist li button {
    min-height: 46px;
  }

  .bp-product-detail-copy,
  .bp-products-hero-grid > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 18px !important;
    border-left-width: 3px !important;
  }

  .bp-product-detail-hero h1,
  .bp-products-hero h1 {
    font-size: var(--font-h1) !important;
    line-height: 1.06;
  }

  .bp-product-detail-hero .b2b-hero-bullets li {
    padding: 13px 14px !important;
  }

  .bp-product-figure,
  .bp-hero-media {
    width: 100%;
    max-width: 100%;
  }

  .bp-catalog-product-grid,
  .bp-hot-grid,
  .bp-category-grid,
  .bp-project-grid,
  .bp-resource-grid,
  .bp-feature-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
  }

  .bp-catalog-product-body {
    min-height: 0;
  }

  .bp-final-cta-inner {
    gap: 24px;
  }

  .bp-footer-grid {
    gap: 34px;
  }
}

@media (max-width: 460px) {
  .bp-catalog-mobile-toggle > span:first-child {
    max-width: 112px;
    line-height: 1.25;
    text-align: left;
  }

  .bp-catalog-page-numbers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
  }

  .bp-catalog-page-number {
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 0 !important;
  }

  .bp-catalog-pagination {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 6px;
  }

  .bp-catalog-page-nav {
    width: 44px;
    min-width: 44px;
    padding-inline: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
