/* FC Messengers — floating widget (textileplus-style stack, FC colors) */
#fc-messengers {
  position: fixed;
  z-index: 1030;
  bottom: 30px;
}
#fc-messengers.pos-right { right: 30px; }
#fc-messengers.pos-left { left: 30px; }
#fc-messengers .fc-ms-btn {
  width: 70px;
  height: 70px;
  border-radius: 50px;
  background: #26B7C7;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
#fc-messengers .fc-ms-btn svg { display: block; }
#fc-messengers .fc-ms-icon {
  height: 30px;
  animation: fc-ms-wiggle 1.5s infinite;
}
#fc-messengers .fc-ms-close { display: none; height: 16px; }
#fc-messengers.open .fc-ms-icon { display: none; }
#fc-messengers.open .fc-ms-close { display: block; }
#fc-messengers .fc-ms-list {
  position: absolute;
  width: 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .45s ease;
  bottom: 8px;
  text-align: center;
  z-index: 1;
}
#fc-messengers.pos-right .fc-ms-list { right: 15px; }
#fc-messengers.pos-left .fc-ms-list { left: 15px; }
#fc-messengers.open .fc-ms-list {
  max-height: 520px;
  padding-bottom: 78px;
}
#fc-messengers .fc-ms-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}
#fc-messengers .fc-ms-item img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
#fc-messengers .fc-ms-item .fc-ms-tip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #1c1c28;
  font: 13px/1.2 "Open Sans", "Segoe UI", Arial, sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 3px 4px 18px rgba(0,0,0,.08);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
#fc-messengers.pos-right .fc-ms-item .fc-ms-tip { right: 50px; }
#fc-messengers.pos-left .fc-ms-item .fc-ms-tip { left: 50px; }
#fc-messengers .fc-ms-item:hover .fc-ms-tip,
#fc-messengers .fc-ms-item:focus .fc-ms-tip { opacity: 1; }
@keyframes fc-ms-wiggle {
  0% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  100% { transform: rotate(-8deg); }
}
@media (max-width: 767px) {
  #fc-messengers.pos-right { right: 12px; bottom: 72px; }
  #fc-messengers.pos-left { left: 10px; bottom: 72px; }
  #fc-messengers .fc-ms-btn { width: 50px; height: 50px; }
  #fc-messengers .fc-ms-icon svg { width: 22px; height: 22px; }
  #fc-messengers.pos-right .fc-ms-list { right: 5px; }
  #fc-messengers.pos-left .fc-ms-list { left: 5px; }
  #fc-messengers.open .fc-ms-list { padding-bottom: 58px; }
  .body-product #fc-messengers { bottom: 120px; }
}
/* Hide the native oct_showcase feedback button when this module is on */
body.fc-ms-hide-theme #sc_fixed_contact_button,
body.fc-ms-hide-theme #sc_fixed_contact_substrate {
  display: none !important;
}
