.fpc-card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: flex;
  align-items: center;
  max-width: 360px;
  z-index: 9999;
  animation: slide-up 0.5s ease-out;
  gap: 16px;
}

.fpc-card img.fpc-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  opacity: 0;
  animation: fade-in 0.5s ease forwards;
  animation-delay: 0.2s;
}

.fpc-content {
  flex: 1;
}

.fpc-content h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: bold;
}

.fpc-content p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fpc-button {
  display: inline-block;
  background: #ec4e34;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
}

.fpc-button:hover {
  background: #c53e2a;
}

.fpc-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
}

.fpc-close:hover {
  background: none;
  color: #888;
  border: none;
  box-shadow: none;
  text-decoration: none;
}

.fpc-card.bottom-left {
  left: 20px;
  right: auto;
}

.fpc-card.bottom-center {
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}

@keyframes slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .fpc-card {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin: 0 auto 16px auto !important;
    width: calc(100% - 32px);
    max-width: 100%;
    padding: 20px;
    gap: 20px;
  }
}
