.product-archive-layout{
    display: flex;
    gap:30px;
    align-items: flex-start;
    width: 100%;
}

.product-sidebar{
    padding: 20px;
    background-color: var(--wp--custom--primary--x-light);
}

.product-results{
    width: 100%;
}

.woocommerce-ordering select{
    padding-right: 40px;
}

.product-results div:empty{
    display: none;
}

.product-search-field{
    position: relative;
}

.product-search-field input[type="search"]{
    width: 100%;
    padding-right: 34px;
    box-sizing: border-box;
}

.product-search-clear{
    display: none;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: none;
    border: none;
    line-height: 1;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    padding: 4px;
}

.product-search-clear.is-active{
    display: block;
}

.product-letter-filter{
    display: flex;
    flex-wrap: wrap;
}

.product-letter{
    background: none;
    border: 1px solid var(--wp--custom--primary--x-light);
    padding: 4px 9px;
    cursor: pointer;
    line-height: 1.4;
}

.product-letter:hover{
    color: var(--wp--custom--primary--main);
}

.product-letter.is-active{
    background-color: var(--wp--custom--primary--main);
    border-color: var(--wp--custom--primary--main);
    color: #fff!important;
}

.product-attribute-filter{
    border: none;
    padding: 0;
    margin: 0 0 20px;
}

.product-attribute-filter legend{
    font-weight: 600;
    padding: 0 0 8px;
}

.product-attribute-option{
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 2px 0;
    font-weight: 400;
}

.product-attribute-count{
    font-size: 0.75em;
}

.product-feature-filter{
    margin: 0;
}

.shop-active-filters{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}

.shop-active-filters-label{
    font-weight: 600;
}

.active-filter{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--wp--custom--primary--x-light);
    padding: 4px 8px;
    font-size: 0.9em;
}

.active-filter-remove{
    background: none;
    border: none;
    line-height: 1;
    font-size: 16px;
    cursor: pointer;
    color: inherit;
    padding: 0;
}

.product-results.is-loading{
    opacity: 0.5;
    pointer-events: none;
}

.shop-loop-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap:0 20px;
}

a.added_to_cart:before{
display: none;
}

li.product{
    position: relative!important;
    padding-bottom: 50px!important;
}

li.product a.button{
    position: absolute!important;
    bottom: 0!important;
}
a.added_to_cart:hover{

color:var(--wp--custom--primary--main);
}

.product-sidebar details{transition: none;}

.product-sidebar aside:not(:last-of-type) details{
    margin-block-end: 10px !important;
}

.product-sidebar aside:not(:last-of-type) details[open]{
    margin-block-end: 20px !important;
}
.product-sidebar details summary{
        background-color: transparent;
    border: 1px solid var(--wp--custom--primary--main);
    padding: 10px 10px 10px calc(1em + 20px);
    border-radius: var(--wp--custom--radius--xs);
}

.product-sidebar details[open] summary{
    background-color: var(--wp--custom--primary--light);
}

.product-sidebar details summary:after {
    left: 10px;
        color: var(--wp--custom--dark--1);
}
.product-sidebar details p{display: none;}

.product-sidebar details > form,
.product-sidebar details > div,
.product-sidebar details > fieldset{
    margin-block-start: 10px;
}

body:not(.page-id-18080) .product-sidebar .category-filter{display: none;}

.product-sidebar-toggle{
    display: inline-block;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--wp--custom--primary--x-light);
    border: 1px solid var(--wp--custom--primary--main);
    border-radius: var(--wp--custom--radius--xs);
    padding: 10px 16px;
    cursor: pointer;
    color: inherit;
    font: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1002;
}

.product-sidebar-toggle[aria-expanded="true"]{
    display: none;
}

.product-sidebar-backdrop{
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
}

.product-sidebar-backdrop.is-open{
    opacity: 1;
    pointer-events: auto;
}

.product-sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 96vh;
    width: min(320px, 85vw);
    z-index: 5000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
}

.product-sidebar.is-open{
    transform: translateX(0);
}

.product-sidebar-close{
    display: block;
    margin: 0 0 15px;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    padding: 0;
}

