.shoes-nav-bar .shoes-desktop-nav {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 0 clamp(12px, 2vw, 24px);
    overflow: visible;
    text-transform: none;
    letter-spacing: normal;
    font-size: 13px;
    line-height: 1.4;
}

.shoes-desktop-nav > a,
.shoes-desktop-nav > .shoes-nav-group > summary {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding-block: 4px;
    white-space: normal;
}

.shoes-desktop-nav > .nav-feature {
    min-height: 34px;
    padding: 6px 12px;
}

.shoes-desktop-nav .shoes-nav-size {
    margin-inline-start: auto;
}

.shoes-nav-group > summary,
.shoes-mobile-nav > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    list-style: none;
}

.shoes-nav-group > summary::-webkit-details-marker,
.shoes-mobile-nav > summary::-webkit-details-marker {
    display: none;
}

.shoes-nav-group > summary::after,
.shoes-mobile-nav > summary::after {
    content: '';
    width: 6px;
    height: 6px;
    margin: -3px 2px 0;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    transform: rotate(45deg);
    flex: none;
}

.shoes-nav-group[open] > summary::after,
.shoes-mobile-nav[open] > summary::after {
    margin-top: 3px;
    transform: rotate(225deg);
}

.shoes-nav-bar :is(a, summary):focus-visible {
    outline: 2px solid #666d36;
    outline-offset: 2px;
}

.shoes-nav-bar :is(a, summary):hover,
.shoes-nav-bar a[aria-current='page'] {
    color: #5d662d;
}

.shoes-nav-panel {
    padding: 0;
    margin: 0;
    list-style: none;
}

.shoes-desktop-nav .shoes-nav-panel {
    position: absolute;
    inset: 100% 0 auto auto;
    z-index: 40;
    width: clamp(12rem, 21vw, 17rem);
    max-height: min(60vh, 28rem);
    overflow: auto;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #e9e9e4;
    box-shadow: 0 10px 22px rgb(43 45 32 / 12%);
}

.shoes-nav-panel li > a {
    display: flex;
    align-items: center;
    min-height: 37px;
    padding: 6px 8px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.shoes-mobile-nav {
    display: none;
}

.woocommerce div.product .product_title {
    font-size: clamp(25px, 2.7vw, 36px);
    line-height: 1.16;
    text-transform: none;
    overflow-wrap: anywhere;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.products li.product .woocommerce-loop-product__title {
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.33;
    text-transform: none;
    overflow-wrap: anywhere;
}

@media (max-width: 800px) {
    .shoes-nav-bar .shoes-desktop-nav {
        display: none;
    }

    .shoes-mobile-nav {
        display: block;
    }

    .shoes-mobile-nav > summary {
        min-height: 44px;
        font-size: 14px;
        font-weight: 700;
    }

    .shoes-mobile-links {
        max-height: 56vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 2px 4px 8px;
        font-size: 14px;
    }

    .shoes-mobile-links > a,
    .shoes-mobile-links > .shoes-nav-group > summary {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 6px 4px;
        border-top: 1px solid #eee;
        font-weight: 600;
    }

    .shoes-mobile-links .shoes-nav-panel {
        margin-inline-start: 8px;
    }

    .woocommerce div.product .product_title {
        font-size: clamp(23px, 5.6vw, 28px);
    }
}
