.shop-filters {
    box-sizing: border-box;
}

.shop-filters__title {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    color: #001324;
    padding: 16px 0;
    font-family: 'Poppins', sans-serif;
    padding-right: 25px;
}

.shop-filters__title--static {
    cursor: default;
    padding-right: 0;
    font-size: 20px;
    line-height: 24px;
    padding: 0 0;
    margin-bottom: 24px;
}

.shop-filters__title::-webkit-details-marker { display: none; }
.shop-filters__title::marker { content: ''; }

details.shop-filters__group > .shop-filters__title::before, details.shop-filters__group > .shop-filters__title::after {
    content: '';
    position: absolute;
    right: 0;
    top: calc(50% - 10px);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: opacity 0.3s ease;
}

details.shop-filters__group > .shop-filters__title::before {
    background-image: url("data:image/svg+xml,%3Csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4.16663%2010.8333V10H9.16663V5H9.99996V10H15V10.8333H9.99996V15.8333H9.16663V10.8333H4.16663Z'%20fill='%23001324'/%3E%3C/svg%3E");
    opacity: 1;
}

details.shop-filters__group > .shop-filters__title::after {
    background-image: url("data:image/svg+xml,%3Csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4.16663%2010.8333V10H9.16663H9.99994H15V10.8333H9.99996H9.16663H4.16663Z'%20fill='%23001324'/%3E%3C/svg%3E");
    opacity: 0;
}

details.shop-filters__group[open] > .shop-filters__title::before {
    opacity: 0;
}

details.shop-filters__group[open] > .shop-filters__title::after {
    opacity: 1;
}

details.shop-filters__group .shop-filters__title {
    border-bottom: 1px solid #D3D3D3;
}

.shop-filters__list {
    list-style: none;
    padding: 24px 0 25px 0;
    margin: 0;
}

details.shop-filters__group:last-of-type[open] {
    border-bottom: 1px solid #D3D3D3;
}

.shop-filters__list--cats {
    padding: 0;
    margin-bottom: 32px;
    border-top: none;
}

.shop-filters__list--cats a {
    display: block;
    padding: 16px 0;
    color: #535353;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    transition: all 0.15s ease-in;
    font-family: 'Roboto', sans-serif;
    border-bottom: 1px solid #D3D3D3;
}

.shop-filters__list--cats a:hover {
    color: #0F497A;
    font-weight: 500;
}

.shop-filters__list--cats .is-active a {
    color: #0F497A;
    font-weight: 500;
}

/* Checkbox rows */
.shop-filters__list label {
    display: block;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    text-transform: uppercase;
    color: #535353;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 7px;
}

.shop-filters__list label span {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.shop-filters__list input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.shop-filters__list input[type="checkbox"] + span::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid #CECECE;
    border-radius: 0;
    background: transparent;
    margin-right: 12px;
    vertical-align: middle;
    transition: background 0.15s, border-color 0.15s;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 10px;
}

.shop-filters__list label input[type="checkbox"]:checked + span::before {
    background-color: #0F497A;
    border-color: #0F497A;
    background-image: url("data:image/svg+xml,%3Csvg%20width='11'%20height='9'%20viewBox='0%200%2011%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M0.5%205.5L2.83333%207.83333L9.83333%200.5'%20stroke='%23F0F1F4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

.shop-filters__list label input[type="checkbox"]:checked + span {
    color: #001324;
}

.shop-filters .shop-filters__clear {
    display: block;
    margin-top: 24px;
    color: #535353;
    font-size: 16px;
    line-height: 20px;
    text-decoration: underline;
    font-family: 'Roboto', sans-serif;
}

.shop-products-loading,
.shop-filters-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.shop-products-loading {
    position: relative;
    min-height: 300px;
}

.shop-products-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'><circle cx='26' cy='26' r='22' fill='none' stroke='rgba(0,0,0,0.12)' stroke-width='4'/><circle cx='26' cy='26' r='22' fill='none' stroke='%231d4ed8' stroke-width='4' stroke-linecap='round' stroke-dasharray='30 110'><animateTransform attributeName='transform' type='rotate' from='0 26 26' to='360 26 26' dur='0.8s' repeatCount='indefinite'/></circle></svg>");
    background-repeat: no-repeat;
    background-position: center 45%;
    background-attachment: fixed;
    background-size: 52px 52px;
    pointer-events: none;
    z-index: 10;
}

