/* =========================================================
   V15.0 — PREMIUM FLAG LANGUAGE SWITCHER
   Compact, accessible and performance-friendly.
   ========================================================= */
:root{
  --se150-ink:#2d3038;
  --se150-accent:#a78672;
  --se150-accent-soft:#efe4dc;
  --se150-paper:#fbf8f4;
  --se150-line:rgba(45,48,56,.11);
  --se150-shadow:0 18px 48px rgba(45,48,56,.14);
}

.se116-header .se150-lang{position:relative;z-index:80!important}
.se116-header .se150-lang-trigger{
  min-width:88px!important;
  height:44px!important;
  padding:0 12px 0 9px!important;
  gap:8px!important;
  border-radius:15px!important;
  border:1px solid rgba(45,48,56,.12)!important;
  background:rgba(255,255,255,.90)!important;
  color:var(--se150-ink)!important;
  box-shadow:0 7px 20px rgba(45,48,56,.055)!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.se116-header .se150-lang-trigger:hover,
.se116-header .se150-lang[open] .se150-lang-trigger{
  background:#fff!important;
  border-color:rgba(167,134,114,.34)!important;
  box-shadow:0 10px 26px rgba(45,48,56,.09)!important;
}
.se150-current-flag{
  position:relative;
  width:25px;
  height:19px;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 25px;
  border-radius:6px;
  background:#fff;
  border:1px solid rgba(45,48,56,.08);
  box-shadow:0 2px 8px rgba(45,48,56,.10);
}
.se150-current-flag::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20);
  pointer-events:none;
}
.se150-current-flag img,
.se150-lang-flag img,
.se150-drawer-flag img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
}
.se116-header .se150-lang-code{
  min-width:21px!important;
  color:var(--se150-ink)!important;
  font-size:.73rem!important;
  font-weight:760!important;
  letter-spacing:.065em!important;
}
.se116-header .se150-lang-chevron{
  width:13px!important;
  height:13px!important;
  color:#6d7078!important;
  stroke:currentColor!important;
  transition:transform .18s ease!important;
}
.se116-header .se150-lang[open] .se150-lang-chevron{transform:rotate(180deg)}

.se116-header .se150-lang-menu{
  top:calc(100% + 12px)!important;
  right:0!important;
  width:268px!important;
  padding:10px!important;
  border:1px solid rgba(45,48,56,.10)!important;
  border-radius:21px!important;
  background:rgba(252,249,246,.985)!important;
  color:var(--se150-ink)!important;
  box-shadow:var(--se150-shadow)!important;
  overflow:hidden!important;
}
.se116-header .se150-lang-menu::before{
  height:3px!important;
  background:linear-gradient(90deg,var(--se150-accent),#c5a28e 55%,rgba(197,162,142,.12))!important;
}
.se150-lang-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 10px 11px;
  margin-bottom:5px;
  border-bottom:1px solid rgba(45,48,56,.08);
}
.se150-lang-menu-head>span{
  color:var(--se150-accent);
  font-size:.57rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.19em;
}
.se150-lang-menu-head>small{
  color:#858087;
  font-size:.64rem;
  line-height:1;
  font-weight:600;
}
.se116-header .se150-lang-menu a{
  grid-template-columns:34px minmax(0,1fr) 24px!important;
  gap:12px!important;
  min-height:58px!important;
  padding:8px 9px!important;
  border-radius:14px!important;
  transition:background .16s ease,transform .16s ease!important;
}
.se116-header .se150-lang-menu a:hover,
.se116-header .se150-lang-menu a:focus-visible{
  background:#fff!important;
  transform:translateX(2px)!important;
}
.se116-header .se150-lang-menu a.is-active{
  background:linear-gradient(135deg,rgba(167,134,114,.15),rgba(167,134,114,.07))!important;
}
.se150-lang-flag{
  position:relative;
  width:32px;
  height:24px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:7px;
  background:#fff;
  border:1px solid rgba(45,48,56,.09);
  box-shadow:0 3px 10px rgba(45,48,56,.09);
}
.se150-lang-meta{display:grid!important;justify-content:start!important;gap:4px!important}
.se116-header .se150-lang-meta strong{
  color:var(--se150-ink)!important;
  font-size:.84rem!important;
  line-height:1.15!important;
  font-weight:700!important;
}
.se116-header .se150-lang-meta small{
  color:#87828a!important;
  font-size:.58rem!important;
  line-height:1!important;
  font-weight:760!important;
  letter-spacing:.13em!important;
}
.se116-header .se150-lang-check{
  width:22px!important;
  height:22px!important;
  border-radius:50%!important;
  background:var(--se150-accent)!important;
  color:#fff!important;
  opacity:0!important;
  box-shadow:0 4px 10px rgba(167,134,114,.22);
}
.se116-header .se150-lang-check svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.se116-header .se150-lang-menu a.is-active .se150-lang-check{opacity:1!important}

/* Drawer languages */
.se150-drawer-languages{
  gap:7px!important;
  padding:14px 0!important;
}
.se150-drawer-languages a{
  min-height:44px!important;
  padding:0 12px 0 8px!important;
  gap:8px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.60)!important;
}
.se150-drawer-languages a:hover{background:#fff!important}
.se150-drawer-languages a.is-active{
  background:linear-gradient(135deg,#3b3f49,#2e323b)!important;
  border-color:#343842!important;
}
.se150-drawer-flag{
  width:26px;
  height:20px;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 26px;
  border-radius:6px;
  background:#fff;
  border:1px solid rgba(45,48,56,.08);
  box-shadow:0 2px 7px rgba(45,48,56,.08);
}
.se150-drawer-code{
  font-size:.66rem!important;
  font-weight:800!important;
  letter-spacing:.10em!important;
}
.se150-drawer-languages a strong{
  font-size:.70rem!important;
  font-weight:600!important;
  white-space:nowrap;
}
.se150-drawer-languages a.is-active .se150-drawer-flag{border-color:rgba(255,255,255,.18)}

@media(max-width:1280px) and (min-width:1081px){
  .se116-header .se150-lang{display:none!important}
}
@media(max-width:1080px){
  .se116-header .se150-lang{display:none!important}
}
@media(max-width:640px){
  .se150-drawer-languages{
    margin-inline:17px!important;
    gap:7px!important;
    overflow-x:auto!important;
    scrollbar-width:none;
  }
  .se150-drawer-languages::-webkit-scrollbar{display:none}
  .se150-drawer-languages a{
    min-width:76px!important;
    min-height:42px!important;
    padding:0 10px 0 7px!important;
  }
  .se150-drawer-languages a strong{display:none!important}
  .se150-drawer-flag{width:25px;height:19px}
}
@media(prefers-reduced-motion:reduce){
  .se150-lang-trigger,.se150-lang-chevron,.se150-lang-menu a,.se150-drawer-languages a{transition:none!important}
}

/* =========================================================
   V16.42 — LANGUAGE TRIGGER HARD RESET
   Native <details>/<summary> marker and legacy summary rules must never
   break the compact desktop language selector.
   ========================================================= */
.se116-header details.se150-lang{
  position:relative!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  font:inherit!important;
  flex:0 0 auto!important;
}
.se116-header details.se150-lang > summary.se150-lang-trigger{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  list-style:none!important;
  list-style-type:none!important;
  box-sizing:border-box!important;
  margin:0!important;
  text-indent:0!important;
  cursor:pointer!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.se116-header details.se150-lang > summary.se150-lang-trigger::-webkit-details-marker{
  display:none!important;
}
.se116-header details.se150-lang > summary.se150-lang-trigger::marker{
  content:""!important;
  display:none!important;
  font-size:0!important;
}
.se116-header details.se150-lang > summary.se150-lang-trigger::before,
.se116-header details.se150-lang > summary.se150-lang-trigger::after{
  content:none!important;
  display:none!important;
}
.se116-header .se150-current-flag,
.se116-header .se150-lang-code,
.se116-header .se150-lang-chevron{
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  transform-origin:center!important;
}
.se116-header details.se150-lang:not([open]) > .se150-lang-menu{
  display:none!important;
}
.se116-header details.se150-lang[open] > .se150-lang-menu{
  display:block!important;
  position:absolute!important;
}


/* =========================================================
   V16.43 — LANGUAGE MENU LAYOUT ISOLATION
   Loaded after all other theme CSS. Prevents legacy/global anchor,
   image and typography rules from stretching the dropdown.
   ========================================================= */
.se116-header details.se150-lang > .se150-lang-menu{
  box-sizing:border-box!important;
  display:none!important;
  position:absolute!important;
  top:calc(100% + 12px)!important;
  right:0!important;
  width:300px!important;
  min-width:300px!important;
  max-width:min(300px,calc(100vw - 24px))!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:10px!important;
  overflow:visible!important;
  text-align:left!important;
}
.se116-header details.se150-lang[open] > .se150-lang-menu{
  display:block!important;
}
.se116-header .se150-lang-menu-head{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  height:auto!important;
  min-height:38px!important;
  margin:0 0 6px!important;
  padding:8px 9px 10px!important;
}
.se116-header .se150-lang-menu-head span,
.se116-header .se150-lang-menu-head small{
  display:block!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  writing-mode:horizontal-tb!important;
}
.se116-header .se150-lang-menu > a{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 24px!important;
  align-items:center!important;
  justify-items:stretch!important;
  column-gap:12px!important;
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
  margin:0!important;
  padding:7px 9px!important;
  overflow:hidden!important;
  text-decoration:none!important;
  line-height:1!important;
}
.se116-header .se150-lang-menu > a + a{margin-top:4px!important}
.se116-header .se150-lang-menu .se150-lang-flag{
  position:static!important;
  display:block!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  align-self:center!important;
}
.se116-header .se150-lang-menu .se150-lang-flag img{
  position:static!important;
  display:block!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  transform:none!important;
}
.se116-header .se150-lang-menu .se150-lang-meta{
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.se116-header .se150-lang-menu .se150-lang-meta strong,
.se116-header .se150-lang-menu .se150-lang-meta small{
  position:static!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  white-space:nowrap!important;
}
.se116-header .se150-lang-menu .se150-lang-meta strong{
  font-size:14px!important;
  line-height:1.15!important;
}
.se116-header .se150-lang-menu .se150-lang-meta small{
  font-size:10px!important;
  line-height:1!important;
}
.se116-header .se150-lang-menu .se150-lang-check{
  position:static!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:end!important;
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.se116-header .se150-lang-menu .se150-lang-check svg{
  display:block!important;
  width:13px!important;
  height:13px!important;
  margin:0!important;
}
@media (max-width: 760px){
  .se116-header details.se150-lang > .se150-lang-menu{
    right:-8px!important;
    width:min(300px,calc(100vw - 24px))!important;
    min-width:0!important;
  }
}
