.tv-product-download-surface {
  position: relative;
}

.tv-product-image-download {
  align-items: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 35, 35, 0.12);
  border-radius: 50%;
  bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  color: #232323;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 14px;
  text-decoration: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
  width: 42px;
  /* elevateZoom creates an image overlay at z-index: 999 on desktop. */
  z-index: 1100;
}

.tv-product-image-download:hover,
.tv-product-image-download:focus {
  background: #232323;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  color: #fff;
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

.tv-product-image-download:focus-visible {
  outline: 2px solid #eec375;
  outline-offset: 2px;
}

.tv-product-image-download__icon,
.tv-product-image-download__icon svg {
  display: block;
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.tv-product-image-download__icon svg {
  fill: currentColor;
}

.tv-product-image-download__label {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.tv-product-image-download__status {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.tv-product-image-download.is-loading {
  cursor: wait;
  opacity: 0.78;
  pointer-events: none;
}

.tv-product-image-download.is-loading .tv-product-image-download__icon {
  animation: tv-product-download-spin 0.8s linear infinite;
}

.tv-product-image-download.has-error {
  border-color: #c92a2a;
}

.tv-product-image-download--mobile {
  display: none;
}

.tv-product-image-download--cover {
  right: 62px;
}

.lang-rtl .tv-product-image-download {
  left: 12px;
  right: auto;
}

@keyframes tv-product-download-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .tv-product-image-download--mobile {
    display: inline-flex;
  }

  .tv-product-image-download {
    bottom: 12px;
    height: 40px;
    right: 12px;
    width: 40px;
  }

  .lang-rtl .tv-product-image-download {
    left: 10px;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-product-image-download {
    transition: none;
  }

  .tv-product-image-download.is-loading .tv-product-image-download__icon {
    animation: none;
  }
}
