/*
 * B2B Universal v4 Products
 *
 * Owner: product archive, product category, product card, product detail,
 * related products, and product inquiry surfaces.
 */

:where(.b2b-product-archive, .b2b-pdp, .b2b-pdp-inquiry, .b2b-pdp-related) {
  color: var(--b2b-color-ink);
  font-family: var(--b2b-font-sans);
  letter-spacing: 0;
}

:where(.b2b-product-archive, .b2b-pdp, .b2b-pdp-inquiry, .b2b-pdp-related) a {
  color: inherit;
  text-decoration: none;
}

.b2b-product-archive,
.b2b-pdp,
.b2b-pdp-inquiry,
.b2b-pdp-related {
  background:
    radial-gradient(circle at 18% 12%, rgba(227, 237, 244, .72), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--b2b-color-bg) 56%, #eef5f8 100%);
}

.b2b-product-archive-inner,
.b2b-pdp-inner,
.b2b-pdp-inquiry-inner {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.b2b-product-archive {
  padding: 28px 0 72px;
}

body.post-type-archive-product .b2b-page-banner,
body.tax-product_cat .b2b-page-banner {
  min-height: 0;
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--b2b-color-border);
  background:
    radial-gradient(circle at 18% 18%, rgba(227, 237, 244, .82), transparent 28rem),
    linear-gradient(180deg, #fff 0%, var(--b2b-color-bg) 100%);
}

body.post-type-archive-product .b2b-page-banner-inner,
body.tax-product_cat .b2b-page-banner-inner {
  width: min(100% - 48px, 1320px);
  max-width: 1320px;
  padding: 0;
  text-align: left;
}

body.post-type-archive-product .b2b-page-banner-title,
body.tax-product_cat .b2b-page-banner-title {
  max-width: 760px;
  margin: 0;
  color: var(--b2b-color-ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  font-weight: 680;
  letter-spacing: 0;
}

body.post-type-archive-product .b2b-page-banner-subtitle,
body.tax-product_cat .b2b-page-banner-subtitle {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--b2b-color-muted);
  font-size: 16px;
  line-height: 1.72;
}

body.post-type-archive-product .b2b-page-banner-dots,
body.tax-product_cat .b2b-page-banner-dots {
  opacity: .32;
}

.b2b-product-skip-link {
  position: absolute;
  left: -999px;
}

.b2b-product-skip-link:focus {
  left: 24px;
  top: 24px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--b2b-radius-sm);
  background: var(--b2b-color-primary);
  color: #fff;
}

.b2b-product-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.b2b-products-sidebar {
  position: sticky;
  top: 24px;
}

.b2b-products-sidebar-inner {
  display: grid;
  gap: 14px;
}

.b2b-products-side-card,
.b2b-product-archive-cta,
.b2b-product-empty-state {
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--b2b-shadow-sm);
  backdrop-filter: blur(14px);
}

.b2b-products-side-card {
  padding: 18px;
}

.b2b-products-side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--b2b-color-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.b2b-products-side-title svg,
.b2b-products-side-title i {
  width: 14px;
  height: 14px;
  color: var(--b2b-color-secondary);
}

.b2b-product-cat-list,
.b2b-product-cat-children {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-product-cat-children {
  margin-top: 4px;
}

.b2b-product-cat-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--b2b-radius-sm);
  color: var(--b2b-color-muted);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--b2b-transition), color var(--b2b-transition), box-shadow var(--b2b-transition);
}

.b2b-product-cat-link:hover {
  background: rgba(227, 237, 244, .58);
  color: var(--b2b-color-primary);
}

.b2b-product-cat-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.b2b-product-cat-count,
.b2b-product-cat-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: var(--b2b-radius-pill);
  background: rgba(227, 237, 244, .72);
  color: var(--b2b-color-secondary);
  font-size: 12px;
  font-weight: 700;
}

.b2b-product-cat-link.is-child,
.b2b-product-cat-item.depth-1 > .b2b-product-cat-link,
.b2b-product-cat-item.depth-2 > .b2b-product-cat-link {
  padding-left: 22px;
  font-size: 12.5px;
}

.b2b-product-cat-link.is-active {
  background: var(--b2b-color-primary-soft);
  color: var(--b2b-color-ink);
  box-shadow: inset 3px 0 0 var(--b2b-color-primary);
  font-weight: 700;
}

.b2b-product-filter-clear {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--b2b-color-secondary);
  font-size: 12px;
  font-weight: 700;
}

.b2b-products-quote-card h3 {
  margin: 0;
  color: var(--b2b-color-ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 680;
}

.b2b-products-quote-card p {
  margin: 9px 0 16px;
  color: var(--b2b-color-muted);
  font-size: 13px;
  line-height: 1.6;
}

.b2b-mobile-product-filter {
  display: none;
}

.b2b-products-main {
  min-width: 0;
}

.b2b-products-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--b2b-color-border);
}

.b2b-products-count {
  color: var(--b2b-color-muted);
  font-size: 13px;
  font-weight: 650;
}

.b2b-products-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 5px 8px;
  border-radius: var(--b2b-radius-pill);
  background: var(--b2b-color-primary-soft);
  color: var(--b2b-color-primary);
  font-size: 12px;
  font-weight: 700;
}

.b2b-products-tools {
  display: grid;
  grid-template-columns: minmax(220px, 310px) 140px;
  gap: 12px;
  align-items: center;
}

.b2b-products-search {
  position: relative;
}

.b2b-products-search svg,
.b2b-products-search i {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--b2b-color-muted);
  transform: translateY(-50%);
}

.b2b-products-search input,
.b2b-products-sort {
  width: 100%;
  height: 42px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: rgba(255, 255, 255, .74);
  color: var(--b2b-color-ink);
  font-size: 14px;
  outline: 0;
}

.b2b-products-search input {
  padding: 0 14px 0 36px;
}

.b2b-products-sort {
  padding: 0 12px;
}

.b2b-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.b2b-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: #fff;
  box-shadow: 0 14px 34px rgba(11, 24, 40, .06);
}

.b2b-product-card-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 10px;
  border-radius: 6px;
  background: var(--b2b-color-surface-soft);
  overflow: hidden;
}

.b2b-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

.b2b-product-image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(68, 111, 136, .26);
}

.b2b-product-image-placeholder svg,
.b2b-product-image-placeholder i {
  width: 26px;
  height: 26px;
}

.b2b-product-image-placeholder-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--b2b-radius-pill);
  background: rgba(68, 111, 136, .10);
  color: rgba(68, 111, 136, .52);
  font-size: 20px;
  font-weight: 800;
}

.b2b-product-card-body {
  display: grid;
  grid-template-rows: 23px 48px 42px auto auto;
  padding: 4px 16px 16px;
}

.b2b-product-card-badge,
.b2b-pdp-cat-badge {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--b2b-color-secondary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.b2b-product-card-title {
  display: -webkit-box;
  min-height: 46px;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--b2b-color-ink);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 680;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.b2b-product-card-title a {
  color: inherit;
}

.b2b-product-card-desc {
  display: -webkit-box;
  min-height: 42px;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--b2b-color-muted);
  font-size: 13.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.b2b-product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: start;
  min-height: 31px;
  margin-top: 14px;
}

.b2b-product-card-specs div,
.b2b-pdp-spec-row,
.b2b-pdp-trust-item,
.b2b-pdp-app-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-pill);
  background: rgba(245, 250, 252, .78);
  color: var(--b2b-color-secondary);
  font-size: 12px;
  font-weight: 720;
}

.b2b-product-card-specs span,
.b2b-pdp-spec-row span {
  color: var(--b2b-color-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.b2b-product-card-specs span::after,
.b2b-pdp-spec-row span::after {
  content: ":";
  margin-right: 4px;
}

.b2b-product-card-specs strong,
.b2b-pdp-spec-row strong {
  color: var(--b2b-color-secondary);
  font-size: 12px;
  font-weight: 720;
}

.b2b-product-card-actions {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 10px;
  margin-top: 15px;
}

.b2b-product-primary-btn,
.b2b-product-secondary-btn,
.b2b-pdp-btn-primary,
.b2b-pdp-btn-secondary,
.b2b-pdp-download-btn,
.b2b-pdp-related-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--b2b-radius-sm);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background var(--b2b-transition), border-color var(--b2b-transition), color var(--b2b-transition), box-shadow var(--b2b-transition);
}

.b2b-product-primary-btn,
.b2b-pdp-btn-primary {
  border: 1px solid var(--b2b-color-primary);
  background: var(--b2b-color-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 24, 40, .12);
}

.b2b-product-primary-btn:hover,
.b2b-pdp-btn-primary:hover {
  border-color: var(--b2b-color-primary-hover);
  background: var(--b2b-color-primary-hover);
  color: #fff;
}

.b2b-product-secondary-btn,
.b2b-pdp-btn-secondary,
.b2b-pdp-download-btn,
.b2b-pdp-related-head > a {
  border: 1px solid var(--b2b-color-border);
  background: #fff;
  color: var(--b2b-color-ink);
}

.b2b-product-secondary-btn:hover,
.b2b-pdp-btn-secondary:hover,
.b2b-pdp-download-btn:hover,
.b2b-pdp-related-head > a:hover {
  border-color: var(--b2b-color-border-strong);
  background: var(--b2b-color-soft);
}

.b2b-product-archive-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
}

.b2b-product-archive-cta h2 {
  margin: 0;
  color: var(--b2b-color-ink);
  font-size: 20px;
  line-height: 1.24;
  font-weight: 680;
}

.b2b-product-archive-cta p {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--b2b-color-muted);
  font-size: 14px;
  line-height: 1.62;
}

.b2b-product-pagination {
  margin-top: 28px;
}

.b2b-product-empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
}

.b2b-product-empty-state svg,
.b2b-product-empty-state i {
  width: 34px;
  height: 34px;
  color: var(--b2b-color-secondary);
}

.b2b-product-empty-state h2 {
  margin: 0;
  font-size: 24px;
}

.b2b-product-empty-state p {
  max-width: 520px;
  margin: 0;
  color: var(--b2b-color-muted);
}

/* Product detail */
.b2b-pdp {
  padding: 40px 0 40px;
}

.b2b-pdp-hero {
  display: grid;
  grid-template-columns: minmax(520px, 600px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.b2b-pdp-gallery-stack {
  display: grid;
  gap: 14px;
}

.b2b-pdp-gallery {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

.b2b-pdp-main-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--b2b-color-surface-soft);
  cursor: zoom-in;
  overflow: hidden;
}

.b2b-pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity var(--b2b-transition);
}

.b2b-pdp-main-image img.is-switching {
  opacity: .42;
}

.b2b-pdp-zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--b2b-radius-pill);
  background: rgba(255, 255, 255, .82);
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-weight: 700;
  opacity: .82;
  transition: opacity var(--b2b-transition), transform var(--b2b-transition);
}

.b2b-pdp-main-image:hover .b2b-pdp-zoom-hint {
  opacity: 1;
  transform: translateY(-2px);
}

.b2b-pdp-zoom-hint svg,
.b2b-pdp-zoom-hint i {
  width: 14px;
  height: 14px;
}

.b2b-pdp-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 6);
  gap: 8px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.b2b-pdp-thumbs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.b2b-pdp-thumbs-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 600px;
}

.b2b-pdp-thumbs-shell.has-overflow-nav {
  grid-template-columns: 34px minmax(0, 1fr) 34px;
}

.b2b-pdp-thumbs-shell.has-more-left::before,
.b2b-pdp-thumbs-shell.has-more-right::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 28px;
  pointer-events: none;
}

.b2b-pdp-thumbs-shell.has-more-left::before {
  left: 42px;
  background: linear-gradient(90deg, rgba(244, 247, 250, .92), rgba(244, 247, 250, 0));
}

.b2b-pdp-thumbs-shell.has-more-right::after {
  right: 42px;
  background: linear-gradient(270deg, rgba(244, 247, 250, .92), rgba(244, 247, 250, 0));
}

.b2b-pdp-thumbs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-pill);
  background: rgba(255, 255, 255, .88);
  color: var(--b2b-color-primary);
  cursor: pointer;
}

.b2b-pdp-thumbs-nav:disabled {
  color: var(--b2b-color-muted);
  cursor: default;
  opacity: .42;
}

.b2b-pdp-thumbs-nav[hidden] {
  display: none;
}

.thumbnail-btn {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--b2b-color-surface-soft);
  cursor: pointer;
  overflow: hidden;
  outline: 0;
  scroll-snap-align: start;
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbnail-btn.is-active {
  border-color: #000;
}

.thumbnail-btn:focus-visible {
  box-shadow: inset 0 0 0 2px var(--b2b-color-primary), 0 0 0 3px rgba(14, 39, 64, .16);
}

.b2b-pdp-sample-tag {
  display: none;
}

.b2b-pdp-summary {
  min-width: 0;
  padding-top: 6px;
}

.b2b-pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.b2b-pdp-model {
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-weight: 700;
}

.b2b-pdp-summary h1 {
  max-width: 720px;
  margin: 0;
  color: var(--b2b-color-ink);
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
  font-weight: 680;
  letter-spacing: 0;
}

.b2b-pdp-desc {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--b2b-color-muted);
  font-size: 16px;
  line-height: 1.72;
}

.b2b-pdp-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.b2b-pdp-hero-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-pill);
  background: rgba(255, 255, 255, .72);
  color: var(--b2b-color-ink);
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.25;
}

.b2b-pdp-hero-features svg,
.b2b-pdp-hero-features i {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--b2b-color-secondary);
}

.b2b-pdp-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.b2b-pdp-price-label {
  display: block;
  color: var(--b2b-color-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.b2b-pdp-procurement {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--b2b-color-border);
}

.b2b-pdp-procurement-grid {
  display: grid;
  gap: 0;
  max-width: 640px;
  margin-top: 12px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: rgba(255, 255, 255, .58);
  overflow: hidden;
}

.b2b-pdp-procurement-row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-top: 1px solid var(--b2b-color-border);
}

.b2b-pdp-procurement-row:first-child {
  border-top: 0;
}

.b2b-pdp-procurement-row span {
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.b2b-pdp-procurement-row strong {
  color: var(--b2b-color-ink);
  font-size: 14px;
  line-height: 1.35;
}

.b2b-pdp-procurement-row em {
  grid-column: 2;
  margin-top: -6px;
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-style: normal;
}

.b2b-pdp-sample-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--b2b-color-border);
  color: var(--b2b-color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.b2b-pdp-sample-row svg,
.b2b-pdp-sample-row i {
  width: 18px;
  height: 18px;
  color: var(--b2b-color-secondary);
}

.b2b-pdp-sample-row strong {
  display: block;
  color: var(--b2b-color-ink);
}

.b2b-pdp-sample-row em {
  display: block;
  font-style: normal;
}

.b2b-pdp-cta-group {
  margin-top: 24px;
}

.b2b-pdp-cta-primary-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 12px;
}

.b2b-pdp-cta-secondary-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.b2b-pdp-cta-secondary-row--single {
  grid-template-columns: 1fr;
}

.b2b-pdp-btn-primary,
.b2b-pdp-btn-secondary {
  min-height: 50px;
  font-size: 14px;
}

.b2b-pdp-buyer-tip {
  margin: 18px 0 0;
  color: var(--b2b-color-muted);
  font-size: 13px;
  line-height: 1.62;
}

.b2b-pdp-applications {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--b2b-color-border);
}

.b2b-pdp-applications-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--b2b-color-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.b2b-pdp-applications-label svg,
.b2b-pdp-applications-label i {
  width: 15px;
  height: 15px;
  color: var(--b2b-color-secondary);
}

.b2b-pdp-applications-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b2b-pdp-applications-text {
  max-width: 840px;
  margin: 0;
  color: var(--b2b-color-muted);
  font-size: 14px;
  line-height: 1.62;
}

.b2b-pdp-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding-top: 36px;
}

.b2b-pdp-tabs-wrap,
.b2b-pdp-side-cta,
.b2b-pdp-inquiry,
.b2b-pdp-related .b2b-product-card {
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--b2b-shadow-sm);
}

.b2b-pdp-tabs-wrap {
  padding: 24px;
}

.b2b-pdp-inline-rfq-bar {
  display: none;
}

.b2b-pdp-tab-nav {
  position: sticky;
  top: 72px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--b2b-color-border);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.b2b-pdp-tab-nav .tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--b2b-color-muted);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  outline: 0;
  text-decoration: none;
  transition: color var(--b2b-transition);
}

.b2b-pdp-tab-nav .tab-btn:hover {
  color: var(--b2b-color-primary);
}

.b2b-pdp-tab-nav .tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: var(--b2b-radius-pill);
  background: transparent;
}

.b2b-pdp-tab-nav .tab-btn[aria-current="true"],
.b2b-pdp-tab-nav .tab-btn.is-active {
  background: transparent;
  color: var(--b2b-color-primary);
}

.b2b-pdp-tab-nav .tab-btn[aria-current="true"]::after,
.b2b-pdp-tab-nav .tab-btn.is-active::after {
  background: var(--b2b-color-primary);
}

.b2b-pdp-tab-nav .tab-btn:focus-visible {
  color: var(--b2b-color-primary);
}

.b2b-pdp-tab-nav .tab-btn:focus-visible::after {
  background: var(--b2b-color-primary);
}

.b2b-pdp-tab-panel {
  scroll-margin-top: 156px;
  min-height: min(520px, calc(100vh - 180px));
  padding-top: 0;
}

.b2b-pdp-section-stack {
  display: grid;
  gap: 34px;
  padding-top: 24px;
}

.b2b-pdp-section:focus {
  outline: 0;
}

.b2b-pdp-tab-panel h2,
.b2b-pdp-side-cta h3,
.b2b-pdp-inquiry-copy h2,
.b2b-pdp-related-head h2 {
  margin: 0;
  color: var(--b2b-color-ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 680;
  letter-spacing: 0;
}

.b2b-pdp-prose,
.b2b-pdp-tab-panel p {
  max-width: 820px;
  color: var(--b2b-color-muted);
  font-size: 15px;
  line-height: 1.72;
}

.b2b-pdp-prose {
  margin-top: 10px;
}

.b2b-pdp-prose > *:first-child {
  margin-top: 0;
}

.b2b-pdp-prose > *:last-child {
  margin-bottom: 0;
}

.b2b-pdp-prose h2,
.b2b-pdp-prose h3,
.b2b-pdp-prose h4 {
  max-width: 760px;
  margin: 24px 0 8px;
  color: var(--b2b-color-ink);
  line-height: 1.22;
  font-weight: 680;
  letter-spacing: 0;
}

.b2b-pdp-prose h2 {
  font-size: 22px;
}

.b2b-pdp-prose h3 {
  font-size: 18px;
}

.b2b-pdp-prose h4 {
  font-size: 16px;
}

.b2b-pdp-prose p {
  margin: 8px 0 0;
}

.b2b-pdp-prose ul,
.b2b-pdp-prose ol {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}

.b2b-pdp-prose li {
  position: relative;
  padding-left: 18px;
  color: var(--b2b-color-muted);
  line-height: 1.58;
}

.b2b-pdp-prose li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: var(--b2b-radius-pill);
  background: var(--b2b-color-secondary);
}

.b2b-pdp-prose strong {
  color: var(--b2b-color-ink);
  font-weight: 760;
}

.b2b-pdp-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.b2b-pdp-feature-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 86px;
  padding: 15px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: rgba(255, 255, 255, .76);
  color: var(--b2b-color-ink);
  font-size: 13.5px;
  font-weight: 680;
  line-height: 1.48;
  box-shadow: 0 10px 24px rgba(11, 24, 40, .045);
}

.b2b-pdp-feature-card svg,
.b2b-pdp-feature-card i {
  width: 20px;
  height: 20px;
  color: var(--b2b-color-secondary);
}

.b2b-pdp-highlight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.b2b-pdp-highlight-list li,
.b2b-pdp-custom-item,
.b2b-pdp-cert-card,
.b2b-pdp-packaging-item {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: rgba(245, 250, 252, .72);
  color: var(--b2b-color-muted);
  font-size: 13px;
  line-height: 1.52;
}

.b2b-pdp-packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.b2b-pdp-packaging-item {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 138px;
}

.b2b-pdp-packaging-item svg,
.b2b-pdp-packaging-item i {
  width: 28px;
  height: 28px;
  padding: 7px;
  border-radius: var(--b2b-radius-pill);
  background: rgba(68, 111, 136, .12);
  color: var(--b2b-color-secondary);
}

.b2b-pdp-packaging-item strong {
  color: var(--b2b-color-ink);
  font-size: 15px;
  font-weight: 760;
}

.b2b-pdp-packaging-item p {
  margin: 0;
}

.b2b-pdp-specs-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.b2b-pdp-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.b2b-pdp-spec-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: #fff;
}

.b2b-pdp-spec-table span {
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.b2b-pdp-spec-table strong {
  color: var(--b2b-color-ink);
  font-size: 14px;
}

.b2b-pdp-cert-grid,
.b2b-pdp-custom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.b2b-pdp-cert-badge-large,
.b2b-pdp-custom-item strong {
  display: block;
  color: var(--b2b-color-ink);
  font-size: 15px;
  font-weight: 760;
}

.b2b-pdp-cert-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: var(--b2b-color-secondary);
  font-size: 13px;
  font-weight: 700;
}

.b2b-pdp-inline-btn {
  margin-top: 22px;
}

.b2b-pdp-side-cta {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.b2b-pdp-side-cta h3 {
  margin-bottom: 8px;
}

.b2b-pdp-side-cta p {
  margin-bottom: 18px;
  color: var(--b2b-color-muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.b2b-pdp-side-cta ul {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--b2b-color-border);
  color: var(--b2b-color-secondary);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.b2b-pdp-inquiry {
  padding: 24px 0 42px;
  background: linear-gradient(135deg, rgba(255,255,255,.82) 0%, rgba(238,244,247,.82) 100%);
}

.b2b-pdp-inquiry-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: center;
  width: min(100% - 48px, 1060px);
  margin: 0 auto;
}

.b2b-pdp-inquiry-copy {
  align-self: center;
  max-width: 560px;
}

.b2b-pdp-inquiry-copy .b2b-pdp-cat-badge {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0;
}

.b2b-pdp-inquiry-copy h2 {
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.12;
  font-weight: 760;
}

.b2b-pdp-inquiry-copy p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--b2b-color-muted);
  font-size: 16px;
  line-height: 1.68;
}

.b2b-pdp-inquiry-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--b2b-color-ink);
  font-size: 15px;
  font-weight: 680;
  list-style: none;
}

.b2b-pdp-inquiry-copy li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.b2b-pdp-inquiry-copy li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: var(--b2b-radius-pill);
  background: rgba(68, 111, 136, .12);
  color: var(--b2b-color-secondary);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.b2b-pdp-inquiry-card {
  padding: 20px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: #fff;
  transition: border-color var(--b2b-transition), box-shadow var(--b2b-transition);
}

.b2b-pdp-inquiry-card.is-attention {
  border-color: var(--b2b-color-secondary);
  box-shadow: 0 0 0 4px rgba(68, 111, 136, .12), var(--b2b-shadow-sm);
}

.b2b-pdp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.b2b-pdp-field {
  display: grid;
  gap: 7px;
}

.b2b-pdp-field.is-wide {
  grid-column: 1 / -1;
}

.b2b-pdp-field label {
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.b2b-pdp-field input,
.b2b-pdp-field textarea,
.b2b-pdp-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--b2b-color-border);
  border-radius: var(--b2b-radius-sm);
  background: #f8fbfd;
  color: var(--b2b-color-ink);
  padding: 0 12px;
  outline: 0;
}

.b2b-pdp-field textarea {
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.b2b-pdp-form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.b2b-pdp-form-footer p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--b2b-color-muted);
  font-size: 12px;
  font-weight: 700;
}

.b2b-pdp-form-footer svg,
.b2b-pdp-form-footer i {
  width: 14px;
  height: 14px;
}

.b2b-pdp-related {
  padding: 40px 0 76px;
}

.b2b-pdp-related-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.b2b-pdp-related-head > div {
  display: grid;
  gap: 6px;
}

.b2b-pdp-related-head > a {
  min-height: 42px;
}

.b2b-pdp-related .b2b-product-grid {
  margin-top: 0;
}

.b2b-pdp-related-grid--count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.b2b-pdp-related-grid--count-1 {
  display: block;
  max-width: 960px;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  gap: 30px;
  padding: 18px;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-image {
  height: 100%;
  min-height: 300px;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-body {
  display: flex;
  flex-direction: column;
  align-content: normal;
  justify-content: flex-start;
  padding: 34px 14px 22px 2px;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-badge {
  margin-bottom: 10px;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-title {
  min-height: 0;
  margin: 0;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 700;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-desc {
  min-height: 0;
  margin-top: 16px;
  color: color-mix(in srgb, var(--b2b-color-muted) 92%, var(--b2b-color-ink));
  font-size: 14px;
  line-height: 1.7;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-specs {
  gap: 8px;
  min-height: 0;
  margin-top: 16px;
}

.b2b-pdp-related-grid--count-1 .b2b-product-card-actions {
  gap: 12px;
  margin-top: 20px;
}

.b2b-pdp-related-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b2b-pdp-related-grid--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.b2b-pdp-related .b2b-product-card-badge {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.b2b-pdp-related .b2b-product-card-desc {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.b2b-pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 56px minmax(0, auto) 56px;
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 24px;
  place-items: stretch;
  padding: 72px 80px 36px;
  background: rgba(11, 24, 40, .9);
}

.b2b-pdp-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.b2b-pdp-lightbox-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: fit-content;
  max-width: min(calc(100vw - 288px), 1120px);
  height: fit-content;
  max-height: min(calc(100dvh - 172px), 820px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .18);
}

.b2b-pdp-lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 288px), 1120px);
  max-height: min(calc(100dvh - 172px), 820px);
  object-fit: contain;
  object-position: center center;
  border-radius: inherit;
  transition: opacity var(--b2b-transition);
}

.b2b-pdp-lightbox-btn {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--b2b-radius-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--b2b-color-ink);
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

.b2b-pdp-lightbox-close {
  top: 24px;
  right: 24px;
}

.b2b-pdp-lightbox-prev {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: end;
}

.b2b-pdp-lightbox-next {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: start;
}

.b2b-pdp-lightbox-counter {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  margin-top: 12px;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: var(--b2b-radius-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--b2b-color-ink);
  font-size: 12px;
  font-weight: 760;
}

.b2b-pdp-lightbox.hidden,
.b2b-pdp-honeypot {
  display: none;
}

.b2b-pdp-mobile-sticky-cta {
  display: none;
}

.b2b-pdp-whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--b2b-radius-pill);
  background: var(--b2b-color-primary);
  color: #fff;
  box-shadow: var(--b2b-shadow-md);
  font-size: 13px;
  font-weight: 760;
  transition: opacity var(--b2b-transition), transform var(--b2b-transition);
}

.b2b-pdp-whatsapp-fab.is-hidden,
.b2b-floating-inquiry-cta.is-hidden,
.b2b-desktop-quick-quote.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
}

@media (max-width: 1180px) {
  .b2b-product-layout,
  .b2b-pdp-hero,
  .b2b-pdp-body,
  .b2b-pdp-inquiry-inner {
    grid-template-columns: 1fr;
  }

  .b2b-products-sidebar,
  .b2b-pdp-side-cta {
    position: static;
  }

  .b2b-products-sidebar {
    display: none;
  }

  .b2b-mobile-product-filter {
    display: block;
    margin-bottom: 18px;
    border: 1px solid var(--b2b-color-border);
    border-radius: var(--b2b-radius-sm);
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--b2b-shadow-sm);
  }

  .b2b-mobile-product-filter summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    color: var(--b2b-color-ink);
    font-weight: 760;
    cursor: pointer;
  }

  .b2b-mobile-product-filter .b2b-products-sidebar-inner {
    padding: 0 16px 16px;
  }

  .b2b-product-grid,
  .b2b-pdp-related-grid--count-3,
  .b2b-pdp-related-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .b2b-product-archive-inner,
  .b2b-pdp-inner,
  .b2b-pdp-inquiry-inner {
    width: min(100% - 28px, 1320px);
  }

  .b2b-products-toolbar,
  .b2b-products-tools,
	  .b2b-product-grid,
	  .b2b-product-archive-cta,
	  .b2b-pdp-hero,
	  .b2b-pdp-spec-table,
	  .b2b-pdp-feature-cards,
	  .b2b-pdp-highlight-list,
	  .b2b-pdp-cert-grid,
  .b2b-pdp-custom-grid,
  .b2b-pdp-packaging-grid,
  .b2b-pdp-form-grid,
  .b2b-pdp-related-grid--count-1 .b2b-product-card,
  .b2b-pdp-related-grid--count-2,
  .b2b-pdp-related-grid--count-3,
  .b2b-pdp-related-grid--count-4 {
    grid-template-columns: 1fr;
  }

  .b2b-pdp-tabs-wrap,
  .b2b-pdp-inquiry {
    padding: 18px;
  }

  .b2b-pdp-tab-nav {
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .b2b-pdp-tab-nav .tab-btn {
    flex: 0 0 auto;
  }

  .b2b-pdp-main-image {
    aspect-ratio: 1;
  }

  .b2b-pdp-procurement-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .b2b-pdp-procurement-row em {
    grid-column: 1;
    margin-top: 0;
  }

  .b2b-pdp-thumbs {
    grid-auto-columns: calc((100% - 24px) / 4);
    gap: 8px;
  }

  .b2b-pdp-thumbs-shell.has-overflow-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .b2b-pdp-thumbs-nav {
    display: none;
  }

  .b2b-pdp-thumbs-shell.has-more-left::before {
    left: 0;
  }

  .b2b-pdp-thumbs-shell.has-more-right::after {
    right: 0;
  }

  .b2b-pdp-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    column-gap: 10px;
    padding: 64px 14px 28px;
  }

  .b2b-pdp-lightbox-stage {
    max-width: 100%;
    max-height: calc(100dvh - 156px);
    border-radius: 6px;
  }

  .b2b-pdp-lightbox-stage img {
    max-width: 100%;
    max-height: calc(100dvh - 156px);
  }

  .b2b-pdp-lightbox-close {
    top: 16px;
    right: 16px;
  }

  .b2b-pdp-lightbox-prev {
    left: auto;
  }

  .b2b-pdp-lightbox-next {
    right: auto;
  }

  .b2b-pdp-summary h1 {
    font-size: 34px;
  }

  .b2b-pdp-price-row,
  .b2b-pdp-cta-secondary-row,
  .b2b-pdp-form-footer {
    grid-template-columns: 1fr;
  }

  .b2b-pdp-inquiry {
    margin-top: 24px;
    padding: 28px 0;
  }

  .b2b-pdp-inquiry-inner {
    width: min(100% - 28px, 1320px);
    gap: 28px;
  }

  .b2b-pdp-body {
    padding-top: 24px;
  }

  .b2b-pdp-related {
    padding-top: 28px;
  }

  .b2b-pdp-related-grid--count-1 .b2b-product-card-image {
    min-height: 220px;
  }
}
