/* =========================================================
   6) SOCIAL DOCK
   ========================================================= */

.canalla-social-top {
  position: fixed !important;
  top: 50% !important;
  right: 32px !important;
  left: auto !important;
  z-index: 99999 !important;
  opacity: 0;
  pointer-events: auto !important;
  transform: translateY(-50%) translateX(12px) !important;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    top 0.45s ease,
    bottom 0.45s ease !important;
}

.canalla-social-top.canalla-social-ready {
  opacity: 1;
  transform: translateY(-50%) translateX(0) !important;
}

.canalla-social-top .mcb-wrap-inner {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  padding: 14px 10px !important;
  background: var(--canalla-glass-bg) !important;
  border: 1px solid var(--canalla-glass-border) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease !important;
}

.canalla-social-top .mcb-wrap-inner > * {
  margin-bottom: 14px !important;
}

.canalla-social-top .mcb-wrap-inner > *:last-child {
  margin-bottom: 0 !important;
}

.canalla-social-top .mcb-column-inner,
.canalla-social-top .column_attr {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.canalla-social-top a,
.canalla-social-top i,
.canalla-social-top svg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  fill: rgba(255, 255, 255, 0.55) !important;
  opacity: 0.88 !important;
  transition:
    color 0.25s ease,
    fill 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease !important;
}

.canalla-social-top i,
.canalla-social-top svg {
  font-size: 18px !important;
}

.canalla-social-top a:hover,
.canalla-social-top a:hover i,
.canalla-social-top a:hover svg {
  color: var(--canalla-color-gold) !important;
  fill: none !important;
  stroke: currentColor !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
  background: rgba(214, 177, 31, 0.055) !important;
}

.canalla-social-top .mcb-wrap-inner:hover a:not(:hover) {
  opacity: 0.35 !important;
}

.canalla-social-top.canalla-social-scrolled {
  top: auto !important;
  bottom: 32px !important;
  transform: none !important;
}

.canalla-social-top.canalla-social-scrolled .mcb-wrap-inner {
  opacity: 0.9;
  transform: scale(0.95);
  background: var(--canalla-glass-bg-soft) !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.canalla-social-top.canalla-social-hidden {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.canalla-social-top.canalla-social-hidden .mcb-wrap-inner,
.canalla-social-top.canalla-social-compact .mcb-wrap-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: var(--canalla-glass-bg-strong) !important;
}

.canalla-social-top.canalla-social-hidden .mcb-wrap-inner {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
}

.canalla-social-top.canalla-social-compact .mcb-wrap-inner {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
}

.canalla-social-top.canalla-social-hidden .mcb-wrap-inner > *,
.canalla-social-top.canalla-social-compact .mcb-wrap-inner > * {
  display: none !important;
}

.canalla-social-top.canalla-social-hidden .mcb-wrap-inner::before,
.canalla-social-top.canalla-social-compact .mcb-wrap-inner::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--canalla-font-primary);
  font-size: 18px;
  line-height: 1;
}

.canalla-social-top.canalla-social-hidden .mcb-wrap-inner::before {
  content: "↑";
}

.canalla-social-top.canalla-social-compact .mcb-wrap-inner::before {
  content: "◎";
}

.canalla-social-top.canalla-social-hidden .mcb-wrap-inner:hover::before,
.canalla-social-top.canalla-social-compact:hover .mcb-wrap-inner::before {
  color: var(--canalla-color-gold);
}
