/* Sticky floating widget: right-middle */
#stickybar.brxe-section {
  position: fixed;
  right: 16px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 9999;
  pointer-events: none; /* allow inner links to receive pointer events */
}

/* Container inside the fixed section that actually receives clicks */
#stickybar .brxe-container {
  pointer-events: auto;
  display: flex;
  align-items: center; /* Ensures perfect vertical centering internally */
  justify-content: flex-end !important;
}

/* Social icons list styling */
#stickyicons.brxe-social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 240ms ease, opacity 240ms ease;
  transform-origin: bottom right;
  width: 60px !important;
}

/* Individual icon items */
#stickyicons .repeater-item {
  margin: 0;
  position: relative; /* Ensure list items are positioning context */
}

/* Links and icons */
#stickyicons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  transition: transform 160ms ease, background 160ms ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

#stickyicons span {
  display: none !important;
}

/* Icon hover/focus */
#stickyicons a:hover,
#stickyicons a:focus {
  transform: translateY(-3px);
  background: var(--secondary);
  outline: none;
}

/* Hover image container injected by JS/HTML */
.sticky-hover-image {
  position: absolute;
  right: calc(100% + 12px) !important; /* place to the left of the icon column */
  top: 50%;
  transform: translateY(-50%) translateX(-20px);
  width: 220px;
  max-width: 40vw;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 99999;
  white-space: normal;
}

/* Image inside container */
.sticky-hover-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Visible state */
.repeater-item.show-hover .sticky-hover-image,
.repeater-item:focus-within .sticky-hover-image,
.repeater-item:hover .sticky-hover-image {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* Tablet / Small Screen Hover Image Adjustments */
@media (max-width: 480px) {
  .sticky-hover-image {
    right: auto;
    transform: translateX(-50%) translateY(0);
    max-width: 80vw;
    width: 180px;
    top: 0% !important;
  }
    #stickybar.brxe-section {
  top: 80%;
}
}

/* Mobile Screen Container Adjustments */
@media (max-width: 420px) {
  #stickybar {
    right: 10px;
    bottom: auto;
    width: 15% !important;
  }

  #stickyicons a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #stickybar.brxe-section {
  top: 80%;
}
}


@media (min-width: 991px) and (max-width: 1060px) {
  #stickybar {
      width:10% !important;
  }
}




@media (max-width:767px) {
  #stickybar {
    right: 10px;
    bottom: auto;
    width: 15% !important;
  }
}