.filter-close-btn {
    display: none;
}

.product-filter {
    max-width: 294px;
    width: 100%;
    flex-direction: column;
}

.product-filter__group {
    flex-direction: column;
    padding: 0;
    margin: 0;
    border: none;
}

.product-filter__title {
    font-size: var(--kk-fz-prg-3);
    line-height: var(--kk-lh-prg-4);
    font-weight: var(--kk-fw-bold);
}

.product-filter__checkbox {
    font-size: var(--kk-fz-prg-1);
    line-height: var(--kk-lh-prg-1);
    font-weight: var(--kk-fw-regular);
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.product-filter__checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-filter__box {
    width: 18px;
    height: 18px;
    border: 2px solid #C5C3B9;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-filter__checkbox input:checked+.product-filter__box {
    background-color: var(--kk-chkbx-bg);
    border-color: var(--kk-chkbx-bg);
}


.product-filter__checkbox input:checked+.product-filter__box::before {
    content: "";
    display: block;
    width: 14px;
    height: 10px;
    background: url("../img/checked.svg") center/contain no-repeat;
}


.product-section {
    justify-content: flex-start;
    position: relative;
}

.product-content__header {
    justify-content: space-between;
    align-items: center;
}

.product-content__footer {
    flex-direction: column;
    justify-content: flex-end;
}

.product-footer__text {
    padding: 0;
    margin: 0;
    font-weight: var(--kk-fw-regular);
    font-size: var(--kk-fz-prg-3);
    line-height: var(--kk-lh-prg-5);
    color: var(--kk-text-primary);
}

.product-footer__list {
    flex-direction: column;
    margin: 0;
    font-weight: var(--kk-fw-regular);
    font-size: var(--kk-fz-prg-3);
    line-height: var(--kk-lh-prg-5);
    color: var(--kk-text-primary);
}

.product-footer__item {
    display: list-item;
    list-style: disc;
}

.product-footer__item:first-child {
    margin-bottom: 6px;
}

.sorting {
    padding: 12px 24px;
    border: 2px solid #E2E1E1;
    border-radius: 12px;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    max-width: 222px;
}

.filter-btn {
    display: none;
    font-size: 12.8px;
    line-height: 15.36px;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 30px;
}

.product-content {
    width: 100%;
    flex-direction: column;
}

.product-grid_mesh {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    --kk-card-border: 1px solid #EAE7E3;
    text-decoration: none;
    color: var(--kk-text-primary);
    border: var(--kk-card-border);
    border-radius: 10px;
    flex-direction: column;
}

.card-content {
    flex-direction: column;
}

.card-content-between {
    justify-content: space-between;
}

.card-content__img {
    width: 100%;
    max-height: 160px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.card-content__title {
    font-size: var(--kk-fz-heading-1);
    line-height: var(--kk-lh-heading-1);
    font-weight: var(--kk-fw-bold);
    margin: 0;
    padding: 0;
}

.card-content__subtitle {
    margin-top: -5px;
    font-size: 14px;
    font-weight: normal;
}

.card:hover .card-content__title {
    color: var(--kk-text-hover);
}

.card-content__description {
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
}

.card-content__text {
    margin: 0;
    padding: 0;
    font-weight: var(--kk-fw-regular);
    font-size: var(--kk-fz-prg-1);
    line-height: var(--kk-lh-prg-4);
}

.card-content__span {
    text-overflow: ellipsis;
    color: var(--kk-text-secondary);
}

.card-footer {
    align-items: center;
    justify-content: flex-end;
}

.card-footer__price {
    font-size: var(--kk-fz-prg-4);
    line-height: var(--kk-lh-prg-2);
    font-weight: var(--kk-fw-bold);
    color: var(--kk-text-price);
    margin: 0;
    padding: 0;
}

@media (max-width:1640px)  {
    .product-grid_mesh {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:1200px) {
    .product-grid_mesh {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:1075px) {
    .product-grid_mesh {
        grid-template-columns: repeat(2, 300px);
        justify-content: space-around
    }
}

@media (max-width: 950px) {
    .product-grid_mesh {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 950px) and (min-width: 740px) {
    .card-content__description {
        max-width: 373px;
    }
}

@media (max-width : 580px) {
    .product-filter {
        display: none;
        position: absolute;
        transition: opacity 0.3s ease-in-out;
        background-color: #fff;
        top: 10px;
        left: 10px;
        box-shadow: 0 1rem 1.6rem rgba(178, 160, 160, 0.4);
        border-radius: 10px;
        padding: 15px;
        border: 1px solid #EAE7E3;
        overflow: hidden;
    }

    .product-filter.active {
        display: flex;
    }

    .product-filter__reset {
        position: relative;
    }

    .filter-close-btn {
        display: block;
        height: 40px;
        width: 40px;
        position: absolute;
        top: 7px;
        right: 7px;
        cursor: pointer;
    }

    .sorting {
        padding: 5px 24px;
        font-size: 14px;
        border: none;
    }

    .filter-btn {
        display: block;
    }
}

@media (max-width: 580px) and (min-width: 430px) {
    .card-content__description {
        max-width: 373px;
    }
}
