.card-steps-wrap {
    background: var(--gift-pink-color);
    padding: 11px 0;
}

.card-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 888px;
}

.steps-block {
    width: 100%;
    display: flex;
    justify-content: center;
}

.step-item {
    position: relative;
    font-size: 12px;
    width: fit-content;
    display: flex;
    justify-content: center;
}

.step-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.step-item-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gift-color-orange-2);
    border-radius: 50%;
    line-height: 1;
}

.step-item-num svg {
    display: none;
}

.step-item-label {
    text-align: center;
    white-space: balance;
    max-width: 80%;
}

.step-item.active .step-item-num {
    color: #ffffff;
    background: var(--gift-color-orange-2);
    border: 1px solid var(--gift-color-orange-2);
}

.step-item.active .step-item-label {
    color: var(--gift-color-orange-2);
}

.step-item.maked .step-item-num {
    color: var(--gift-color-orange-2);
    background: #ffffff;
    border-color: #FFEBEB
}

.step-item.maked .step-item-num span {
    display: none;
}

.step-item.maked .step-item-num svg {
    display: inline-block;
}

.step-item-delimiter {
    position: relative;
    flex: 1;
}

.step-item-delimiter::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 13px;
    width: 40%;
    min-width: 40px;
    height: 1px;
    background: #c9c9c9;
    transform: translateX(-50%);
}

@media (hover: hover) {
    .page-template-page-edit-card .step-item:not(:nth-last-of-type(1)) {
        cursor: pointer;
    }

    .step-item.disabled {
        cursor: not-allowed;
    }
}

@media (min-width: 600px) {
    .step-item-label {
        max-width: none;
    }
}

@media (min-width: 768px) {
    .card-steps-wrap {
        padding: 20px 0;
    }

    .step-item {
        font-size: 14px;
    }

    .step-item-num {
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 960px) {
    .step-item-delimiter::after {
        min-width: 50px;
    }

    .step-item-content {
        flex-direction: row;
        gap: 10px;
    }

    .step-item-label {
        white-space: nowrap;
        width: calc(100% - 40px);
    }
}

@media (min-width: 1200px) {
    .steps-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}