
#ubg-shub-root.ubg-shub{
  position: fixed;
  z-index: var(--ubg-z, 999999);
  bottom: var(--ubg-offset-y, 18px);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
#ubg-shub-root.ubg-shub.ubg-shub-pos-right{ right: var(--ubg-offset-x, 18px); left:auto; }
#ubg-shub-root.ubg-shub.ubg-shub-pos-left{ left: var(--ubg-offset-x, 18px); right:auto; }

#ubg-shub-root .ubg-shub-btn{
  display:flex; align-items:center; gap:8px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:999px;
  padding:10px 12px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, background-color .18s ease;
}
#ubg-shub-root .ubg-shub-btn:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.16);
}
#ubg-shub-root .ubg-shub-btn:active{
  transform: translateY(0px);
  box-shadow:0 7px 18px rgba(0,0,0,0.10);
}
#ubg-shub-root .ubg-shub-btn-icon{
  width:22px; height:22px;
  border-radius:999px;
  background: var(--ubg-primary, #16a34a);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
#ubg-shub-root .ubg-shub-btn-icon svg{
  width:16px; height:16px;
  display:block;
}
#ubg-shub-root .ubg-shub-btn-label{ font-size:14px; color:#111827; }

#ubg-shub-root .ubg-shub-panel{
  width: 320px;
  margin-top:10px;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:16px;
  background:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,0.12);
  overflow:hidden;
}
#ubg-shub-root .ubg-shub-panel-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px;
  border-bottom:1px solid rgba(0,0,0,0.06);
}
#ubg-shub-root .ubg-shub-title{ font-weight:600; color:#111827; }
#ubg-shub-root .ubg-shub-close{
  border:none; background:transparent; cursor:pointer;
  font-size:18px; line-height:1;
}

#ubg-shub-root .ubg-shub-items{ padding:8px; display:flex; flex-direction:column; gap:6px; }
#ubg-shub-root .ubg-shub-item{
  display:flex; gap:10px; align-items:center;
  padding:10px 10px;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:12px;
  text-decoration:none;
  color:#111827;
  background:#fff;
}
#ubg-shub-root .ubg-shub-item:hover{ border-color: rgba(0,0,0,0.16); }
#ubg-shub-root .ubg-shub-item-ic{
  width:38px; height:38px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 38px;
  background: var(--ubg-primary, #16a34a);
  color:#ffffff;
}
#ubg-shub-root .ubg-shub-item-svg{ display:block; }

#ubg-shub-root .ubg-shub-item-ic svg{ width:20px; height:20px; display:block; }
#ubg-shub-root .ubg-shub-item-ic-whatsapp{ background:#25D366; }
#ubg-shub-root .ubg-shub-item-ic-whatsapp_channel{ background:#128C7E; }
#ubg-shub-root .ubg-shub-item-ic-phone{ background:#2563EB; }
#ubg-shub-root .ubg-shub-item-ic-email{ background:#6B7280; }
#ubg-shub-root .ubg-shub-item-title{ font-size:14px; }

#ubg-shub-root .ubg-shub-panel[aria-hidden="true"]{ display:none; }
#ubg-shub-root.ubg-shub.ubg-shub-open .ubg-shub-panel{ display:block; }

#ubg-shub-root.ubg-shub[data-device="mobile"] .ubg-shub-panel{ width: 300px; }
#ubg-shub-root.ubg-shub[data-device="mobile"] .ubg-shub-item{ padding:12px 14px; }


#ubg-shub-root /* Item layout enhancements */
.ubg-shub-item{ display:flex; align-items:center; gap:12px; }
#ubg-shub-root .ubg-shub-item-body{ display:flex; flex-direction:column; min-width:0; flex:1 1 auto; }
#ubg-shub-root .ubg-shub-item-title{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#ubg-shub-root .ubg-shub-item-sub{ font-size:12px; color:#6B7280; margin-top:2px; overflow-wrap:anywhere; word-break:break-word; }
#ubg-shub-root .ubg-shub-item-cta{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  color:#111827;
  background:transparent;
  flex:0 0 auto;
}

#ubg-shub-root /* FAB icon */
.ubg-shub-btn-icon{ display:flex; align-items:center; justify-content:center; color:#ffffff; }
#ubg-shub-root .ubg-shub-btn .ubg-shub-ic{ display:block; }

#ubg-shub-root /* FAB style flags on root:
   .ubg-shub-fab-auto / .ubg-shub-fab-pill / .ubg-shub-fab-round
   Layout switches are driven by .ubg-shub-icon-only.
*/

/* Icon-only FAB (used for fab_style=round, #ubg-shub-root or fab_style=auto when label is empty) */
.ubg-shub.ubg-shub-icon-only .ubg-shub-btn{
  width:52px; height:52px;
  padding:0;
  border-radius:999px;
  justify-content:center;
}
#ubg-shub-root.ubg-shub.ubg-shub-icon-only .ubg-shub-btn-label{ display:none; }
#ubg-shub-root.ubg-shub.ubg-shub-icon-only .ubg-shub-btn-icon{ margin:0; }

#ubg-shub-root.ubg-shub.ubg-shub-icon-only .ubg-shub-btn-icon{
  width:36px; height:36px;
  /* Premium subtle ring + depth */
  border:1px solid rgba(0,0,0,0.12);
  box-shadow:0 6px 18px rgba(0,0,0,0.18);
}
#ubg-shub-root.ubg-shub.ubg-shub-icon-only .ubg-shub-btn-icon svg{
  width:26px; height:26px;
}
@media (prefers-color-scheme: dark){
  #ubg-shub-root /* Micro-interactions dark */
  .ubg-shub-item:hover{background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.10);}
  #ubg-shub-root .ubg-shub-btn:hover{border-color: rgba(255,255,255,0.18); box-shadow:0 12px 30px rgba(0,0,0,0.45);}

  #ubg-shub-root.ubg-shub.ubg-shub-icon-only .ubg-shub-btn-icon{
    border:1px solid rgba(255,255,255,0.18);
    box-shadow:0 6px 18px rgba(0,0,0,0.55);
  }
}

/* Forced Round FAB style (fab_style=round): true solid circle, icon-only, no label spacing */
#ubg-shub-root.ubg-shub.ubg-shub-fab-round .ubg-shub-btn{
  width:52px; height:52px;
  padding:0;
  border-radius:999px;
  background: var(--ubg-primary);
  border:1px solid rgba(0,0,0,0.10);
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
}
#ubg-shub-root.ubg-shub.ubg-shub-fab-round .ubg-shub-btn-label{ display:none !important; }
#ubg-shub-root.ubg-shub.ubg-shub-fab-round .ubg-shub-btn-icon{
  width:36px; height:36px;
  margin:0;
  border:0;
  box-shadow:none;
  background:transparent;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
#ubg-shub-root.ubg-shub.ubg-shub-fab-round .ubg-shub-btn-icon svg{ width:28px; height:28px; display:block; }
@media (prefers-color-scheme: dark){
  #ubg-shub-root /* Micro-interactions dark */
  .ubg-shub-item:hover{background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.10);}
  #ubg-shub-root .ubg-shub-btn:hover{border-color: rgba(255,255,255,0.18); box-shadow:0 12px 30px rgba(0,0,0,0.45);}

  #ubg-shub-root.ubg-shub.ubg-shub-fab-round .ubg-shub-btn{ border:1px solid rgba(255,255,255,0.14); box-shadow:0 8px 20px rgba(0,0,0,0.45); }
}

#ubg-shub-root /* Close button minimal */
.ubg-shub-close{
  border:0;
  background:transparent;
  width:34px; height:34px;
  border-radius:10px;
}
#ubg-shub-root .ubg-shub-close:hover{ background: rgba(0,0,0,0.06); }

/* Dark-mode safety (automatic, no presets) */
@media (prefers-color-scheme: dark){
  /* Micro-interactions dark */
  .ubg-shub-item:hover{background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.10);}
  .ubg-shub-btn:hover{border-color: rgba(255,255,255,0.18); box-shadow:0 12px 30px rgba(0,0,0,0.45);}

  .ubg-shub-panel{ background:#111827; border-color:#1f2937; box-shadow:0 12px 34px rgba(0,0,0,0.55); }
  .ubg-shub-title{ color:#F9FAFB; }
  .ubg-shub-item{ background:#0b1220; border-color:#1f2937; }
  .ubg-shub-item-title{ color:#F9FAFB; }
  .ubg-shub-item-sub{ color:#9CA3AF; }
  .ubg-shub-item-cta{ border-color:#374151; color:#E5E7EB; }
  .ubg-shub-close:hover{ background: rgba(255,255,255,0.08); }
}


#ubg-shub-root /* Micro-interactions */
.ubg-shub-item{
  transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease, border-color .18s ease;
}
#ubg-shub-root .ubg-shub-item:hover{
  background: rgba(0,0,0,0.015);
  border-color: rgba(0,0,0,0.10);
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
#ubg-shub-root .ubg-shub-item:active{
  transform: translateY(0px);
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}
#ubg-shub-root .ubg-shub-item-cta{
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
#ubg-shub-root .ubg-shub-item-cta:hover{
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.18);
}
@media (prefers-color-scheme: dark){
  #ubg-shub-root .ubg-shub-item:hover{background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.10);}
  #ubg-shub-root .ubg-shub-btn:hover{border-color: rgba(255,255,255,0.18); box-shadow:0 12px 30px rgba(0,0,0,0.45);}
}


/* === Theme Conflict Shield v9 (GeneratePress & aggressive link resets) === */
/* Lock item link states so themes cannot recolor/underline via a:hover etc. */
#ubg-shub-root .ubg-shub-item,
#ubg-shub-root .ubg-shub-item:visited{
  color:#111827 !important;
  text-decoration:none !important;
}
#ubg-shub-root .ubg-shub-item:hover,
#ubg-shub-root .ubg-shub-item:focus,
#ubg-shub-root .ubg-shub-item:active{
  color:#111827 !important;
  text-decoration:none !important;
  outline:none !important;
}

/* Prevent icon colors from inheriting link color on hover */
#ubg-shub-root .ubg-shub-item-ic{
  color:#ffffff !important;
  background: var(--ubg-primary, #16a34a) !important;
}
#ubg-shub-root .ubg-shub-item-ic svg{
  display:block !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Lock FAB svg color */
#ubg-shub-root .ubg-shub-btn{
  color:#ffffff !important;
}
#ubg-shub-root .ubg-shub-btn svg{
  display:block !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Close button icon color + hover stays intact */
#ubg-shub-root .ubg-shub-close{
  color:#111827 !important;
}
#ubg-shub-root .ubg-shub-close:hover{
  color:#111827 !important;
}
#ubg-shub-root .ubg-shub-close svg{
  display:block !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

