/* ============================================
   FLOATING WIDGETS — WhatsApp + Translate
   ============================================ */
.float-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px rgba(28,27,25,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(28,27,25,0.28); }
.float-btn svg { width: 28px; height: 28px; }

.float-whatsapp { background: #25D366; }
.float-whatsapp svg { fill: white; }

.float-translate { background: var(--yellow); }
.float-translate span { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--ink); }

.lang-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(28,27,25,0.18);
  width: 240px;
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
  display: none;
}
.lang-panel.open { display: block; animation: langFadeIn 0.18s ease; }
@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.lang-panel-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding: 6px 10px 10px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
}
.lang-option:hover { background: var(--paper); }
.lang-option .flag { font-size: 1.2rem; }

/* Hide Google Translate's own banner/toolbar */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
#google_translate_element { display: none; }

@media (max-width: 480px) {
  .float-stack { right: 16px; bottom: 16px; }
  .float-btn { width: 50px; height: 50px; }
}
