/* Footer navigation must never inherit the mobile header menu's overlay. */
body .sm-site footer .sw-footer-shop nav {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 24px;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
}
body .sm-site footer .sw-footer-shop nav a {
    position: static !important;
    color: inherit !important;
    white-space: normal;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 0 !important;
    line-height: 1.5;
}
body .sm-site footer .footer-bottom {
    flex-wrap: wrap;
    align-items: center;
}
body .sm-site footer .footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
@media (max-width: 850px) {
    body .sm-site footer .sw-footer-shop nav {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px !important;
    }
    body .sm-site footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    body .sm-site footer .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body .sm-site footer .footer-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        overflow-wrap: break-word;
    }
}

body .sm-site footer .sw-footer-shop h2 { color: inherit; }

/* A native details control supports touch and keyboard without hover or JS. */
body .sm-site header #nav .sm-nav-dropdown { position: relative; }
body .sm-site header #nav .sm-nav-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 0;
    list-style: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
body .sm-site header #nav .sm-nav-dropdown > summary::-webkit-details-marker { display: none; }
body .sm-site header #nav .sm-nav-dropdown > summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
body .sm-site header #nav .sm-nav-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    width: 270px;
    max-width: calc(100vw - 32px);
    padding: 12px 20px;
    background: #f6f1e7;
    color: #263c32;
    border: 1px solid #ded2bf;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(38,60,50,.12);
}
body .sm-site header #nav .sm-nav-dropdown:not([open]) > .sm-nav-submenu { display: none; }
body .sm-site header #nav .sm-nav-submenu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    white-space: normal;
    line-height: 1.5;
}
body .sm-site header #nav .sm-nav-submenu a + a { border-top: 1px solid #ded2bf; }
@media (max-width: 850px) {
    body .sm-site header #nav .sm-nav-dropdown { width: 100%; }
    body .sm-site header #nav .sm-nav-submenu {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 4px 0 12px;
        padding: 0 0 0 18px;
        border: 0;
        border-left: 1px solid #ded2bf;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        font-size: 16px;
    }
}
