.giftbadge {
    width: 60px;
    height: 60px;
    background: url(/tpl/default/img/svg/gift_badge.svg);
    background-size: 90px;
    background-position: -15px -15px;
    display: block;
    text-indent: 0px;
    position: absolute;
    z-index: 150;
    top: 0;
    left: 20px;
    text-align: center;
    color: white;
    font-size: 12px;
    padding-top: 18px;
    line-height: 10px;
}

/* Значков слева может быть два — клубная цена и подарок. Раньше оба стояли на
   одном месте (margin-left: 20px) и налезали друг на друга; второй уводим вниз */
.clubbadge ~ .giftbadge {
    top: 70px;
}

.giftbadge span {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    display: block;
    background: url(/tpl/default/img/svg/gift.svg);
    width: 25px;
    height: 25px;
    position: relative;
    z-index: 1000;
    /* background-color: white; */
    margin-left: 20px;
    margin-top: -3px;
}

.hitprodazh {
    width: 60px;
    height: 60px;
    background: url(/tpl/default/img/svg/hit.svg);
    background-size: 90px;
    background-position: -15px -15px;
    display: block;
    text-indent: 0px;
    position: absolute;
    z-index: 99;
    top: 0;
    right: 20px;
    text-align: center;
    color: white;
    font-size: 12px;
    padding-top: 18px;
    line-height: 10px;
}

.novinka {
    width: 60px;
    height: 60px;
    background: url(/tpl/default/img/svg/hit.svg);
    background-size: 90px;
    background-position: -15px -15px;
    display: block;
    text-indent: 0px;
    position: absolute;
    z-index: 160;
    top: 0;
    right: 20px;
    text-align: center;
    color: white;
    font-size: 12px;
    padding-top: 23px;
    line-height: 10px;
}

.bestprice {
    width: 60px;
    height: 60px;
    background: url(/tpl/default/img/svg/bestprice.svg);
    background-size: 90px;
    background-position: -15px -15px;
    display: block;
    text-indent: 0px;
    position: absolute;
    z-index: 141;
    top: 0;
    right: 20px;
    text-align: center;
    color: white;
    font-size: 14px;
    padding-top: 16px;
    line-height: 14px;
}


.bestprice_black {
    background: url(/tpl/default/img/svg/black_badge.svg);
    width: 60px;
    height: 45px;
    background-size: 85px;
    background-position: -13px -4px;
    display: block;
    text-indent: 0px;
    position: absolute;
    z-index: 141;
    top: 0;
    right: 20px;
    text-align: center;
    color: white;
    font-size: 12px;
    padding-top: 20px;
    line-height: 10px;
}

div.mini {
    float: left;
    padding-bottom: 15px;
    width: 234px;
    height: 360px;
    position:relative;
    z-index: 9;
}

div.mini span.clubprice {
    text-align: center;
    display: block;
    font-size: 20px;
}


@media (max-width: 767px) {

    div.mini.vertical {
        width: 247px !important;
    }

    .owl-item {
        width: 247px !important;
    }

    div.mini:not(.vertical) {
        margin: 0px 2.5% !important;
        width: 95% !important;
    }

    div.mini:not(.vertical) h3.product-name {
        color: #484848;
        font-size: 16px !important;
        height: 90px !important;
        padding-left: 0px !important;
        font-weight: bold;
        margin-top: 15px;
    }

    div.mini:not(.vertical) a.bluebtn {
        margin:0px !important;
        display: block;
        text-align: center !important;
        padding:0px !important;
    }

    div.mini:not(.vertical) {
        height: 280px;
        padding-bottom: 0px !important;
    }

    div.mini.vertical {
        height: 430px;
    }

    div.mini:not(.vertical) span.clubprice {
        float: left;
        display: block;
        width: 40%;
        text-align: left;
        margin-bottom: 5px;
    }

    div.mini .price {
        display: block;
        text-align: center;
        margin-bottom: 5px;
    }

    div.mini:not(.vertical) .price {
        margin-top: 15px;
    }

    .vertical .badge {
        margin-top: 5px !important;
    }

    /* Правые значки прижаты к правому краю в основном правиле (right: 20px),
       считать их от левого края больше не нужно: на узкой карточке они
       заезжали на левый значок */

    .vertical h3.product-name {
        padding: 3% 5% !important;
    }

}