/* BRICODATO_HEADER_CANONICAL_867 */
.site-header .header-inner{
  display:flex;
  align-items:center;
}
.site-header .bd-lang-864{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:5px !important;
  margin-left:12px;
  margin-right:10px;
  flex:0 0 auto;
}
.site-header .bd-lang-864 > .bd-lang-link{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  min-height:30px;
  padding:5px 7px;
  border-radius:9px;
  border:1px solid rgba(35,82,112,.16);
  background:rgba(255,255,255,.94);
  color:#29495f;
  text-decoration:none !important;
  font:700 12px/1 system-ui,-apple-system,"Segoe UI","Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
  box-sizing:border-box;
  white-space:nowrap;
}
.site-header .bd-lang-864 > .bd-lang-link:first-child{order:1 !important}
.site-header .bd-lang-864 > .bd-lang-link:last-child{order:2 !important}
.site-header .bd-lang-864 > .bd-lang-link:hover{
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.site-header .bd-lang-864 > .bd-lang-link.active{
  color:#0f5f92;
  border-color:rgba(15,95,146,.34);
  background:#f4fbff;
}
.site-header .bd-lang-864 .bd-lang-flag-867{
  display:inline !important;
  visibility:visible !important;
  opacity:1 !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  overflow:visible !important;
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif !important;
  font-size:16px !important;
  line-height:1 !important;
}
.site-header .bd-lang-864 .bd-lang-code-867{
  display:inline !important;
  visibility:visible !important;
  opacity:1 !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  overflow:visible !important;
  font:700 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif !important;
}
@media (max-width:760px){
  .site-header .bd-lang-864{
    margin-left:8px;
    margin-right:6px;
    gap:3px !important;
  }
  .site-header .bd-lang-864 > .bd-lang-link{
    padding:5px 6px;
  }
  .site-header .bd-lang-864 .bd-lang-code-867{
    display:none !important;
  }
  .site-header .bd-lang-864 .bd-lang-flag-867{
    display:inline !important;
    font-size:18px !important;
  }
}


/* BRICODATO_FLAG_SVG_869 */
.site-header .bd-lang-864 .bd-lang-flag-svg-869{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:24px !important;
  height:16px !important;
  flex:0 0 24px !important;
  position:static !important;
  visibility:visible !important;
  opacity:1 !important;
  overflow:visible !important;
}
.site-header .bd-lang-864 .bd-lang-flag-svg-869 svg{
  display:block !important;
  width:24px !important;
  height:16px !important;
  max-width:none !important;
  visibility:visible !important;
  opacity:1 !important;
}
@media (max-width:760px){
  .site-header .bd-lang-864 .bd-lang-flag-svg-869,
  .site-header .bd-lang-864 .bd-lang-flag-svg-869 svg{
    width:24px !important;
    height:16px !important;
  }
}

/* BRICODATO_LANG_POSITION_871 */
/*
 * Orden estable desktop:
 * marca + selector | espacio flexible | navegación
 *
 * Se anula cualquier justify-content:space-between heredado.
 */
@media (min-width: 761px){
  .site-header .header-inner{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
  }

  .site-header .header-inner > .brand{
    flex:0 0 auto !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .site-header .header-inner > .bd-lang-864{
    flex:0 0 auto !important;
    margin-left:12px !important;
    margin-right:0 !important;
  }

  /* Las dos familias de navegación de V10 */
  .site-header .header-inner > nav.nav,
  .site-header .header-inner > nav.main-nav,
  .site-header .header-inner > #mainNav,
  .site-header .header-inner > #main-navigation{
    margin-left:auto !important;
    margin-right:0 !important;
    flex:0 0 auto !important;
  }

  /*
   * Botones hamburguesa:
   * si una CSS antigua los mantiene en el flujo de escritorio,
   * no deben empujar el selector.
   */
  .site-header .header-inner > .menu-btn,
  .site-header .header-inner > .menu-button,
  .site-header .header-inner > [data-menu-button]{
    flex:0 0 auto !important;
  }
}

/* En móvil: logo + selector + botón; menú conserva su comportamiento */
@media (max-width: 760px){
  .site-header .header-inner{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
  }

  .site-header .header-inner > .brand{
    flex:0 0 auto !important;
  }

  .site-header .header-inner > .bd-lang-864{
    flex:0 0 auto !important;
    margin-left:8px !important;
    margin-right:6px !important;
  }

  .site-header .header-inner > .menu-btn,
  .site-header .header-inner > .menu-button,
  .site-header .header-inner > [data-menu-button]{
    margin-left:auto !important;
  }
}

/* BRICODATO_SOCIAL_HEADER_CSS_873 */
.site-header .bd-social-873{
  display:flex;
  align-items:center;
  gap:5px;
  flex:0 0 auto;
  margin-left:10px;
  margin-right:0;
}
.site-header .bd-social-link-873{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  border-radius:999px;
  border:1px solid rgba(35,82,112,.15);
  background:rgba(255,255,255,.94);
  color:#234f6d;
  text-decoration:none !important;
  box-sizing:border-box;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.site-header .bd-social-link-873 svg{
  display:block;
  width:15px;
  height:15px;
}
.site-header .bd-social-link-873:hover{
  transform:translateY(-1px);
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.09);
}
@media (max-width:980px) and (min-width:761px){
  .site-header .bd-social-873{gap:3px;margin-left:7px}
  .site-header .bd-social-link-873{width:25px;height:25px;flex-basis:25px}
  .site-header .bd-social-link-873 svg{width:14px;height:14px}
}
@media (max-width:760px){
  .site-header .bd-social-873{display:none !important}
}
