/* ps_sharebuttons - Safari-style share sheet */

/* Toggle button (visible in product page) */
.social-sharing__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: #232323;
  cursor: pointer;
  font-family: inherit;
}
.social-sharing__toggle svg {
  flex-shrink: 0;
}
.social-sharing__toggle:hover {
  color: #007aff;
}

/* Overlay */
.social-sharing__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.social-sharing__overlay.active {
  display: block;
  opacity: 1;
}

/* Bottom sheet */
.social-sharing__sheet {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 9999;
  background: rgb(242 242 247 / 90%);
  border-radius: 15px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  max-width: 767px;
  margin: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.social-sharing__sheet.active {
  display: block;
  transform: translateY(0);
}

/* Sheet header */
.social-sharing__sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid #d1d1d6;
}
.social-sharing__sheet-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c1c1e;
}
.social-sharing__sheet-close {
  background: #e5e5ea;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  color: #3a3a3c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-sharing__sheet-close:hover {
  background: #d1d1d6;
}

/* Network list */
.social-sharing__sheet-list {
  list-style: none;
  margin: 0;
  padding: 10px 0px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.social-sharing__sheet-item {
  width: 72px;
  text-align: center;
}
.social-sharing__sheet-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #1c1c1e;
}
.social-sharing__sheet-link:hover {
  text-decoration: none;
  color: #007aff;
}

/* Icon circle */
.social-sharing__sheet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.social-sharing__sheet-icon img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Label */
.social-sharing__sheet-label {
  font-size: 0.7rem;
  line-height: 1.2;
  color: #3a3a3c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 72px;
}