.tne-hamburger-widget,
.tne-hamburger-widget * {
    box-sizing: border-box;
}

.tne-hamburger-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.tne-hamburger-toggle:hover,
.tne-hamburger-toggle:focus {
    outline: none;
}

.tne-hamburger-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.tne-hamburger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tne-hamburger-icon i,
.tne-hamburger-icon svg {
    display: block;
}

.tne-hamburger-overlay {
    position: fixed;
    inset: 0;
    z-index: 99996;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.tne-hamburger-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 99997;
    max-width: 100vw;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    transition: transform .34s cubic-bezier(.22,.61,.36,1), visibility .34s ease;
}

.tne-panel-right .tne-hamburger-panel {
    right: 0;
    left: auto;
    transform: translateX(105%);
}

.tne-panel-left .tne-hamburger-panel {
    left: 0;
    right: auto;
    transform: translateX(-105%);
}

.tne-hamburger-widget.is-open .tne-hamburger-overlay {
    visibility: visible;
    opacity: 1;
}

.tne-hamburger-widget.is-open .tne-hamburger-panel {
    visibility: visible;
    transform: translateX(0);
}

.tne-hamburger-close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 22px;
    color: inherit;
}

.tne-hamburger-close svg {
    width: 26px;
    height: 26px;
}

.tne-hamburger-close:focus-visible,
.tne-submenu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.tne-hamburger-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tne-hamburger-nav li {
    position: relative;
}

.tne-hamburger-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    line-height: 1.7;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

.tne-hamburger-nav .menu-item-has-children > a {
    padding-inline-end: 48px;
}

.tne-submenu-toggle {
    position: absolute;
    top: 0;
    inset-inline-end: 6px;
    min-width: 38px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    line-height: 1;
}

.tne-submenu-toggle svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform .25s ease;
}

.tne-hamburger-nav .menu-item-has-children.is-submenu-open > .tne-submenu-toggle svg {
    transform: rotate(180deg);
}

.tne-hamburger-nav .sub-menu {
    display: none;
    margin-top: 6px;
    margin-bottom: 8px;
}

.tne-hamburger-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    display: block;
}

.tne-hamburger-nav .sub-menu a {
    line-height: 1.65;
}

.tne-menu-empty {
    padding: 14px;
    border: 1px dashed rgba(0,0,0,.18);
    border-radius: 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.9;
}

body.tne-hamburger-lock {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .tne-hamburger-toggle,
    .tne-hamburger-overlay,
    .tne-hamburger-panel,
    .tne-hamburger-nav a,
    .tne-submenu-toggle svg {
        transition: none !important;
    }
}
