/* CP268: high-clarity shared UI fixes verified against the full route set. */

/* Keep the consent choice compact, opaque and readable without hiding its controls. */
#pg-cookie-banner.pg-cookie-banner {
  max-height: min(68dvh, 560px);
  padding: 16px;
  gap: 10px;
  background-color: #030b14;
  background-image: linear-gradient(145deg, rgba(7, 20, 33, .995), rgba(3, 11, 20, .995));
  color: #f2f7ff;
  backdrop-filter: none;
}
#pg-cookie-banner .pg-cookie-copy strong { font-size: 1rem; line-height: 1.3; }
#pg-cookie-banner .pg-cookie-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: 2.9em;
  color: #d0dceb;
  font-size: .84rem;
  line-height: 1.45;
}
#pg-cookie-banner .pg-cookie-banner-options { gap: 5px; }
#pg-cookie-banner .pg-cookie-banner-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#pg-cookie-banner .pg-cookie-banner-option {
  min-height: 48px;
  padding: 6px 10px;
  background: #0a1b2b;
  border-color: rgba(99, 157, 193, .34);
}
#pg-cookie-banner .pg-cookie-banner-option:not(:first-of-type) small { display: none; }
#pg-cookie-banner .pg-cookie-banner-option strong { font-size: .9rem; }
#pg-cookie-banner .pg-cookie-banner-option small { font-size: .78rem; color: #b6c8d9; }
#pg-cookie-banner .pg-cookie-banner-option input {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
}
#pg-cookie-banner .pg-cookie-actions .pg-consent-btn { min-height: 48px; font-size: .9rem; }
#pg-cookie-banner .pg-cookie-links { min-height: 40px; align-items: center; font-size: .82rem; }
#pg-cookie-banner .pg-cookie-links a,
#pg-cookie-banner .pg-cookie-links button { min-height: 40px; display: inline-flex; align-items: center; }

/* The homepage had several manually compressed text styles below 12px. */
.pg-page-home .pgd-section-head > p,
.pg-page-home .pgd-b2b-form > p,
.pg-page-home .pgd-protection-copy > p {
  font-size: clamp(.9rem, 1vw, 1rem) !important;
  line-height: 1.65 !important;
  font-weight: 500;
  color: #d2deec !important;
}
.pg-page-home .pgd-section-head p,
.pg-page-home .pgd-products#products .pgd-section-head p {
  font-size: clamp(.9rem, 1vw, 1rem) !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  color: #d2deec !important;
}
.pg-page-home .pgd-section-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .875rem !important;
  line-height: 1.45;
}
.pg-page-home .pgd-b2b-form button[type="submit"] {
  min-height: 48px;
  font-size: .9rem !important;
  line-height: 1.35;
}
.pg-page-home .pgd-brand-wordmarks a {
  min-height: 48px;
  font-size: .875rem !important;
  font-weight: 750;
  color: #d6e5f4;
}
.pg-page-home .pgd-brands-copy p {
  font-size: .84rem !important;
  line-height: 1.4 !important;
  color: #34475a !important;
}
.pg-page-home .pgd-model-count span {
  max-width: 92px;
  font-size: .76rem !important;
  line-height: 1.25 !important;
}
.pg-page-home .pgd-image-card b,
.pg-page-home .pgd-product-card b,
.pg-page-home .pgd-industry-rail a,
.pg-page-home .pgd-mini-notes,
.pg-page-home .pgd-protection-icons span,
.pg-page-home .pgd-protection-brand > span {
  font-size: .78rem !important;
  line-height: 1.35 !important;
}
.pg-page-home .pgm-category-featured small {
  display: block;
  font-size: .82rem !important;
  line-height: 1.4 !important;
  color: #c5d4e4 !important;
}
.pg-page-home .pgd-b2b-form .pgd-form-grid input {
  min-height: 40px;
  font-size: .8rem !important;
}
.pg-page-home .pgd-b2b-form button {
  min-height: 48px;
  font-size: .9rem !important;
}
/* Shared desktop controls meet the same minimum hit area as mobile controls. */
.pg-header-search:not(.pg-header-search-mobile) > button {
  flex-basis: 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
}
.langbtn { min-width: 48px; min-height: 48px; }
.pg-visual-system summary { min-height: 48px; padding-block: 10px; }
.pg-catalogue-filters .pg-filter-reset { min-width: 48px; min-height: 48px; }
.pg-page-home .pgd-upload-btn { font-size: .84rem !important; }
.pg-page-home .pgd-benefits strong { font-size: .78rem !important; line-height: 1.35 !important; }
.pg-page-home .pgm-tagline {
  min-height: 54px;
  height: auto !important;
  padding: 12px 16px;
  font-size: .82rem !important;
  line-height: 1.5 !important;
  color: #c7d4e2 !important;
  text-align: center;
}
.pg-page-home .pghf-brand p,
.pg-page-home .pghf-grid :is(a, h2),
.pg-page-home .pghf-legal {
  font-size: .8rem !important;
  line-height: 1.45 !important;
}
.pg-page-home .pg-footer-brand p,
.pg-footer-brand p {
  font-size: .875rem !important;
  line-height: 1.6 !important;
  color: #c2d0e0 !important;
}

/* Make public consent checkboxes comfortably tappable, not tiny native targets. */
.pg-visual-system .pg-review-consent,
.pg-visual-system .pg-partner-consent,
.pg-visual-system .ai-pos-check {
  min-height: 48px;
  padding-block: 8px;
}
.pg-visual-system .pg-review-consent input[type="checkbox"],
.pg-visual-system .pg-partner-consent input[type="checkbox"],
.pg-visual-system .ai-pos-check input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  accent-color: var(--pg-blue, #109cff);
}

@media (max-width: 640px) {
  .pg-page-home .pg-header-search-mobile input {
    font-size: 13px !important;
    letter-spacing: 0 !important;
  }
  #pg-cookie-banner.pg-cookie-banner {
    left: 0;
    right: 0;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    max-height: min(54dvh, 450px);
    overflow-y: auto;
    padding: 12px max(14px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    gap: 8px;
    border-radius: 16px 16px 0 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    transform: translateY(12px) !important;
  }
  #pg-cookie-banner.pg-cookie-banner.is-visible { transform: translateY(0) !important; }
  #pg-cookie-banner.pg-cookie-banner.is-hiding { transform: translateY(12px) !important; }
  #pg-cookie-banner .pg-cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #pg-cookie-banner .pg-cookie-actions [data-pg-settings] { grid-column: 1 / -1; }
  #pg-cookie-banner .pg-cookie-copy strong { font-size: 1rem; }
  #pg-cookie-banner .pg-cookie-copy p { font-size: .82rem; line-height: 1.42; max-height: 2.84em; }
  #pg-cookie-banner .pg-cookie-banner-option { min-height: 46px; }
  #pg-cookie-banner .pg-cookie-actions .pg-consent-btn { min-height: 48px; font-size: .88rem; }
  .pg-page-home .pgd-section-head > p,
  .pg-page-home .pgd-b2b-form > p,
  .pg-page-home .pgd-protection-copy > p { font-size: .94rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  #pg-cookie-banner.pg-cookie-banner { transition: none !important; }
}

/* Keep hidden consent layers out of the layout even where legacy display rules differ. */
#pg-cookie-banner.pg-cookie-banner[hidden],
#pg-cookie-modal[hidden] {
  display: none !important;
}

/* CP274: mobile category cards without a photo must not reserve a phantom thumbnail column. */
.pg-category-items .pg-catalogue-card.pg-catalogue-no-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.pg-category-items .pg-catalogue-card.pg-catalogue-no-image > .pg-catalogue-card-copy {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.pg-category-items .pg-catalogue-card h3,
.pg-category-items .pg-catalogue-card h3 a {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.pg-category-items .pg-catalogue-detail-link {
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image {
    padding: 14px;
  }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image .pg-card-actions {
    display: grid;
    grid-template-columns: minmax(76px, 84px) minmax(0, 1fr);
    align-items: end;
    width: 100%;
    gap: 10px;
  }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image .pg-card-quantity input {
    width: 100%;
    box-sizing: border-box;
  }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image .pg-quote-add {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* CP274: catalogue thumbnails inherit legacy full-bleed margins; keep them inside the card grid. */
.pg-category-items .pg-catalogue-card > .pg-catalogue-card-image {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  box-sizing: border-box;
}
.pg-category-items .pg-catalogue-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* CP275: catalogue cards and filters stay readable at every viewport width. */
.pg-category-items .pg-catalogue-layout {
  grid-template-columns: minmax(235px, 270px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.pg-category-items .pg-catalogue-filters {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.pg-category-items .pg-catalogue-filters > * { min-width: 0; width: 100%; box-sizing: border-box; }
.pg-category-items .pg-catalogue-filters label { line-height: 1.4; }
.pg-category-items .pg-catalogue-filters input,
.pg-category-items .pg-catalogue-filters select { width: 100%; min-width: 0; min-height: 48px; box-sizing: border-box; }
.pg-category-items .pg-catalogue-filters .pg-filter-reset { width: 100%; min-width: 0; margin: 0; }
.pg-category-items .pg-catalogue-results {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: stretch;
}
.pg-category-items .pg-catalogue-group-heading { grid-column: 1 / -1; min-width: 0; margin: 12px 0 0; padding: 10px 2px 4px; border-top: 1px solid rgba(96, 156, 195, .24); }
.pg-category-items .pg-catalogue-group-heading:first-child { margin-top: 0; border-top: 0; }
.pg-category-items .pg-catalogue-group-heading h3 { margin: 0; color: #eff8ff; font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.3; }
.pg-category-items .pg-catalogue-group-heading p { max-width: 75ch; margin: 5px 0 0; color: #b8c9d9; font-size: .88rem; line-height: 1.5; }
.pg-category-items .pg-catalogue-card { min-width: 0; box-sizing: border-box; grid-template-columns: minmax(88px, 112px) minmax(0, 1fr); align-items: start; }
.pg-category-items .pg-catalogue-card-copy { min-width: 0; width: 100%; box-sizing: border-box; }
.pg-category-items .pg-catalogue-card h4,
.pg-category-items .pg-catalogue-card h4 a { min-width: 0; margin: 0; overflow-wrap: break-word; word-break: normal; hyphens: auto; line-height: 1.38; }
.pg-category-items .pg-catalogue-detail-link { min-width: 0; max-width: 100%; justify-content: space-between; overflow-wrap: normal; word-break: normal; white-space: normal; text-align: start; }
.pg-category-items .pg-catalogue-card .product-note,
.pg-category-items .pg-catalogue-compatible,
.pg-category-items .pg-catalogue-sku,
.pg-category-items .pg-catalogue-model-list { min-width: 0; overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.pg-category-items .pg-quote-add { min-width: 0; white-space: normal; line-height: 1.2; text-align: center; }

/* The back-to-top control yields whenever either fixed action bar is visible. */
.pg-back-to-top.pg-above-sticky,
body.pg-has-quote-cart .pg-back-to-top,
body.pg-filter-sheet-open .pg-back-to-top { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; transition: none !important; }
body.pg-filter-sheet-open .pg-quote-cart-bar { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; transition: none !important; }
body.pg-has-quote-cart { padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important; }

/* Compact, translated upload control; native browser file-picker copy is visually replaced. */
.ai-pos-form .ai-pos-file-field { display: grid; gap: 8px; min-width: 0; }
.ai-pos-form .ai-pos-field-label { color: #e5f1fc; font-weight: 750; line-height: 1.4; }
.ai-pos-file-picker { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; padding: 6px 10px; border: 1px solid rgba(70, 146, 194, .38); border-radius: 11px; background: rgba(4, 15, 27, .92); box-sizing: border-box; }
.ai-pos-file-picker input[type="file"] { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.ai-pos-file-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 48px; padding: 0 13px; border: 1px solid rgba(113, 207, 255, .52); border-radius: 9px; background: linear-gradient(135deg, #0877ca, #12a9f3 60%, #49c5ff); color: #fff; font-size: .9rem; font-weight: 800; cursor: pointer; }
.ai-pos-file-picker input[type="file"]:focus-visible + .ai-pos-file-button { outline: 3px solid #70d7ff; outline-offset: 3px; }
.ai-pos-file-name { min-width: 0; overflow: hidden; color: #c7d6e5; font-size: .9rem; line-height: 1.4; text-overflow: ellipsis; }
.ai-pos-file-name.is-error { color: #ffabb7; }
.ai-pos-file-hint { display: block; color: #bbcad9; font-size: .84rem; line-height: 1.55; }
.ai-pos-form .ai-pos-check { display: grid !important; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; min-width: 0; min-height: 0; padding: 13px; border: 1px solid rgba(85, 137, 174, .24); border-radius: 11px; background: rgba(4, 14, 25, .66); color: #d5e1ec; font-size: .9rem; font-weight: 500; line-height: 1.58; }
.ai-pos-form .ai-pos-check input[type="checkbox"] { width: 24px; height: 24px; min-width: 24px; min-height: 24px; margin: 1px 0 0; accent-color: #109cff; }
.ai-pos-form .ai-pos-check span { min-width: 0; }
.pg-quote-field-note { grid-column: 1 / -1; display: block; margin: -8px 0 6px; color: #c2d2e2; font-size: .86rem; line-height: 1.55; }
.pg-quote-field-note a { color: #82d0ff; font-weight: 750; text-underline-offset: 3px; }
.pg-cookie-setup-note { margin: 7px 0 0; color: #ead9b1; font-size: .86rem; line-height: 1.55; }

/* CP275 mobile recording: linked industry cards must not underline every line of copy. */
.subpage-shell main a.pg-industry-card { color: inherit; text-decoration: none !important; }

/* Keep the industry hub hero proportional to its copy instead of the tall campaign hero. */
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: clamp(20px, 2.5vw, 36px) !important;
  padding-block: clamp(24px, 2.4vw, 36px) !important;
  background: linear-gradient(108deg, rgba(0, 49, 91, .52), rgba(4, 17, 32, .48) 52%, rgba(82, 13, 32, .43)) !important;
}
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--pg-approved-energy-art) center / cover no-repeat;
  opacity: .28;
}
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) > * {
  position: relative;
  z-index: 1;
}
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal {
  min-height: 190px !important;
  padding: 22px !important;
}
@media (max-width: 640px) {
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) {
    gap: 16px !important;
    padding-block: 22px !important;
  }
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal {
    min-height: 0 !important;
    padding: 12px 14px !important;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal strong {
    display: none;
  }
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal span,
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal small {
    margin: 0;
  }
}

@media (max-width: 900px) {
  .pg-category-items .pg-catalogue-layout { display: block; }
  .pg-category-items .product-grid.pg-catalogue-results { grid-template-columns: minmax(0, 1fr) !important; gap: 12px; }
  .pg-category-items .pg-catalogue-card { grid-template-columns: clamp(68px, 18vw, 90px) minmax(0, 1fr) !important; gap: 12px; width: 100%; padding: 12px; }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image { grid-template-columns: minmax(0, 1fr) !important; }
  .pg-category-items .pg-catalogue-card > .pg-catalogue-card-image { grid-column: 1; grid-row: 1; width: 100%; height: auto; margin: 0; aspect-ratio: 1; }
  .pg-category-items .pg-catalogue-card-copy { grid-column: 2; grid-row: 1; }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image > .pg-catalogue-card-copy { grid-column: 1; }
  .pg-category-items .pg-card-actions { display: grid; grid-template-columns: minmax(72px, 84px) minmax(0, 1fr); align-items: end; gap: 9px; width: 100%; min-width: 0; }
  .pg-category-items .pg-card-quantity { min-width: 0; }
  .pg-category-items .pg-card-quantity input { width: 100%; box-sizing: border-box; }
  .pg-category-items .pg-quote-add { width: 100%; min-width: 0; padding-inline: 8px; }
  .pg-category-items .pg-catalogue-detail-link { width: 100%; min-height: 50px; padding: 9px 11px; font-size: .92rem; }
  .pg-quote-cart-bar { gap: 8px; padding-inline: max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-left)); }
  .pg-quote-cart-bar .cta { flex: 0 1 auto; }
  body.pg-has-quote-cart { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .pg-category-items .pg-catalogue-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-category-items .pg-catalogue-filters label:first-child { grid-column: 1 / -1; }
  .pg-category-items .pg-catalogue-filters .pg-filter-reset { grid-column: 1 / -1; }
  .pg-category-items .pg-catalogue-card { grid-template-columns: 72px minmax(0, 1fr) !important; gap: 10px; padding: 10px; }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image { grid-template-columns: minmax(0, 1fr) !important; }
  .pg-category-items .pg-catalogue-group-heading { padding-top: 8px; }
  .pg-quote-cart-bar .pg-quote-cart-summary { flex: 0 1 104px; font-size: .73rem; }
  .pg-quote-cart-bar .cta { min-width: 0; min-height: 48px; padding-inline: 8px; font-size: .8rem; line-height: 1.2; white-space: normal; text-align: center; }
}
@media (max-width: 520px) {
  .pg-category-items .pg-catalogue-filters { grid-template-columns: minmax(0, 1fr); }
  .pg-category-items .pg-catalogue-filters label:first-child,
  .pg-category-items .pg-catalogue-filters .pg-filter-reset { grid-column: 1; }
  .pg-category-items .pg-catalogue-card { grid-template-columns: 68px minmax(0, 1fr) !important; }
  .pg-category-items .pg-catalogue-card.pg-catalogue-no-image { grid-template-columns: minmax(0, 1fr) !important; }
  .ai-pos-file-picker { align-items: stretch; flex-direction: column; }
  .ai-pos-file-button { width: 100%; box-sizing: border-box; }
}
@media (max-width: 360px) {
  .pg-category-items .pg-card-actions { grid-template-columns: 56px minmax(0, 1fr); gap: 6px; }
  .pg-category-items .pg-card-quantity input { width: 56px; }
  .pg-category-items .pg-quote-add { min-width: 116px; padding-inline: 4px; font-size: .82rem; }
}

/* Compact the shared industry, profession, equipment-guide and discovery heroes. */
.subpage-shell .pg-industry-page:not(.pg-equipment-guide-page):not(.pg-equipment-guide-hub):not(.pg-discovery-page) .pg-industry-hero,
.subpage-shell .pg-industry-page:is(.pg-equipment-guide-page, .pg-equipment-guide-hub, .pg-discovery-page) .pg-partner-hero,
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: clamp(20px, 2.5vw, 36px) !important;
  padding-block: clamp(24px, 2.4vw, 36px) !important;
  background: linear-gradient(108deg, rgba(0, 49, 91, .46), rgba(4, 17, 32, .42) 52%, rgba(82, 13, 32, .38)) !important;
  backdrop-filter: none !important;
}
.subpage-shell .pg-industry-page:not(.pg-equipment-guide-page):not(.pg-equipment-guide-hub):not(.pg-discovery-page) .pg-industry-hero::before,
.subpage-shell .pg-industry-page:is(.pg-equipment-guide-page, .pg-equipment-guide-hub, .pg-discovery-page) .pg-partner-hero::before,
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--pg-approved-energy-art) center / cover no-repeat;
  opacity: .20;
}
.subpage-shell .pg-industry-page:not(.pg-equipment-guide-page):not(.pg-equipment-guide-hub):not(.pg-discovery-page) .pg-industry-hero > *,
.subpage-shell .pg-industry-page:is(.pg-equipment-guide-page, .pg-equipment-guide-hub, .pg-discovery-page) .pg-partner-hero > *,
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) > * {
  position: relative;
  z-index: 1;
}
.subpage-shell .pg-industry-page:not(.pg-equipment-guide-page):not(.pg-equipment-guide-hub):not(.pg-discovery-page) .pg-industry-hero .pg-partner-signal,
.subpage-shell .pg-industry-page:is(.pg-equipment-guide-page, .pg-equipment-guide-hub, .pg-discovery-page) .pg-partner-hero .pg-partner-signal,
.subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal {
  min-height: 180px !important;
  padding: 18px !important;
}

/* The partner hero uses a B2B process panel instead of unrelated product cutouts. */
.subpage-shell .pg-partner-page .pg-partner-hero {
  position: relative;
  isolation: isolate;
  gap: clamp(22px, 3.4vw, 48px) !important;
  padding-block: clamp(24px, 3vw, 42px) !important;
  background-color: #071321;
  background-image:
    radial-gradient(ellipse at 8% 45%, rgba(0, 106, 210, .12), transparent 42%),
    radial-gradient(ellipse at 76% 55%, rgba(165, 20, 45, .10), transparent 42%);
}
.subpage-shell .pg-partner-page .pg-partner-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: var(--pg-approved-energy-art);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: min(1450px, 100%) auto;
  mix-blend-mode: screen;
}
.subpage-shell .pg-partner-page .pg-partner-hero > * {
  position: relative;
  z-index: 1;
}
.subpage-shell .pg-partner-page .pg-partner-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
}

.subpage-shell .pg-partner-page .pg-partner-signal.pg-partner-process {
  display: flex;
  min-height: 0 !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 22px);
  padding: clamp(22px, 2.6vw, 34px) !important;
  overflow: hidden !important;
  text-align: start;
  border: 1px solid rgba(113, 164, 211, .32) !important;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(8, 22, 37, .97), rgba(5, 14, 25, .97)) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}
.subpage-shell .pg-partner-page .pg-partner-process > .eyebrow {
  margin: 0;
  color: #89c5f5;
  font-size: .72rem;
  letter-spacing: .12em;
}
.subpage-shell .pg-partner-page .pg-partner-process h2 {
  max-width: 18ch;
  margin: 0;
  border: 0 !important;
  padding-inline-start: 0 !important;
  box-shadow: none !important;
  color: #f4f8ff;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.15;
  text-align: start;
}
.subpage-shell .pg-partner-page .pg-partner-process ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.subpage-shell .pg-partner-page .pg-partner-process li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.subpage-shell .pg-partner-page .pg-partner-process li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(66, 157, 235, .42);
  border-radius: 11px;
  background: rgba(18, 111, 190, .12);
  color: #9bd2ff;
  font-size: .75rem;
  font-weight: 800;
}
.subpage-shell .pg-partner-page .pg-partner-process li:nth-child(2) > span {
  border-color: rgba(206, 61, 89, .4);
  background: rgba(163, 37, 61, .10);
  color: #ff9aab;
}
.subpage-shell .pg-partner-page .pg-partner-process li > div { min-width: 0; text-align: start; }
.subpage-shell .pg-partner-page .pg-partner-process li strong {
  display: block;
  color: #f2f7ff;
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.35;
}
.subpage-shell .pg-partner-page .pg-partner-process li small {
  display: block;
  margin-top: 3px;
  color: #b8c9dc;
  font-size: .83rem;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .subpage-shell .pg-industry-page:not(.pg-equipment-guide-page):not(.pg-equipment-guide-hub):not(.pg-discovery-page) .pg-industry-hero,
  .subpage-shell .pg-industry-page:is(.pg-equipment-guide-page, .pg-equipment-guide-hub, .pg-discovery-page) .pg-partner-hero,
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) {
    gap: 16px !important;
    padding-block: 22px !important;
  }
  .subpage-shell .pg-industry-page:not(.pg-equipment-guide-page):not(.pg-equipment-guide-hub):not(.pg-discovery-page) .pg-industry-hero .pg-partner-signal,
  .subpage-shell .pg-industry-page:is(.pg-equipment-guide-page, .pg-equipment-guide-hub, .pg-discovery-page) .pg-partner-hero .pg-partner-signal,
  .subpage-shell .pg-industry-page > .container > .pg-partner-hero:not(.pg-industry-hero) .pg-partner-signal {
    min-height: 0 !important;
    padding: 10px 12px !important;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    text-align: start;
  }
  .subpage-shell .pg-industry-page :is(.pg-industry-hero, .pg-partner-hero) .pg-partner-signal strong { display: none; }
  .subpage-shell .pg-industry-page :is(.pg-industry-hero, .pg-partner-hero) .pg-partner-signal span,
  .subpage-shell .pg-industry-page :is(.pg-industry-hero, .pg-partner-hero) .pg-partner-signal small { margin: 0; }
  .subpage-shell .pg-industry-page :is(.pg-industry-hero, .pg-partner-hero) .pg-partner-signal small { max-width: 26ch; text-align: end; }
  .subpage-shell .pg-partner-page .pg-partner-hero {
    gap: 18px !important;
    padding-block: 22px !important;
  }
  .subpage-shell .pg-partner-page .pg-partner-hero::before {
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 700px auto;
    opacity: .20;
  }
  .subpage-shell .pg-partner-page .pg-partner-hero h1 {
    max-width: 20ch;
    font-size: clamp(1.9rem, 7vw, 2.35rem);
    line-height: 1.08;
  }
}

/* Keep primary hero actions electric blue; reserve red for the brand artwork. */
.subpage-shell :is(.pg-partner-hero, .pg-industry-hero) .hero-actions > a.cta {
  border-color: rgba(112, 203, 255, .82) !important;
  box-shadow: 0 10px 28px rgba(0, 122, 224, .28), inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}

/* Category SVGs fill the same stable visual area as real part photos. */
html body.pg-visual-system .pg-category-items .pg-catalogue-card-image.pg-spare-part-card-visual { display:grid; place-items:center; background-color:#020811; color:#109cff; }
html body.pg-visual-system .pg-category-items .pg-spare-part-card-visual > .pg-spare-part-icon { display:block; width:clamp(64px,32%,104px); height:auto; max-height:65%; }
