#sale > .divider {
    position: relative;
    z-index: 2;
    background: url(../assets/bg_zoo.png) no-repeat top center;
    background-size: cover;
    padding: 373px 0 144px;
}

#sale > .divider::after {
    z-index: 0;
}

#sale {
    position: relative;
}

#sale > .divider::before {
    display: block;
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 305px;
    z-index: -1;
    background: linear-gradient(0deg, rgba(19, 0, 36, 0) 0%, rgba(19, 0, 36, 1) 100%);
}

#sale::after {
    display: block;
    content: "";
    width: 100%;
    height: 212px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(19, 0, 36, 0.00) 0%, #130024 100%);
}

.sale_title_block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
    margin-bottom: 80px;
}

.sale_title {
    color: #D800FF;
    text-shadow: 0px 0px 34px rgb(166 0 255 / 42%);
}

.sale_aftertitle {
    color: #FFF;
    text-align: center;
    font-family: Evolventa bold;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.sale_filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.sale_first_filters {
    display: flex;
    gap: 12px;
}

.sale_filter {
    display: flex;
    padding: 6px 22px;
    align-items: center;
    border-radius: 43px;
    border: 2px solid #270045;
    background: rgba(28, 0, 50, 0.12);
    color: #FFF;
    text-align: center;
    font-family: Evolventa bold;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.48px;
    cursor: pointer;
}

.sale_filter:hover {
    border: 2px solid rgba(216, 0, 255, 0.12);
    background: rgba(216, 0, 255, 0.12);
}

.active_filter {
    border: 2px solid #D800FF;
    background: rgba(216, 0, 255, 0.12);
}

.sale_filter.active_filter:hover {
    border: 2px solid #D800FF;
}

.sale_items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: fit-content;
    margin: 0 auto;
}

.sale_block {
    padding: 0 32px 140px;
}

.sale_item {
    display: flex;
    width: 272px;
    height: fit-content;
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    background: #260000;
    position: relative;
    border-radius: 10px;
    border: 2px solid #391664;
    background: url(../assets/shop_card.png) no-repeat top center #130024;
}

.sale_skidka {
    display: flex;
    padding: 6px 12px;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 15px;
    border-radius: 44px;
    background: #F06;
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.18px;
}

.sale_up {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sale_up img {
    height: 138px;
    margin: 0 auto;
}

.sale_item_name {
    text-align: center;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -0.24px;
    height: 52px;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.sale_bt {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sale_price {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
}

.sale_new {
    color: #D800FF;
    text-align: center;
    font-family: Evolventa Bold;
    font-size: 24px;
    font-style: normal;
    line-height: 100%;
}

.sale_old {
    color: #ffffff3d;
    text-align: center;
    font-family: Evolventa Bold;
    font-size: 20px;
    font-style: normal;
    line-height: 100%;
    text-decoration-line: line-through;
}

@media (max-width: 1250px) {
    .sale_items {
        gap: 16px;
    }

    .sale_item {
        width: 235px;
        padding: 22px;
        gap: 16px;
    }
}

@media (max-width: 1055px) {

    .sale_item {
        width: 164px;
        padding: 16px;
        border-radius: 16px;
    }

    .sale_up img {
        height: 69px;
    }

    .sale_up {
        gap: 8px;
    }

    .sale_item_name {
        text-align: center;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: -0.16px;
        height: 36px;
        display: flex;
        align-items: center;
    }

    .sale_price {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 4px;
    }

    .sale_old {
        font-size: 14px;
        line-height: 100%;
    }

    .sale_new {
        font-size: 20px;
        line-height: 100%;
    }

    .sale_bt {
        gap: 8px;
    }

    .sale_skidka {
        font-size: 12px;
        font-style: normal;
        line-height: 100%;
        letter-spacing: -0.12px;
        position: absolute;
        right: 8px;
        top: 8px;
        padding: 4px 8px;
    }
}

@media (max-width: 920px) {
    #sale > .divider {
        padding: 192px 0;
    }

    .sale_title {
        font-size: 32px !important;
        font-style: normal;
        font-weight: 400;
        line-height: 36px !important;
        letter-spacing: -0.32px;
    }

    .sale_aftertitle {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        max-width: 250px;
    }

    .sale_title_block {
        margin-bottom: 40px;
    }

    .sale_filters {
        padding: 0 0 40px;
        flex-wrap: wrap;
    }

    .sale_first_filters {
        flex-wrap: wrap;
    }

    .sale_first_filters {
        gap: 6px;
    }

    .sale_items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sale_block {
        padding: 0 16px;
    }

    .sale_filter {
        font-size: 14px;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0.42px;
        padding: 4px 14px;
    }
}

@media (max-width: 555px) {
    .sale_items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        gap: 8px;
    }

    .sale_item {
        margin: 0 auto;
        width: 100%;
    }
}