.comparison-button {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.comparison-button__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  backdrop-filter: blur(8px);
  color: var(--text);
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px var(--shadow-strong);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border);
}

.comparison-button:hover {
  transform: translate(-50%, -2px);
}

.comparison-button__icon {
  font-size: 24px;
  line-height: 1;
}

.comparison-button__text {
  white-space: nowrap;
}

.comparison-button__count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: var(--accent);
  color: var(--text-on-accent);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .comparison-button {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .comparison-button__link {
    padding: 14px 20px;
    font-size: 14px;
    gap: 10px;
  }

  .comparison-button__icon {
    font-size: 20px;
  }

  .comparison-button__text {
    display: none;
  }

  .comparison-button__count {
    min-width: 24px;
    height: 24px;
    font-size: 12px;
  }
}