.whatsapp-float {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(var(--whatsapp-consent-offset, 1rem) + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--sc-z-chrome, 100) + 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: bottom 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.38);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

@media (max-width: 700px) {
  .whatsapp-float {
    width: 3.1rem;
    height: 3.1rem;
  }

  .whatsapp-float svg {
    width: 1.6rem;
    height: 1.6rem;
  }
}

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

/* ---- Language switch (he <-> en) ------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.45em 0.85em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.88;
  transition: opacity 160ms ease, border-color 160ms ease;
}
.lang-switch:hover { opacity: 1; border-color: rgba(255, 255, 255, 0.6); }
.lang-switch:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-bar__actions .lang-switch { margin-inline-end: 0.5rem; }
.crumbs .lang-switch { margin-inline-start: 0.75rem; font-size: 0.8rem; }
.lang-switch--mobile { display: none; }
@media (max-width: 700px) {
  .site-bar__actions .lang-switch { display: none; }
  .mobile-nav .lang-switch--mobile { display: inline-flex; }
}
