.header-row{flex-wrap:nowrap!important;gap:12px}.brand{flex:0 0 auto}.brand .custom-logo{max-width:145px;max-height:38px}.main-search{order:0!important;min-width:0;flex:1 1 auto;margin:0!important}.main-search input{min-width:0;padding:11px 13px;font-size:15px}.main-search button{flex:0 0 52px;padding:0}.header-nav{position:relative;flex:0 0 auto;margin-left:auto}.header-desktop-links{display:flex;align-items:center;gap:20px;white-space:nowrap}.header-desktop-links a{color:#fff;font-size:15px;font-weight:800}.header-desktop-links a:hover{color:#ede9fe}.header-menu-toggle,.header-menu-dropdown{display:none}.header-menu-toggle{place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.48);border-radius:9px;color:#fff;background:transparent;cursor:pointer}.header-menu-toggle:hover{background:rgba(255,255,255,.14)}.header-menu-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.header-menu-dropdown{position:absolute;top:calc(100% + 12px);right:0;z-index:90;min-width:145px;padding:7px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.18)}.header-menu-dropdown a{display:block;padding:9px 10px;border-radius:6px;color:var(--ink);font-size:14px;font-weight:750}.header-menu-dropdown a:hover{color:#5D1EF1;background:#f5f3ff}@media(min-width:1100px){.header-row{position:relative}.main-search{position:absolute!important;left:50%;width:min(630px,42vw);transform:translateX(-50%)}}@media(max-width:820px){.header-row{min-height:66px;padding:0}.header-nav{margin-left:0}.brand .custom-logo{max-width:100px;max-height:32px}.brand-mark{width:34px;height:34px}.main-search{display:flex!important;flex-basis:auto!important;margin:0!important}.main-search input{padding:10px;font-size:14px}.main-search button{flex-basis:44px}.header-account{flex:0 0 35px;margin:0}.header-desktop-links{display:none}.header-menu-toggle{display:grid;width:35px;height:35px}.header-menu-dropdown:not([hidden]){display:block}}@media(max-width:390px){.brand .custom-logo{max-width:78px}.brand>span:last-child{display:none}.header-row{gap:7px}.main-search input{font-size:13px}.header-menu-toggle,.header-account{width:32px;height:32px}.main-search button{flex-basis:38px}}

/* Mantem qualquer imagem escolhida como logo dentro da altura do cabecalho. */
.site-header .brand,
.site-header .custom-logo-link{
    display:flex!important;
    align-items:center;
    flex:0 0 auto;
    width:auto!important;
    height:48px!important;
    max-height:48px!important;
    overflow:hidden;
}
.site-header .brand img,
.site-header .custom-logo-link img,
.site-header img.custom-logo{
    display:block!important;
    width:auto!important;
    height:50px!important;
    max-width:260px!important;
    max-height:50px!important;
    object-fit:contain!important;
    object-position:left center;
}
@media(max-width:820px){
    .site-header .header-row{
        display:grid!important;
        grid-template-columns:40px minmax(0,1fr) 40px;
        grid-template-areas:
            "menu brand account"
            "search search search";
        gap:9px 10px;
        padding:9px 0 11px;
    }
    .site-header .brand{
        grid-area:brand;
        justify-self:center;
        justify-content:center;
        min-width:0;
    }
    .site-header .header-nav{
        grid-area:menu;
        justify-self:start;
        margin:0;
    }
    .site-header .header-account{
        grid-area:account;
        justify-self:end;
        margin:0;
    }
    .site-header .main-search{
        grid-area:search;
        width:100%;
        max-width:none;
        min-height:44px;
    }
    .site-header .brand,
    .site-header .custom-logo-link{height:60px!important;max-height:60px!important}
    .site-header .brand img,
    .site-header .custom-logo-link img,
    .site-header img.custom-logo{height:56px!important;max-width:240px!important;max-height:56px!important;object-position:center}
}
@media(max-width:390px){
    .site-header .brand img,
    .site-header .custom-logo-link img,
    .site-header img.custom-logo{height:50px!important;max-width:210px!important;max-height:50px!important}
}

/* Texto dos atalhos do cabecalho um ponto menor. */
.site-header .header-desktop-links a{font-size:14px}
.site-header .header-menu-dropdown a{font-size:13px}
