/* ==========================================================================
   PX Share Dropdown — Fallback for browsers without Web Share API
   ========================================================================== */

.px-share-dropdown {
  position: absolute;
  bottom: calc(100% + var(--D05));
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  padding-block: var(--D025);
  background: var(--Wit);
  border-radius: var(--R12);
  box-shadow: var(--px-shadow-elevated);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  pointer-events: none;
}

.px-share-dropdown--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.px-share-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--D05);
  padding: var(--D05) var(--D075);
  color: var(--Antraciet-130);
  font-family: var(--Font-Family-Primary);
  font-size: var(--Font-Size-Body-Small);
  font-weight: var(--px-weight-medium);
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.px-share-dropdown__item:hover,
.px-share-dropdown__item:focus-visible {
  background-color: var(--Oranje-10);
  color: var(--Oranje-130);
  outline: none;
}

.px-share-dropdown__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.px-share-dropdown__icon svg {
  width: 100%;
  height: 100%;
}

.px-share-dropdown__label {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .px-share-dropdown {
    right: 0;
    left: auto;
  }
}
