.topcar-shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: flex-start;
    transition: grid-template-columns .3s ease;
}

.topcar-shop-sidebar {
    position: sticky;
    top: 100px;
}

.topcar-shop-main {
    min-width: 0;
}

.topcar-featured-grid.product-archive .topcar-product-card {
    border: 1px solid #eaeaea;
}

.topcar-featured-grid.product-archive .topcar-product-card:nth-child(2) {
    margin-top: 0;
}


/*.topcar-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 700;
}*/

.topcar-sidebar-backdrop {
    display: none;
}

.topcar-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 5px 16px;
    border-radius: 5px;
    background: #111;
    color: #fff;
    font-weight: 700;
}

.topcar-shop-layout .topcar-shop-sidebar .widget-title {
    color: #9b7a00;
    font-size: 1.2em;
}

.widget ul.product-categories > li {
    border: 0;
}

.widget ul.product-categories > li > a{
    color: #000;
}

.widget .product-categories .current-cat> a {
    background-color: #000;
    color: #FFCC05;
    padding: 5px 16px;
}

.widget .product-categories {
    padding: .75em;
    background-color: #f7f4e9;
    border-radius: 5px;
    border: 1px solid #F9F0B9; 
}

.topcar-shop-layout .widget_price_filter .price_slider_amount .button {
    background-color: #000;
}

.topcar-shop-layout .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #FFCC05;
}
.topcar-shop-layout .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #000;
        opacity: 1;
}

.topcar-shop-layout .widget_price_filter  .price_label {
    line-height: 1.2;
}

.topcar-shop-layout .product_list_widget li {
    border: 1px solid #F9F0B9; 
    background-color: #f7f4e9;
    border-radius: 5px;
   
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Desktop hide sidebar */
@media (min-width: 850px) {
    body.topcar-sidebar-closed .topcar-shop-layout {
        grid-template-columns: 0 1fr;
        gap: 0;
    }

    body.topcar-sidebar-closed .topcar-shop-sidebar {
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        pointer-events: none;
    }
}

@media (max-width: 849px) {
    .topcar-shop-layout {
        display: block;
    }

    .topcar-sidebar-toggle {
        display: inline-flex;
    }

    .topcar-shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 84%;
        max-width: 340px;
        height: 100vh;
        padding: 24px;
        background: #fff;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .3s ease;
    }

    body.topcar-sidebar-open .topcar-shop-sidebar {
        transform: translateX(0);
    }

    .topcar-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0,0,0,.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
        display: block;
    }

    body.topcar-sidebar-open .topcar-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.topcar-sidebar-open {
        overflow: hidden;
    }
}


