/* AI Creators Native International — compact header controls */
.acc-i18n-menu-item{display:flex!important;align-items:center!important;margin-left:.25rem!important;flex:0 0 auto!important}
.acc-i18n-combined{display:flex;align-items:center;gap:.38rem;white-space:nowrap}

/* Compact native language dropdown. */
.acc-i18n-language--dropdown{position:relative;display:inline-block;color:inherit}
.acc-i18n-language--dropdown>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-height:34px;padding:.34rem .7rem;border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:999px;background:color-mix(in srgb,currentColor 5%,transparent);color:inherit;cursor:pointer;font-size:.72rem;font-weight:850;line-height:1;box-shadow:inset 0 1px 0 color-mix(in srgb,currentColor 5%,transparent);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.acc-i18n-language--dropdown>summary::-webkit-details-marker{display:none}
.acc-i18n-language--dropdown>summary:hover,.acc-i18n-language--dropdown[open]>summary{border-color:color-mix(in srgb,#35d9ff 34%,transparent);box-shadow:0 0 16px color-mix(in srgb,#35d9ff 11%,transparent);background:color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 12%,transparent)}
.acc-i18n-chevron{width:.42rem;height:.42rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .18s ease}
.acc-i18n-language--dropdown[open] .acc-i18n-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.acc-i18n-language__menu{position:absolute;z-index:10050;top:calc(100% + 8px);right:0;width:168px;padding:.38rem;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:14px;background:#12131a;background:color-mix(in srgb,var(--acm-surface,#171820) 96%,black 4%);box-shadow:0 18px 48px rgba(0,0,0,.34),0 0 24px color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 10%,transparent)}
.acc-i18n-language__menu .acc-native-lang{display:grid!important;grid-template-columns:32px 1fr;align-items:center;gap:.45rem;padding:.56rem .62rem!important;border-radius:10px!important;color:inherit!important;text-decoration:none!important;font-size:.76rem!important;line-height:1.2!important;white-space:nowrap!important;opacity:.78}
.acc-i18n-language__menu .acc-native-lang span{font-weight:600;opacity:.8}
.acc-i18n-language__menu .acc-native-lang:hover,.acc-i18n-language__menu .acc-native-lang.is-current{opacity:1;background:color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 16%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,#35d9ff 15%,transparent)}

/* WCML remains the conversion engine. Render only its compact dropdown in header. */
.acc-i18n-currency{display:inline-flex;align-items:center;min-height:34px;font-size:.72rem;font-weight:850;position:relative}
.acc-i18n-currency .wcml_currency_switcher{width:auto!important;min-width:94px!important;margin:0!important}
.acc-i18n-currency .wcml-dropdown-click,.acc-i18n-currency .wcml-dropdown{width:auto!important;min-width:94px!important;margin:0!important}
.acc-i18n-currency .wcml_currency_switcher>ul,.acc-i18n-currency .wcml-dropdown-click>ul,.acc-i18n-currency .wcml-dropdown>ul{margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important}
.acc-i18n-currency .wcml-cs-active-currency{margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important}
.acc-i18n-currency .wcml-cs-item-toggle{display:flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:.34rem .72rem!important;border:1px solid color-mix(in srgb,currentColor 15%,transparent)!important;border-radius:999px!important;background:color-mix(in srgb,currentColor 5%,transparent)!important;color:inherit!important;text-decoration:none!important;font-size:.72rem!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;box-shadow:inset 0 1px 0 color-mix(in srgb,currentColor 5%,transparent)!important}
.acc-i18n-currency .wcml-cs-item-toggle:hover{border-color:color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 38%,transparent)!important;box-shadow:0 0 16px color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 11%,transparent)!important}
.acc-i18n-currency .wcml-cs-submenu{position:absolute!important;z-index:10050!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;min-width:145px!important;margin:0!important;padding:.38rem!important;border:1px solid color-mix(in srgb,currentColor 14%,transparent)!important;border-radius:14px!important;background:#12131a!important;box-shadow:0 18px 48px rgba(0,0,0,.34),0 0 24px color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 10%,transparent)!important}
.acc-i18n-currency .wcml-cs-submenu li{margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important}
.acc-i18n-currency .wcml-cs-submenu a{display:block!important;padding:.58rem .65rem!important;border-radius:10px!important;color:inherit!important;text-decoration:none!important;font-size:.76rem!important;font-weight:750!important;white-space:nowrap!important;background:transparent!important}
.acc-i18n-currency .wcml-cs-submenu a:hover{background:color-mix(in srgb,var(--wp--preset--color--primary,#7968ff) 16%,transparent)!important}

/* The AI Creators theme header needs a denser desktop navigation once international controls are present. */
.site-header .site-header__inner{gap:12px!important}
.site-header .site-branding{flex:0 0 auto!important}
.site-header .primary-navigation{margin-left:auto!important;min-width:0!important}
.site-header .primary-navigation>ul,.site-header .primary-navigation>.menu{display:flex;align-items:center;flex-wrap:nowrap!important;gap:1px!important}
.site-header .primary-navigation li{flex:0 0 auto!important}
.site-header .primary-navigation a{padding:8px 8px!important;font-size:clamp(.74rem,.78vw,.88rem)!important;white-space:nowrap!important;line-height:1.1!important}
.site-header .acc-i18n-menu-item a{font-size:inherit!important}
.site-header .header-actions{flex:0 0 auto!important;gap:6px!important}
.site-header .header-actions .acm-button{white-space:nowrap!important;min-width:max-content!important;padding-inline:12px!important;font-size:.82rem!important}

/* Remove WCML's separate product-page switcher anywhere inside the product summary. */
body.single-product .summary .wcml_currency_switcher,
body.single-product .summary .wcml-dropdown.product,
body.single-product .summary .wcml-dropdown-click.product,
body.single-product .summary div[class*="wcml_currency_switcher"],
body.acc-ai-single.single-product .summary select[name*="currency"],
body.acc-ai-single.single-product .summary select[id*="currency"]{display:none!important}

html[dir="ltr"] body{direction:ltr}
@media(max-width:1320px) and (min-width:821px){
 .site-header .site-header__inner{gap:8px!important}
 .site-header .primary-navigation a{padding:7px 6px!important;font-size:.72rem!important}
 .site-header .header-actions .acm-button{padding-inline:9px!important;font-size:.75rem!important}
 .acc-i18n-language--dropdown>summary,.acc-i18n-currency .wcml-cs-item-toggle{padding-left:.55rem!important;padding-right:.55rem!important}
}
@media(max-width:900px){
 .acc-i18n-menu-item{width:100%;margin:.45rem 0 0!important;padding-top:.55rem!important;border-top:1px solid color-mix(in srgb,currentColor 10%,transparent)}
 .acc-i18n-combined{width:100%;justify-content:flex-start;flex-wrap:wrap}
 .acc-i18n-language__menu,.acc-i18n-currency .wcml-cs-submenu{right:auto!important;left:0!important}
}


/* v0.6.3.7 keep the theme header identical on marketplace and single-product pages. */
@media(min-width:901px){
 body.acc-ai-single .site-header{min-height:76px!important;height:76px!important;padding:0!important}
 body.acc-ai-single .site-header .site-header__inner{min-height:76px!important;height:76px!important;padding-top:0!important;padding-bottom:0!important;align-items:center!important}
 body.acc-ai-single .site-header .site-branding,
 body.acc-ai-single .site-header .primary-navigation,
 body.acc-ai-single .site-header .header-actions{margin-top:0!important;margin-bottom:0!important;align-self:center!important}
 body.acc-ai-single .site-header .primary-navigation>ul,
 body.acc-ai-single .site-header .primary-navigation>.menu{margin-top:0!important;margin-bottom:0!important}
}
