﻿/* Floating helper component styles (global) */
#floatingHelper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  pointer-events: auto;
}

#floatingHelper .floating-helper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #0056d6);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  border: none;
  position: relative;
  font-size: 18px;
}

#floatingHelper .cart-badge {
  position: absolute;
  right: -6px;
  top: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 12px;
  background: #dc3545;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes badgePop {
  0% { transform: scale(0.8); opacity: 0; }
  40% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.cart-badge.badge-pop {
  animation: badgePop 0.6s cubic-bezier(.2,.9,.3,1);
}

@media (max-width: 768px) {
  #floatingHelper { right: 12px; bottom: 12px; }
  #floatingHelper .floating-helper-btn { width: 48px; height: 48px; }
  #floatingHelper .cart-badge { min-width: 18px; height: 18px; font-size: 11px; }
}
