.product-flags__flag--new.custom-flag::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: -7px;
    width: 0;
    height: 0;
    z-index: -1;
    border-top-width: 10px;
    border-top-style: solid;
    border-top-color: var(--custom-flag-color, #0b38d3);
    @media (max-width: 767px) {
        border-top-color: transparent;
    }
}

.hc-products-container .product-flags__flag {
    right: -36px !important;
  }

  @media (max-width: 767px) {
    .hc-products-container .product-flags__flag {
        right: -21px !important;
    }
  }