/* ═══════════════════════════════════════════════════════════
   APV SHOP — FOMO Popup Notifications
   ═══════════════════════════════════════════════════════════ */

.fomo-popup {
  position: fixed;
  bottom: 96px;
  left: 24px;
  z-index: 9990;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  max-width: 340px;
  cursor: pointer;
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.5s var(--ease-smooth);
}

.fomo-popup.visible {
  transform: translateX(0);
  opacity: 1;
}

.fomo-popup__image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  overflow: hidden;
  flex-shrink: 0;
}

.fomo-popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fomo-popup__info {
  flex: 1;
  min-width: 0;
}

.fomo-popup__name {
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fomo-popup__detail {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.fomo-popup__detail strong {
  color: var(--color-accent);
}

.fomo-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-smooth);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .fomo-popup {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 88px;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}
