/*
 * Controlled product-detail pilot.
 * A restrained procurement page: product identification, specification,
 * complete-system scope, packing inputs, FAQ and one clear RFQ path.
 */

.bp-procurement-detail {
  color: var(--text-body);
  background: #fff;
}

.bp-procurement-hero {
  padding-block: clamp(40px, 5.5vw, 76px);
  background: #f1f3f1;
}

.bp-procurement-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(360px, 1fr);
  grid-template-areas:
    "media copy"
    "media facts";
  gap: 28px clamp(34px, 4.5vw, 68px);
  align-items: start;
}

.bp-procurement-hero-copy {
  grid-area: copy;
  min-width: 0;
}

.bp-procurement-hero-copy .bp-breadcrumb {
  margin-bottom: 24px;
}

.bp-procurement-hero-copy h1 {
  max-width: 13ch;
  margin: 8px 0 20px;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.4vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.bp-procurement-hero-copy .bp-mobile-title-line {
  display: block;
}

.bp-procurement-definition {
  max-width: 62ch;
  margin: 0;
  color: #42505b;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.bp-procurement-gallery {
  grid-area: media;
  min-width: 0;
  width: 100%;
  align-self: stretch;
}

.bp-procurement-gallery .bp-product-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9dedb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(25, 35, 31, .1);
}

.bp-procurement-gallery .bp-product-gallery-viewport,
.bp-procurement-gallery.bp-product-figure {
  aspect-ratio: 4 / 3;
}

.bp-procurement-gallery .bp-product-gallery-viewport {
  background: #e9eeeb;
}

.bp-procurement-gallery .bp-product-gallery-viewport .bp-media-img,
.bp-procurement-gallery.bp-product-figure .bp-media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.bp-procurement-gallery figcaption.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bp-procurement-gallery .bp-product-gallery-nav {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, .9);
  color: #fff;
  background: rgba(22, 30, 28, .76);
  box-shadow: 0 8px 24px rgba(16, 24, 32, .2);
}

.bp-procurement-gallery .bp-product-gallery-nav:hover:not(:disabled),
.bp-procurement-gallery .bp-product-gallery-nav:focus-visible {
  background: var(--primary-cta);
}

.bp-procurement-hero-facts {
  grid-area: facts;
  min-width: 0;
  align-self: end;
}

.bp-procurement-label {
  margin: 0 0 8px;
  color: var(--primary-cta);
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bp-procurement-hero-facts dl {
  margin: 0 0 24px;
  border-top: 1px solid #cfd6d2;
}

.bp-procurement-hero-facts dl > div {
  display: grid;
  grid-template-columns: minmax(112px, .78fr) minmax(0, 1.22fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #cfd6d2;
}

.bp-procurement-hero-facts dt,
.bp-procurement-hero-facts dd {
  margin: 0;
  font-size: .84rem;
  line-height: 1.45;
}

.bp-procurement-hero-facts dt {
  color: #68736d;
  font-weight: 700;
}

.bp-procurement-hero-facts dd {
  color: var(--text-heading);
  font-weight: 750;
}

.bp-procurement-hero-facts .bp-button {
  min-height: 48px;
}

.bp-procurement-section {
  padding-block: clamp(72px, 7vw, 96px);
}

.bp-procurement-section-soft {
  background: #f6f7f6;
}

.bp-procurement-section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 50px);
}

.bp-procurement-section-head .bp-eyebrow {
  margin-bottom: 10px;
}

.bp-procurement-section-head h2 {
  margin: 0 0 16px;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.bp-procurement-section-head > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: #4e5c66;
  font-size: 1rem;
  line-height: 1.7;
}

.bp-procurement-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 6vw, 88px);
  border-top: 2px solid var(--text-heading);
}

.bp-procurement-copy-block,
.bp-procurement-steps {
  padding-top: 28px;
}

.bp-procurement-copy-block h3,
.bp-procurement-steps h3,
.bp-procurement-system-grid h3,
.bp-procurement-rfq-grid h3,
.bp-procurement-related h3 {
  margin: 0 0 14px;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.bp-procurement-copy-block p,
.bp-procurement-rfq-grid p {
  max-width: 68ch;
  margin: 0 0 26px;
  color: #4e5c66;
  line-height: 1.75;
}

.bp-procurement-copy-block ul,
.bp-procurement-system-grid ul,
.bp-procurement-rfq-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #33414a;
  line-height: 1.55;
}

.bp-procurement-steps ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: procurement-step;
  list-style: none;
}

.bp-procurement-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: #33414a;
  line-height: 1.55;
  counter-increment: procurement-step;
}

.bp-procurement-steps li:first-child {
  padding-top: 0;
}

.bp-procurement-steps li::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #b9c1bc;
  border-radius: 50%;
  color: var(--text-heading);
  content: counter(procurement-step, decimal-leading-zero);
  font-size: .68rem;
  font-weight: 800;
}

.bp-procurement-guardrail {
  max-width: 90ch;
  margin: 34px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--primary-cta);
  color: #46535d;
  background: #f6f7f6;
  line-height: 1.65;
}

.bp-procurement-guardrail strong {
  color: var(--text-heading);
}

.bp-procurement-spec-table {
  max-width: 100%;
  overflow-x: auto;
  border-top: 2px solid var(--text-heading);
  border-bottom: 1px solid var(--border-subtle);
  background: #fff;
  overscroll-behavior-inline: contain;
}

.bp-procurement-spec-table .b2b-spec-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border: 0;
}

.bp-procurement-spec-table .b2b-spec-table th,
.bp-procurement-spec-table .b2b-spec-table td {
  padding: 17px 18px;
  border-right: 0;
  border-left: 0;
  vertical-align: top;
  line-height: 1.55;
}

.bp-procurement-spec-table .b2b-spec-table thead th {
  color: var(--text-heading);
  background: #eef1ef;
  font-size: .77rem;
  letter-spacing: .02em;
  text-transform: none;
}

.bp-procurement-basis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
  color: #56636c;
  font-size: .88rem;
  line-height: 1.6;
}

.bp-procurement-basis p {
  margin: 0;
}

.bp-procurement-basis strong {
  color: var(--text-heading);
}

.bp-procurement-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--text-heading);
  border-bottom: 1px solid var(--border-subtle);
}

.bp-procurement-system-grid > article {
  min-width: 0;
  padding: 28px clamp(20px, 2.8vw, 36px) 32px;
  border-right: 1px solid var(--border-subtle);
}

.bp-procurement-system-grid > article:first-child {
  padding-left: 0;
}

.bp-procurement-system-grid > article:last-child {
  padding-right: 0;
  border-right: 0;
}

.bp-procurement-system-grid dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.bp-procurement-system-grid dl > div {
  display: grid;
  gap: 4px;
}

.bp-procurement-system-grid dt {
  color: #68736d;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.bp-procurement-system-grid dd {
  margin: 0;
  color: #33414a;
  font-size: .92rem;
  line-height: 1.6;
}

.bp-procurement-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  margin-top: 24px;
  color: #58656d;
  font-size: .86rem;
}

.bp-procurement-inline-links strong {
  color: var(--text-heading);
}

.bp-procurement-inline-links a,
.bp-procurement-guide-links a {
  color: var(--primary-cta);
  font-weight: 750;
  text-underline-offset: 4px;
}

.bp-procurement-rfq-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 96px);
  border-top: 2px solid var(--text-heading);
}

.bp-procurement-rfq-grid > article {
  padding-top: 28px;
}

.bp-procurement-rfq-grid ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  padding: 0;
  list-style: none;
}

.bp-procurement-rfq-grid li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.bp-procurement-rfq-grid li::before {
  position: absolute;
  top: 1.15em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--primary-cta);
  border-radius: 50%;
  content: "";
}

.bp-procurement-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.bp-procurement-faq-grid .b2b-accordion {
  border-top: 2px solid var(--text-heading);
}

.bp-procurement-related {
  border-top: 2px solid var(--text-heading);
  padding-top: 24px;
}

.bp-procurement-related-list {
  display: grid;
}

.bp-procurement-related-list > a {
  display: grid;
  min-height: 96px;
  gap: 4px;
  align-content: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border-subtle);
  color: inherit;
  text-decoration: none;
}

.bp-procurement-related-list > a:hover strong,
.bp-procurement-related-list > a:focus-visible strong {
  color: var(--primary-cta);
}

.bp-procurement-related-list > a:focus-visible,
.bp-procurement-guide-links a:focus-visible,
.bp-procurement-inline-links a:focus-visible {
  outline: 3px solid rgba(226, 92, 29, .24);
  outline-offset: 3px;
}

.bp-procurement-related-list span {
  color: #6a756f;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bp-procurement-related-list strong {
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: .95rem;
  transition: color .18s ease;
}

.bp-procurement-related-list small {
  display: -webkit-box;
  overflow: hidden;
  color: #53606a;
  font-size: .82rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bp-procurement-guide-links {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.bp-procurement-guide-links h3 {
  margin-bottom: 2px;
}

.bp-procurement-guide-links a {
  font-size: .86rem;
  line-height: 1.45;
}

.bp-procurement-final-cta {
  margin: 0;
}

@media (max-width: 1100px) {
  .bp-procurement-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media"
      "facts";
    gap: 28px;
  }

  .bp-procurement-hero-copy h1 {
    max-width: 18ch;
  }

  .bp-procurement-gallery {
    max-width: none;
  }

  .bp-procurement-hero-facts {
    max-width: none;
  }

  .bp-procurement-hero-facts dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-procurement-hero-facts dl > div:nth-child(odd) {
    padding-right: 22px;
    border-right: 1px solid #cfd6d2;
  }

  .bp-procurement-hero-facts dl > div:nth-child(even) {
    padding-left: 22px;
  }

  .bp-procurement-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-procurement-system-grid > article:nth-child(2) {
    border-right: 0;
  }

  .bp-procurement-system-grid > article:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid var(--border-subtle);
  }

  .bp-procurement-faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
    gap: 48px;
  }
}

@media (max-width: 720px) {
  .bp-procurement-hero {
    padding-block: 32px 48px;
  }

  .bp-procurement-hero-grid {
    gap: 22px;
  }

  .bp-procurement-hero-copy .bp-breadcrumb {
    margin-bottom: 18px;
  }

  .bp-procurement-hero-copy h1 {
    max-width: none;
    margin-bottom: 16px;
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.05;
  }

  .bp-procurement-hero-copy .bp-mobile-title-line {
    display: inline;
  }

  .bp-procurement-hero-copy .bp-mobile-title-line:not(:last-child)::after {
    content: ' ';
  }

  .bp-procurement-definition {
    font-size: .98rem;
    line-height: 1.65;
  }

  .bp-procurement-gallery .bp-product-gallery-nav {
    width: 44px;
    height: 44px;
  }

  .bp-procurement-hero-facts dl {
    display: block;
  }

  .bp-procurement-hero-facts dl > div,
  .bp-procurement-hero-facts dl > div:nth-child(odd),
  .bp-procurement-hero-facts dl > div:nth-child(even) {
    grid-template-columns: minmax(105px, .78fr) minmax(0, 1.22fr);
    padding: 11px 0;
    border-right: 0;
  }

  .bp-procurement-hero-facts .bp-button {
    width: 100%;
  }

  .bp-procurement-section {
    padding-block: 52px;
  }

  .bp-procurement-section-head {
    margin-bottom: 28px;
  }

  .bp-procurement-section-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .bp-procurement-two-column,
  .bp-procurement-rfq-grid,
  .bp-procurement-faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .bp-procurement-steps {
    padding-top: 0;
  }

  .bp-procurement-guardrail {
    margin-top: 28px;
    padding: 16px 18px;
  }

  .bp-procurement-spec-table .b2b-spec-table {
    min-width: 700px;
  }

  .bp-procurement-basis,
  .bp-procurement-system-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-procurement-system-grid > article,
  .bp-procurement-system-grid > article:first-child,
  .bp-procurement-system-grid > article:last-child {
    grid-column: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .bp-procurement-system-grid > article:last-child {
    border-top: 0;
    border-bottom: 0;
  }

  .bp-procurement-rfq-grid > article:nth-child(2) {
    padding-top: 0;
  }

  .bp-procurement-rfq-grid ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-procurement-related {
    margin-top: 4px;
  }

  .bp-procurement-final-cta .bp-actions {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .bp-procurement-hero-copy h1 {
    font-size: 1.9rem;
  }

  .bp-procurement-hero-facts dl > div,
  .bp-procurement-hero-facts dl > div:nth-child(odd),
  .bp-procurement-hero-facts dl > div:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}

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