section.products .collection-wrapper {
    padding: var(--body-padding);
    max-width: unset;
}

section.products .order-by-container {
    text-align: left;
}

section.products .order-by-container select {
    margin: 0;
    padding-top: 0;
    border: none;
}

section.products .order-by-container select:first-letter {
    text-transform: uppercase;
}

section.products .order-by-container .select-wrapper::before {
    bottom: 4px;
}


section.collection-filters .filter-items .properties {
    margin-bottom: 32px;
    white-space: normal;
}

section.collection-filters .property-title {
    font-weight: 600;
}

section.collection-filters .property-title span {
    /*border-bottom: none;*/
}

section.collection-filters .filter-items .properties .property-title::after {
    /*display: none;*/
}

section.products .cards {
    --gapX: 20px;
    --gapY: 20px;
}

section.products .card {
    --gapY: 50px;
    --gapX: 20px;
    --cols: 6;
    padding: 0;
    /*max-width: 270px;*/
    border-radius: 0;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 2200px) {
    section.products .card {
        --cols: 5;
    }
}

@media screen and (max-width: 1800px) {
    section.products .card {
        --cols: 4;
    }
}

@media screen and (max-width: 1400px) {
    section.products .card {
        --cols: 3;
    }
}

@media screen and (max-width: 800px) {
    section.products .card {
        --cols: 2 !important;
    }
}

@media screen and (max-width: 450px) {
    section.products .cards {
        gap: 40px 10px;
    }

    section.products .card {
        --cols: 2 !important;
        max-width: 330px;
        /*box-shadow: var(--box-shadow8dp);*/
        background-color: #FFFFFF;
    }

    section.products .products-wrapper.hasFilters .card .text-wrapper .name {
        font-size: 11pt;
        line-height: 1.1em;
    }

    section.products .text-wrapper {
        padding: 0;
    }

    section.products .card .tags {
        padding: 0 !important;
    }

    section.products .card .price-wrapper {
        margin: 0 !important;
    }
}

@media screen and (max-width: 980px) {
    section.collection-filters .property-title {
        font-weight: normal;
    }
}

@media screen and (min-width: 981px) {
    section.collection-filters .property-title span {
        border-bottom: none;
    }

    section.collection-filters .filter-items .properties .property-title::after {
        display: none;
    }

    section.collection-filters .filter-items .properties.desktopClose .properties-wrapper {
        display: block;
    }
}

section.collection-filters .pricerange .properties-wrapper .container {
    display: flex;
    flex-flow: column-reverse;
}

section.collection-filters .priceSliderRange {
    height: 2px;
    border: none;
}

section.collection-filters .priceSliderRange .noUi-connects {
    background: var(--color-secondary);
}

section.collection-filters .priceSliderRange .noUi-connect {
    background: var(--a-color);
}

section.collection-filters .priceSliderRange .noUi-handle {
    height: 20px;
    width: 20px;
    top: -9px;
    right: -10px;
    border-radius: 50%;
    border: 1px solid var(--a-color);
    background: #FFFFFF;
    box-shadow: none;
}

section.collection-filters .filter-items .price-inputs > *:first-child:after,
section.collection-filters .filter-items .price-inputs > *:last-child:after {
    position: absolute;
    content: '₽';
    top: 5px;
    right: 5px;
    z-index: 1;
    color: var(--color-secondary);
}

section.collection-filters .filter-items .price-inputs > .separator {
    margin: 0 0.5em;
}

section.collection-filters .filter-items .price-inputs input {
    border: 1px solid #dcdcdc;
    padding: 5px 20px 5px 10px;
    border-radius: 4px;
}

section.collection-filters .filter-items .pricerange .price-slider {
    margin: 1em 0 2.5em 0;
}

section.collection-filters .filter-items label span {
    width: 100%;
    padding-right: 2em;
    box-sizing: border-box;
}

section.collection-filters .filter-items label span.cnt {
    margin-left: 0;
    position: absolute;
    right: 0;
    padding: 0;
    width: auto;
    color: var(--color-secondary);
}

section.collection-filters .filter-items label span.cnt:before,
section.collection-filters .filter-items label span.cnt:after {
    display: none;
}

section.products .active-filters .element .item {
    padding-left: 2em;
    background-color: var(--bg-color);
}

section.products .active-filters .element .item::before {
    content: '';
    background: url("/i/close.svg") no-repeat center;
    width: 1em;
    height: 1em;
    margin: 0.4em 0 0 -2em;
}

section.collection-filters .filter-items .properties-wrapper .closeButton {
    right: 0;
    top: 0;
}

section.collection-filters .filter-items .properties-wrapper .closeButton::before {
    display: block;
    content: '';
    background: url("/i/close.svg") no-repeat center;
    width: 15px;
    height: 15px;
}

section.collection-filters .filter-items label.zero .cnt {
    display: none;
}

section.products .active-filters .reset-form {
    color: var(--a-color);
    border-color: var(--a-color);
}

section.products .filters-reset {
    margin-top: 2em;
}

@media screen and (max-width: 980px) {
    section.collection-filters .filter-items .properties .properties-wrapper {
        box-shadow: var(--box-shadow16dp);
    }

    section.collection-filters .mobile-active-items {
        color: var(--a-color);
        font-weight: normal;
    }

    section.collection-filters .mobile-active-items:empty:before {
        color: var(--color-secondary);
        border-color: var(--color-secondary);
    }

    section.collection-filters .properties[rel="distance"] .mobile-active-items:empty:before,
    section.collection-filters .properties[rel="price"] .mobile-active-items:empty:before {
        content: 'любая';
    }

    section.collection-filters .properties[rel="optical-sensor-type"] .mobile-active-items:empty:before {
        content: 'любой';
    }
}


section.products .noCompare .compare-button {
    display: none;
}

section.products .buy-button {
    width: 68px;
}

section.products.light .card .properties {
    display: none;
}


section.products .products-wrapper.noFilters .card {
    --cols: 4;
}

@media screen and (max-width: 1000px) {
    section.products .products-wrapper.noFilters .card {
        --cols: 3;
    }
}


@media screen and (max-width: 1370px) {
    section.products .products-wrapper.hasFilters .card .bottom {
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
    }

    section.products .products-wrapper.hasFilters .card .text-wrapper {
        align-items: center;
    }

    section.products .products-wrapper.hasFilters .card .text-wrapper .name {
        text-align: center;
    }

    section.products .products-wrapper.hasFilters .card .btns-wrapper {
        margin-top: 1em;
    }

    section.products .products-wrapper.hasFilters .card .price-wrapper {
        margin: 1em 0;
    }

    section.products .products-wrapper.hasFilters .noCompare .buy-button {
        width: 86px;
    }
}

@media screen and (max-width: 980px) {
    section.products .card .text-wrapper {
        align-items: center;
    }

    section.products .card .text-wrapper .name {
        text-align: center;
    }

    section.products .card .bottom {
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
    }

    section.products .card .btns-wrapper {
        margin-top: 1em;
    }

    section.products .card .price-wrapper {
        margin: 1em 0;
    }

    section.products .noCompare .buy-button {
        width: 86px;
    }
}

@media screen and (max-width: 590px) {
    section.products .cards {
        /*justify-content: center;*/
    }
}

section.products .card .img {
    background-size: contain;
}

section.products .card:hover {
    background-color: #FFFFFF;
}

section.products .card .img-wrapper {
    height: 300px;
}

section.products .card .img-wrapper::before {
    display: none;
}

section.products .card .img-wrapper .artikul {
    left: 1em;
    right: unset;
    bottom: 0;
    top: unset;
}

section.products .card .tags {
    display: flex;
    gap: 3px 5px;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
}

section.products .card .tags > * {
    padding: 2px 7px;
    line-height: 1em;
    text-transform: uppercase;
    display: block;
    font-size: 9pt;
    background-color: var(--tag-color);
    --tag-color: #f0f0f0;
    border: 1px solid var(--tag-color);
    border-radius: 0;
    position: relative !important;
    color: #333;
}

section.products .card .tags .artikul {
    --tag-color: var(--bg-color);
    /*background-color: rgba(133, 132, 132, 0.1);*/
    /*padding: 5px 10px;*/
    color: #333;
}

section.products .card .tags .novinka {
    --tag-color: var(--color-green);
    color: #fff;
}

section.products .card .tags .flashes,
section.products .card .tags .popular {
    --tag-color: #fff;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

section.products .text-wrapper {
    flex-grow: 1;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    padding: 0 1em 1em;
}

section.products .card .name {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.16px;
    text-align: left;
    margin-bottom: 12px;
    line-height: 1.2em;
}

section.products .card .secondary {
    font-size: 0.9em;
    color: var(--color-secondary);
    text-align: left;
}

section.products .card .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section.products .card .reviewstars {
    text-align: left;
}

section.products .card .btns-wrapper {
    /*opacity: 0;*/
}

@media screen and (max-width: 980px) {
    section.products .card .btns-wrapper {
        opacity: 1;
    }
}

/*
section.products .card .btns-wrapper.incart {
    opacity: 1;
}

section.products .card .btns-wrapper.incart .cartcount {
    display: block;
    min-width: unset;
    height: auto;
    display: inline-block;
    border-radius: unset;
    border: none;
    color: #fff;
    line-height: 25px !important;
    right: unset;
    padding: unset;
    letter-spacing: 0px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    position: relative;
    background-color: transparent;
    margin: 0;
}
*/
section.products .card:hover .btns-wrapper {
    opacity: 1;
    transition: opacity 300ms ease;
}

section.products .card .price-wrapper {
    white-space: nowrap;
}

section.products .card .price-wrapper s {
    display: block;
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

section.products .card .price-wrapper .discount-tag {
    display: none;
}

section.products .card .price-wrapper .dec {
    font-size: 0.75em;
    color: var(--color-secondary);
    font-weight: normal;
}

section.products .card .price-wrapper s ~ .price {
    color: inherit;
}

section.products .card .price,
section.products .card .price-currency {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0px;
}

section.products .card .price-currency {
    display: none;
}

section.products .card .price-wrapper .price.hasVariants:before {
    content: 'от';
    display: inline-block;
    font-size: 0.7em;
    color: var(--color-secondary);
    font-weight: 400;
}

section.products .card .price-wrapper .no-price {
    font-size: 12pt;
}

section.products .card .price-wrapper .available {
    font-weight: normal;
    color: var(--color-green);
    font-size: 14px;
}

section.products .card .price-wrapper .available.not {
    color: var(--color-secondary);
}

section.products .card .button {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: var(--a-color);
}

section.products .card .button.incart .cartcount {
    margin: -5px -5px 0 0;
    background-color: #ffffff;
    color: var(--a-color);
}

section.products .card .button .myicon.cart {
    margin-top: -5px;
}

section.products .card .button[rel$=addproducttocart] {
    color: #fff;
}

section.products .card .properties {
    text-align: left;
    margin: 12px 0;
}

section.products .card .properties .property {
    color: var(--color-secondary);
    padding-left: 30px;
    position: relative;
}

section.products .card .properties .property + .property {
    margin-top: 5px;
}

section.products .card .properties .property:before {
    left: 0;
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -3px;
}

section.products .card .properties .property.weight:before {
    background: url("/i/weight.svg");
}

