/* AliClick v1.0.30 — premium, bilingual header. Presentation only; preserve WordPress navigation and links. */
.ac-header.ac-header-premium {
  position: relative;
  z-index: 40;
  background: linear-gradient(180deg, #fdfdff 0%, #f5f6ff 100%);
  border-bottom: 1px solid #e9ecfb;
  padding-block: 12px;
  isolation: isolate;
}
.ac-header-premium::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,#376df8 0%,#454efa 50%,#9b42ef 100%);
  opacity:.82;
  pointer-events:none;
}
.ac-header-premium .ac-header-inner {
  width:min(1380px,calc(100% - 52px));
  min-height:76px;
  padding:10px clamp(16px,1.65vw,26px);
  display:flex;
  align-items:center;
  gap:clamp(15px,2vw,32px);
  border:1px solid #e1e5f9;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 37px rgba(33,44,112,.065),0 2px 8px rgba(33,44,112,.025);
}
.ac-header-premium .ac-logo {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  transition:opacity .18s ease;
}
.ac-header-premium .ac-logo:hover {opacity:.85}
.ac-header-premium .ac-logo img {width:clamp(145px,12vw,185px);max-height:61px;height:auto;object-fit:contain}
.ac-header-premium .ac-navigation {min-width:0;flex:1 1 auto}
.ac-header-premium .ac-menu-list {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(2px,.44vw,7px);
  margin:0;
  padding:6px;
  list-style:none;
  border:1px solid #edf0fe;
  border-radius:16px;
  background:linear-gradient(180deg,#fafaff,#f6f7ff);
}
.ac-header-premium .ac-menu-list li {min-width:0;list-style:none;margin:0}
.ac-header-premium .ac-menu-list a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px clamp(9px,.9vw,17px);
  border-radius:11px;
  color:#263461;
  font-size:clamp(.75rem,.83vw,.9rem);
  font-weight:750;
  line-height:1.4;
  white-space:nowrap;
  transition:background .18s,color .18s,box-shadow .18s;
}
.ac-header-premium .ac-menu-list a::after {display:none}
.ac-header-premium .ac-menu-list a:hover {color:#454efa;background:#e8eaff}
.ac-header-premium .ac-menu-list a[aria-current="page"],
.ac-header-premium .ac-menu-list .current-menu-item>a,
.ac-header-premium .ac-menu-list .current_page_item>a {
  color:#393cf3;
  background:#e8eaff;
  box-shadow:inset 0 0 0 1px #d6d9ff;
}
.ac-header-premium .ac-header-actions {display:flex;align-items:center;gap:clamp(8px,1vw,14px);flex:0 0 auto}
.ac-header-premium .ac-languages {
  display:inline-flex;
  align-items:center;
  direction:ltr;
  background:#f5f6ff;
  border:1px solid #e0e5fa;
  border-radius:999px;
  padding:4px;
  gap:3px;
}
.ac-header-premium .ac-languages a {
  display:flex;align-items:center;justify-content:center;
  min-width:34px;min-height:34px;
  padding:7px 8px;border-radius:999px;
  color:#536087;font-size:.77rem;font-weight:800;
  transition:background .18s,color .18s,box-shadow .18s;
}
.ac-header-premium .ac-languages a:hover:not(.is-active){background:#e7eaff;color:#454efa}
.ac-header-premium .ac-languages a.is-active {background:linear-gradient(135deg,#4354f9,#7441ef);color:white;box-shadow:0 4px 12px rgba(73,65,235,.19)}
.ac-header-premium .ac-header-actions>.ac-button,
.ac-header-premium .ac-mobile-nav-extra>.ac-button {
  min-height:46px;
  padding:10px 17px;
  border:0;border-radius:13px;
  color:#fff;
  background:linear-gradient(110deg,#386cf8,#454efa 55%,#7740ef);
  box-shadow:0 10px 22px rgba(69,78,250,.2);
  font-size:.82rem;font-weight:800;white-space:nowrap;
}
.ac-header-premium .ac-header-actions>.ac-button:hover,
.ac-header-premium .ac-mobile-nav-extra>.ac-button:hover {background:linear-gradient(110deg,#3158e5,#4644ed 55%,#6d32df);box-shadow:0 12px 27px rgba(69,78,250,.26)}
.ac-header-premium .ac-header-actions>.ac-button .ac-icon,
.ac-header-premium .ac-mobile-nav-extra>.ac-button .ac-icon {color:inherit}
.ac-header-premium .ac-logo:focus-visible,
.ac-header-premium .ac-menu-list a:focus-visible,
.ac-header-premium .ac-languages a:focus-visible,
.ac-header-premium .ac-menu-toggle:focus-visible {outline:3px solid #8664ff;outline-offset:3px}
/* A compact premium menu avoids collisions on tablets and narrower laptop screens. */
@media(max-width:1060px){
  .ac-header-premium .ac-header-inner{min-height:70px;gap:12px;padding:8px 14px}
  .ac-header-premium .ac-logo img{width:160px;max-height:55px}
  .ac-header-premium .ac-header-actions{margin-inline-start:auto}
  .ac-header-premium .ac-header-actions>.ac-button{display:none}
  .ac-header-premium .ac-header-actions .ac-languages{display:inline-flex}
  .ac-header-premium .ac-menu-toggle {
    display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
    width:46px;height:46px;border:1px solid #dfe4fc;border-radius:13px;
    color:#414bf2;background:#f0f1ff;
    box-shadow:0 3px 11px rgba(69,78,250,.075);
    transition:background .18s,color .18s;
  }
  .ac-header-premium .ac-menu-toggle:hover{background:#e5e8ff}
  .ac-header-premium .ac-menu-toggle[aria-expanded="true"]{background:#454efa;color:#fff}
  .ac-header-premium .ac-menu-toggle[aria-expanded="true"] svg{display:none}
  .ac-header-premium .ac-menu-toggle[aria-expanded="true"]::before{
    content:"×";font-size:29px;line-height:1;font-family:Arial,sans-serif;font-weight:400;
  }
  .ac-header-premium .ac-navigation {
    display:none;
    position:absolute;
    inset-inline:clamp(14px,3vw,35px);
    top:calc(100% - 6px);
    z-index:50;
    width:auto;max-width:none;
    max-height:calc(100dvh - 104px);
    padding:16px;
    overflow-y:auto;overscroll-behavior:contain;
    background:#fff;
    border:1px solid #dce2fb;
    border-radius:19px;
    box-shadow:0 24px 55px rgba(28,40,93,.15);
  }
  .ac-header-premium .ac-navigation.is-open{display:block}
  .ac-header-premium .ac-navigation .ac-menu-list {
    display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
    gap:5px;padding:7px;background:#f7f8ff;border:1px solid #eef0ff;border-radius:13px;
  }
  .ac-header-premium .ac-navigation .ac-menu-list li{width:100%}
  .ac-header-premium .ac-navigation .ac-menu-list a {
    display:flex;justify-content:flex-start;text-align:start;
    width:100%;min-height:45px;padding:11px 14px;
    font-size:.96rem;border-radius:10px;
  }
  .ac-header-premium .ac-mobile-nav-extra{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 5px 1px}
  .ac-header-premium .ac-mobile-nav-extra>.ac-button{flex:1;white-space:normal}
  .ac-header-premium .ac-mobile-nav-extra .ac-languages{display:none}
  /* No-JS: preserve visible links rather than leaving visitors without navigation. */
  html:not(.ac-js) .ac-header-premium .ac-header-inner{flex-wrap:wrap}
  html:not(.ac-js) .ac-header-premium .ac-navigation{display:block;position:static;flex:1 0 100%;max-height:none;overflow:visible;box-shadow:none}
  html:not(.ac-js) .ac-header-premium .ac-menu-toggle{display:none}
}
@media(max-width:670px){
  .ac-header.ac-header-premium{padding-block:8px}
  .ac-header-premium .ac-header-inner{width:calc(100% - 24px);min-height:62px;padding:7px 10px;border-radius:17px;gap:8px}
  .ac-header-premium .ac-logo img{width:clamp(108px,35vw,150px);max-height:49px}
  .ac-header-premium .ac-languages{padding:2px;gap:1px}
  .ac-header-premium .ac-languages a{min-width:30px;min-height:32px;padding:5px 6px;font-size:.7rem}
  .ac-header-premium .ac-menu-toggle{width:41px;height:41px;border-radius:11px}
  .ac-header-premium .ac-navigation{top:calc(100% - 3px);inset-inline:12px;padding:13px;border-radius:16px;max-height:calc(100dvh - 83px)}
  .ac-header-premium .ac-mobile-nav-extra{flex-wrap:wrap;padding:12px 2px 2px}
  .ac-header-premium .ac-mobile-nav-extra .ac-languages{display:none}
  .ac-header-premium .ac-mobile-nav-extra>.ac-button{width:100%;flex-basis:100%}
}
@media(max-width:360px){
  .ac-header-premium .ac-header-inner{width:calc(100% - 16px);padding-inline:8px;gap:5px}
  .ac-header-premium .ac-logo img{width:105px}
  .ac-header-premium .ac-languages a{min-width:27px;padding-inline:4px}
  .ac-header-premium .ac-menu-toggle{width:39px;height:39px}
}
@media(prefers-reduced-motion:reduce){
  .ac-header-premium .ac-logo,.ac-header-premium .ac-menu-list a,.ac-header-premium .ac-languages a,.ac-header-premium .ac-menu-toggle{transition:none}
}
