/* Theme-owned replacement for the former Responsive Menu Pro overlay. */
.strawberry-menu-toggle,
.strawberry-menu-fallback {
    display: none;
}

.strawberry-mobile-menu {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 86px 0 24px;
    border: 15px solid #d71618;
    background: rgba(255, 255, 255, .95);
    color: #d71618;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.strawberry-mobile-menu:not([open]) {
    display: none;
}

.strawberry-mobile-menu::backdrop {
    background: transparent;
}

.strawberry-mobile-menu nav { background: #fff; }

.strawberry-menu-toggle,
.strawberry-menu-close {
    position: fixed;
    top: max(25px, env(safe-area-inset-top));
    right: max(5%, 25px);
    width: 55px;
    height: 55px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #f9e0dd;
    color: #d71618;
    cursor: pointer;
}

.strawberry-menu-toggle {
    z-index: 10000;
}

.strawberry-menu-close {
    z-index: 1;
}

.strawberry-menu-icon,
.strawberry-menu-icon::before,
.strawberry-menu-icon::after,
.strawberry-menu-close span::before,
.strawberry-menu-close span::after {
    position: absolute;
    width: 35px;
    height: 4px;
    background: currentColor;
    content: '';
}

.strawberry-menu-icon,
.strawberry-menu-close span::before,
.strawberry-menu-close span::after {
    top: 26px;
    left: 10px;
}

.strawberry-menu-icon::before { top: -10px; left: 0; }
.strawberry-menu-icon::after { top: 10px; left: 0; }
.strawberry-menu-close span::before { transform: rotate(45deg); }
.strawberry-menu-close span::after { transform: rotate(-45deg); }

.strawberry-menu-links,
.strawberry-menu-links .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.strawberry-menu-links li,
.strawberry-menu-links li:last-child {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}

.strawberry-menu-links li a,
.strawberry-menu-links li:last-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 12px 20px;
    background: none;
    color: #d71618;
    font-size: 30px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.strawberry-menu-links li a:hover,
.strawberry-menu-links li a:focus-visible,
.strawberry-menu-links li.current-menu-item > a {
    background: #f9e0dd;
    color: #d71618;
}

.strawberry-menu-links .sub-menu a { font-size: 22px; min-height: 48px; }

.strawberry-menu-toggle:focus,
.strawberry-menu-close:focus,
.strawberry-menu-links a:focus-visible {
    outline: 3px solid #d71618;
    outline-offset: -4px;
}

html.strawberry-menu-open { overflow: hidden; }
html.strawberry-menu-open body {
    position: fixed;
    top: var(--strawberry-scroll-top, 0px);
    width: 100%;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .strawberry-menu-toggle:not([hidden]) { display: block; }
    .strawberry-menu-fallback {
        display: block;
        margin: 25px;
        padding: 15px;
        background: #f9e0dd;
        color: #d71618;
    }
}

@media (max-height: 700px) {
    .strawberry-menu-links li a { min-height: 56px; font-size: 25px; }
}
