.custom-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    z-index: 10;
    pointer-events: none;
    width: 100%;
}

.custom-flags.cf-positioned {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0;
    justify-content: right;
    width: 100%;
}

.custom-flag {
    display: inline-block;
    padding: .125rem .375rem;
    border-radius: 0 0 8px 8px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

/*.custom-flags-detail.cf-positioned .custom-flag {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}*/

@media (max-width: 767px) {
.custom-flags.cf-positioned{
    
}    
    /*.custom-flags.cf-positioned {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: auto;
        margin: 0;
        padding: 0;
        justify-content: right;
        width: 100%;
    }

    .custom-flag {
        font-size: 11px;
        padding: 3px 8px;
    }

    .custom-flags-detail.cf-positioned .custom-flag {
        font-size: 13px;
        padding: 4px 10px;
    }*/
}