.xstore-share-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 0;
  background: color-mix(in srgb, currentColor 4%, transparent);
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 140ms ease-out,
    border-color 140ms ease-out,
    opacity 140ms ease-out;
}

.xstore-share-button:hover {
  border-color: color-mix(in srgb, currentColor 42%, transparent);
  background: color-mix(in srgb, currentColor 7%, transparent);
}

.xstore-share-button:active {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.xstore-share-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.xstore-share-button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.xstore-share-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.xstore-share-button--home {
  margin-left: auto;
}

.xstore-share-button--product {
  margin-top: 14px;
}

.xstore-share-status {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: 24px;
  display: inline-flex;
  min-height: 44px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: #151515;
  box-shadow:
    0 18px 44px -20px rgba(0, 0, 0, 0.62),
    0 2px 8px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

.xstore-share-status::before {
  width: 6px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.xstore-share-status.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .xstore-share-button--home {
    margin-left: 0;
  }

  .xstore-share-status {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xstore-share-button,
  .xstore-share-status {
    transition: none;
  }

  .xstore-share-status {
    transform: translate(-50%, 0);
  }
}
