.product-gallery button[data-lightbox] > .equipment-photo-label {
  position: absolute;
  z-index: 1;
  left: 1rem;
  inset-block-end: 0.85rem;
  max-inline-size: calc(100% - 4.25rem);
  color: #fff;
  font-size: clamp(0.9rem, 1.25vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: start;
  text-wrap: balance;
  text-shadow: 0 1px 3px #0a1019f2, 0 2px 6px #0a1019b3;
  -webkit-text-stroke: 0.45px #0a1019a6;
  paint-order: stroke fill;
  pointer-events: none;
}

@media (max-width: 767px) {
  .product-gallery button[data-lightbox] > .equipment-photo-label {
    left: 0.65rem;
    inset-block-end: 0.65rem;
    max-inline-size: calc(100% - 3rem);
  }
}

@media (forced-colors: active) {
  .product-gallery button[data-lightbox] > .equipment-photo-label {
    color: CanvasText;
    background-color: Canvas;
    text-shadow: none;
    -webkit-text-stroke: 0;
  }
}
