.brbetano-header {
    position: fixed;
    inset: var(--brbetano-admin-height) 0 auto;
    z-index: 1000;
    width: 100%;
    height: var(--brbetano-header-height);
    background: var(--brbetano-color-primary);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.brbetano-header-inner {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    align-items: center;
    column-gap: 43px;
    padding-inline: 18px 15px;
}

.brbetano-branding {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.brbetano-brand {
    display: block;
    color: #ffffff;
    font-size: 30px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    text-decoration: none;
}

.brbetano-branding img {
    display: block;
    width: 104px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.brbetano-logo-picture {
    display: block;
}

.brbetano-menu-toggle {
    display: none;
}

.brbetano-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brbetano-menu a {
    text-decoration: none;
}

.brbetano-menu a:hover,
.brbetano-menu [aria-current="page"] {
    text-decoration: underline;
}

.brbetano-navigation {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.brbetano-navigation::-webkit-scrollbar {
    display: none;
}

.brbetano-header-menu {
    height: 100%;
    flex-wrap: nowrap;
    gap: 18px;
    width: max-content;
    min-width: 100%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.brbetano-header-menu > li {
    height: 100%;
    flex-shrink: 0;
}

.brbetano-header-menu a {
    position: relative;
    display: inline-flex;
    height: 100%;
    align-items: center;
    gap: 3px;
    color: #ffffff;
    text-decoration: none;
}

.brbetano-header-menu a::after {
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    border-radius: 2px 2px 0 0;
    background: #ffffff;
    content: "";
    opacity: 0;
}

.brbetano-header-menu a:hover,
.brbetano-header-menu [aria-current="page"] {
    text-decoration: none;
}

.brbetano-header-menu a:hover::after,
.brbetano-header-menu .current-menu-item > a::after,
.brbetano-header-menu .current-menu-ancestor > a::after,
.brbetano-header-menu [aria-current="page"]::after {
    opacity: 1;
}

.brbetano-header-menu .current-menu-item > a {
    font-weight: 700;
}

.brbetano-header-menu .brbetano-menu-new > a::before {
    order: 1;
    padding: 2px 4px;
    border-radius: 8px;
    background: #2ca568;
    content: "NOVO";
    font-size: 9px;
    font-weight: 700;
}

.brbetano-header-actions,
.brbetano-header-tools {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brbetano-header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 8px;
}

.brbetano-header-tools {
    gap: 11px;
    margin-right: 2px;
}

.brbetano-icon-button,
.brbetano-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.brbetano-icon-button {
    width: 22px;
    height: 34px;
    border: 0;
}

.brbetano-icon-button svg {
    width: 21px;
    height: 21px;
    pointer-events: none;
}

.brbetano-button {
    height: 34px;
    padding-inline: 8px;
    border: 1.6px solid transparent;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.brbetano-button-register {
    min-width: 72px;
    border-color: #ffffff;
}

.brbetano-button-login {
    min-width: 64px;
    background: #2ca568;
}

.brbetano-button-register:hover {
    background: rgb(255 255 255 / 12%);
}

.brbetano-button-login:hover {
    background: #248b57;
}

.brbetano-header :focus-visible {
    outline-color: #ffffff;
    outline-offset: -4px;
}

@media (max-width: 1023px) {
    .brbetano-header-inner {
        column-gap: 27px;
    }

    .brbetano-navigation {
        position: relative;
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .brbetano-navigation-ready .brbetano-menu-toggle {
        display: inline-flex;
        min-width: 76px;
        min-height: 28px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 6px 12px;
        border: 0;
        border-radius: 20px;
        background: #d93800;
        color: #ffffff;
        font: inherit;
        font-size: 12px;
        line-height: 1;
        cursor: pointer;
    }

    .brbetano-menu-toggle svg {
        width: 8px;
        height: 5px;
    }

    .brbetano-menu-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .brbetano-header-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        display: flex;
        width: min(216px, calc(100vw - 24px));
        min-width: 0;
        height: auto;
        max-height: calc(100vh - var(--brbetano-header-height) - var(--brbetano-admin-height) - 24px);
        max-height: calc(100dvh - var(--brbetano-header-height) - var(--brbetano-admin-height) - 24px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        padding: 12px;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 12px 28px rgb(20 30 45 / 16%);
        color: #3c465b;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.4;
        text-transform: none;
        white-space: normal;
    }

    .brbetano-navigation-ready:not(.brbetano-navigation-open) .brbetano-header-menu {
        display: none;
    }

    .brbetano-header-menu > li {
        height: auto;
    }

    .brbetano-header-menu a {
        display: flex;
        min-height: 44px;
        height: auto;
        gap: 8px;
        padding: 10px;
        border-radius: 24px;
        color: inherit;
    }

    .brbetano-header-menu a::after {
        display: none;
    }

    .brbetano-header-menu a:hover,
    .brbetano-header-menu .current-menu-item > a,
    .brbetano-header-menu [aria-current="page"] {
        background: #f4f5f7;
        font-weight: 400;
    }

    .brbetano-header-menu .brbetano-menu-new > a::before {
        padding: 2px 5px;
        font-size: 10px;
        line-height: 1;
    }

    .brbetano-header-menu a:focus-visible {
        outline-color: var(--brbetano-color-primary);
    }
}

@media (max-width: 600px) {
    .brbetano-header-inner {
        grid-template-columns: 104px minmax(60px, 1fr) auto;
        column-gap: 8px;
        padding-inline: 12px;
    }

    .brbetano-header-tools {
        display: none;
    }

    .brbetano-navigation-ready .brbetano-menu-toggle {
        min-width: 60px;
        gap: 7px;
        padding-inline: 10px;
        font-size: 11px;
    }
}

@media (max-width: 379.98px) {
    .brbetano-header-inner {
        grid-template-columns: 34px minmax(60px, 1fr) auto;
    }

    .brbetano-branding .brbetano-logo {
        width: 34px;
        height: 34px;
        max-height: none;
    }
}
