.label-item__preorder{
    background-color: #DE1B1B;
}

.label-item__guarantee{
    background-color: #872DCD;
}

.label-item__rassrochka{
    background-color: #2D8ACD;
}

.video-button__container {
    position: absolute;
    right: 32px;
    top: 22px;
    z-index: 2;
}

@media (max-width: 800px) {
    .video-button__container {
        padding: 10px;
        right: 1px;
        top: 1px;
    }
}

/* badges start */
.badges-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badges-list.badges-list_left-top {
    position: absolute;
    left: 32px;
    top: 29px;
}

.badges-list.badges-list_card {
    z-index: 1;
}

.badge {
    display: block;
    padding: 4px 8px;
    border-radius: 5px;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    background-color: rgb(9 9 9);
    font-size: 10px;
    font-weight: bold;
}

.badge+.badge {
    margin-top: 8px;
}

@media (max-width: 800px) {
    .badges-list.badges-list_left-top {
        left: 12px;
        top: 18px;
    }
}
/* badges end */



.card__product-card-installment {
    background-color: black;
    border-radius: 5px;
    font-size: 12px;
    width: fit-content;
    padding: 4px 8px;
    font-weight: 600;
    display: flex;
    gap: 4px;
    margin-bottom: 5px;
    color: white;
}

.card-product-card__sale {
    display: flex;
    align-items: center;
    border: 1px solid black;
    width: fit-content;
    font-size: 12px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.card-product-card__sale .card-product-card__sale-value {
    background-color: black;
    padding: 4px 8px;
    color: white;
}

.card-product-card__sale .card-product-card__sale-benefit {
    padding: 4px 8px;
}
.card-product-card__sale-value--mobile{
    display: none;
}
@media screen  and (max-width: 475px){
    .card__product-card-installment{
        background-color: unset;
        padding: 0;
        flex-direction: column;
        gap: 5px;
        color: black;
    }
    .card__product-card-installment a{
        padding: 4px 8px;
        border: 1px solid black;
        border-radius: 5px;
        width: fit-content;
    }
    .card-product-card__sale{
        display: none;
    }
    .card-product-card__sale-value--mobile{
        display: inline;
        padding: 4px 8px;
        background-color: black;
        font-size: 12px;
        border-radius: 5px;
        color: white;
    }
    .card-product-card__prices{
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 375px){
    .card__product-card-installment a{
        padding: 4px 7px;
    }
}

