/* Floating Cart Icon (Mobile Only) */
.floating-cart-btn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  left: 20px; /* Moved to left to avoid overlap */
  width: 60px;
  height: 60px;
  background-color: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-cart-btn:active {
  transform: scale(0.95);
}

.floating-cart-btn svg {
  color: white;
  width: 28px;
  height: 28px;
}

.floating-cart-btn .cart-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Show only on mobile and when active class is present */
@media (max-width: 768px) {
  .floating-cart-btn.active {
    display: flex;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
