/*
* SIDEBARS
*/
.nt-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.nt-sidebar-inner-widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.nt-sidebar-widget-toggle {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(var(--gen-dark-blue-4-rgb),var(--gen-bg-opacity));
    border-radius: 20px;
    letter-spacing: -1px;
}
[data-bs-theme=dark] .nt-sidebar-widget-toggle {
    background-color: var(--gen-emphasis-color);
}
.nt-sidebar-widget-toggle.active:after {
    content: '';
    position: absolute;
    height: 8px;
    width: 2px;
    background-color: var(--gen-body-bg);
}
.nt-sidebar-widget-toggle:before {
    content: '';
    width: 8px;
    height: 2px;
    background-color: var(--gen-body-bg);
}
.genai-widget-hide .nt-sidebar-inner-widget-title {
    margin: 0 !important;
}
.nt-sidebar-inner-widget {
    --gen-bg-opacity: 1;
    position: relative;
    padding: 1rem;
    background-color: rgba(var(--gen-white-rgb),var(--gen-bg-opacity));
    border: var(--gen-border-width) var(--gen-border-style) var(--gen-border-color);
    border-radius: var(--gen-border-radius);
}
[data-bs-theme=dark] .nt-sidebar-inner-widget {
    background-color: rgba(var(--gen-dark-blue-4-rgb),var(--gen-bg-opacity));
}
.nt-sidebar-inner-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.nt-sidebar-inner-widget ol li,
.nt-sidebar-inner-widget ul li {
    margin: 0;
    font-size: 14px;
    position: relative;
    line-height: 1.6;
    font-weight: 400;
}
.nt-sidebar-inner-widget .widget-list-span {
    background-color: var(--gen-body-bg);
    color: var(--gen-emphasis-color);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: auto;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    font-size: 10px;
}
.nt-sidebar-inner-widget form button {
    outline: none;
    border: 1px solid #6a4dff;
    background-color: #6a4dff;
    color: var(--gen-white);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    border-radius: 0 5px 5px 0;
    padding-left: 10px;
    padding-right: 10px;
}
[data-bs-theme=dark] .nt-sidebar-inner-widget form button {
    border: 1px solid #e6f85e;
    background-color: #e6f85e;
    color: var(--gen-dark);
}
.nt-sidebar-inner-widget ul.children,
.nt-sidebar-inner-widget ul.sub-menu {
    padding-left: 15px;
}
.nt-sidebar-inner-widget div[id^="gallery"]  {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.nt-sidebar-inner-widget div[id^="gallery"] {
    display: grid;
    gap: 5px;
}
.nt-sidebar-inner-widget div[id^="gallery"] .gallery-item {
    float: none!important;
    margin: 0!important;
    width: 100%!important;
}
.nt-sidebar-inner-widget div[id^="gallery"] img {
    border: 0!important;
    border-radius: 3px;
}
.nt-sidebar-inner-widget div[id^="gallery"] br {
    display: none!important;
}
.nt-sidebar-inner-widget div[id^="gallery"].gallery-columns-2{
    grid-template-columns: repeat(2,1fr);
}
.nt-sidebar-inner-widget div[id^="gallery"].gallery-columns-3 {
    grid-template-columns: repeat(3,1fr);
}
.nt-sidebar-inner-widget div[id^="gallery"].gallery-columns-4 {
    grid-template-columns: repeat(4,1fr);
}
.nt-sidebar-inner-widget div[id^="gallery"].gallery-columns-5 {
    grid-template-columns: repeat(5,1fr);
}

.woocommerce-product-search label {
    display: none;
}
form.sidebar-search-form,
form.woocommerce-product-search {
    display: flex;
}
form.sidebar-search-form input,
form.woocommerce-product-search input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

ul.product_list_widget {
    gap: 15px;
}
.product_list_widget img {
    max-width: 50px;
    border-radius: var(--gen-border-radius);
}
.nt-sidebar-inner-widget span.title {
    color: var(--gen-dark);
    font-size: 14px;
}
[data-bs-theme=dark] .nt-sidebar-inner-widget span.title {
    color: var(--gen-white);
}
.product_list_widget .list-inner {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.product_list_widget span.details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.nt-sidebar-inner-widget .genai-price {
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    display: flex;
    gap: 10px;
}
.nt-sidebar-inner-widget .genai-price ins {
    text-decoration: none;
}
.nt-sidebar-inner-widget .genai-price del {
    color: var(--gen-dark);
    opacity: 0.5;
}
[data-bs-theme=dark] .nt-sidebar-inner-widget .genai-price del {
    color: var(--gen-white);
}


.price_slider_wrapper {
    position: relative;
}
.price_slider_wrapper .screen-reader-text {
    display: none;
}
.price_slider_wrapper .ui-widget-content {
    position: relative;
    background: #6a4dff none repeat scroll 0 0;
    border: medium none;
    height: 6px;
    margin-right: 0;
    margin-left: 0;
    border-radius: 20px;
    max-width: 100%;
    width: calc(100% - 5px);
}
[data-bs-theme=dark] .price_slider_wrapper .ui-widget-content {
    background: #e6f85e none repeat scroll 0 0;
}
.widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--gen-dark);
    border-radius: 20px;
    height: 6px;
    left: 10px;
}
[data-bs-theme=dark] .widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--gen-white);
}
.widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute;
    height: 14px;
    width: 5px;
    top: -4px;
    border-radius: 3px;
    margin-left: 0;
    background-color: #6a4dff;
    border-color: #6a4dff;
    cursor: all-scroll;
}
[data-bs-theme=dark] .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #e6f85e;
    border-color: #e6f85e;
}
.widget_price_filter .price_slider_amount {
    text-align: left;
    line-height: 2;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 25px 0 0 0;
}
.widget_price_filter .price_slider_amount .button {
    padding: 3px 15px;
    font-size: 11px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
    background-color: #6a4dff;
    color: var(--gen-white);
    outline: none;
    border: 0;
}
[data-bs-theme=dark] .widget_price_filter .price_slider_amount .button {
    background-color: #e6f85e;
    color: var(--gen-dark);
}
.widget_price_filter .price_slider_amount .price_label {
    margin-top: 10px;
    text-align: left;
    position: absolute;
    right: 0;
    bottom: 0;
}
.shop-filter-area {
    display: grid;
    gap: 30px;
    grid-template-columns: auto;
    margin-bottom: 20px;
}
.has-sidebar .shop-filter-area {
    grid-template-columns: 320px 1fr;
}

.filter-col,
.order-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-col svg {
    max-width: 20px;
    max-height: 20px;
}

.sidebar-close .nt-sidebar {
    width: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    height: 0;
}
.has-sidebar.sidebar-close .shop-area {
    grid-template-columns: 1fr;
}
.has-sidebar.sidebar-close .shop-filter-area {
    grid-template-columns: 70px 1fr;
}

.nt-sidebar,
.shop-area {
    transition: opacity 0.15s linear, width 0.15s linear, padding 0.15s linear
}

p.woocommerce-result-count {
    margin: 0;
}

@media(max-width: 768px) {
    p.woocommerce-result-count {
        display: none;
    }
    .order-col {
        justify-content: flex-end;
    }
}
@media(min-width: 993px) {
    .open-shop-sidebar {
        display: none;
    }
}
@media(max-width: 992px) {
    .open-hidden-sidebar {
        display: none;
    }
    .nt-sidebar.genai-blog-sidebar {
        margin-top: 60px;
    }
    .nt-sidebar:not(.genai-blog-sidebar) {
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        height: 100%;
        background: var(--gen-body-bg);
        padding: 60px 0px 15px 15px;
        width: 100%;
        max-width: 400px;
        opacity: 0;
        overflow: hidden;
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    .nt-sidebar:not(.genai-blog-sidebar).active {
        box-shadow: 0px 12px 24px 0px rgb(120 120 120 / 30%);
        opacity: 1;
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        will-change: transform;
        -webkit-transition: opacity 0.25s ease, ease;
        transition: opacity 0.25s ease, transform 0.25s ease;
        visibility: visible;
    }
    .nt-sidebar-inner-wrapper {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }
    .nt-sidebar:not(.genai-blog-sidebar) .nt-sidebar-inner {
        margin: 0;
        max-height: 100%;
        overflow-y: auto;
        padding-right: 15px;
    }
    .nt-sidebar .panel-close {
        position: absolute;
        top: 15px;
        right: 30px;
        cursor: pointer;
        color: var(--gen-dark);
        width: 30px;
        height: 30px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
    [data-bs-theme=dark] .nt-sidebar .panel-close {
        color: var(--gen-white);
    }
    [data-bs-theme=light] .nt-sidebar .panel-close {
        background-color: var(--gen-white);
        border-color: #6a4dff;
    }
    .nt-sidebar .panel-close svg {
        max-width: 20px;
        max-height: 20px;
    }
}
