.sidebar-menu-container {
    display: none;
}

#primary {
    width: 80%;
}

#secondary {
    width: 20%;
}

.sidebar-main,
.ast-filter-wrap,
.ast-woo-sidebar-widget {
    height: 100%;
}

.ast-woo-sidebar-widget {
    border-radius: 16px;
}

.ast-separate-container.ast-two-container #secondary .widget:last-child {
    padding: 2em 0;
}

.ast-archive-entry-banner {
    background: rgba(245, 247, 250, 1);
    padding-top: 40px;
}

#page .site-content {
    background: rgba(245, 247, 250, 1);
}

.woocommerce.ast-separate-container .ast-woocommerce-container {
    background-color: transparent;
    padding: 0;
}

.woocommerce-result-count,
.woocommerce-ordering {
    display: none;
}

.woocommerce-pagination {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
}

.woocommerce .woocommerce-pagination ul.page-numbers {
    zoom: 1;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    border-radius: 4px;
    border-color: var(--ast-global-color-0);
}

.woocommerce nav.woocommerce-pagination ul li .next,
.woocommerce nav.woocommerce-pagination ul li .prev {
    border: 1px solid rgba(69, 72, 77, 1);
    border-radius: 4px;
}

.total-products {
    margin: 0px;
}

#jump-to-page-input {
    width: 60px;
    /* height: 30px; */
    border-radius: 4px;
    border: 1px solid rgba(69, 72, 77, 1);
    text-align: center;
}

#secondary li {
    padding: 8px 15px;
}

/* #menu-sidebar>.menu-item:hover { */
/* background: rgba(232, 241, 252, 1); */
/* } */

.ast-woo-sidebar-widget .menu .menu-item:not(.menu-item-has-children):hover {
    background: rgba(232, 241, 252, 1);
}

.ast-woo-sidebar-widget .menu .menu-item a {
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: rgba(41, 46, 51, 1);
}

/* 当前高亮菜单文字颜色 */
#secondary .current-menu-item>a,
#secondary .current-menu-item>a:hover {
    color: rgba(53, 115, 216, 1) !important;
    font-weight: 600;
}

/* 只针对 #secondary 里的菜单 */
#secondary .menu-item {
    position: relative;
    padding-right: 22px;
}

#secondary .menu-item::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10%;
    color: #333;
    font-size: 14px;
}

@media only screen and (max-width: 991px) {
    .ast-archive-entry-banner {
        display: none;
    }

    .sidebar-menu-container {
        display: flex;
        width: 100%;
        height: 51px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 1);
        margin-top: 1.5em;
    }

    .sidebar-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar-menu .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sidebar-menu-container .sidebar-menu .swiper-slide a {
        font-size: 15px;
        font-weight: 400;
        color: rgba(41, 46, 51, 1);
    }

    #primary {
        width: 100%;
    }

    .ast-left-sidebar #content>.ast-container {
        display: flex;
        flex-direction: column;
    }

    .ast-separate-container.ast-two-container #secondary {
        display: none;
    }
}