.gallery-main {
  position: relative;
}

.gallery-total {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: #17334be8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  box-shadow: 0 4px 14px #102b3b38;
}

@media (max-width: 760px) {
  .gallery-total {
    right: 12px;
    bottom: 12px;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
  }
}
