/* Relia contact launcher. Keep below navigation overlays and enquiry dialogs. */
.mws-wa-widget {
  --mws-wa-bottom: 24px;
  position: fixed;
  right: 24px;
  bottom: calc(var(--mws-wa-bottom) + env(safe-area-inset-bottom, 0px));
  z-index: 44;
  color: #1f3028;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-align: start;
}
.mws-wa-widget[data-obscured], .mws-wa-widget [hidden] { display: none !important; }
.mws-wa-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.mws-wa-launcher {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; max-width: calc(100vw - 96px); padding: 13px 22px;
  border: 0; border-radius: 32px; background: #087f43; color: #fff;
  font: 700 15px/1.4 Arial, Helvetica, sans-serif;
  box-shadow: 0 6px 20px #143a2729; cursor: pointer;
}
.mws-wa-launcher:hover { background: #066d39; }
.mws-wa-launcher svg { flex: 0 0 23px; width: 23px; height: 23px; fill: currentColor; }
.mws-wa-top {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0;
  border: 1px solid #d2ddd6; border-radius: 50%; background: #fff; color: #223a30;
  box-shadow: 0 4px 16px #143a271a; cursor: pointer;
}
.mws-wa-top svg { width: 20px; height: 20px; }
.mws-wa-top:hover { background: #eaf3ed; border-color: #087f43; }
.mws-wa-panel {
  position: absolute; right: 0; bottom: calc(100% + 16px);
  width: 350px; max-width: calc(100vw - 32px);
  max-height: min(560px, calc(100dvh - var(--mws-wa-bottom) - 104px));
  overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #e0e5df; border-radius: 16px; background: #fafbf8;
  box-shadow: 0 16px 48px #13261c33;
}
.mws-wa-head { position: relative; padding: 20px 48px 20px 22px; background: #20332a; color: #fff; }
.mws-wa-head h2 { margin: 0 0 5px; color: #fff; font: 700 18px/1.4 Arial, Helvetica, sans-serif; }
.mws-wa-head p { margin: 0; color: #dbe7df; font: 400 12px/1.6 Arial, Helvetica, sans-serif; }
.mws-wa-close {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
}
.mws-wa-close svg { width: 18px; height: 18px; }
.mws-wa-close:hover { background: #ffffff1a; }
.mws-wa-body { padding: 20px; }
.mws-wa-contact {
  display: flex; align-items: center; gap: 14px; padding: 16px 14px;
  border: 1px solid #dfe5dd; border-radius: 11px; background: #fff;
  color: #24352c !important; text-decoration: none !important;
  box-shadow: 0 3px 9px #20332a05;
}
.mws-wa-contact::before, .mws-wa-contact::after { content: none !important; }
.mws-wa-contact:hover { border-color: #087f43; background: #fcfefc; }
.mws-wa-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 50px; width: 50px; height: 50px; border: 1px solid #d8e6dc;
  border-radius: 50%; background: #eaf3ed; color: #087f43; font: 700 23px/1 Arial, sans-serif;
}
.mws-wa-contact-copy { min-width: 0; }
.mws-wa-contact strong { display: block; font: 700 14px/1.5 Arial, Helvetica, sans-serif; }
.mws-wa-open { display: block; margin-top: 4px; color: #087f43; font: 700 13px/1.5 Arial, Helvetica, sans-serif; }
.mws-wa-note { margin: 14px 4px 0; color: #64756b; font: 400 12px/1.7 Arial, Helvetica, sans-serif; }
.mws-wa-widget :is(button,a):focus-visible { outline: 3px solid #74bb8e; outline-offset: 4px; }
html[dir="rtl"] .mws-wa-head { padding: 20px 48px 20px 22px; }
@media (max-width:767px) {
  .mws-wa-widget { --mws-wa-bottom: 16px; right: 16px; }
  .mws-wa-launcher { min-height: 50px; padding: 12px 18px; font-size: 14px; }
  .mws-wa-panel { bottom: calc(100% + 12px); }
}
@media (prefers-reduced-motion:no-preference) {
  .mws-wa-launcher, .mws-wa-top { transition: background-color .15s; }
}

/* Industrial sales portrait and direct contact methods, 2026-10-29. */
.mws-wa-widget img.mws-wa-avatar {
 display:block;flex:0 0 64px;width:64px;height:64px;min-width:64px;
 max-width:none;object-fit:cover;object-position:center;border-radius:50%;
}
.mws-wa-details {display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;margin-top:17px;padding-top:12px;border-top:1px solid #d5e1d9;}
.mws-wa-detail {
 display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:2px 3px;
 color:#284c3b!important;text-decoration:none!important;border-radius:5px;
}
.mws-wa-detail::before,.mws-wa-detail::after {content:none!important;}
.mws-wa-detail:hover {background:#eaf3ed;}
.mws-wa-detail > svg {width:18px;height:18px;flex:0 0 18px;}
.mws-wa-detail > span {min-width:0;}
.mws-wa-detail-label {display:block;color:#284c3b;font:400 13px/1.5 Arial,Helvetica,sans-serif;}
