.super-menu {
    position: relative;
    flex: 0 0 auto;
}

.super-menu-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: var(--muted);
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    list-style: none;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.super-menu-button::-webkit-details-marker {
    display: none;
}

.super-menu-button::marker {
    content: "";
}

.super-menu-trigger-label {
    color: var(--muted);
    font-weight: 700;
}

.super-menu-trigger-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-deep);
}

.super-menu-panel {
    position: fixed;
    top: var(--site-header-height, 140px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 160;
    width: 100vw;
    max-width: 100vw;
    height: calc(100dvh - var(--site-header-height, 140px));
    max-height: calc(100dvh - var(--site-header-height, 140px));
    min-width: 0;
    padding: 32px max(24px, calc((100vw - 1120px) / 2));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(16, 32, 56, 0.1);
    border-radius: 0;
    box-shadow: 0 24px 60px rgba(16, 32, 56, 0.14);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.super-menu-panel[hidden] {
    display: none !important;
}

.super-menu-list {
    width: min(420px, 100%);
    display: grid;
    gap: 8px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.super-menu-language .super-menu-list,
.super-menu-price .super-menu-list,
.super-menu-market .super-menu-list {
    width: min(1120px, 100%);
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.super-menu-panel-header {
    width: min(1120px, 100%);
    margin: 0 auto 24px;
    display: flex;
    justify-content: flex-end;
}

.super-menu-active {
    width: min(1120px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto 14px;
    padding: 16px 18px;
    border: 1px solid rgba(31, 75, 153, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.92), rgba(255, 255, 255, 0.96));
}

.super-menu-active-kicker,
.super-menu-active-title {
    margin: 0;
}

.super-menu-active-kicker {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.super-menu-active-title {
    margin-top: 4px;
    color: var(--brand-deep);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 950;
}

.super-menu-active-pill {
    flex: 0 0 auto;
    min-width: 54px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--brand-deep);
    font-weight: 950;
}

.super-menu-filter {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 360px);
    gap: 12px;
    margin: 0 auto 18px;
    padding: 14px;
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 8px;
    background: rgba(247, 250, 254, 0.78);
}

.super-menu-filter-field {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.super-menu-filter-field input,
.super-menu-filter-field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(16, 32, 56, 0.12);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--brand-deep);
    background: #ffffff;
    font: inherit;
    font-size: 0.9rem;
}

.super-menu-filter-field input:focus-visible,
.super-menu-filter-field select:focus-visible {
    outline: 3px solid rgba(73, 126, 214, 0.28);
    outline-offset: 2px;
}

.super-menu-close-button {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    color: var(--muted);
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
}

.super-menu-option {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    color: var(--muted);
    border-radius: 8px;
    text-decoration: none;
}

.super-menu-language .super-menu-option,
.super-menu-price .super-menu-option,
.super-menu-market .super-menu-option {
    min-height: 54px;
    border: 1px solid rgba(16, 32, 56, 0.08);
    background: rgba(247, 250, 254, 0.7);
}

@media (max-width: 640px) {
    .super-menu-panel {
        top: var(--site-header-height, 72px);
        height: calc(100dvh - var(--site-header-height, 72px));
        max-height: calc(100dvh - var(--site-header-height, 72px));
        padding: 20px 16px;
    }

    .super-menu-list {
        width: 100%;
    }

    .super-menu-language .super-menu-list,
    .super-menu-price .super-menu-list,
    .super-menu-market .super-menu-list {
        grid-template-columns: 1fr;
    }

    .super-menu-panel-header {
        margin-bottom: 16px;
    }

    .super-menu-active {
        align-items: flex-start;
        margin-bottom: 12px;
        padding: 14px;
    }

    .super-menu-filter {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}

.super-menu-option-symbol,
.super-menu-option-meta {
    color: var(--brand-deep);
    font-weight: 800;
}

.super-menu-option-symbol,
.super-menu-language-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(31, 75, 153, 0.14);
    border-radius: 999px;
    color: var(--brand-deep);
    background: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.super-menu-option-symbol {
    width: 38px;
    border-radius: 8px;
    font-size: 0.72rem;
}

.super-menu-language-flag {
    font-size: 1.05rem;
    text-transform: none;
    overflow: hidden;
}

.super-menu-country-flag,
.super-menu-current-flag {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(90deg, #0b7a3b 0 42%, #d71920 42% 100%);
}

.super-menu-current-flag {
    width: 24px;
    height: 18px;
    border: 1px solid rgba(16, 32, 56, 0.12);
    border-radius: 3px;
    background: linear-gradient(90deg, #0b7a3b 0 42%, #d71920 42% 100%);
}

.super-menu-current-text {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.super-menu-market .super-menu-current-text {
    position: static;
    inline-size: auto;
    block-size: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    color: var(--brand-deep);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.site-header-super-menus .super-menu-market .super-menu-button {
    inline-size: 88px;
    min-width: 88px;
    max-inline-size: 88px;
    justify-content: center;
    overflow: hidden;
    padding-inline: 10px;
    contain: layout paint;
}

.site-header-super-menus .super-menu-market .super-menu-trigger-value {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.site-header-super-menus .super-menu-market .super-menu-current-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.super-menu-option-label {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
}

.super-menu-option[aria-current="true"] {
    color: var(--brand-deep);
    background: rgba(31, 75, 153, 0.08);
}

.auth-menu-panel {
    width: min(420px, 100%);
}

.auth-menu-state {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.auth-menu-forms {
    width: 100%;
}

.auth-menu-view {
    display: none;
    gap: 12px;
}

#auth-menu-signup:checked ~ .auth-menu-forms .auth-menu-view-signup,
#auth-menu-login:checked ~ .auth-menu-forms .auth-menu-view-login,
#auth-menu-reset:checked ~ .auth-menu-forms .auth-menu-view-reset {
    display: grid;
}

.auth-menu-social {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 8px;
    background: #ffffff;
}

.auth-menu-social[hidden] {
    display: none;
}

.auth-menu-social-title,
.auth-menu-help {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.4;
}

.auth-menu-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 8px;
    background: rgba(247, 250, 254, 0.72);
}

.auth-menu-title {
    margin: 0;
    color: var(--brand-deep);
    font-size: 1rem;
    line-height: 1.2;
}

.auth-menu-field {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.auth-menu-field input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    color: var(--brand-deep);
    border: 1px solid rgba(16, 32, 56, 0.12);
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
}

.auth-menu-field input:focus-visible {
    outline: 3px solid rgba(73, 126, 214, 0.28);
    outline-offset: 2px;
}

.auth-menu-submit {
    width: 100%;
    justify-content: center;
}
.auth-menu-message {
    min-height: 18px;
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

.auth-menu-message:empty {
    display: none;
}

.auth-menu-message[data-state="success"] {
    color: #0f7a4f;
}

.auth-menu-message[data-state="error"] {
    color: #b42318;
}

.auth-menu-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.auth-menu-session {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(15, 122, 79, 0.18);
    border-radius: 8px;
    background: rgba(232, 247, 240, 0.82);
}

.auth-menu-session[hidden],
.auth-menu-forms[hidden] {
    display: none;
}

.auth-menu-session-kicker,
.auth-menu-session-title {
    margin: 0;
}

.auth-menu-session-kicker {
    color: #0f7a4f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-menu-session-title {
    color: var(--brand-deep);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.45;
}

.auth-menu-logout {
    width: 100%;
    justify-content: center;
}

.auth-menu-switch {
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

@media (hover: hover) {
    .super-menu-button:hover,
    .super-menu-close-button:hover,
    .super-menu-option:hover {
        color: var(--brand-deep);
        background: rgba(31, 75, 153, 0.06);
        border-color: rgba(31, 75, 153, 0.1);
    }
}

@media (max-width: 1180px) {
    .super-menu-language .super-menu-list,
    .super-menu-price .super-menu-list,
    .super-menu-market .super-menu-list {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }
}

@media (max-width: 860px) {
    .super-menu-language .super-menu-list,
    .super-menu-price .super-menu-list,
    .super-menu-market .super-menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .super-menu-language .super-menu-list,
    .super-menu-price .super-menu-list {
        grid-template-columns: 1fr;
    }
}

.super-menu-button:focus-visible,
.super-menu-close-button:focus-visible,
.super-menu-option:focus-visible {
    outline: 3px solid rgba(73, 126, 214, 0.28);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(73, 126, 214, 0.16);
}
