
/* Base wrapper sin fondo */
.cta-botones-eng-wrapper{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  padding:0;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  margin-bottom:14px;
}

/* Botón con color de fondo configurable */
.cta-botones-eng-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:36px;
  padding:0 10px;
  border-radius:999px;
  text-decoration:none !important;
  font-weight:700;
  transition:transform .2s ease, opacity .2s ease, width .25s ease;
  overflow:hidden;
  white-space:nowrap;
  width:36px; /* solo icono */
  min-width:36px;
  border:none;
  box-shadow:none;
}
.cta-botones-eng-btn:hover{
  transform:translateY(-1px);
  width:240px; /* despliega texto */
  text-decoration:none !important;
}

.cta-botones-eng-btn .cta-icon{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 20px;
}
.cta-botones-eng-btn .cta-icon svg{
  width:20px;
  height:20px;
  display:block;
}

.cta-botones-eng-btn .cta-text{
  opacity:0;
  transform:translateX(-8px);
  transition:opacity .2s ease .05s, transform .25s ease .05s;
  pointer-events:none;
  text-decoration:none !important; /* elimina línea bajo texto */
  border:none !important;
}
.cta-botones-eng-btn:hover .cta-text{
  opacity:1;
  transform:translateX(0);
  text-decoration:none !important;
}

/* Floating left/right */
.cta-botones-eng-wrapper.cta-mode-fixed_left,
.cta-botones-eng-wrapper.cta-mode-fixed_right{
  position: fixed;
  top: 120px;
  z-index: 99999;
  width: auto;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta-botones-eng-wrapper.cta-mode-fixed_left{ left: 12px; }
.cta-botones-eng-wrapper.cta-mode-fixed_right{ right: 12px; align-items:flex-end; }

.cta-botones-eng-wrapper.cta-mode-fixed_left .cta-botones-eng-btn,
.cta-botones-eng-wrapper.cta-mode-fixed_right .cta-botones-eng-btn{
  width:36px;
}
.cta-botones-eng-wrapper.cta-mode-fixed_left .cta-botones-eng-btn:hover,
.cta-botones-eng-wrapper.cta-mode-fixed_right .cta-botones-eng-btn:hover{
  width:260px;
}

/* Mobile */
@media (max-width: 768px){
  .cta-botones-eng-wrapper.cta-mode-fixed_left,
  .cta-botones-eng-wrapper.cta-mode-fixed_right{
    left: 10px;
    right: 10px;
    width: auto;
    top: auto;
    bottom: 10px;
    max-height: 45vh;
    align-items:flex-start;
  }
  .cta-botones-eng-btn:hover{
    width:180px;
  }
}
