/* Custom Elementor Widget — front-end styles.
   Colours/sizes below are fallbacks; the widget's Style controls override
   them per element ({{WRAPPER}} .cew-wa). */

/* ---------------------------------------------------------------------------
   Floating WhatsApp (03.component/WhatsApp.css)
   --------------------------------------------------------------------------- */
.cew-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid #B08B56;
  border-radius: 999px;
  background-color: #2A2D1C;
  color: #F7F0E5;
  fill: #F7F0E5;
  box-shadow: 0 8px 24px rgba(42, 45, 28, 0.18);
  text-decoration: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cew-wa svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.cew-wa i {
  font-size: 30px;
  line-height: 1;
}

.cew-wa:hover {
  transform: translateY(-2px);
}

.cew-wa:focus-visible {
  outline: 3px solid #B08B56;
  outline-offset: 3px;
}

/* Hidden until the trigger section is in view (JS adds .is-armed, so the
   button never disappears when the script does not run). */
.cew-wa.is-armed:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

@media (max-width: 767px) {
  .cew-wa {
    right: 16px;
    bottom: 16px;
  }
}

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