.image-wrapper {
    position: relative;
}

.kargo-bedava-serit {
    background: #28a745;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 0;
    margin: 8px 0;
    text-align: center;
    width: 100%;
    display: block;
    letter-spacing: 0.8px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.kargo-bedava-serit .animated-text {
    position: relative;
    animation: textChange 3s infinite;
    display: inline-block;
    transition: opacity 0.3s ease-in-out;
}

@keyframes textChange {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.kargo-bedava-serit .animated-text-after {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    opacity: 0;
    animation: textChangeAfter 3s infinite;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

@keyframes textChangeAfter {
    0%, 45% {
        opacity: 0;
    }
    50%, 95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}