.gpc-badge-wrapper {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    line-height: 1.2;
}

.gpc-badge-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50% !important;
    aspect-ratio: 1;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.gpc-badge-circle span {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.gpc-badge-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50% !important;
    aspect-ratio: 1;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.gpc-badge-price-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    max-width: 100%;
}

.gpc-badge-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50% !important;
    aspect-ratio: 1;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.gpc-badge-hr {
    width: 40%;
    height: 2px;
    background: currentColor;
    opacity: 0.4;
    margin: 2px 0;
    border: 0;
}

.gpc-badge-wrapper .gpc-badge-prefix,
.gpc-badge-wrapper .gpc-badge-suffix {
    font-size: 12px;
    opacity: 0.8;
}

.gpc-badge-discount span,
.gpc-badge-price span,
.gpc-badge-price-row span {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}


@media (max-width: 767px) {
    .gpc-badge-wrapper {
        transform: scale(0.85);
        transform-origin: top right;
    }
}

@media (max-width: 480px) {
    .gpc-badge-wrapper {
        transform: scale(0.7);
        transform-origin: top right;
    }
}
