.product-miniature {
    position: relative;
}

.product-flag-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    z-index: 20;
}