/* Persistent access to the online store, separate from WhatsApp. */
.store-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  background: #9a344c;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(154, 52, 76, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-float--with-whatsapp {
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 82px);
}

.store-float svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.store-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(154, 52, 76, 0.34);
}

.store-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #7b263c;
}

body.consent-banner-open .store-float,
body.consent-dialog-open .store-float {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .store-float {
    right: max(28px, env(safe-area-inset-right));
    bottom: max(28px, env(safe-area-inset-bottom));
  }

  .store-float--with-whatsapp {
    bottom: calc(max(28px, env(safe-area-inset-bottom)) + 82px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-float {
    transition: none;
  }
}
