/* Floating cart — bottom-left, same level as chat ball (bottom-right 22px / 60px). */
.aiya-float-cart {
  --aiya-float-size: 60px;
  position: fixed;
  z-index: 99998;
  left: 22px;
  bottom: 22px;
  width: var(--aiya-float-size);
  height: var(--aiya-float-size);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #00b4a6, #08968b);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(8, 150, 139, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.aiya-float-cart.is-visible,
.aiya-float-cart:not([hidden]) {
  display: inline-flex;
}

.aiya-float-cart[hidden] {
  display: none !important;
}

.aiya-float-cart:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  color: #fff;
  box-shadow:
    0 14px 32px rgba(8, 150, 139, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

.aiya-float-cart:focus-visible {
  outline: 3px solid color-mix(in srgb, #00b4a6 45%, transparent);
  outline-offset: 3px;
}

.aiya-float-cart__icon {
  display: flex;
  line-height: 0;
}

.aiya-float-cart__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #102632;
  color: #fff;
  font: 700 0.72rem/1.35rem "Manrope", "Segoe UI", sans-serif;
  text-align: center;
  box-shadow: 0 0 0 2px #eef3f6;
}

html[data-aiya-theme="night"] .aiya-float-cart__count {
  box-shadow: 0 0 0 2px #07151c;
}

@media (max-width: 480px) {
  .aiya-float-cart {
    left: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aiya-float-cart {
    transition: none;
  }
}
