.articles__item-inner .articles__item-image img.origin {
    object-fit: revert;
    display: block;
    margin: 0 auto;
    height: 180px;
    width: 213px;
}

.discounted-page .articles__item.category-card:hover {
    box-shadow: 0 0 20px 0 var(--shadow_5)
}

.discounted-page .articles__item-image {
    height: auto;
    padding-top: 10px;
}

.discounted-page .articles__item.category-card {
    background: var(--text_color_1);
    border-radius: 10px;
    border: 2px solid var(--body_bg_2);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.discounted-page {
    max-width: 1100px;
    margin: 0 auto;
}

.container .discounted-page .articles__items-list {
    justify-content: center;
    row-gap: 15px;
    column-gap: 30px;
    margin-bottom: 100px;
}

.discounted-page .articles__items-list > .articles__item .articles__item-content {
    border-style: solid;
    border-width: 1px;
    border-color: var(--body_bg_2);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-width: 0;
}

.discounted-page .property-name {
    font-weight: bold;
}

.discounted-page .shop-address {
    margin-bottom: 10px;
}

.discounted-page .articles__item-content a:link {
    text-decoration: none
}

.discounted-page .articles__item-content a {
    color: var(--color_red);
}

.discounted-page .articles__item-link .articles__item-content {
    padding: 5px 10px 5px;
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.discounted-page .articles__items-list > .articles__item {
    width: 270px;
    height: 420px;
}

.discounted-page .article__page-content,
.discounted-page .article__page-content img {
    padding: 0 0 50px 0;
    border-radius: 20px;
}

.discounted-page .article__page-content {
    margin: 0 0 50px 0;
}

.part-container .parts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.part-container .parts-list .part-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-bottom: 50px;
}

.part-container .parts-list .part-item .part-item-photo {
    border: 1px solid #e3e3e3;
    padding: 0;
    cursor: pointer;
    margin: 0 7px;
    height: 183px;
    width: 216px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.part-container .parts-list .part-item .part-item-photo img {
    max-width: 90%;
    max-height: 90%;
}

.part-container .parts-list .part-item .part-item-title {
    display: flex;
    height: 50px;
    align-items: center;
    max-width: 216px;
    text-align: center;
    font-size: 11px;
    font-family: 'Rubik';
    color: #333;
    text-transform: uppercase;
}

.part-container .parts-list .part-item .part-item-title .count {
    margin-left: 5px;
    color: #999;
}

.info-block {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--text_color_1);
}

.info-block .title {
    font-size: 31px;
    margin-bottom: 40px;
    font-weight: bold;
}

.info-block .three-blocks {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.info-block .three-blocks .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 30%;
}

.info-block .three-blocks .item .number {
    background: #fff;
    color: #333;
    border: 3px solid #d71a21;
    padding: 16px 22px;
    margin-right: 10px;
    border-radius: 30px;
}

.info-block .three-blocks .item .description div:first-child {
    font-family: 'Rubik-medium';
    font-size: 15px;
    color: #333;
    text-transform: uppercase;
}

.info-block .three-blocks .item .description div:last-child {
    font-size: 13px;
    color: #999
}

#discountedPricesBtn {
    margin-left: 15px;
    margin-top: 15px;
    color: #d71a21;
    font-size: 17px;
}

.discounted-page-container {
    width: 1170px;
    margin: 0 auto;
}

.discounted-page-container .banner-item img {
    max-width: 100%;
}

.red-btn.discounted {
    width: 95%;
    margin: 10px 5px;
    height: 35px;
}

#discountedClasses {
    display: flex;
    justify-content: center;
}

.discounted-results .availability {
    display: none;
}

.popup-content .property-item {
    cursor: pointer;
}

.price > p {
    width: 100%;
}

.discounted-mobile-img {
    display: none;
}

@media (max-width: 640px) {
    .discounted-page .articles__items-list > .articles__item {
        width: auto;
        height: auto;
    }

    .discounted-page .articles__item-link .articles__item-content .schedule-shop {
        margin-bottom: 20px;
    }

    .discounted-page .title__large.title__block {
        font-size: 15px;
    }

    .info-block .three-blocks {
        flex-direction: column;
        width: 100%;
        row-gap: 30px;
    }

    .discounted-page .article__page-content,
    .discounted-page .article__page-content img {
        padding: 0;
        border-radius: 5px;
    }
    
    .discounted-page .article__page-content img {
        border: 2px solid var(--body_bg_2);
    }

    .discounted-page .article__page-content {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        background: var(--body_bg_1);
        margin: 0 0 20px 0;
    }

    .discounted-page .info-block {
        border: 2px solid var(--body_bg_2);
        border-radius: 5px;
        align-items: flex-start;
        padding: 10px;
        margin: 0;
    }

    .discounted-page .info-block .item {
        width: 100%;
    }

    .info-block .three-blocks .item .number {
        padding: 6px 12px;
    }

    .discounted-page .articles__items-list {
        display: flex;
    }

    .info-block .title {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .discounted-page .articles__items-list a {
        width: 70%;
    }

    .discounted-page .articles__item.category-card {
        width: 100%;
    }

    .article__page-content p {
        padding-bottom: 10px;
    }

    .discounted-page .article__discount-page-content img {
        min-height: 180px;
    }
}
