.checkout-steps-box {
    width: 100%;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.checkout-steps {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    list-style: none;
}
.checkout-steps li {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
}
.checkout-steps li:last-child {
    flex: 0 1 auto;
}
.checkout-steps li:not(:last-child)::after {
    content: "";
    flex: 1;
    min-width: 24px;
    height: 1px;
    background: var(--line);
}
.checkout-steps .step-label {
    min-width: 0;
    overflow-wrap: anywhere;
}
.step-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50%;
    background: var(--soft);
    border: 1px solid var(--line);
}
.checkout-steps [aria-current="step"] {
    color: var(--brand-deep);
    font-weight: 600;
}
.checkout-steps [aria-current="step"] .step-marker {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}
@media (max-width: 640px) {
    .checkout-steps-box {
        margin-bottom: 28px;
    }
    .checkout-steps {
        flex-direction: column;
        gap: 16px;
    }
    .checkout-steps li {
        position: relative;
        flex: none;
        min-height: 36px;
        align-items: flex-start;
    }
    .checkout-steps .step-label {
        padding-top: 7px;
    }
    .checkout-steps li:not(:last-child)::after {
        position: absolute;
        left: 17px;
        top: 36px;
        bottom: -16px;
        width: 1px;
        min-width: 0;
        height: auto;
    }
}
