.sticky-banner {
  width: 100%;
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  font-family: 'Montserrat', sans-serif;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.sticky-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  line-height: 0;
  text-decoration: none;
}

.sticky-banner.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-banner-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* Selector de idioma en el sticky-banner */
.sticky-banner-language-selector {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Estilos para el selector de idioma WPML */
.sticky-banner-language-selector .wpml-language-selector {
  display: flex;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 2rem;
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(67, 50, 255, 0.15);
  overflow: hidden;
}

.sticky-banner-language-selector .wpml-lang-option {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  min-width: 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: var(--blue);
}

.sticky-banner-language-selector .wpml-lang-option.wpml-lang-active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(67, 50, 255, 0.3);
}

.sticky-banner-language-selector .wpml-lang-option:hover:not(.wpml-lang-active) {
  background: var(--white-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(67, 50, 255, 0.2);
}

.sticky-banner-language-selector .wpml-lang-option.wpml-lang-active:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 50, 255, 0.4);
}



/* Responsivo */
@media (max-width: 600px) {
  .sticky-banner {
    padding: 0.7rem 1rem;
  }
  
  .sticky-banner-content {
    justify-content: flex-start;
  }
  
  .sticky-banner-img {
    max-height: 32px;
  }
  
  .sticky-banner-language-selector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .sticky-banner-language-selector .wpml-language-selector {
    padding: 0.2rem;
  }
  
  .sticky-banner-language-selector .wpml-lang-option {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    min-width: 2.5rem;
  }
}
