/* ECR PhotoSwipe extras: caption and download button. */

.ecr-pswp-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

.pswp__button--download-button {
  display: inline-flex;
}

.pswp__button--download-button[hidden] {
  display: none !important;
}
