.text-verified {
  color: #28a745 !important;
}

.cart-link {
  transition: transform 0.2s ease;
}

.cart-link.added {
  animation: cartBounce 0.4s ease;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.brand-home-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1;
}

.brand-home-icon {
  font-size: 0.95rem;
  opacity: 0.9;
}

.brand-home-copy {
  display: inline-flex;
  align-items: center;
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.2);
  }

  60% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

/* Mobile nav-cart FAB – mirrors the in-navbar cart icon on small screens */
.nav-cart-fab {
  display: none;
}

@media (max-width: 767.98px) {
  .nav-cart-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1rem;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
    z-index: 1035;
    cursor: pointer;
    text-decoration: none;
  }

  .nav-cart-fab .fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--bs-primary, #0d6efd);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
  }
}
