/* Sukia Market — share widget (dropdown + options) */
.share-widget {
  position: relative;
  display: inline-flex;
}

.share-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 1050;
  min-width: 210px;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  border: 1px solid var(--premium-line, #c8d0c4);
  border-radius: 14px;
  background: var(--premium-surface, #ffffff);
  box-shadow: 0 14px 34px rgba(24, 34, 29, 0.14);
}

.share-widget.open .share-menu {
  display: flex;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--premium-ink, #18221d);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.share-option i {
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
}

.share-option:hover {
  background: rgba(35, 78, 50, 0.08);
  color: var(--premium-green, #234e32);
}

.share-option[data-share-network="whatsapp"]:hover { color: #1da851; }
.share-option[data-share-network="facebook"]:hover { color: #1877f2; }
.share-option[data-share-network="telegram"]:hover { color: #229ed9; }
.share-option[data-share-network="x"]:hover { color: #000000; }

.share-option.share-copy span {
  transition: color 0.2s ease;
}

/* Page-specific triggers */
.detail-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid #d3dbd2;
  border-radius: 9px;
  color: var(--premium-green);
  background: #f3f6f1;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detail-share-button:hover {
  background: var(--premium-green);
  color: #ffffff;
}

.annonce-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.annonce-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 1.5px solid var(--premium-green);
  border-radius: 9px;
  color: var(--premium-green);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.annonce-share-button:hover {
  background: var(--premium-green);
  color: #ffffff;
}

@media (max-width: 480px) {
  .annonce-detail-actions .share-widget,
  .annonce-detail-actions .annonce-share-button {
    width: 100%;
  }

  .annonce-detail-actions .share-menu {
    right: 0;
    left: 0;
    min-width: 0;
  }
}
