/* Right floating sidebar — loaded separately so updates bypass style.css CDN cache */

.desktop-sidebar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10050;
  display: none;
  visibility: visible;
  pointer-events: auto;
}

.desktop-sidebar ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto !important;
}

.desktop-sidebar ul.row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0 !important;
  flex-wrap: nowrap;
}

.desktop-sidebar ul.row > li {
  width: auto !important;
  flex: 0 0 auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.desktop-sidebar ul li {
  margin-bottom: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.desktop-sidebar ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #0938d3;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.desktop-sidebar ul li a:hover {
  background: #0938d3;
  transform: translateY(-6px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.desktop-sidebar ul li:not(:last-child):after {
  display: none;
}

.desktop-sidebar ul li a svg {
  color: #ffffff;
  fill: #ffffff;
  width: 26px;
  height: 26px;
  margin: 0 !important;
  flex-shrink: 0;
}

.desktop-sidebar ul li a > span:not(.moke-whatsapp-pulse):not(.moke-whatsapp-icon) {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.2;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media only screen and (min-width: 769px) {
  .desktop-sidebar {
    display: flex !important;
  }
}

@media only screen and (max-width: 768px) {
  .desktop-sidebar {
    display: none !important;
  }
}

.desktop-sidebar #container-whatsapp {
  overflow: visible;
}

.desktop-sidebar ul li a.moke-whatsapp-sidebar-link,
.desktop-sidebar #container-whatsapp a.moke-whatsapp-sidebar-link {
  background: #25d366 !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
}

.desktop-sidebar ul li a.moke-whatsapp-sidebar-link:hover,
.desktop-sidebar #container-whatsapp a.moke-whatsapp-sidebar-link:hover {
  background: #20bd5a !important;
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55) !important;
}

.moke-whatsapp-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0 !important;
}

.moke-whatsapp-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.moke-whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: 1;
  animation: mokeWhatsappPulse 2s ease-out infinite;
  pointer-events: none;
}

.moke-whatsapp-pulse--delay {
  animation-delay: 1s;
}

@keyframes mokeWhatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.85);
    opacity: 0;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}

.desktop-sidebar #container-whatsapp span:not(.moke-whatsapp-pulse):not(.moke-whatsapp-icon) {
  color: #1a9e4b;
}

.desktop-sidebar .icon {
  fill: currentColor;
}
