.k-cart-button {
  color: #fff;
  background-color: rgba(0,0,0,0.25);
  width: 27px;
  height: 27px;
  line-height: 27px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  cursor: pointer;
  transition: 300ms linear;
  transition-property: opacity, color, background-color, width, height;
}

.k-cart-button::after {
  content: attr(data-currency);
}

.k-cart-button:hover {
  color: #000;
  background-color: #fff;
  opacity: 1;
  width: auto;
  min-width: 27px;
}

.k-cart-button:hover::after {
  content: attr(data-price);
  display: inline;
  opacity: 1;
  padding: 0 5px;
}

img:hover + .k-cart-button {
  opacity: 1;
}

.k-cart-touch .k-cart-button {
  color: #000;
  background-color: #fff;
  opacity: 1;
  width: auto;
  min-width: 27px;
}

.k-cart-touch .k-cart-button::after {
  content: attr(data-price);
  display: inline;
  opacity: 1;
  padding: 0 5px;
}