.pg-category-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.pg-category-tech-tags li {
  color: #C3D2E3;
  background: #071522;
  border: 1px solid rgba(195, 210, 227, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.pg-category-printing-badge {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 10px;
  padding: 7px 10px;
  color: #F3F6F8;
  background: rgba(16, 156, 255, 0.08);
  border: 1px solid rgba(16, 156, 255, 0.28);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}

.pg-category-availability {
  margin: 10px 0 0;
  color: #C3D2E3;
  font-size: 12px;
  line-height: 1.5;
}

.pg-category-package-offer {
  display: grid;
  gap: 9px;
  margin: 12px 0;
  padding: 12px;
  background: rgba(16, 156, 255, 0.055);
  border: 1px solid rgba(16, 156, 255, 0.2);
  border-radius: 10px;
}

.pg-category-package-offer p {
  margin: 0;
  color: #C3D2E3;
  font-size: 13px;
  line-height: 1.5;
}

.pg-category-package-offer .btn-primary,
.pg-category-package-offer .cta {
  justify-self: start;
  background: #109CFF;
  color: #FFFFFF;
}

.pg-category-package-offer .btn-primary:hover,
.pg-category-package-offer .cta:hover {
  background: #109cff;
}

.pg-category-b2b-specs {
  margin: 18px 0 24px;
  padding: 16px 18px;
  background: #0A1119;
  border: 1px solid rgba(195, 210, 227, 0.12);
  border-radius: 12px;
}

.pg-catalogue-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #109CFF;
  background: #071522;
}

.pg-catalogue-image-fallback svg,
.pg-product-fallback-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.pg-product-visual-fallback {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #C3D2E3;
  background: #071522;
  border: 1px solid rgba(195, 210, 227, 0.12);
  border-radius: 14px;
  text-align: center;
}

.pg-product-fallback-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: rgba(16, 156, 255, 0.08);
  border: 1px solid rgba(16, 156, 255, 0.2);
  border-radius: 12px;
}



.categories-grid .cat-card .pg-category-tech-tags {
  margin: 12px 0;
}

.categories-grid .cat-card .pg-category-tech-tags li {
  font-size: 11px;
}

.pg-category-card-specs {
  margin: 12px 0;
  padding: 9px 11px;
  color: #C3D2E3;
  background: #071522;
  border: 1px solid rgba(195, 210, 227, 0.12);
  border-radius: 9px;
}

.pg-category-card-specs summary {
  color: #F3F6F8;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.pg-category-spec-grid {
  display: grid;
  gap: 11px;
  margin: 12px 0 2px;
}

.pg-category-spec-grid > div {
  display: grid;
  gap: 3px;
}

.pg-category-spec-grid dt {
  color: #109CFF;
  font-size: 11px;
  font-weight: 700;
}

.pg-category-spec-grid dd {
  margin: 0;
  color: #C3D2E3;
  font-size: 12px;
  line-height: 1.5;
}

.pg-category-b2b-specs .pg-category-spec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.pg-category-b2b-specs .pg-category-spec-grid > div {
  padding: 14px;
  background: #071522;
  border: 1px solid rgba(195, 210, 227, 0.1);
  border-radius: 10px;
}

.pg-category-b2b-specs .pg-category-spec-grid dt {
  font-size: 13px;
}

.pg-category-b2b-specs .pg-category-spec-grid dd {
  font-size: 13px;
}

.material-guide-section {
  margin: 36px 0 44px;
}

.guide-header {
  margin-bottom: 18px;
}

.guide-header h2 {
  margin-bottom: 6px;
  color: #F3F6F8;
  font-size: 26px;
  font-weight: 800;
}

.guide-header p {
  color: #C3D2E3;
  font-size: 14px;
}

.guide-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(195, 210, 227, 0.14);
  border-radius: 14px;
  background: #0A1119;
  -webkit-overflow-scrolling: touch;
}

.guide-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.guide-table th {
  padding: 14px 16px;
  color: #F3F6F8;
  background: #071522;
  border-bottom: 1px solid rgba(195, 210, 227, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.guide-table td {
  padding: 14px 16px;
  color: #C3D2E3;
  border-bottom: 1px solid rgba(195, 210, 227, 0.08);
  font-size: 13px;
  line-height: 1.5;
  vertical-align: middle;
}

.guide-table tr:last-child td { border-bottom: 0; }
.guide-table td strong { display: block; margin-bottom: 3px; color: #F3F6F8; }
.guide-table td > span:not(.guide-badge) { display: block; font-size: 12px; }

.guide-badge {
  display: inline-block;
  padding: 4px 9px;
  color: #109CFF;
  background: rgba(16, 156, 255, 0.12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
}

.guide-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #FFFFFF;
  background: #109CFF;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.guide-cta-link:hover { background: #109cff; }

.categories-grid .cat-card .pg-category-package-offer .btn-primary {
  padding: 8px 11px;
  font-size: 12px;
}

@media (max-width: 680px) {
  .pg-category-b2b-specs { padding: 13px; }
  .pg-category-tech-tags { gap: 6px; }
  .pg-category-tech-tags li { font-size: 11px; }
  .pg-category-b2b-specs .pg-category-spec-grid { grid-template-columns: 1fr; gap: 9px; }
  .material-guide-section { margin: 28px 0 36px; }
  .guide-header h2 { font-size: 22px; }
  .guide-table { min-width: 700px; }
}
.cat-card .cat-icon { background-color: #071522; }
.cat-card .cat-icon img { display: block; width: 24px; height: 24px; object-fit: contain; }

/* Product hub: lead with a real category-matched image and concise fit information. */
.pg-quote-list-explainer {
  margin: 0 0 14px;
  padding: 10px 13px;
  color: #C3D2E3;
  background: rgba(16, 156, 255, .055);
  border: 1px solid rgba(16, 156, 255, .2);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.categories-grid[data-category-id="products-hub"] {
  align-items: stretch;
  gap: 16px;
  margin-bottom: 28px;
}

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card {
  display: grid !important;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 0 !important;
  gap: 0 !important;
  overflow: hidden;
  padding: 0 !important;
}

.pg-category-card-photo {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: clamp(116px, 13vw, 170px);
  margin: 0;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(16, 156, 255, .1), #071522 72%);
  border-bottom: 1px solid rgba(195, 210, 227, .1);
}

.pg-category-card-photo picture,
.pg-category-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.pg-category-card-photo img {
  padding: 10px;
  object-fit: contain;
}

.pg-category-image-badge {
  position: absolute;
  inset: 8px auto auto 8px;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  color: #F3F6F8;
  background: rgba(4, 13, 22, .88);
  border: 1px solid rgba(195, 210, 227, .2);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.pg-category-image-note {
  margin: 0 !important;
  padding: 5px 10px 7px;
  color: #9FB1C2 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

.pg-category-card-photo-fallback {
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  justify-items: start;
  gap: 10px;
  padding: 14px;
  color: #9FB1C2;
  font-size: 11px;
  line-height: 1.35;
}

.pg-category-card-photo-fallback img { width: 40px; height: 40px; padding: 0; }

.categories-grid[data-category-id="products-hub"] .pg-category-card-copy {
  min-width: 0;
  padding: 12px 15px 10px;
}

.categories-grid[data-category-id="products-hub"] .cat-top {
  justify-content: flex-end;
  margin: 0 0 6px;
}

.categories-grid[data-category-id="products-hub"] .cat-icon { display: none; }

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card h3 {
  margin: 0 0 5px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card h3 a {
  color: inherit;
  text-decoration: none;
}

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card h3 a:hover { color: #63C2FF; }

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card p {
  display: block !important;
  max-height: none !important;
  margin: 0;
  overflow: visible;
  color: #C3D2E3 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

.categories-grid[data-category-id="products-hub"] .pg-category-card-summary {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 2.8em;
}

.categories-grid[data-category-id="products-hub"] .pg-category-model-examples {
  margin-top: 7px !important;
  color: #F3F6F8 !important;
  font-size: 11px !important;
  overflow-wrap: anywhere;
}

.pg-category-model-examples strong { color: #63C2FF; }

.categories-grid[data-category-id="products-hub"] .pg-category-fit-caveat {
  margin-top: 3px !important;
  color: #9FB1C2 !important;
  font-size: 10px !important;
}

.categories-grid[data-category-id="products-hub"] .pg-category-card-specs {
  margin: 9px 0 0;
  padding: 7px 9px;
}

.categories-grid[data-category-id="products-hub"] .pg-category-card-specs > summary {
  font-size: 11px;
}

.pg-category-package-note {
  margin: 10px 0 0 !important;
  padding: 9px 10px;
  background: rgba(16, 156, 255, .055);
  border: 1px solid rgba(16, 156, 255, .18);
  border-radius: 8px;
}

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card .card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0 15px 15px !important;
  border: 0 !important;
}

.categories-grid[data-category-id="products-hub"] .pg-product-hub-card .card-actions > :is(a, button) {
  display: flex !important;
  min-width: 0;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 9px !important;
  white-space: normal !important;
  text-align: center;
  font-size: 11px !important;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.categories-grid[data-category-id="products-hub"] .pg-category-add-to-quote {
  color: #EAF4FC;
  background: #101C29;
  border: 1px solid rgba(195, 210, 227, .24);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.categories-grid[data-category-id="products-hub"] .pg-category-add-to-quote:hover {
  border-color: #55BFFF;
  background: #12263A;
}

@media (max-width: 600px) {
  .categories-grid[data-category-id="products-hub"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .categories-grid[data-category-id="products-hub"] .pg-product-hub-card {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: minmax(140px, auto) auto;
    align-items: stretch;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo,
  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo-fallback {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    align-self: stretch;
    min-height: 140px;
    border-right: 1px solid rgba(195, 210, 227, .1);
    border-bottom: 0;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo picture {
    display: flex;
    min-height: 0;
    height: auto;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: 118px;
    padding: 6px;
    object-fit: contain;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo-fallback {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 8px;
    text-align: center;
    font-size: 9px;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-photo-fallback img {
    width: 32px;
    height: 32px;
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-image-note {
    grid-column: auto;
    grid-row: auto;
    padding: 5px 8px 7px;
    border-top: 1px solid rgba(195, 210, 227, .08);
  }

  .categories-grid[data-category-id="products-hub"] .pg-category-card-copy {
    grid-column: 2;
    grid-row: 1;
    padding: 11px 12px 10px;
  }

  .categories-grid[data-category-id="products-hub"] .pg-product-hub-card .cat-top { margin-bottom: 4px; }
  .categories-grid[data-category-id="products-hub"] .pg-product-hub-card h3 { font-size: 16px; }
  .categories-grid[data-category-id="products-hub"] .pg-category-card-summary { min-height: 0; }
  .categories-grid[data-category-id="products-hub"] .pg-product-hub-card .card-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 9px 10px 10px !important;
    border-top: 1px solid rgba(195, 210, 227, .1) !important;
  }

  .categories-grid[data-category-id="products-hub"] .pg-product-hub-card .card-actions > :is(a, button) {
    min-height: 44px !important;
    font-size: 12px !important;
  }
}

@media (max-width:359px) {
  .categories-grid[data-category-id="products-hub"] .pg-product-hub-card .card-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A category hero never borrows an unrelated image when its own photo is missing. */
.pg-category-hero-image {
  position: relative;
  min-width: 0;
  margin: 0;
}

.pg-category-hero-image > .product-image-wrap {
  display: block;
  width: 100%;
  min-height: 220px;
  margin: 0;
}

.pg-category-hero-image > .product-image-wrap img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.pg-category-hero-image figcaption {
  margin: 8px 0 0;
  color: #9FB1C2;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pg-category-hero-placeholder {
  display: grid;
  min-width: 0;
  min-height: clamp(190px, 24vw, 300px);
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  color: #AEBFD0;
  background: #071522;
  border: 1px solid rgba(195, 210, 227, .12);
  border-radius: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.pg-category-hero-placeholder .pg-product-fallback-icon svg { width: 44px; height: 44px; }

@media (max-width: 600px) {
  .pg-category-hero-image > .product-image-wrap { min-height: 160px; }
  .pg-category-hero-image > .product-image-wrap img { max-height: 300px; }
  .pg-category-hero-placeholder { min-height: 150px; padding: 16px; }
}
