.sticky-ctas{
  width:100%;
  display:flex;
  flex-direction:row;
  gap:0;
  max-width:90vw;
  overflow-x:auto;
  overflow:hidden;
}

.sticky-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 0;
  text-decoration: none;
  box-shadow: none;
  border-left: 1px solid rgba(255,255,255,.12);
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 0;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  backdrop-filter: brightness(1);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta:first-child{ 
  border-left:none; 
}

.sticky-cta:hover {
  z-index: 1;
  backdrop-filter: brightness(1.05);
}

/* Effetto separatore elegante */
.sticky-cta::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.2), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.sticky-cta:not(:first-child)::before {
  opacity: 1;
}

.sticky-cta:hover::before {
  opacity: 0;
}

.sticky-cta-icon{ 
  height:32px; 
  display:inline-block;
  transition: transform 300ms ease;
  pointer-events: none;
}

.sticky-cta:hover .sticky-cta-icon {
  transform: scale(1.1);
}

.sticky-cta-text {
  font-weight: 500;
  line-height: 1.2;
  font-size: 15px;
  transition: color 300ms ease;
  pointer-events: none;
}

/* Assicura che SVG e immagini non blocchino i click */
.sticky-cta-icon svg,
.sticky-cta-icon img {
  pointer-events: none;
  display: block;
}

.sticky-cta-icon--svg {
  pointer-events: none;
  display: inline-block;
  height: 32px;
  line-height: 32px;
}

.sticky-cta-icon--svg svg {
  height: 100%;
  width: auto;
  max-width: 32px;
}


/* Effetto glassmorphism opzionale */
.sticky-ctas.glass-effect {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Animazione di ingresso */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sticky-ctas {
  animation: slideIn 400ms ease-out;
}

/* Responsive */
@media (max-width: 767px){
  .sticky-ctas{ 
    max-width:100vw; 
  }
  .sticky-cta{ 
    padding:10px 12px; 
    gap: 6px;
  }
  .sticky-cta-icon,
  .sticky-cta-icon--svg {
    height: 24px;
  }
  .sticky-cta-icon--svg svg {
    max-width: 24px;
  }
  .sticky-cta-text {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1024px){
  .sticky-cta {
    padding: 11px 14px;
  }
  .sticky-cta-icon,
  .sticky-cta-icon--svg {
    height: 28px;
  }
  .sticky-cta-icon--svg svg {
    max-width: 28px;
  }
  .sticky-cta-text {
    font-size: 14px;
  }
}

/* Toggle per device (usa data-device impostato via JS inline) */
.sticky-ctas[data-device="desktop"].hide-desktop{ display:none !important; }
.sticky-ctas[data-device="tablet"].hide-tablet{ display:none !important; }
.sticky-ctas[data-device="mobile"].hide-mobile{ display:none !important; }


.sticky-cta svg {width: 100%;height: inherit;}
