.ps-layout--shop {
    margin-top: 150px;
}

/* Shop grid: atelier cards */
#shop-grid-products {
    row-gap: 20px;
}
.ps-shopping-product .atelier-similar-card {
    height: 100%;
}
.ps-shopping-product .atelier-similar-card__thumb {
    aspect-ratio: 1 / 1;
}
.ps-shopping-product .atelier-similar-card__body {
    padding: 10px 12px;
}
/* Shop: keep full product visible inside square frame */
.ps-shopping-product .ps-product .ps-product__thumbnail img {
    object-fit: scale-down;
    width: 100%;
    height: 100%;
}

@media (max-width: 575.98px) {
    .ps-shopping-product .atelier-similar-card__thumb {
        aspect-ratio: 1 / 1;
    }
}

.ul-departments > li.active > a {
    font-weight: bold;
}

.ul-categories li.active a {
    font-weight: bold;
}


.widget_shop .ps-checkbox.ps-checkbox--color > label {
    border: 1px #616161 solid;
}

.widget_shop .ps-checkbox input[type=checkbox]:checked ~ label:before,
.widget_shop .ps-checkbox input[type=checkbox].active ~ label:before {
    border-color: #EA80B3;
    /*background-color: transparent;*/
    background-color: #80808042;
    content: '\2713\0020';
    padding-left: 7px;
    font-size: 1.4em;
    color: #EA80B3;
    transition: all .2s;
    font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
}

.widget_shop.autre .ps-checkbox input[type=checkbox].active ~ label:before {
    padding-left: 0;
}

.widget_shop.autre .ps-checkbox input[type=checkbox].active ~ label {
    color: #EA80B3;
}


.widget_shop .sizes a.active {
    border-color: #EA80B3;
    color: #EA80B3;
}

#reset_filter {
    font-size: 30px;
    padding: 8px 15px;
}

a.favory {
    color: #ec0101;
}

/* ── Price slider fix ── */
.widget_shop #nonlinear,
.widget_shop #nonlinearmobile {
    margin: 20px 10px 10px 10px;
}
.widget_shop .noUi-target {
    background: #eee;
    border: none;
    border-radius: 4px;
    box-shadow: none;
}
.widget_shop .noUi-connect {
    background: #EA80B3;
}
.widget_shop .noUi-horizontal {
    height: 6px;
}
.widget_shop .noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    top: -7px;
    right: -9px !important;
    left: auto !important;
    border: 3px solid #EA80B3;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    cursor: pointer;
}
.widget_shop .noUi-handle:before,
.widget_shop .noUi-handle:after {
    display: none;
}
.widget_shop .ps-slider__meta {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}
.widget_shop figure:has(#nonlinear),
.widget_shop figure:has(#nonlinearmobile) {
    overflow: visible;
}

/* ── Color swatches fix ── */
.widget_shop .ps-checkbox--color {
    display: inline-block;
    margin: 4px 6px 4px 0;
}
.widget_shop .ps-checkbox--color > input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.widget_shop .ps-checkbox--color > label {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50% !important;
    cursor: pointer;
    border: 2px solid #e0e0e0 !important;
    transition: all 0.2s ease;
    margin-bottom: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.widget_shop .ps-checkbox--color > label:before,
.widget_shop .ps-checkbox--color > label:after,
.ps-checkbox--color.ps-checkbox--inline > label:before,
.ps-checkbox--color.ps-checkbox--inline > label:after {
    display: none !important;
    content: none !important;
}
.widget_shop .ps-checkbox--color > input:checked + label,
.widget_shop .ps-checkbox--color > input.active + label {
    border-color: #EA80B3 !important;
    box-shadow: 0 0 0 2px #EA80B3;
    transform: scale(1.15);
}

.ps-checkbox.brand {
    text-transform: uppercase;
}

.ul-departments li a {
    padding-left: 24px !important;
}

.ul-departments li > a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    height: 15px;
    width: 15px;
    z-index: 10;
    border: 1px solid #000;
    transition: all .4s ease;
}

.ul-departments li.active > a:before {
    border-color: #EA80B3;
    /* background-color: transparent; */
    background-color: #80808042;
    content: '\2713\0020';
    padding-left: 7px;
    font-size: 1.2em;
    color: #EA80B3;
    transition: all .2s;
    font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
    line-height: 1em;
}

/*.ul-departments  li > a:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 7px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    z-index: 10;
    opacity: 0;
    transform: rotate(0deg);
    transition: all .4s ease;
}
.ul-departments  li.active > a:after {
    top: 3px;
    left: 7px;
    width: 4px;
    height: 8px;
    border-width: 1px;
    border-color: #EA80B3;
}*/
.ul-departments li.active > a:before {
    padding-left: 0;
}

.ps-product.ps-product--wide .ps-product__desc {
    max-height: 210px;
    overflow-y: auto;
}

.ps-checkbox > input {
    height: 0;
}

/*
.widget_shop figure {
    max-height: 180px;
    overflow-y: auto;
}
.widget_shop figure::-webkit-scrollbar {
    width: 10px;
}
.widget_shop figure::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.widget_shop figure::-webkit-scrollbar-thumb {
    background: #EA80B3;
    border-radius: 10px;
}
.widget_shop figure::-webkit-scrollbar-thumb:hover {
    background: #3c2372;
}*/
.widget-title {
cursor: pointer;
}
.widget-title i{
    float: right;
    font-size: 23px;
}

.collapsed_content{
    display: none;
}
.collapsed_content.open{
    display: block;
}