/* ============================================================
   ACTIVITY NOTIFICATION — bottom-left social proof popup
   Fully separated from core shop styles.
   ============================================================ */

#activity-notif {
  position: fixed;
  bottom: 20px;
  left: 16px;
  z-index: 3000;
  max-width: 300px;
  width: calc(100vw - 32px);
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* slide-in transition */
  transform: translateX(-110%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              opacity   0.28s ease;
  pointer-events: none;
}

#activity-notif.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

#activity-notif.hidden {
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
}

/* Body row */
.activity-notif-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.activity-notif-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #2c2c2e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.activity-notif-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.activity-notif-thumb-fallback {
  font-size: 24px;
  line-height: 1;
}

.activity-notif-text {
  flex: 1;
  min-width: 0;
}

.activity-notif-location {
  font-size: 12px;
  font-weight: 600;
  color: #c7c7cc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-notif-product {
  font-size: 12px;
  font-weight: 700;
  color: #f0f0f0;
  margin-top: 2px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}

.activity-notif-time {
  font-size: 11px;
  color: #636366;
  margin-top: 3px;
}

/* Close button */
.activity-notif-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #8e8e93;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.activity-notif-close:hover,
.activity-notif-close:active {
  background: rgba(255, 255, 255, 0.16);
  color: #f0f0f0;
}
