/* PPE collection only: intrinsic image dimensions must not expand the grid track. */
.protective-equipment-page #accessory-results .accessory-card-visual {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.protective-equipment-page #accessory-results .accessory-card-visual img {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.protective-equipment-page [data-ppe-single] .accessory-card-visual{flex-shrink:0}
.protective-equipment-page [data-ppe-single] .pressure-buying{padding-top:.75rem}
.protective-equipment-page [data-ppe-single] .pressure-material,
.protective-equipment-page [data-ppe-single] .ppe-option-detail{font-size:.875rem;line-height:1.5;margin:.5rem 0}
.protective-equipment-page [data-ppe-single] .ppe-details-link{font-size:.875rem;line-height:1.5;text-decoration:underline;margin-top:.5rem;color:inherit;min-height:44px;display:flex;align-items:center}

/* Verified multi-option PPE families: the entire card remains the one accessible link. */
.protective-equipment-page a.accessory-card .ppe-option-action{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:52px;padding:12px 16px;margin-top:16px;border:1px solid #236444;border-radius:6px;background:#236444;color:#fff;text-align:center;text-decoration:none;font-size:1rem;font-weight:700;line-height:1.4;text-transform:none;white-space:normal;overflow-wrap:normal}
.protective-equipment-page a.accessory-card:hover .ppe-option-action{background:#194c33;border-color:#194c33}
.protective-equipment-page a.accessory-card:focus-visible .ppe-option-action{outline:3px solid #236444;outline-offset:4px}

/* Shared information tracks follow the tallest content in each visible row.
   No fixed card height, clipped copy, or per-product spacer is needed. */
.protective-equipment-page #accessory-results .accessory-card-copy{display:flex;flex-direction:column;grid-template-rows:none}
@supports(grid-template-rows:subgrid){
  @media(min-width:621px){
    .protective-equipment-page #accessory-results{row-gap:1px}
    .protective-equipment-page #accessory-results .accessory-card{display:grid!important;grid-row:span 9;grid-template-rows:subgrid;row-gap:0;height:auto}
    .protective-equipment-page #accessory-results .accessory-card[hidden]{display:none!important}
    .protective-equipment-page #accessory-results .accessory-card-visual{grid-row:1}
    .protective-equipment-page #accessory-results .accessory-card-copy{display:contents}
    .protective-equipment-page #accessory-results .accessory-card-copy>*{min-width:0;margin-left:25px;margin-right:25px}
    .protective-equipment-page #accessory-results .accessory-card-copy>span{grid-row:2;padding-top:25px}
    .protective-equipment-page #accessory-results .accessory-card-copy>h3{grid-row:3}
    .protective-equipment-page #accessory-results .accessory-card-copy>p:not([class]){grid-row:4;margin-top:0;margin-bottom:0}
    .protective-equipment-page #accessory-results .ppe-option-detail{grid-row:5}
    .protective-equipment-page #accessory-results .pressure-material{grid-row:6}
    .protective-equipment-page #accessory-results .accessory-card-meta{grid-row:7;margin-top:16px;margin-bottom:0}
    .protective-equipment-page #accessory-results .ppe-details-link{grid-row:8}
    .protective-equipment-page #accessory-results .pressure-buying{grid-row:9;margin-top:0;padding:16px 25px 25px}
    .protective-equipment-page #accessory-results .ppe-option-action{grid-row:9;align-self:end;width:auto;margin-top:16px;margin-bottom:25px}
  }
}
